/* ============================================================
   GOLDVERS compat — bridges the theme/JS-hook classes that the
   storefront JS creates or toggles at runtime to the Goldvers look.
   Loaded after goldvers-core.css. The rebuilt markup/templates carry
   native Goldvers classes; this file covers the dynamic-only hooks.
   ============================================================ */

/* keep the marketplace theme's aggressive base off our storefront */
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }

/* buttons — override the theme's .btn{color:#fff} bleed (theme css can
   land after ours in the Yii asset order, so pin these with !important) */
.btn { line-height: 1.2 !important; }   /* theme forces line-height ~36px, bloating .btn-sm height */
.btn:focus, .btn.focus, .btn:active { box-shadow: none !important; outline: none !important; }
.btn-primary, .btn-gold, .badge-sale { color: #fff !important; }
/* .btn-primary keeps a theme blue border/hover — pin every state to gold */
.btn-primary { background: var(--gold) !important; border-color: var(--gold) !important; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background: var(--gold-deep) !important; border-color: var(--gold-deep) !important; color: #fff !important;
}
.btn-gold { border-color: var(--gold-deep) !important; }
/* theme turns headings-inside-hovered-links blue (a:hover h1..h6); product
   name is an <h3> in the card link — keep hover on brand */
a:hover .card-name, .card a:hover .card-name { color: var(--gold-deep) !important; }
.btn-secondary { background: var(--gold) !important; border-color: var(--gold) !important; color: #fff !important; }
.btn-secondary:hover { background: var(--gold-deep) !important; border-color: var(--gold-deep) !important; }
.btn-ghost { color: var(--ink) !important; background: #fff !important; border: 1px solid var(--line-2) !important; }
.btn-ghost:hover { color: var(--ink) !important; border-color: var(--ink) !important; }
.band .btn-gold { color: var(--gold-deep) !important; background: #fff !important; }
.band .btn-gold:hover { color: #fff !important; background: var(--ink) !important; }
.link-underline { color: var(--ink); }

/* ---- brand logo image (from MarketplaceAsset bundle) ---- */
.header-row .brand-logo { height: 30px; width: auto; display: block; flex: none; }
.drawer-head .brand-logo { height: 26px; width: auto; }
.brand-logo--footer { height: 36px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
@media (max-width: 720px) { .header-row .brand-logo { height: 26px; } }

/* ---- header cart count badge (cart.js toggles .total-item) ---- */
.nav-notification span.total-item {
    background: var(--gold); color: #fff; border: 1.5px solid var(--bg);
    border-radius: 100px; font-size: 10px; font-weight: 600; line-height: 15px;
    min-width: 17px; text-align: center; padding: 0 4px; position: absolute;
    top: 2px; right: 2px; width: fit-content;
}

/* ---- wishlist heart button (Line Awesome icon toggled lar/las) ---- */
.btn-favorite .icon { font-size: 17px; line-height: 1; }
.icon-btn .las.la-heart, .btn-favorite .las.la-heart { color: var(--gold-deep); }

/* ---- product-card hook classes carried alongside Goldvers classes ---- */
/* no-repeat matters once the size is `contain`: the letterboxed strip either side
   of the photo would otherwise tile it. */
.card-img-top { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.card-media .card-img-top,
.product-item__image .card-img-top { position: absolute; inset: 0; padding: 0; background-size: contain; transition: transform .8s var(--ease); }
.card:hover .card-media .card-img-top,
.product:hover .product-item__image .card-img-top { transform: scale(1.045); }

/* product cards are borderless in the design — only the media is a tile.
   (theme's .card{border;box-shadow;bg} can win the cascade, so !important) */
.grid-products .card, .product .card {
    border: none !important; box-shadow: none !important;
    background: transparent !important; border-radius: 0 !important;
}
/* product name must use the UI sans (Jost); it's an <h3> so it otherwise
   inherits the theme's Inter heading font. Real product names run long, so
   clamp to 2 lines (reserving the height) to keep the card layout as tidy
   as the design's short sample names. */
.card-name, .card .card-name {
    font-family: var(--sans); font-weight: 500;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.6em;
}
/* category eyebrow stays on one line */
.card-cat { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot-col h5 { font-family: var(--sans); }

/* rating + category label + JS-set price spans (home cards + search template) */
.stars-rating { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.stars-rating .star-icon, .stars-rating .star-icon.active { color: var(--gold); font-size: 14px; }
.stars-rating__point { font-weight: 600; color: var(--ink); }
.stars-rating__review { color: var(--ink-3); }
.card-cat { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
/* two-class specificity to beat the theme's .product-item__body .product-desc-price{color:#5f63f2} */
.product-item__body .product-desc-price, .product-desc-price { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.product-item__body .product-price, .product-price { font-size: 12.5px; color: var(--ink-3); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-item__body .product-discount, .product-discount { font-size: 11px; font-weight: 600; color: var(--sale); letter-spacing: .03em; margin-left: 8px; }

/* ---- quantity steppers (theme classes .qty-minus/.qty-plus/.bttn/.qty) ---- */
.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 100px; overflow: hidden; }
.quantity .bttn {
    width: 44px; height: 46px; border: none; background: none; font-size: 18px;
    color: var(--ink-2); cursor: pointer; transition: background .15s;
}
.quantity .bttn:hover { background: var(--gold-wash); color: var(--gold-deep); }
.quantity .qty, .quantity input.qty {
    width: 48px; height: 46px; text-align: center; border: none; outline: none;
    font-weight: 600; font-size: 15px; background: none; -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- pagination (.paging / .paginate_button / .page-list) ---- */
.paging { display: inline-flex; align-items: center; gap: 6px; }
.paging .paginate_button {
    min-width: 36px; height: 36px; display: inline-grid; place-items: center;
    border: 1px solid var(--line-2); border-radius: 100px; background: #fff;
    color: var(--ink-2); font-size: 13px; transition: all .2s var(--ease);
}
.paging .paginate_button:hover,
.paging .paginate_button.current { background: var(--gold); border-color: var(--gold); color: #fff; }
.paging .paginate_button.disabled { opacity: .4; pointer-events: none; }

/* ---- status filter (.seg) stays within viewport on mobile ---- */
@media (max-width: 600px) {
    .mem-head.row .seg {
        width: 100%; max-width: 100%; overflow-x: auto;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .mem-head.row .seg::-webkit-scrollbar { display: none; }
    .mem-head.row .seg a, .mem-head.row .seg button { flex: none; }
}
.paging .page-list {
    border: 1px solid var(--line-2); border-radius: 100px; height: 36px;
    padding: 0 32px 0 14px; font-size: 13px; color: var(--ink); appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B847C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 12px center;
}

/* ---- filters (search listing) ---- */
.gv-field {
    width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    padding: 11px 14px; font-size: 13.5px; outline: none; background: #fff; color: var(--ink);
}
.gv-field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
/* checkbox tick drawn in pure CSS (works for JS-injected category items,
   which are added after feather.replace() has already run) */
.fopt .fbox { position: relative; }
.fopt .fbox::after {
    content: ""; width: 5px; height: 9px; margin-top: -2px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
    opacity: 0; transition: opacity .12s;
}
.fopt input:checked ~ .fbox { background: var(--gold); border-color: var(--gold); }
.fopt input:checked ~ .fbox::after { opacity: 1; }
.product-category .category-list { list-style: none; }
.product-ratings .stars-rating .star-icon { font-size: 13px; }

/* sticky sidebars must clear the ~110px Goldvers header (topbar + row),
   otherwise their top (KATEGORI heading, gallery thumbs) slides under it */
.filters, .gallery, .summary { top: 124px; }

/* many categories -> compact scrollable box instead of a very tall sidebar */
.filters .product-category ul {
    max-height: 264px; overflow-y: auto; padding-right: 8px; margin-right: -6px;
}
.filters .product-category ul::-webkit-scrollbar { width: 6px; }
.filters .product-category ul::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
.filters .product-category ul::-webkit-scrollbar-track { background: transparent; }
.filters .product-category li.category-list { display: block !important; }  /* show all inside the scroll box */
.filters .product-category .more-block { display: none !important; }         /* scroll replaces the "Lebih Lengkap" toggle */

/* ---- toast (invokeNotification via jquery-toast) → Goldvers pill, bottom-center ---- */
.jq-toast-wrap {
    z-index: 9999 !important; left: 50% !important; right: auto !important;
    top: auto !important; bottom: 24px !important; transform: translateX(-50%);
    text-align: center; max-width: min(92vw, 440px);
}
.jq-toast-single {
    display: inline-flex !important; align-items: center; gap: 10px;
    font-family: var(--sans); border-radius: 100px !important; padding: 13px 22px !important;
    background: var(--ink) !important; background-image: none !important; color: #F0E7D6 !important;
    box-shadow: var(--shadow) !important; font-size: 13.5px !important; letter-spacing: .02em;
    border: none !important; width: auto !important; text-align: left; line-height: 1.35;
}
.jq-toast-single.jq-has-icon { padding-left: 22px !important; }
/* replace the plugin's block icon with an inline check (gold-soft) */
.jq-toast-single::before {
    content: ""; width: 16px; height: 16px; flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC4B0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.jq-toast-single.jq-icon-error { background: var(--sale) !important; color: #fff !important; }
.jq-toast-single.jq-icon-error::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") no-repeat center / contain;
}
.jq-toast-single .close-jq-toast-single { display: none !important; }
.jq-toast-single .jq-toast-loader { display: none !important; }
.jq-toast-single h2.jq-toast-heading { display: none !important; }

/* ---- cart page line items (Goldvers .cartline) ---- */
.cartline-name { font-weight: 500; font-size: 15px; line-height: 1.3; color: var(--ink); }
.cartline-controls { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.cart-remove {
    font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase;
    border: none; background: none; cursor: pointer; border-bottom: 1px solid var(--line-2); padding: 0 0 2px;
}
.cart-remove:hover { color: var(--sale); border-color: var(--sale); }
.cartline-price { text-align: right; }
.cartline-price .price-now { font-size: 15px; }
.summary .sumrow > div:first-child { color: var(--ink-2); }
.summary .total-money { display: flex; justify-content: space-between; align-items: center; }
.summary .total-money h5 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin: 0; }

/* ---- checkout — Goldvers restyle over the existing structure ---- */
.cartPage { max-width: var(--maxw); margin: 0 auto; border: none !important; box-shadow: none !important; background: transparent !important; padding: 30px var(--gutter) !important; }
.card.crc { border: none !important; box-shadow: none !important; background: transparent !important; padding: 0 !important; }
.card.crc > .card-body { border: 1px solid var(--line) !important; border-radius: var(--r) !important; box-shadow: none !important; background: #fff !important; margin-bottom: 18px !important; padding: 24px !important; }
.crc__title h5 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); }
.crc__title-btn { color: var(--gold-deep) !important; }
.order-summery { background: var(--surface-2) !important; border: 1px solid var(--line); border-radius: var(--r) !important; box-shadow: none !important; }
.order-summery .card-header h5 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.order-summery .total > div { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); font-size: 14px; }
.order-summery .total-money { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.order-summery .total-money h5 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); }
.btn.checkout, .btn.btn-apply-voucher { border-radius: 100px !important; }
.check-review__contact p { font-weight: 500; color: var(--ink); }
#cart .subtotal, .product-cart .subtotal, .product-cart .price { color: var(--ink); }

/* ---- member area (account) child panels ---- */
.mem-body .card, .mem-body .card.border-0 { border: 1px solid var(--line) !important; border-radius: var(--r) !important; box-shadow: none !important; background: #fff; }
.mem-body .card-header { background: transparent; border-bottom: 1px solid var(--line) !important; padding: 18px 24px; }
.mem-body .card-header h6 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin: 0; }
.mem-body .card-body { padding: 24px; }
.mem-body .userDatatable table.dataTable thead th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.mem-body .btn-primary { color: #fff !important; }
.mem-body .grid-products, .mem-body .product-page-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px,2.2vw,30px); }
@media (max-width:1100px){ .mem-body .product-page-list { grid-template-columns: repeat(3,1fr); } }
@media (max-width:720px){ .mem-body .product-page-list { grid-template-columns: repeat(2,1fr); } }

/* ---- checkout native address picker (replaces address DataTable) ---- */
.gv-addr-list { display: flex; flex-direction: column; gap: 10px; }
.gv-addr-pick { text-align: left; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; background: #fff; cursor: pointer; transition: all .2s; font-family: inherit; width: 100%; }
.gv-addr-pick:hover { border-color: var(--gold); background: var(--gold-wash); }
.gv-addr-pick .nm { font-weight: 600; font-size: 14px; color: var(--ink); }
.gv-addr-pick .ad { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }

/* ---- dropship point ledger ---- */
.gv-point-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 18px 4px; border-top: 1px solid var(--line); }
.gv-point-row:last-child { border-bottom: 1px solid var(--line); }
.gv-point-head { border-top: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; }
.gv-point-row .desc { font-weight: 500; font-size: 14px; color: var(--ink); }
.gv-point-row .date { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.gv-point-row .mut { font-weight: 600; font-size: 14px; min-width: 90px; text-align: right; }
.gv-point-row .mut.pos { color: #2E7D4F; }
.gv-point-row .mut.neg { color: var(--sale); }
.gv-point-row .bal { font-weight: 600; font-size: 15px; font-family: var(--serif); min-width: 90px; text-align: right; }

/* ---- form controls (storefront) ---- */
.form-control { border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 14px; font-size: 14px; color: var(--ink); }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }

/* ---- select2 (used in filters/forms) ---- */
.select2-container--default .select2-selection--single { border: 1px solid var(--line-2); border-radius: 100px; height: 42px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; }

/* ---- Yii ActiveForm fields in the Goldvers auth modal ---- */
.modal .form-control {
    width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    padding: 13px 15px; font-size: 14px; outline: none;
}
.modal .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.invalid-feedback, .valid-feedback { display: block; font-size: 12px; }

/* ============================================================
   HOME — compact category chips (no images: show them all)
   ============================================================ */
.cat-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat-chip {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm);
    background: #fff; color: var(--ink); position: relative; overflow: hidden;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cat-chip::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--gold); transform: scaleY(0); transform-origin: bottom;
    transition: transform .25s var(--ease);
}
.cat-chip:hover { border-color: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(22,19,15,.06); }
.cat-chip:hover::before { transform: scaleY(1); }
.cat-chip-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cat-chip .nm { font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: .01em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-chip .ct { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.cat-chip-go { width: 17px; height: 17px; color: var(--ink-3); flex-shrink: 0;
    opacity: 0; transform: translate(-4px, 4px); transition: all .25s var(--ease); }
.cat-chip:hover .cat-chip-go { opacity: 1; transform: none; color: var(--gold-deep); }

/* weekly-sold note on best-seller cards */
.sold-note { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
    font-size: 12px; font-weight: 500; color: var(--gold-deep); letter-spacing: .01em; }
.sold-note svg { width: 14px; height: 14px; }

/* ============================================================
   HOME — crossfading product showcase (story band figure)
   ============================================================ */
.showcase { position: absolute; inset: 0; }
.showcase-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.1s var(--ease); }
.showcase-img.on { opacity: 1; }
.showcase::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(22,19,15,.55), rgba(22,19,15,0) 46%); }
.showcase-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1;
    font-size: 12px; font-weight: 500; letter-spacing: .02em; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    text-shadow: 0 1px 8px rgba(0,0,0,.4); opacity: .95; }

@media (max-width: 700px) {
    .cat-chips { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
    .cat-chip { padding: 14px 15px; }
    .cat-chip .nm { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-img { transition: none; }
}

/* ---- empty state (search no-results, reusable) ---- */
.gv-empty { grid-column: 1 / -1; text-align: center; padding: 64px 20px 90px; }
.gv-empty-mark { font-size: 60px; line-height: 1; color: var(--line-2); }
.gv-empty-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); font-weight: 600; margin: 14px 0 8px; }
.gv-empty p { margin-bottom: 26px; }

/* ============================================================
   AUTH pages (login / register / forgot / change password)
   Centered Goldvers card; maps ActiveForm output to the design.
   ============================================================ */
.auth-wrap { padding: clamp(36px, 6vw, 76px) 0 100px; }
.auth-card {
    max-width: 452px; margin: 0 auto; background: #fff;
    border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 4vw, 40px);
}
.auth-card.auth-wide { max-width: 560px; }
.auth-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep); }
.auth-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); font-weight: 600; line-height: 1.05; margin-top: 10px; }
.auth-sub { color: var(--ink-2); font-size: 14px; margin: 8px 0 26px; line-height: 1.5; }

/* ActiveForm field groups → Goldvers .field look */
.auth-card .form-group { margin-bottom: 15px; }
.auth-card .control-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.auth-card .form-control {
    width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    padding: 12px 15px; font-size: 14px; color: var(--ink); background: #fff; outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.auth-card .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.auth-card .invalid-feedback, .auth-card .help-block { display: block; font-size: 12px; color: var(--sale); margin-top: 6px; }
.auth-card .form-group.has-error .form-control { border-color: var(--sale); }

/* remember / forgot row */
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 22px; font-size: 13px; }
.auth-remember { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink-2); }
.auth-remember input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.auth-row a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 1px; }
.auth-row a:hover { color: var(--gold-deep); border-color: var(--gold); }

/* divider + google + alt link */
.auth-divider { position: relative; text-align: center; margin: 22px 0; color: var(--ink-3); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.auth-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.auth-divider span { position: relative; background: #fff; padding: 0 14px; }
.auth-google { display: flex; justify-content: center; min-height: 40px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }
.auth-alt a { color: var(--gold-deep); border-bottom: 1px solid var(--gold-soft); padding-bottom: 1px; }
.auth-alt a:hover { border-color: var(--gold-deep); }
@media (max-width: 560px) { .auth-card .grid-2 { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKOUT page (Goldvers .cartlayout + .summary)
   ============================================================ */
.co-section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.co-section:first-child { padding-top: 0; }
.co-section > h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 16px; }
.co-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.co-section-head h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.co-section-head .link-underline { background: none; border: none; cursor: pointer; font-size: 12.5px; }

/* current address block */
.co-address { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 15px 17px; background: var(--surface-2); }
.co-address p { font-weight: 600; font-size: 14px; color: var(--ink); margin: 0 0 4px; }
.co-address span { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ActiveForm fields inside checkout → Goldvers look */
.co-section .form-group { margin-bottom: 14px; }
.co-section .form-group:last-child { margin-bottom: 0; }
.co-section .control-label { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.co-section .form-control {
    width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm);
    padding: 12px 15px; font-size: 14px; color: var(--ink); background: #fff; outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.co-section .form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-wash); }
.co-section textarea.form-control { min-height: 84px; resize: vertical; line-height: 1.5; }
.co-section select.form-control, .modal select.form-control {
    appearance: none; -webkit-appearance: none; padding-right: 38px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238B847C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 13px center;
}
.co-section .invalid-feedback, .co-section .help-block { display: block; font-size: 12px; color: var(--sale); margin-top: 6px; }

/* use-point checkbox */
.co-point { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.co-point input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; flex: none; }
.co-point strong { color: var(--ink); }
.co-total-point { display: none; }

/* dropship ship-to block in summary */
.co-ship-to { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; background: var(--surface-2); margin-bottom: 18px; }

/* order items list */
.co-cart { width: 100%; border-collapse: collapse; }
.co-cart td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.co-cart tr:last-child td { border-bottom: none; }
.co-item-media-cell { width: 56px; padding-right: 14px !important; }
.co-item-media { width: 56px; height: 68px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.co-item-media img { width: 100%; height: 100%; object-fit: cover; }
.co-cart .product-title { font-weight: 500; font-size: 14px; color: var(--ink); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-item-meta { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.co-item-price-cell { text-align: right; white-space: nowrap; padding-left: 12px !important; }
.co-cart .subtotal { font-weight: 600; font-size: 14px; color: var(--ink); }
.co-cart .co-unit { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }

/* summary total value (JS writes into h5) */
.sumrow.total .v, .total-money h5.v { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.d-none { display: none !important; }

/* checkout: empty-address prompt, plain qty, disabled CTA */
.co-address.is-empty { background: var(--gold-wash); border-color: var(--gold-soft); }
.co-address-empty { display: flex; align-items: flex-start; gap: 12px; }
.co-address-empty svg { width: 20px; height: 20px; color: var(--gold-deep); flex: none; margin-top: 1px; }
.co-address-empty > div { font-size: 14px; color: var(--ink); line-height: 1.5; }
.co-address-empty .link-underline { background: none; border: none; cursor: pointer; display: inline; padding: 0 0 1px; }
.co-qty { font-weight: 500; color: var(--ink-2); }
.btn:disabled, .btn[disabled], .btn.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
