/* ==========================================================================
   MEANSMOREE — storefront styles
   A faithful recreation of the original Plugo storefront layout.
   ========================================================================== */

@font-face {
    font-family: 'Maven Pro';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/maven-pro-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Maven Pro';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/maven-pro-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #0b0b0b;
    --muted: #6b7280;
    --soft: #9ca3af;
    --secondary: #808080;
    --line: rgba(11, 11, 11, .08);
    --line-strong: rgba(11, 11, 11, .14);
    --surface: #ffffff;
    --placeholder: #f4f4f2;
    --radius: 12px;
    --container: 1024px;
    --header-h: 56px;
    --grid-gap: 16px;
    --xs-grid-gap: 8px;
    --font: 'Maven Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fff;
    color: var(--muted);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--ink);
    color: #fff;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.container-lg {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
}

.container-wide {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 3000;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    transition: top .2s;
}

.skip-link:focus {
    top: 12px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: background-color .25s ease, border-color .25s ease;
}

/* The home hero runs full-bleed under the bar. A faint scrim keeps the header
   icons and wordmark readable no matter how light or dark the photo is. */
.page-home .site-header {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0));
    border-bottom-color: transparent;
    backdrop-filter: blur(2px);
}

.site-header.is-scrolled,
.page-home .site-header.is-scrolled {
    background: #fff;
    border-bottom-color: var(--line);
    backdrop-filter: none;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    min-width: 0;
}

/* --- Logo ---------------------------------------------------------------- */

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    height: 44px;
}

.brand img {
    height: 20px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: filter .25s ease;
}

/* All hero imagery in this catalogue is light, so the bar stays legible with the
   inked wordmark. Only the transparent->solid transition needs handling. */
.page-home .site-header:not(.is-scrolled) .brand img {
    filter: none;
}

/* --- Desktop nav --------------------------------------------------------- */

.header-nav {
    display: none;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: 8px;
    transition: color .15s ease, background-color .15s ease;
}

.header-nav-link:hover {
    color: var(--ink);
    background: rgba(11, 11, 11, .04);
}

.header-nav-link.is-active {
    color: var(--ink);
    font-weight: 600;
}

.header-currency {
    display: none;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 7px 10px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
}

.header-currency img {
    display: block;
    border-radius: 1px;
}

/* --- Icons --------------------------------------------------------------- */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
}

@media (max-width: 400px) {
    .header-inner {
        gap: 4px;
        padding: 0 6px;
    }

    .brand img {
        height: 17px;
    }

    .icon-btn {
        width: 32px;
        height: 32px;
    }

    .icon-btn svg {
        width: 21px;
        height: 21px;
    }
}

@media (min-width: 900px) {
    .header-inner {
        padding: 0 18px;
        gap: 14px;
    }

    /* Hamburger only exists on small screens (beats .icon-btn's inline-flex). */
    .site-header .menu-toggle {
        display: none;
    }

    .header-nav,
    .header-currency {
        display: flex;
    }

    .header-actions {
        margin-left: 0;
    }

    .brand img {
        height: 34px;
    }
}

@media (min-width: 1200px) {
    .brand img {
        height: 40px;
    }
}

.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--muted);
    transition: background-color .15s ease, color .15s ease;
}

.icon-btn:hover {
    background: rgba(11, 11, 11, .06);
    color: var(--ink);
}

.icon-btn svg {
    width: 24px;
    height: 24px;
}

.menu-toggle {
    color: var(--ink);
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    line-height: 15px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Hero slideshow
   -------------------------------------------------------------------------- */

.hero-section {
    margin-bottom: 12px;
    background: #fff;
}

.hero-slider {
    position: relative;
    width: 100%;
    /* Full-bleed under the fixed header, like the reference storefront. */
    margin-top: calc(var(--header-h) * -1);
    aspect-ratio: 0.7507;
    overflow: hidden;
    background: #f7f7f5;
    touch-action: pan-y;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-slide a,
.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    object-fit: cover;
    object-position: center;
}

/* If a slide image fails to load, keep the brand-coloured stage instead of
   showing a broken-image icon and alt text across the whole hero. */
.hero-slide.has-broken-image img {
    visibility: hidden;
}

.hero-slide.has-broken-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #f7f7f5;
}

/* --------------------------------------------------------------------------
   Sections & product grid
   -------------------------------------------------------------------------- */

.section {
    margin-bottom: 12px;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--xs-grid-gap);
    padding: 0 8px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    background: transparent;
    border-radius: 0;
    transition: background-color .2s ease;
}

.product-card:hover {
    background: rgba(11, 11, 11, .04);
}

.product-media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--placeholder);
}

.product-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.product-card:hover .product-media > img {
    transform: scale(1.025);
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wishlist-btn {
    position: absolute;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.wishlist-btn:hover {
    transform: scale(1.08);
}

.wishlist-btn.is-active {
    color: #e04a3f;
}

.wishlist-btn svg {
    width: 24px;
    height: 24px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px 8px;
    min-width: 0;
}

.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    min-height: 20px;
}

.product-price {
    color: var(--ink);
    font-size: 14px;
    line-height: 20px;
}

.product-price s {
    color: var(--soft);
    margin-left: 6px;
    font-size: 12px;
}

.product-cat {
    color: var(--soft);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.show-all-wrap {
    display: flex;
    justify-content: center;
    padding: 12px 8px 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius);
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.btn:hover {
    background: #262626;
}

.btn:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: var(--secondary);
}

.btn-secondary:hover {
    background: #6e6e6e;
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}

.btn-outline:hover {
    background: rgba(11, 11, 11, .04);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    height: 46px;
    padding: 0 24px;
    font-size: 14px;
    letter-spacing: .02em;
}

.btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
}

.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s ease;
}

.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --------------------------------------------------------------------------
   Countdown / promo banner
   -------------------------------------------------------------------------- */

.promo-section {
    margin-bottom: 12px;
}

.promo-banner {
    position: relative;
    width: 100%;
    height: 296px;
    overflow: hidden;
    background: #fff;
}

.promo-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.promo-card {
    width: 100%;
    max-width: 343px;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.promo-title {
    color: var(--ink);
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.promo-subtitle {
    color: var(--muted);
    font-size: 13px;
}

.countdown {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 16px 0;
    color: var(--muted);
    font-size: clamp(30px, 7vw, 64px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -.01em;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(64px, 17vw, 112px);
}

.countdown-value {
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    margin-top: 0;
    color: var(--muted);
    font-size: clamp(11px, 2.8vw, 16px);
    line-height: 1.25;
}

.countdown-sep {
    padding-top: .05em;
}

.promo-card .btn {
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 44px 16px 28px;
    color: var(--muted);
    font-size: 12px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 32px;
    align-items: start;
}

.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand {
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.footer-note {
    font-size: 11px;
    letter-spacing: .04em;
    max-width: 26ch;
}

.footer-heading {
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-links,
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-style: normal;
    font-size: 12px;
    line-height: 1.5;
}

.footer-links a:hover,
.footer-address a:hover {
    color: var(--ink);
}

.footer-address a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
}

.footer-nav a:hover {
    color: var(--ink);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: border-color .2s ease, color .2s ease;
}

.footer-social a:hover {
    color: var(--ink);
    border-color: var(--line-strong);
}

.footer-social svg {
    width: 14px;
    height: 14px;
}

.footer-bottom {
    max-width: var(--container);
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 11px;
    color: var(--soft);
}

/* --------------------------------------------------------------------------
   Drawer
   -------------------------------------------------------------------------- */

.drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 398px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
    transform: translateX(-110%);
    transition: transform .3s cubic-bezier(.3, .8, .3, 1);
}

.drawer.is-open {
    transform: translateX(0);
}

.drawer-head {
    display: flex;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid var(--line);
}

.drawer-head .brand {
    margin: 0;
}

.drawer-head .brand img {
    height: 16px;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 8px 8px;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 4px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: .03em;
    transition: background-color .15s ease, color .15s ease;
}

.drawer-link:hover {
    background: rgba(11, 11, 11, .05);
    color: var(--ink);
}

.drawer-link.is-active {
    color: var(--ink);
    font-weight: 500;
}

.drawer-promo {
    margin: 24px 4px 0;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fafaf8;
}

.drawer-promo span {
    display: block;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--soft);
}

.drawer-promo p {
    margin-top: 6px;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.5;
}

.drawer-foot {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.drawer-foot .currency {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
}

.drawer-foot .currency img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border: 1px solid var(--line);
}

.drawer-social {
    display: flex;
    gap: 6px;
}

.drawer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #f3f3f1;
}

.drawer-social a:hover {
    background: #eaeae7;
}

.drawer-social svg {
    width: 14px;
    height: 14px;
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(11, 11, 11, .4);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   Search modal
   -------------------------------------------------------------------------- */

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    padding: 0 16px 32px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.search-top {
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 720px;
    margin: 32px auto 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ink);
}

.search-bar svg {
    width: 22px;
    height: 22px;
    color: var(--muted);
    flex: none;
}

.search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 400;
    letter-spacing: -.01em;
}

.search-input::placeholder {
    color: #c4c4c0;
}

.search-hint {
    width: 100%;
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 12px;
    color: var(--soft);
    letter-spacing: .04em;
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    max-width: 720px;
    margin: 20px auto 0;
    overflow-y: auto;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border-radius: 12px;
    transition: background-color .15s ease;
}

.search-result:hover {
    background: #f6f6f4;
}

.search-result img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    background: var(--placeholder);
    border-radius: 6px;
    flex: none;
}

.search-result-name {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.3;
}

.search-result-price {
    color: var(--muted);
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   Generic page shells
   -------------------------------------------------------------------------- */

.page-shell {
    padding-top: var(--header-h);
    min-height: 60vh;
}

.page-head {
    padding: 44px 24px 24px;
}

.eyebrow {
    color: var(--ink);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .26em;
    text-transform: uppercase;
}

.page-title {
    margin-top: 8px;
    color: var(--ink);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.page-sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    max-width: 560px;
}

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px 20px;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.chip:hover,
.chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.inline-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.inline-search svg {
    width: 15px;
    height: 15px;
    color: var(--soft);
}

.inline-search input {
    width: 150px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}

.shop-grid-wrap {
    padding: 0 16px 24px;
}

.empty-state {
    padding: 80px 24px;
    text-align: center;
}

.empty-state h2 {
    color: var(--ink);
    font-size: 20px;
    font-weight: 500;
}

.empty-state p {
    margin-top: 8px;
    font-size: 14px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    background: #fff;
}

.pagination a:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.pagination .is-current {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.pagination .is-disabled {
    opacity: .4;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 24px 16px 48px;
}

.product-gallery {
    min-width: 0;
}

.gallery-main {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--placeholder);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    background: var(--placeholder);
    opacity: .65;
    transition: opacity .2s ease, border-color .2s ease;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--ink);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--soft);
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb span {
    color: #d1d1cd;
}

.product-detail-title {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(22px, 3.4vw, 32px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.product-detail-price {
    margin-top: 10px;
    color: var(--ink);
    font-size: 18px;
}

.product-detail-price s {
    margin-left: 8px;
    color: var(--soft);
    font-size: 14px;
}

.stock-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    color: var(--muted);
}

.stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1ba303;
}

.stock-dot.is-low {
    background: #f09342;
}

.stock-dot.is-out {
    background: #f5564a;
}

.product-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.product-description p + p {
    margin-top: 12px;
}

.option-block {
    margin-top: 22px;
}

.option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.option-label a {
    color: var(--soft);
    letter-spacing: .02em;
    text-transform: none;
    font-weight: 400;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.size-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-option span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink);
    font-size: 12px;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.size-option input:checked + span {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.size-option input:focus-visible + span {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.qty-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 20px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 38px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
}

.qty-btn:hover {
    background: #f5f5f3;
}

.qty-input {
    width: 46px;
    height: 44px;
    border: 0;
    border-inline: 1px solid var(--line);
    text-align: center;
    font-size: 14px;
    outline: 0;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.assurance {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 18px;
    color: var(--soft);
    font-size: 11px;
}

.accordion {
    margin-top: 26px;
    border-top: 1px solid var(--line);
}

.accordion details {
    border-bottom: 1px solid var(--line);
}

.accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--ink);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    content: '+';
    font-size: 16px;
    color: var(--muted);
}

.accordion details[open] summary::after {
    content: '−';
}

.accordion-body {
    padding-bottom: 16px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
}

.related-section {
    padding: 8px 16px 64px;
}

.related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 8px 16px;
}

.related-head h2 {
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.related-head a {
    color: var(--soft);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Content pages (about)
   -------------------------------------------------------------------------- */

.page-hero {
    width: 100%;
    background: #0b0b0b;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    aspect-ratio: 0.8;
    object-fit: cover;
}

.page-hero.is-short img {
    aspect-ratio: 1.45;
}

.page-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.page-content .eyebrow {
    margin-bottom: 18px;
}

.rich-text {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.rich-text p + p {
    margin-top: 18px;
}

.rich-text h2,
.rich-text h3 {
    margin: 32px 0 12px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -.01em;
}

.rich-text h2 {
    font-size: 22px;
}

.rich-text h3 {
    font-size: 18px;
}

.rich-text a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-text ul {
    margin: 14px 0;
    padding-left: 18px;
    list-style: disc;
}

.rich-text li + li {
    margin-top: 6px;
}

/* Seller identity block on legal pages (required by payment gateways). */

.legal-identity {
    max-width: var(--container);
    margin: 40px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
}

.legal-identity h2 {
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 14px;
}

.legal-identity dl {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 8px 20px;
    font-size: 13px;
    line-height: 1.6;
}

.legal-identity dt {
    color: var(--soft);
}

.legal-identity dd {
    color: var(--muted);
    margin: 0;
}

.legal-identity a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Contact page */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 32px;
    align-items: start;
    padding: 0 16px 64px;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.contact-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .2s ease;
}

a.contact-card:hover {
    border-color: var(--line-strong);
}

.contact-card.is-static {
    background: var(--placeholder);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
}

.contact-icon svg {
    width: 17px;
    height: 17px;
}

.contact-card > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.contact-card strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}

.contact-card > span:last-child > span {
    font-size: 12px;
    line-height: 1.6;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.contact-form-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.contact-form-card h2 {
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-form-note {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 18px;
}

.contact-form-card .co-field + .co-field {
    margin-top: 14px;
}

.contact-form-card .btn {
    margin-top: 18px;
}

.contact-entity {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--soft);
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .legal-identity dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px 0;
    }

    .legal-identity dt {
        margin-top: 8px;
    }
}

/* --------------------------------------------------------------------------
   Cart & checkout
   -------------------------------------------------------------------------- */

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 0 16px 64px;
}

.cart-items {
    border-top: 1px solid var(--line);
}

.cart-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.cart-item-img {
    width: 84px;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--placeholder);
    border-radius: 6px;
}

.cart-item-name {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.cart-item-meta {
    margin-top: 4px;
    color: var(--soft);
    font-size: 12px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.cart-qty button {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
}

.cart-qty button:hover {
    background: #f5f5f3;
}

.cart-qty span {
    min-width: 28px;
    text-align: center;
    font-size: 12px;
    color: var(--ink);
}

.cart-remove {
    border: 0;
    background: none;
    padding: 0;
    color: var(--soft);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cart-remove:hover {
    color: #b3261e;
}

.cart-item-price {
    color: var(--ink);
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
}

.summary-card {
    align-self: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fafaf8;
}

.summary-card h2 {
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    font-size: 13px;
}

.summary-row.is-total {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
}

.summary-note {
    margin-top: 14px;
    color: var(--soft);
    font-size: 11px;
    line-height: 1.6;
}

.summary-card .btn {
    margin-top: 18px;
}

/* Checkout form */

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 0 16px 64px;
}

.form-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.form-section + .form-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.form-section-title {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field + .field {
    margin-top: 14px;
}

.field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.field label {
    color: var(--ink);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea {
    min-height: 96px;
    resize: vertical;
    line-height: 1.6;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(11, 11, 11, .06);
}

.field .error {
    color: #b3261e;
    font-size: 11px;
}

.field-help {
    color: var(--soft);
    font-size: 11px;
}

.payment-options {
    display: grid;
    gap: 8px;
}

.payment-option {
    display: flex;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.payment-option:hover {
    border-color: var(--line-strong);
}

.payment-option:has(input:checked) {
    border-color: var(--ink);
    background: #fafaf8;
}

.payment-option input {
    margin-top: 3px;
    accent-color: var(--ink);
    width: auto;
    min-height: 0;
}

.payment-option strong {
    display: block;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}

.payment-option span {
    display: block;
    color: var(--soft);
    font-size: 11px;
    margin-top: 2px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 12px;
}

.checkout-summary-item span:first-child {
    color: var(--muted);
}

.checkout-summary-item span:last-child {
    color: var(--ink);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Checkout - numbered steps
   -------------------------------------------------------------------------- */

.checkout-form {
    display: block;
}

.co-card {
    padding: 24px 26px 26px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.co-title {
    margin: 0 0 18px;
    color: var(--ink);
    font-family: var(--serif, Georgia, "Times New Roman", serif);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -.01em;
}

.co-num {
    margin-right: 2px;
}

.co-origin {
    margin: -8px 0 18px;
    color: var(--soft);
    font-size: 13px;
}

.co-origin strong {
    color: var(--muted);
    font-weight: 600;
}

.co-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.co-grid-single {
    margin-top: 4px;
}

.co-field {
    margin-top: 16px;
    min-width: 0;
}

.co-grid > .co-field:first-child,
.co-grid > .co-field:nth-child(2) {
    margin-top: 0;
}

.co-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--soft);
    font-size: 13px;
}

.co-field input[type="text"],
.co-field input[type="tel"],
.co-field input[type="email"],
.co-field textarea,
.co-field select {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 13px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.co-field select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.co-field select:disabled {
    background-color: #fbfbfa;
    color: #b5b5b0;
    cursor: not-allowed;
}

.co-field input:focus,
.co-field textarea:focus,
.co-field select:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(11, 11, 11, .06);
}

.co-field input[readonly] {
    background: #fbfbfa;
    color: var(--muted);
}

.co-field textarea {
    resize: vertical;
    min-height: 92px;
}

.co-error {
    display: block;
    margin-top: 6px;
    color: #b3261e;
    font-size: 11.5px;
}

.co-meta {
    margin: 0 0 6px;
    color: var(--soft);
    font-size: 13px;
}

.co-meta strong {
    color: var(--muted);
    font-weight: 600;
}

.co-hint {
    margin: 0;
    padding: 16px;
    color: var(--soft);
    font-size: 13px;
    text-align: center;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    background: #fcfcfb;
}

.co-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.co-head-row .co-title {
    margin: 0;
}

.co-btn-cek {
    flex: none;
    padding: 11px 22px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 8px;
    cursor: pointer;
    transition: opacity .15s ease;
}

.co-btn-cek:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.co-shipping-list {
    display: grid;
    gap: 9px;
    margin-top: 16px;
}

.co-ship-option {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.co-ship-option:hover {
    border-color: var(--line-strong);
}

.co-ship-option:has(input:checked) {
    border-color: var(--ink);
    background: #fafaf8;
}

.co-ship-option input {
    margin-top: 3px;
    width: auto;
    min-height: 0;
    accent-color: var(--ink);
}

.co-ship-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.co-ship-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.co-ship-top strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
}

.co-ship-price {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.co-ship-meta {
    color: var(--soft);
    font-size: 12px;
}

/* Payment groups */

.co-payments {
    display: grid;
    gap: 22px;
}

.co-pay-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}

.co-pay-group-title svg {
    width: 16px;
    height: 16px;
    color: var(--soft);
}

.co-pay-option {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    margin-bottom: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.co-pay-option:hover {
    border-color: var(--line-strong);
}

.co-pay-option:has(input:checked) {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink) inset;
}

.co-pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.co-pay-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 76px;
    height: 36px;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.co-pay-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.co-pay-logo-fallback {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--muted);
}

.co-pay-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.co-pay-body strong {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
}

.co-pay-body span {
    color: var(--soft);
    font-size: 12px;
}

.co-pay-check {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 21px;
    height: 21px;
    border: 1.5px solid var(--line-strong);
    border-radius: 50%;
    color: #fff;
    transition: background-color .15s ease, border-color .15s ease;
}

.co-pay-check svg {
    width: 13px;
    height: 13px;
    opacity: 0;
    transition: opacity .12s ease;
}

.co-pay-option:has(input:checked) .co-pay-check {
    background: var(--ink);
    border-color: var(--ink);
}

.co-pay-option:has(input:checked) .co-pay-check svg {
    opacity: 1;
}

/* Summary panel */

.co-summary {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding: 24px;
    background: #f7f4ee;
    border: 1px solid #ece7dc;
    border-radius: 14px;
}

.co-summary h2 {
    margin: 0 0 20px;
    color: var(--ink);
    font-family: var(--serif, Georgia, "Times New Roman", serif);
    font-size: 20px;
    font-weight: 400;
}

.co-summary-items {
    display: grid;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3ded2;
}

.co-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.co-summary-item strong {
    display: block;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
}

.co-summary-item span {
    display: block;
    margin-top: 3px;
    color: var(--soft);
    font-size: 12px;
}

.co-summary-item span b {
    color: var(--muted);
    font-weight: 700;
}

.co-summary-price {
    flex: none;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
}

.co-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    color: var(--soft);
    font-size: 13.5px;
}

.co-summary-row span:last-child {
    color: var(--ink);
    font-weight: 500;
}

.co-voucher {
    margin: 12px 0;
    padding: 14px 0;
    border-top: 1px dashed #ddd6c7;
    border-bottom: 1px dashed #ddd6c7;
}

.co-voucher-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
}

.co-voucher-label svg {
    width: 15px;
    height: 15px;
    color: var(--muted);
}

.co-voucher-row {
    display: flex;
    gap: 9px;
}

.co-voucher-row input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 12.5px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
}

.co-voucher-row input::placeholder {
    color: #b5b5b0;
    letter-spacing: .06em;
}

.co-voucher-row input:focus {
    outline: none;
    border-color: var(--ink);
}

.co-voucher-btn {
    flex: none;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 7px;
    cursor: pointer;
}

.co-voucher-note {
    margin: 8px 0 0;
    color: #b3261e;
    font-size: 11.5px;
}

.co-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0 16px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.co-summary-total strong {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.co-submit {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    background: #3d2314;
    border: 1px solid #3d2314;
    border-radius: 9px;
    cursor: pointer;
    transition: opacity .15s ease;
}

.co-submit:hover {
    opacity: .9;
}

.co-submit:disabled {
    opacity: .55;
    cursor: progress;
}

.co-summary-selected,
.co-summary-terms {
    margin: 13px 0 0;
    color: var(--soft);
    font-size: 11.5px;
    line-height: 1.6;
    text-align: center;
}

.co-summary-terms a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.co-summary-terms a:hover {
    color: var(--ink);
}

@media (max-width: 900px) {
    .co-summary {
        position: static;
    }
}

@media (max-width: 620px) {
    .co-grid {
        grid-template-columns: 1fr;
    }

    .co-grid > .co-field:nth-child(2) {
        margin-top: 16px;
    }

    .co-card {
        padding: 20px 18px 22px;
    }
}
/* Payment result on the order page */

.pay-panel {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-align: center;
}

.pay-panel h2 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pay-panel p {
    color: var(--soft);
    font-size: 12px;
}

.pay-qr {
    display: block;
    margin: 16px auto 8px;
    width: 240px;
    height: 240px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.pay-va {
    margin: 14px 0 6px;
    padding: 14px;
    border: 1px dashed var(--line-strong);
    border-radius: 10px;
    background: #fafaf8;
}

.pay-va span {
    display: block;
    color: var(--soft);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pay-va strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .08em;
}

.pay-panel .btn {
    margin-top: 10px;
}

.pay-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 14px;
}

.pay-actions form {
    display: inline-flex;
}

/* Order confirmation */

.order-success {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    text-align: center;
}

.order-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    margin-bottom: 20px;
}

.order-check svg {
    width: 24px;
    height: 24px;
}

.order-success h1 {
    color: var(--ink);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 400;
    letter-spacing: -.02em;
}

.order-success > p {
    margin-top: 10px;
    font-size: 14px;
}

.order-meta {
    margin: 28px 0;
    padding: 18px;
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    font-size: 12px;
}

.order-meta strong {
    color: var(--ink);
    font-weight: 500;
}

.order-items {
    text-align: left;
    border-top: 1px solid var(--line);
    margin-top: 24px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}

.order-item-name {
    color: var(--ink);
}

.order-item-meta {
    color: var(--soft);
    font-size: 11px;
    margin-top: 2px;
}

.order-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

/* --------------------------------------------------------------------------
   Flash / toast
   -------------------------------------------------------------------------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.toast.is-error {
    background: #8f2b23;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
    .products-grid {
        gap: var(--grid-gap);
    }

    .promo-banner {
        height: 454px;
    }

    .promo-overlay {
        padding: 32px;
    }

    .promo-card {
        max-width: 600px;
        padding: 20px 56px;
    }

    .field-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 44px;
        padding-top: 40px;
    }

    .product-gallery {
        position: sticky;
        top: calc(var(--header-h) + 20px);
        align-self: start;
    }

    .cart-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 44px;
    }

    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 44px;
    }
}

@media (min-width: 960px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--grid-gap);
    }

    .products-grid.is-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-banner {
        height: 454px;
    }

    .promo-overlay {
        padding: 32px;
    }

    .promo-card {
        max-width: 600px;
        padding: 20px 56px;
    }

    .page-hero img {
        aspect-ratio: 0.8;
    }

    .shop-grid-wrap {
        padding-inline: 8px;
    }
}

@media (max-width: 959px) {
    .site-footer {
        padding-bottom: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }

    .footer-nav {
        gap: 14px;
    }
}

@media (max-width: 639px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .page-head {
        padding-top: 28px;
    }

    .page-title {
        font-size: 26px;
    }

    .cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .cart-item-img {
        width: 64px;
    }

    .cart-item-price {
        grid-column: 2;
        text-align: left;
        margin-top: -4px;
    }

    .form-card {
        padding: 18px;
    }

    .summary-card {
        padding: 18px;
    }

    .product-detail {
        padding-inline: 8px;
    }

    .related-section {
        padding-inline: 8px;
    }

    .shop-toolbar {
        padding-inline: 16px;
    }
}

/* ==========================================================================
   Branded payment page (Midtrans Core API)
   ========================================================================== */

.page-payment {
    background: #fff;
}

.payv2-shell {
    padding: 36px 0 84px;
    background:
        radial-gradient(1100px 460px at 50% -140px, #f7f1e7 0%, rgba(255, 255, 255, 0) 72%);
}

.payv2-head {
    padding: 8px 24px 26px;
}

.payv2-head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.payv2-title {
    margin: 8px 0 8px;
    color: var(--ink);
    font-family: var(--serif, Georgia, "Times New Roman", serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.payv2-sub {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.payv2-sub strong {
    color: var(--ink);
    font-weight: 600;
}

.payv2-dot {
    margin: 0 5px;
    color: #c9c1b3;
}

.payv2-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 11.5px;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease;
}

.payv2-back:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.payv2-back svg {
    width: 15px;
    height: 15px;
}

.payv2-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--soft);
    font-size: 11px;
}

.payv2-progress span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.payv2-progress span + span::before {
    content: '';
    width: 34px;
    height: 1px;
    margin-right: 3px;
    background: #e5dfd3;
}

.payv2-progress i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #ded7ca;
    border-radius: 50%;
    background: #fff;
    color: var(--soft);
    font-size: 10px;
    font-style: normal;
}

.payv2-progress .is-done i {
    border-color: #3d2314;
    background: #3d2314;
    color: #fff;
}

.payv2-progress .is-active {
    color: var(--ink);
    font-weight: 600;
}

.payv2-progress .is-active i {
    border-color: #3d2314;
    color: #3d2314;
}

.payv2-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 26px;
    align-items: start;
    padding: 0 24px;
}

.payv2-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.payv2-card {
    border: 1px solid #e9e3d7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(11, 11, 11, .02), 0 20px 55px -42px rgba(61, 35, 20, .55);
}

.payv2-picker {
    padding: 6px 26px 24px;
}

.payv2-alert {
    padding: 13px 16px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff5f5;
    color: #9f1239;
    font-size: 12.5px;
    line-height: 1.6;
}

.payv2-group {
    padding-top: 20px;
}

.payv2-group + .payv2-group {
    margin-top: 20px;
    border-top: 1px solid #f0ebe2;
}

.payv2-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.payv2-group-head h2 {
    margin: 0;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.payv2-group-head > span {
    color: var(--soft);
    font-size: 10px;
}

.payv2-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.payv2-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 72px;
    padding: 12px 13px;
    border: 1px solid #e7e1d5;
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.payv2-option:hover {
    border-color: #c9bfae;
    transform: translateY(-1px);
}

.payv2-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.payv2-option:has(input:checked) {
    border-color: #3d2314;
    background: #fdfaf5;
    box-shadow: inset 0 0 0 1px #3d2314;
}

.payv2-option:has(input:focus-visible) {
    outline: 2px solid rgba(61, 35, 20, .35);
    outline-offset: 2px;
}

.payv2-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: none;
    width: 88px;
    height: 38px;
    padding: 5px;
    border: 1px solid #ece7dc;
    border-radius: 9px;
    background: #fff;
    overflow: hidden;
}

.payv2-badge img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 0;
    object-fit: contain;
}

.payv2-badge.is-qris {
    width: 118px;
}

.payv2-badge.is-card {
    width: 168px;
    gap: 6px;
    padding: 6px 8px;
}

.payv2-badge.is-card img {
    max-width: 23%;
    max-height: 26px;
}

.payv2-option-body {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.payv2-option-body strong {
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
}

.payv2-option-body small {
    color: var(--soft);
    font-size: 10.5px;
    line-height: 1.4;
}

.payv2-eta {
    flex: none;
    padding: 3px 6px;
    border: 1px solid #e7e1d5;
    border-radius: 999px;
    color: #8a8173;
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.payv2-radio {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    margin-left: 2px;
    border: 1.5px solid #d6cfc1;
    border-radius: 50%;
    background: #fff;
}

.payv2-option:has(input:checked) .payv2-radio {
    border-color: #3d2314;
}

.payv2-option:has(input:checked) .payv2-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #3d2314;
}

.payv2-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0ebe2;
}

.payv2-submit-total {
    display: grid;
    gap: 2px;
}

.payv2-submit-total span {
    color: var(--soft);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.payv2-submit-total strong {
    color: var(--ink);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.payv2-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid #3d2314;
    border-radius: 11px;
    background: #3d2314;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .18s ease, opacity .18s ease;
}

.payv2-submit:hover {
    background: #2e1a0f;
    color: #fff;
}

.payv2-submit:disabled {
    opacity: .55;
    cursor: progress;
}

.payv2-submit svg {
    width: 16px;
    height: 16px;
}

.payv2-submit.payv2-wide {
    width: 100%;
    margin-top: 14px;
}

.payv2-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 14px 0 0;
    color: var(--soft);
    font-size: 10.5px;
    line-height: 1.5;
    text-align: center;
}

.payv2-secure svg {
    flex: none;
    width: 13px;
    height: 13px;
}

.payv2-instruction {
    padding: 24px 26px 22px;
}

.payv2-ins-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0ebe2;
}

.payv2-ins-method {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payv2-ins-method .payv2-badge {
    width: 112px;
    height: 46px;
    padding: 6px;
}

.payv2-ins-method .payv2-badge.is-qris {
    width: 148px;
}

.payv2-ins-method .payv2-badge.is-card {
    width: 168px;
    max-height: 46px;
}

.payv2-ins-method .payv2-badge.is-card img {
    max-height: 30px;
}

.payv2-ins-method strong {
    display: block;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.payv2-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--soft);
    font-size: 9.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.payv2-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #f2e2b8;
    border-radius: 999px;
    background: #fff8e6;
    color: #946200;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.payv2-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e3a008;
    box-shadow: 0 0 0 3px rgba(227, 160, 8, .15);
}

.payv2-qr-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 24px 0 8px;
}

.payv2-qr-frame {
    position: relative;
    display: grid;
    place-items: center;
    padding: 16px 16px 28px;
    border: 1px solid #e7e1d5;
    border-radius: 16px;
    background: #fff;
}

.payv2-qr-frame img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 6px;
}

.payv2-qr-frame.is-small {
    max-width: 240px;
    padding: 12px 12px 24px;
}

.payv2-qr-brand {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1px 8px;
    background: #fff;
    color: #3d2314;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .18em;
}

.payv2-qr-empty {
    padding: 40px 12px;
    color: var(--soft);
    font-size: 11.5px;
    text-align: center;
}

.payv2-qr-copy h2,
.payv2-ewallet-copy h2,
.payv2-redirect h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: var(--serif, Georgia, "Times New Roman", serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.01em;
}

.payv2-qr-copy p,
.payv2-ewallet-copy p,
.payv2-redirect p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.payv2-qr-copy p strong,
.payv2-ewallet-copy p strong,
.payv2-redirect p strong {
    color: var(--ink);
    font-weight: 600;
}

.payv2-list {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: paystep;
}

.payv2-list li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.6;
    counter-increment: paystep;
}

.payv2-list li strong {
    color: var(--ink);
    font-weight: 600;
}

.payv2-list li::before {
    content: counter(paystep);
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #f3efe7;
    color: #6b5a4a;
    font-size: 9px;
    font-weight: 700;
}

.payv2-list-lg {
    margin-top: 18px;
    padding-top: 2px;
}

.payv2-va-box {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #e7e1d5;
    border-radius: 14px;
    background: #fdfbf7;
}

.payv2-va-box + .payv2-va-box {
    margin-top: 10px;
}

.payv2-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 5px;
}

.payv2-value strong {
    color: var(--ink);
    font-size: clamp(19px, 3vw, 25px);
    font-weight: 700;
    letter-spacing: .02em;
}

.payv2-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border: 1px solid #ded7ca;
    border-radius: 8px;
    background: #fff;
    color: #5b5045;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease;
}

.payv2-copy:hover {
    border-color: #3d2314;
    color: #3d2314;
}

.payv2-copy svg {
    width: 13px;
    height: 13px;
}

.payv2-va-total {
    display: block;
    margin-top: 6px;
    color: var(--soft);
    font-size: 10.5px;
}

.payv2-va-total strong {
    color: var(--ink);
    font-weight: 600;
}

.payv2-ewallet {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    padding: 24px 0 8px;
}

.payv2-muted {
    margin-top: 12px !important;
    color: var(--soft) !important;
    font-size: 10.5px !important;
}

.payv2-redirect {
    padding: 30px 10px 10px;
    text-align: center;
}

.payv2-redirect-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #f7f2ea;
    color: #3d2314;
}

.payv2-redirect-icon svg {
    width: 26px;
    height: 26px;
}

.payv2-redirect p {
    max-width: 430px;
    margin: 0 auto;
}

.payv2-redirect .payv2-wide {
    max-width: 360px;
    margin-inline: auto;
}

.payv2-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f0ebe2;
}

.payv2-actions form {
    margin: 0;
}

.payv2-check-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #3d2314;
    border-radius: 10px;
    background: #3d2314;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .18s ease;
}

.payv2-check-btn:hover {
    background: #2e1a0f;
}

.payv2-check-btn svg {
    width: 15px;
    height: 15px;
}

.payv2-link {
    color: var(--muted);
    font-size: 11.5px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.payv2-link:hover {
    color: var(--ink);
}

.payv2-aside {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    display: grid;
    gap: 12px;
}

.payv2-summary {
    padding: 22px;
    border: 1px solid #ece7dc;
    border-radius: 18px;
    background: #f7f4ee;
}

.payv2-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.payv2-summary-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif, Georgia, "Times New Roman", serif);
    font-size: 18px;
    font-weight: 400;
}

.payv2-summary-head a {
    color: var(--muted);
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.payv2-items {
    display: grid;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e3ded2;
}

.payv2-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.payv2-item div {
    min-width: 0;
}

.payv2-item strong {
    display: block;
    color: var(--ink);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.35;
}

.payv2-item span {
    display: block;
    margin-top: 2px;
    color: var(--soft);
    font-size: 10px;
}

.payv2-item > span {
    flex: none;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
}

.payv2-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    color: var(--muted);
    font-size: 11px;
}

.payv2-row span:last-child {
    color: var(--ink);
}

.payv2-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid #e3ded2;
}

.payv2-total span {
    color: var(--ink);
    font-size: 12px;
    font-weight: 600;
}

.payv2-total strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.payv2-timer {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px dashed #d9cfbd;
    border-radius: 11px;
    background: #fffdf9;
}

.payv2-timer > span {
    display: block;
    margin-bottom: 5px;
    color: var(--soft);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.payv2-countdown {
    display: flex;
    gap: 9px;
}

.payv2-countdown span {
    color: var(--muted);
    font-size: 9.5px;
}

.payv2-countdown b {
    display: inline-block;
    min-width: 22px;
    padding: 2px 4px;
    border-radius: 5px;
    background: #3d2314;
    color: #fff;
    font-size: 10.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.payv2-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e3ded2;
    color: var(--soft);
    font-size: 10px;
}

.payv2-help a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.payv2-trust {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #e9e3d7;
    border-radius: 14px;
    background: #fff;
}

.payv2-trust-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f4efe6;
    color: #3d2314;
}

.payv2-trust-icon svg {
    width: 18px;
    height: 18px;
}

.payv2-trust strong {
    display: block;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
}

.payv2-trust span {
    display: block;
    margin-top: 2px;
    color: var(--soft);
    font-size: 10px;
    line-height: 1.45;
}

@media (max-width: 960px) {
    .payv2-layout {
        grid-template-columns: 1fr;
    }

    .payv2-aside {
        position: static;
        grid-row: auto;
    }
}

@media (max-width: 720px) {
    .payv2-shell {
        padding-top: 20px;
    }

    .payv2-head {
        padding-inline: 18px;
    }

    .payv2-layout {
        padding-inline: 18px;
        gap: 18px;
    }

    .payv2-head-top {
        flex-direction: column;
        gap: 12px;
    }

    .payv2-options {
        grid-template-columns: 1fr;
    }

    .payv2-picker {
        padding-inline: 18px;
    }

    .payv2-instruction {
        padding: 20px 18px;
    }

    .payv2-qr-layout,
    .payv2-ewallet {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .payv2-qr-frame {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .payv2-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .payv2-submit-row .payv2-submit {
        width: 100%;
    }

    .payv2-ins-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .payv2-progress {
        gap: 6px;
        font-size: 9.5px;
    }

    .payv2-progress span + span::before {
        width: 16px;
    }

    .payv2-eta {
        display: none;
    }

    .payv2-value {
        flex-wrap: wrap;
    }
}
