@import url("/css/noto-sans-thai.css");

:root {
    color-scheme: light;
    --navy: #11274e;
    --blue: #0136ba;
    --blue-deep: #071a3a;
    --gold: #fdd005;
    --gold-soft: #ffe566;
    --gold-deep: #c9961a;
    --price-red: #8a302c;
    --price-red-deep: #6f2522;
    --ivory: #f7f9fc;
    --linen: #eef2f8;
    --ink: #17213b;
    --muted: #5a6a8a;
    --line: rgba(17, 39, 78, 0.1);
    --line-gold: rgba(253, 208, 5, 0.42);
    --white: #ffffff;
    --success: #0f766e;
    --danger: #b91c1c;
    --shadow: 0 28px 70px rgba(17, 39, 78, 0.16);
    --shadow-soft: 0 18px 46px rgba(17, 39, 78, 0.09);
    --shadow-frame: 0 16px 40px rgba(17, 39, 78, 0.1), 0 0 0 1px rgba(17, 39, 78, 0.035);
    --radius: 8px;
    --image-radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans Thai", Tahoma, sans-serif;
    background:
        linear-gradient(180deg, rgba(247, 249, 252, 0.98), rgba(238, 242, 248, 0.96) 48%, #ffffff),
        var(--ivory);
    line-height: 1.65;
}

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

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

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

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        0 18px 46px rgba(17, 39, 78, 0.13),
        inset 0 -2px 0 rgba(253, 208, 5, 0.72);
    backdrop-filter: blur(16px);
}

.nav-inner {
    width: min(1220px, calc(100% - 32px));
    min-height: 68px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-mark {
    min-width: 190px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 8px 18px rgba(17, 39, 78, 0.16));
}

.brand-mark span span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links button,
.nav-user {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    color: rgba(17, 39, 78, 0.78);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover,
.nav-links button:hover,
.nav-links .nav-strong {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    box-shadow: 0 12px 28px rgba(17, 39, 78, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-cart {
    gap: 7px;
}

.nav-login {
    gap: 7px;
    background: #eef1f5;
    box-shadow:
        inset 0 0 0 1px rgba(17, 39, 78, 0.06),
        0 8px 18px rgba(17, 39, 78, 0.06);
    color: rgba(17, 39, 78, 0.86);
}

.nav-links .nav-login:hover {
    background: #e5e9ef;
    box-shadow:
        inset 0 0 0 1px rgba(17, 39, 78, 0.08),
        0 12px 24px rgba(17, 39, 78, 0.09);
    color: var(--navy);
}

.nav-logout-form {
    display: inline-flex;
    margin: 0;
}

.nav-logout {
    cursor: pointer;
}

.nav-user {
    gap: 7px;
    background: rgba(17, 39, 78, 0.06);
    box-shadow: inset 0 0 0 1px rgba(17, 39, 78, 0.06);
    color: rgba(17, 39, 78, 0.86);
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    right: -12px;
    width: calc(100% + 24px);
    height: 14px;
}

.collection-dropdown::after {
    width: min(420px, calc(100vw - 32px));
}

.member-dropdown::after {
    width: 230px;
}

.nav-dropdown-trigger {
    gap: 7px;
    cursor: pointer;
}

.collection-trigger {
    background: rgba(17, 39, 78, 0.04);
    color: var(--navy);
}

.nav-payment-pill {
    background: rgba(253, 208, 5, 0.16);
    box-shadow:
        inset 0 0 0 1px rgba(201, 150, 26, 0.18),
        0 10px 22px rgba(201, 150, 26, 0.09);
    color: var(--navy) !important;
}

.nav-links .nav-payment-pill:hover {
    background: linear-gradient(135deg, #fff3c5 0%, #e8c46d 58%, #c99a38 100%);
    box-shadow:
        0 14px 28px rgba(185, 139, 43, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    color: var(--navy) !important;
}

.chevron-icon {
    width: 15px;
    height: 15px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
    transition: transform 0.22s ease-out;
}

.nav-dropdown:hover .chevron-icon,
.nav-dropdown:focus-within .chevron-icon {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 80;
    min-width: 300px;
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 58px rgba(17, 39, 78, 0.18), 0 0 0 1px rgba(17, 39, 78, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.2s ease-out, transform 0.22s ease-out, visibility 0s linear 0.22s;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
}

.collection-panel {
    width: min(420px, calc(100vw - 32px));
    display: grid;
    gap: 6px;
}

.member-panel {
    min-width: 230px;
}

.nav-dropdown-panel a,
.nav-dropdown-panel button {
    width: 100%;
    min-height: 0;
    justify-content: flex-start;
    border-radius: var(--radius);
    padding: 10px 11px;
    background: transparent;
    box-shadow: none;
    color: var(--navy);
    font-size: 0.9rem;
    text-align: left;
    transform: none;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel button:hover,
.nav-category-item.is-current {
    background: rgba(17, 39, 78, 0.06);
    box-shadow: none;
    color: var(--navy);
    transform: none;
}

.nav-category-item {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
}

.nav-category-thumb {
    width: 54px;
    height: 54px;
    border-radius: var(--image-radius);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.08);
    object-fit: cover;
    object-position: center;
}

.nav-category-thumb.placeholder {
    display: block;
    background: linear-gradient(135deg, rgba(17, 39, 78, 0.08), rgba(253, 208, 5, 0.16));
}

.nav-category-item strong,
.nav-category-item small {
    display: block;
    line-height: 1.35;
}

.nav-category-item small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
    white-space: normal;
}

.member-trigger {
    cursor: pointer;
}

.member-logout-button {
    cursor: pointer;
    color: var(--price-red) !important;
}

.login-icon {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.cart-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.hero {
    min-height: min(780px, calc(100vh - 68px));
    display: grid;
    align-items: center;
    border-bottom: 0;
    box-shadow: inset 0 -1px 0 rgba(253, 208, 5, 0.42);
    background:
        linear-gradient(135deg, rgba(253, 208, 5, 0.96), rgba(255, 229, 102, 0.9) 42%, rgba(244, 239, 228, 0.88)),
        url("/storage/products/legacy/seiko-ssk045-hero.jpg") center right / cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, 0.92));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 86px;
}

.hero-logo {
    width: min(320px, 76vw);
    margin-bottom: 18px;
    filter: drop-shadow(0 18px 34px rgba(17, 39, 78, 0.2));
    border-radius: var(--image-radius);
}

.hero-badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border-radius: 999px;
    padding: 4px 13px;
    background: linear-gradient(90deg, var(--navy), var(--blue));
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 790px;
    margin: 18px 0 0;
    color: var(--navy);
    font-size: clamp(2.35rem, 5vw, 5.1rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(17, 39, 78, 0.86);
    font-size: clamp(1.02rem, 1.6vw, 1.24rem);
    font-weight: 500;
}

.hero-actions,
.action-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-actions {
    margin-top: 30px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: var(--navy);
    color: var(--white);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(17, 39, 78, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(17, 39, 78, 0.24);
}

.button.gold {
    background: linear-gradient(135deg, #fff3c5 0%, #e8c46d 58%, #c99a38 100%);
    box-shadow: 0 14px 30px rgba(185, 139, 43, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.58);
    color: var(--navy);
}

.button.cart-submit-button {
    min-height: 52px;
    min-width: 154px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #071b46 0%, #0136ba 52%, #06142e 100%);
    box-shadow:
        0 20px 42px rgba(1, 54, 186, 0.28),
        0 0 0 2px rgba(253, 208, 5, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 900;
}

.button.cart-submit-button:hover {
    background: linear-gradient(135deg, #0b2867 0%, #0243d9 52%, #092055 100%);
    box-shadow:
        0 24px 48px rgba(1, 54, 186, 0.34),
        0 0 0 2px rgba(255, 222, 88, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.button.ghost {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.1), 0 0 0 1px rgba(17, 39, 78, 0.06);
    color: var(--navy);
}

.button.subtle {
    background: var(--white);
    box-shadow: 0 8px 20px rgba(17, 39, 78, 0.08);
    color: var(--navy);
}

.button.icon-button {
    gap: 7px;
    padding-inline: 16px;
}

.button-icon {
    width: 17px;
    height: 17px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.button.danger-button {
    background: #fff7f6;
    box-shadow: 0 8px 20px rgba(124, 45, 42, 0.09), 0 0 0 1px rgba(124, 45, 42, 0.06);
    color: #8a302c;
}

.button.danger-button:hover {
    background: #f9ecea;
    box-shadow: 0 14px 30px rgba(124, 45, 42, 0.15), 0 0 0 1px rgba(124, 45, 42, 0.1);
}

.button:disabled,
button:disabled {
    background: #e2e8f0;
    box-shadow: none;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
}

.button.cart-submit-button:disabled,
.button.cart-submit-button:disabled:hover {
    background: #e2e8f0;
    box-shadow: none;
    color: #64748b;
}

.hero-products {
    width: min(1220px, calc(100% - 32px));
    margin: -54px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hero-product {
    min-height: 118px;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    border: 0;
    border-radius: var(--radius);
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-frame);
}

.hero-product img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: var(--image-radius);
    background: #ffffff;
    padding: 0;
}

.hero-product strong {
    display: block;
    color: var(--navy);
    font-size: 0.96rem;
    line-height: 1.35;
}

.hero-product span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.84rem;
}

.notice {
    position: fixed;
    z-index: 120;
    top: 50%;
    left: 50%;
    width: min(520px, calc(100% - 32px));
    max-height: min(80vh, 560px);
    overflow: auto;
    margin: 0;
    border: 1px solid rgba(17, 39, 78, 0.08);
    border-radius: var(--radius);
    padding: 20px 22px;
    background: #eefbf5;
    box-shadow: 0 28px 80px rgba(17, 39, 78, 0.26), 0 0 0 100vmax rgba(17, 39, 78, 0.22);
    color: var(--success);
    transform: translate(-50%, -50%);
    animation: notice-pop-in 0.2s ease-out both;
}

.notice.error {
    background: #fff1f2;
    box-shadow: 0 28px 80px rgba(185, 28, 28, 0.18), 0 0 0 100vmax rgba(17, 39, 78, 0.22);
    color: var(--danger);
}

.notice.is-hiding {
    pointer-events: none;
    animation: notice-pop-out 0.16s ease-in both;
}

@keyframes notice-pop-in {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.98); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes notice-pop-out {
    from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    to { opacity: 0; transform: translate(-50%, -46%) scale(0.98); }
}

.payment-bank-panel > h2,
.payment-bank-panel > p,
.payment-bank-panel > .qr-placeholder {
    display: none;
}

.payment-review-state {
    display: grid;
    gap: 14px;
}

.payment-review-state h2 {
    margin: 0;
}

.payment-review-state .status-pill {
    justify-self: start;
}

.payment-review-state-success {
    color: var(--success);
}

.payment-review-details {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
}

.payment-review-details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.payment-review-details dt {
    color: var(--muted);
    font-size: 0.86rem;
}

.payment-review-details dd {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
    text-align: right;
}

.bank-transfer-card {
    display: grid;
    gap: 16px;
}

.bank-transfer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bank-transfer-brand img {
    width: 92px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(17, 39, 78, 0.08);
}

.bank-transfer-brand h2 {
    margin: 6px 0 0;
}

.bank-transfer-details {
    display: grid;
    gap: 10px;
    margin: 0;
}

.bank-transfer-details div {
    display: grid;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.bank-transfer-details dt {
    color: var(--muted);
    font-size: 0.82rem;
}

.bank-transfer-details dd {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
}

.bank-account-number {
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.bank-transfer-amount {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: rgba(253, 208, 5, 0.15);
    color: var(--navy);
    font-weight: 800;
}

.bank-transfer-amount strong {
    color: var(--price-red-deep);
    font-size: 1.2rem;
}

.section {
    padding: clamp(72px, 9vw, 108px) 0;
    background: var(--ivory);
}

.section:nth-of-type(odd) {
    background: #ffffff;
}

.section.dark {
    background: linear-gradient(135deg, var(--navy), var(--blue-deep));
    color: var(--white);
}

.section-inner {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.section-head {
    max-width: 820px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-head h2 {
    margin: 14px 0 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 3.8vw, 3.35rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}

.section.dark .section-head h2 {
    color: var(--gold);
}

.section-head p {
    margin: 16px auto 0;
    max-width: 680px;
    color: var(--muted);
}

.section.dark .section-head p {
    color: rgba(255, 255, 255, 0.74);
}

.rule {
    width: min(920px, 100%);
    margin: 0 auto 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 14px;
    background: rgba(253, 208, 5, 0.12);
    box-shadow: inset 4px 0 0 rgba(253, 208, 5, 0.9), 0 10px 24px rgba(17, 39, 78, 0.06);
    color: var(--navy);
    font-weight: 600;
}

.collection-hero {
    padding: clamp(54px, 8vw, 96px) 0 clamp(48px, 7vw, 78px);
    background:
        radial-gradient(circle at 85% 20%, rgba(253, 208, 5, 0.24), transparent 32%),
        linear-gradient(135deg, #ffffff, var(--linen));
    box-shadow: inset 0 -1px 0 rgba(17, 39, 78, 0.08);
}

.collection-hero-inner {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
}

.collection-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 900;
}

.collection-back-link:hover {
    color: var(--gold-deep);
}

.collection-hero h1 {
    max-width: 780px;
    margin: 14px 0 0;
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.1;
}

.collection-hero p {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.collection-summary {
    display: inline-flex;
    margin-top: 24px;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(253, 208, 5, 0.16);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 900;
}

.collection-results {
    padding: clamp(58px, 8vw, 96px) 0;
    background: #ffffff;
}

.collection-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.collection-results-head h2 {
    margin: 12px 0 0;
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.2;
}

.collection-results-head p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    text-align: right;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(18px, 2.6vw, 28px);
}

.collection-card {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-frame);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.collection-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
}

.collection-page-seiko .collection-card-media {
    aspect-ratio: 1 / 1;
}

.collection-page-naraya .collection-card-media {
    aspect-ratio: 4 / 5;
}

.collection-card-media-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    place-items: stretch;
    background: var(--linen);
}

.collection-card-media-split img {
    min-width: 0;
    min-height: 0;
    padding: 0;
    object-fit: cover;
}

.collection-card-media-split img:first-of-type {
    padding: 8px;
    background: #ffffff;
    object-fit: contain;
}

.collection-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    transition: filter 0.32s ease, transform 0.32s ease;
}

.collection-page-naraya .collection-card-media img {
    padding: 0;
}

.collection-page-naraya .collection-card-media-split img:first-of-type {
    padding: 8px;
}

.collection-card:hover .collection-card-media img {
    filter: saturate(1.05) contrast(1.03);
    transform: scale(1.02);
}

.collection-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    border-radius: 999px;
    padding: 5px 11px;
    background: linear-gradient(135deg, var(--gold-soft), #d8aa38);
    box-shadow: 0 12px 24px rgba(17, 39, 78, 0.18);
    color: var(--navy);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.collection-card-body {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    padding: 22px 24px 24px;
}

.collection-card-kicker {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.collection-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 1.03rem;
    line-height: 1.35;
}

.collection-card-body p {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.collection-card-meta {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 28px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.78rem;
}

.collection-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    box-shadow: inset 0 1px 0 rgba(17, 39, 78, 0.08);
}

.collection-card-price {
    color: var(--price-red);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.25;
}

.collection-card-price.pending-price {
    color: #b45309;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.showcase-grid.buddha {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 1.75rem;
}

.product-tile {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 0;
    border-radius: var(--radius);
    overflow: clip;
    background: #ffffff;
    box-shadow: var(--shadow-frame);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.tile-media {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    background: #ffffff;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

.tile-media img {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: block;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    padding: 0;
    border-radius: 0;
    transition: filter 0.32s ease;
}

.product-tile:hover .tile-media img {
    filter: saturate(1.05) contrast(1.03);
}

.product-tile.category-seiko .tile-media {
    aspect-ratio: auto;
    height: clamp(380px, 40vw, 520px);
    background: #ffffff;
}

.product-tile.category-seiko .tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.product-tile.category-seiko.product-seiko-ssk045k-rcost-60th .tile-media img {
    object-fit: cover;
}

.product-tile.category-seiko.product-seiko-srpl63j-rcost-60th .tile-media img {
    object-fit: contain !important;
    padding: 30px !important;
}

.product-tile.category-gq {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
    grid-template-rows: none;
    align-items: stretch;
}

.product-tile.category-gq .tile-media {
    aspect-ratio: auto;
    min-height: 330px;
}

.product-tile.category-gq .tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-tile.category-gq .tile-body {
    display: grid;
    align-content: center;
    padding: clamp(24px, 4vw, 42px);
}

.product-tile.category-naraya .tile-media {
    aspect-ratio: 4 / 5;
}

.product-tile.category-naraya .tile-media img {
    padding: 0;
}

.tile-media.split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.tile-media.split img {
    padding: 0;
    background: #ffffff;
}

.product-tile.category-buddha .tile-media {
    aspect-ratio: 3 / 2;
    background: #0b1020;
}

.product-tile.category-buddha .tile-media img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    padding: 0;
}

.tile-body {
    padding: 1.45rem 1.5rem 1.5rem;
}

.tile-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.tile-body h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.12rem;
    line-height: 1.35;
    letter-spacing: 0;
}

.tile-body p {
    margin: 10px 0 0;
    color: var(--muted);
}

.tile-foot {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 39, 78, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.price-preview {
    color: var(--price-red);
    font-weight: 900;
}

.price-preview.pending-price,
.option-price.pending-price,
#image-detail-price.pending-price {
    color: #b45309;
}

.detail-link,
.legacy-action,
.btn-det {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 17px;
    background: linear-gradient(135deg, #ffeaa0 0%, #e2b744 100%);
    box-shadow: 0 14px 28px rgba(189, 142, 37, 0.22);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.legacy-action:hover,
.product-tile:hover .detail-link,
.prod-card:hover .btn-det {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #fff0ac 0%, #d9aa34 100%);
    box-shadow: 0 18px 34px rgba(189, 142, 37, 0.28);
}

#coin .section-head h2 {
    color: #ffffff;
}

.coin-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.coin-imgw {
    position: relative;
    display: block;
}

.coin-imgw::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 229, 102, 0.2) 0%, rgba(255, 229, 102, 0) 70%);
}

.coin-imgw img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--image-radius);
    box-shadow: 0 30px 78px rgba(0, 0, 0, 0.32);
}

.coin-info {
    color: rgba(255, 255, 255, 0.78);
}

.coin-info h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(1.7rem, 3.6vw, 2.45rem);
    line-height: 1.22;
    letter-spacing: 0;
}

.coin-specs {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.coin-specs li {
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 18px;
    padding: 13px 0;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.coin-specs li:last-child {
    box-shadow: none;
}

.coin-lbl {
    color: var(--gold-soft);
    font-weight: 900;
}

.coin-block {
    margin-bottom: 20px;
    border-radius: var(--radius);
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.coin-block h4 {
    margin: 0 0 8px;
    color: var(--gold-soft);
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

.coin-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.8;
}

.legacy-action {
    margin-top: 4px;
}

.legacy-action:hover {
    text-decoration: none;
}

#stamp {
    background: #ffffff;
}

.stamp-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.stamp-main-img,
.stamp-single {
    display: block;
    overflow: hidden;
    border-radius: var(--image-radius);
    background: #ffffff;
    box-shadow: var(--shadow-frame);
}

.stamp-main-img img,
.stamp-single img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.stamp-side {
    display: grid;
    gap: 24px;
}

.stamp-info h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.stamp-info p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.85;
}

.stamp-note {
    display: grid;
    gap: 4px;
    margin: 18px 0;
    border-radius: var(--radius);
    padding: 18px 20px;
    background: linear-gradient(135deg, #f9fbff, #f4f7fc);
    box-shadow:
        inset 4px 0 0 rgba(253, 208, 5, 0.95),
        0 16px 38px rgba(17, 39, 78, 0.08);
}

.stamp-note strong {
    color: var(--navy);
}

.stamp-note span {
    color: var(--muted);
}

#seiko {
    background: var(--ivory);
}

.seiko-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 32px);
    margin-bottom: clamp(28px, 5vw, 48px);
}

.seiko-card {
    display: grid;
    place-items: center;
    overflow: hidden;
    min-height: clamp(340px, 42vw, 580px);
    border-radius: var(--image-radius);
    background: #ffffff;
    box-shadow: var(--shadow-frame);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    padding: clamp(12px, 2vw, 24px);
}

.seiko-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.seiko-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: clamp(340px, 42vw, 580px);
    object-fit: contain;
    object-position: center;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.6vw, 28px);
}

.prod-card {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-frame);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.prod-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.cimg {
    position: relative;
    aspect-ratio: 1 / 1;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
}

.cimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.cbadge {
    position: absolute;
    top: 14px;
    left: 14px;
    border-radius: 999px;
    padding: 5px 11px;
    background: linear-gradient(135deg, var(--blue), var(--blue-deep));
    box-shadow: 0 12px 24px rgba(17, 39, 78, 0.18);
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.cbadge.ltd {
    background: linear-gradient(135deg, var(--gold-soft), #d8aa38);
    color: var(--navy);
}

.cbody {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    padding: 22px 24px 24px;
}

.cmodel {
    margin-bottom: 7px;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cname {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 1.03rem;
    font-weight: 900;
    line-height: 1.35;
}

.cdesc {
    display: -webkit-box;
    margin: 0 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.cmeta {
    display: flex;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 12px;
    min-height: 28px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 0.78rem;
}

.cfoot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    box-shadow: inset 0 1px 0 rgba(17, 39, 78, 0.08);
}

.cprice {
    color: var(--price-red);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.25;
}

.cprice.small {
    color: var(--muted);
    font-size: 0.86rem;
}

.btn-det {
    flex: 0 0 auto;
}

.detail-hero {
    background:
        linear-gradient(135deg, rgba(17, 39, 78, 0.98), rgba(1, 54, 186, 0.88)),
        var(--navy);
    color: var(--white);
    padding: clamp(34px, 6vw, 70px) 0;
}

.detail-grid {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 0.82fr);
    gap: clamp(24px, 5vw, 56px);
    align-items: start;
}

.gallery-panel,
.buy-panel,
.content-panel,
.cart-panel,
.summary-panel,
.simple-panel {
    border: 0;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-frame);
}

.gallery-panel {
    padding: 0;
    background: #ffffff;
    overflow: hidden;
}

.main-image {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 0;
    background: #ffffff;
    overflow: hidden;
}

.main-image-button {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: #ffffff;
    color: var(--navy);
    cursor: zoom-in;
    position: relative;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    border-radius: 0;
}

.product-detail-seiko-srpl63j-rcost-60th .main-image img {
    width: auto;
    height: auto;
    max-width: 84%;
    max-height: 84%;
}

.image-zoom-hint {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(17, 39, 78, 0.82);
    box-shadow: 0 12px 26px rgba(17, 39, 78, 0.24);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.main-image-button:hover .image-zoom-hint,
.main-image-button:focus-visible .image-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.thumb-grid {
    margin: 12px 12px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 8px;
}

.thumb-button {
    width: 100%;
    aspect-ratio: 1;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(17, 39, 78, 0.08), 0 0 0 1px rgba(17, 39, 78, 0.04);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.thumb-button:hover,
.thumb-button.is-active {
    box-shadow: 0 14px 30px rgba(17, 39, 78, 0.15), 0 0 0 2px rgba(253, 208, 5, 0.45);
    transform: translateY(-1px);
}

.thumb-button img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 0;
}

.image-detail {
    margin: 12px;
    display: grid;
    gap: 4px;
    border: 0;
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(17, 39, 78, 0.08), 0 0 0 1px rgba(17, 39, 78, 0.035);
    color: var(--navy);
}

.image-detail-label {
    color: var(--gold-deep);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#image-detail-spec {
    color: var(--muted);
}

#image-detail-price {
    color: var(--price-red);
    font-weight: 900;
}

body.lightbox-open {
    overflow: hidden;
}

.image-lightbox[hidden] {
    display: none;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 44px);
    background: rgba(7, 26, 58, 0.88);
    backdrop-filter: blur(14px);
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: zoom-out;
}

.image-lightbox-panel {
    width: min(1120px, 100%);
    max-height: 100%;
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.image-lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    cursor: grab;
    touch-action: pan-y;
}

.image-lightbox-stage.is-dragging {
    cursor: grabbing;
}

.image-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    color: var(--navy);
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.18s ease, background 0.18s ease;
}

.image-lightbox-nav[hidden],
.image-lightbox-counter[hidden] {
    display: none;
}

.image-lightbox-nav:hover,
.image-lightbox-nav:focus-visible {
    background: var(--gold-soft);
    transform: translateY(-50%) scale(1.05);
}

.image-lightbox-nav:focus-visible {
    outline: 3px solid rgba(253, 208, 5, 0.8);
    outline-offset: 3px;
}

.image-lightbox-nav-prev {
    left: 16px;
}

.image-lightbox-nav-next {
    right: 16px;
}

.image-lightbox-nav svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.image-lightbox-close {
    justify-self: end;
    border: 0;
    border-radius: 999px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    color: var(--navy);
    cursor: pointer;
    font-weight: 900;
}

.image-lightbox img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 142px);
    display: block;
    justify-self: center;
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    object-fit: contain;
}

.image-lightbox-caption {
    min-height: 1.4em;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
    font-weight: 800;
}

.image-lightbox-counter {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.84rem;
    text-align: center;
}

.detail-copy h1 {
    margin: 14px 0 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.detail-price {
    margin-top: 12px;
    color: var(--gold-soft);
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    font-weight: 900;
    line-height: 1.25;
}

.detail-price.pending-price {
    color: #f3a46b;
}

.detail-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.spec-list {
    margin: 24px 0 0;
    display: grid;
    gap: 8px;
}

.spec-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.spec-row dt {
    color: var(--gold-soft);
    font-weight: 900;
}

.spec-row dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.buy-section {
    padding: clamp(42px, 7vw, 80px) 0;
}

.buy-grid {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 20px;
    align-items: start;
}

.buy-panel,
.content-panel,
.cart-panel,
.summary-panel,
.simple-panel {
    padding: clamp(18px, 3vw, 26px);
}

.panel-title {
    margin: 0;
    color: var(--navy);
    font-size: 1.4rem;
    letter-spacing: 0;
}

.option-form {
    margin-top: 16px;
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.option-form.is-active {
    border: 0;
    border-radius: var(--radius);
    padding: 16px;
    background: rgba(253, 208, 5, 0.08);
    box-shadow: 0 16px 36px rgba(17, 39, 78, 0.1), 0 0 0 2px rgba(253, 208, 5, 0.26);
}

.option-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--navy);
    font-weight: 900;
}

.option-price {
    color: var(--price-red);
    white-space: nowrap;
}

.option-desc {
    margin: 0;
    color: var(--muted);
}

.option-image {
    display: block;
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 39, 78, 0.08), 0 0 0 1px rgba(17, 39, 78, 0.04);
    padding: 4px;
}

.ceremony-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.ceremony-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    cursor: zoom-in;
    box-shadow: 0 8px 22px rgba(17, 39, 78, 0.08), 0 0 0 1px rgba(17, 39, 78, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ceremony-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(17, 39, 78, 0.15);
}

.ceremony-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.attachment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.attachment-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 39, 78, 0.08), 0 0 0 1px rgba(17, 39, 78, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--navy);
    font-weight: 700;
}

.attachment-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 39, 78, 0.15);
}

.pdf-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.control-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.number-lock-note {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(17, 39, 78, 0.68);
    font-size: 0.86rem;
    line-height: 1.65;
}

select,
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"],
input[type="file"],
textarea {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    padding: 9px 14px;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(17, 39, 78, 0.06), 0 0 0 1px rgba(17, 39, 78, 0.12);
    color: var(--ink);
}

select,
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"] {
    border-radius: 999px;
}

textarea {
    resize: vertical;
}

.checkout-note {
    display: grid;
    gap: 12px;
}

.cart-snapshot .action-row {
    margin-top: 4px;
}

.mini-cart-list,
.payment-order-list,
.proof-list,
.checkout-form,
.payment-slip-form {
    display: grid;
    gap: 12px;
}

.mini-cart-line,
.payment-order-line,
.proof-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    border-radius: var(--radius);
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.07), 0 0 0 1px rgba(17, 39, 78, 0.035);
}

.payment-order-line {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    align-items: center;
}

.payment-order-thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--image-radius);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.08);
    object-fit: contain;
    object-position: center;
}

.payment-order-thumb.placeholder {
    background:
        linear-gradient(135deg, rgba(17, 39, 78, 0.06), rgba(17, 39, 78, 0.02)),
        #ffffff;
}

.mini-cart-line strong,
.payment-order-line strong,
.proof-line strong {
    display: block;
    color: var(--navy);
    line-height: 1.35;
}

.mini-cart-line span,
.payment-order-line span,
.proof-line span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.mini-cart-line b,
.payment-order-line b {
    color: var(--price-red-deep);
    white-space: nowrap;
}

.summary-total.mini {
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 1rem;
}

.field {
    display: grid;
    gap: 7px;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 900;
}

.field-note {
    margin-top: -3px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
}

.field.full {
    grid-column: 1 / -1;
}

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

.payment-form-head {
    max-width: 780px;
}

.payment-drop-form .form-grid {
    align-items: start;
}

.slip-upload-field {
    grid-column: 1 / -1;
}

.slip-dropzone {
    position: relative;
    min-height: 176px;
    display: grid;
    place-items: center;
    gap: 7px;
    overflow: hidden;
    border-radius: var(--radius);
    padding: 24px;
    background:
        radial-gradient(circle at 50% 0%, rgba(253, 208, 5, 0.18), rgba(253, 208, 5, 0) 46%),
        linear-gradient(135deg, #ffffff, #f7f9fc);
    box-shadow:
        0 18px 44px rgba(17, 39, 78, 0.1),
        0 0 0 1px rgba(17, 39, 78, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: var(--navy);
    text-align: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.slip-dropzone-input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 0;
    cursor: pointer;
}

.slip-dropzone-icon {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5cc, #e8c46d);
    box-shadow: 0 16px 34px rgba(185, 139, 43, 0.18);
    color: var(--navy);
}

.slip-dropzone-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.slip-dropzone strong {
    font-size: 1rem;
    line-height: 1.45;
}

.slip-dropzone small,
.slip-file-name {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}

.slip-file-name {
    width: min(100%, 360px);
    margin-top: 4px;
    overflow: hidden;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(17, 39, 78, 0.05);
    color: rgba(17, 39, 78, 0.74);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.slip-preview {
    width: min(100%, 280px);
    min-height: 120px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(17, 39, 78, 0.12), 0 0 0 1px rgba(17, 39, 78, 0.08);
}

.slip-preview-image {
    width: 100%;
    max-height: 220px;
    display: block;
    object-fit: contain;
}

.slip-preview-file {
    padding: 26px;
    color: var(--navy);
    font-weight: 900;
}

.slip-dropzone.is-dragging,
.slip-dropzone.has-file {
    background:
        radial-gradient(circle at 50% 0%, rgba(253, 208, 5, 0.28), rgba(253, 208, 5, 0) 48%),
        linear-gradient(135deg, #ffffff, #fff9e6);
    box-shadow:
        0 22px 54px rgba(185, 139, 43, 0.16),
        0 0 0 2px rgba(253, 208, 5, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}

.slip-dropzone.has-file .slip-file-name {
    background: rgba(17, 39, 78, 0.08);
    color: var(--navy);
}

.address-grid {
    padding: 2px 0 4px;
}

.button.full-width {
    width: 100%;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

.payment-form-layout {
    padding-bottom: 76px;
}

.payment-closed-state {
    display: grid;
    gap: 14px;
    align-content: start;
}

.payment-closed-state h2 {
    margin-bottom: 0;
}

.payment-order-picker {
    display: grid;
    gap: 14px;
}

.payment-summary-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.payment-summary-head h2 {
    margin: 10px 0 0;
}

.status-pill {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border-radius: 999px;
    padding: 6px 12px;
    background: rgba(253, 208, 5, 0.16);
    box-shadow: inset 0 0 0 1px rgba(253, 208, 5, 0.32);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-pill.danger {
    background: #fff2f0;
    box-shadow: inset 0 0 0 1px rgba(138, 48, 44, 0.22);
    color: var(--price-red-deep);
}

.status-pill.warning {
    background: #fff8df;
    box-shadow: inset 0 0 0 1px rgba(201, 150, 26, 0.24);
    color: #9a6a07;
}

.status-pill.success {
    background: #edfdf8;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.2);
    color: var(--success);
}

.status-pill.muted {
    background: #eef1f5;
    box-shadow: inset 0 0 0 1px rgba(17, 39, 78, 0.08);
    color: var(--muted);
}

.status-pill.compact {
    min-height: 28px;
    width: fit-content;
    padding: 4px 10px;
    font-size: 0.75rem;
}

.member-order-status {
    display: grid;
    justify-items: end;
    gap: 5px;
    min-width: 0;
}

.cancelled-reservation-note {
    max-width: 210px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: right;
}

.payment-order-price,
.proof-line {
    text-align: right;
}

.payment-total {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.proof-line {
    grid-template-columns: 1fr;
    gap: 2px;
}

.payment-order-choice {
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.order-id-heading {
    display: flex;
    align-items: center;
    min-width: 0;
}

.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;
}

.order-id-copy-inline,
.order-id-copy-inline .order-id-copy {
    display: inline-flex;
    align-items: center;
}

.order-id-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
}

.order-id-heading .order-id-value,
.order-id-copy .order-id-value {
    display: inline;
    min-width: 0;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.copy-order-id-button {
    position: relative;
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f4f6f9;
    box-shadow: 0 6px 14px rgba(17, 39, 78, 0.1);
    color: var(--navy);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.copy-order-id-button:hover,
.copy-order-id-button:focus-visible {
    background: rgba(253, 208, 5, 0.22);
    color: var(--gold-deep);
    transform: translateY(-1px);
}

.copy-order-id-button:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.35);
    outline-offset: 2px;
}

.copy-order-id-button.is-copied {
    background: #edfdf8;
    color: var(--success);
}

.copy-order-id-icon {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.copy-order-id-button .copy-order-feedback {
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    display: block;
    width: max-content;
    max-width: 120px;
    margin: 0;
    color: var(--success) !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    line-height: 1.2 !important;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.18s ease;
}

.copy-order-id-button.is-copied .copy-order-feedback {
    opacity: 1;
}

.payment-order-choice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.payment-order-choice-link {
    min-width: 0;
    color: inherit;
}

.payment-order-choice-link:hover {
    color: var(--gold-deep);
}

.payment-choice-amount {
    color: var(--price-red) !important;
    font-weight: 900;
}

.payment-choice-due {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #b45309 !important;
    font-weight: 800;
}

.clock-icon {
    width: 15px;
    height: 15px;
    display: block;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.payment-order-choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(17, 39, 78, 0.12), 0 0 0 1px rgba(17, 39, 78, 0.04);
}

.note-box {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 14px;
    background: rgba(253, 208, 5, 0.12);
    box-shadow: inset 4px 0 0 rgba(253, 208, 5, 0.9), 0 10px 24px rgba(17, 39, 78, 0.06);
    color: var(--navy);
}

.content-stack {
    display: grid;
    gap: 16px;
}

.content-panel h2,
.cart-panel h2,
.summary-panel h2 {
    margin-top: 0;
    color: var(--navy);
}

.cart-head,
.simple-head {
    padding: clamp(38px, 6vw, 70px) 0 24px;
}

.page-wrap {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    padding-bottom: 76px;
}

.cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line:first-of-type {
    padding-top: 0;
}

.cart-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cart-thumb {
    width: 96px;
    height: 96px;
    border: 0;
    border-radius: var(--image-radius);
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.08);
    padding: 0;
}

.cart-title {
    margin: 0;
    color: var(--navy);
    font-size: 1.08rem;
}

.muted {
    color: var(--muted);
}

.cart-price {
    text-align: right;
    color: var(--price-red);
    font-weight: 900;
    white-space: nowrap;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--navy);
    font-size: 1.18rem;
    font-weight: 900;
}

.summary-total span:last-child {
    color: var(--price-red-deep);
}

.qr-placeholder {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--radius);
    margin: 0;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(17, 39, 78, 0.08), 0 0 0 1px rgba(17, 39, 78, 0.04);
    color: var(--navy);
    font-weight: 900;
    text-align: center;
    padding: clamp(12px, 3vw, 18px);
}

.qr-placeholder img {
    width: min(100%, 280px);
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(17, 39, 78, 0.08);
}

.empty-state {
    display: grid;
    gap: 14px;
}

.simple-panel {
    margin: 0 0 72px;
}

.simple-panel h1,
.cart-head h1 {
    margin: 8px 0 10px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: 0;
}

.payment-login-row {
    margin-top: 16px;
}

.payment-login-cta {
    width: fit-content;
}

.member-page {
    padding-bottom: 76px;
}

.member-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.member-card,
.member-order-card {
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-frame);
}

.member-card {
    display: grid;
    gap: 5px;
    padding: 20px;
}

.member-card-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.member-card h2,
.member-card strong {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    line-height: 1.2;
}

.member-card p {
    margin: 0;
    color: var(--muted);
}

.danger-card {
    background: linear-gradient(135deg, #fff8f7, #ffffff);
    box-shadow: 0 18px 42px rgba(138, 48, 44, 0.1), 0 0 0 1px rgba(138, 48, 44, 0.06);
}

.danger-card strong {
    color: var(--price-red-deep);
}

.member-orders {
    display: grid;
    gap: 16px;
}

.member-section-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.member-section-head h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.member-order-list {
    display: grid;
    gap: 16px;
}

.member-order-card {
    display: grid;
    gap: 16px;
    padding: clamp(18px, 3vw, 24px);
}

.member-order-top,
.member-order-foot {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.member-order-top h3 {
    margin: 8px 0 0;
    color: var(--navy);
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    line-height: 1.2;
}

.order-progress-steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin: 2px 0 4px;
    padding: 16px 0 4px;
    list-style: none;
}

.order-progress-step {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 8px;
    min-width: 0;
    color: #9aa6bb;
    text-align: center;
}

.order-progress-step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 17px;
    left: calc(50% + 20px);
    right: calc(-50% + 20px);
    height: 3px;
    border-radius: 999px;
    background: #dfe5ee;
}

.order-progress-step.is-line-complete:not(:last-child)::after {
    background: rgba(15, 118, 110, 0.72);
}

.order-progress-dot {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #dfe5ee;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 1000;
    box-shadow: 0 0 0 6px #ffffff;
}

.order-progress-step.is-complete {
    color: var(--success);
}

.order-progress-step.is-complete .order-progress-dot {
    background: var(--success);
}

.order-progress-step.is-current .order-progress-dot {
    box-shadow: 0 0 0 6px #ffffff, 0 0 0 10px rgba(15, 118, 110, 0.14);
}

.order-progress-copy {
    display: grid;
    gap: 2px;
    width: min(100%, 150px);
}

.order-progress-copy strong {
    color: currentColor;
    font-size: 0.82rem;
    line-height: 1.35;
}

.order-progress-copy small {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.order-progress-step.is-current .order-progress-copy small {
    color: var(--success);
    font-weight: 900;
}

.member-order-items {
    display: grid;
    gap: 10px;
}

.member-order-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border-radius: var(--radius);
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.06), 0 0 0 1px rgba(17, 39, 78, 0.035);
}

.member-order-item img,
.member-order-thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--image-radius);
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 39, 78, 0.06);
    object-fit: contain;
}

.member-order-thumb-placeholder {
    display: block;
    background: linear-gradient(135deg, rgba(17, 39, 78, 0.06), rgba(253, 208, 5, 0.12));
}

.member-order-item strong,
.member-order-item span {
    display: block;
}

.member-order-item strong {
    color: var(--navy);
    line-height: 1.35;
}

.member-order-item span {
    color: var(--muted);
    font-size: 0.86rem;
}

.member-order-item b {
    color: var(--price-red-deep);
    white-space: nowrap;
}

.member-empty-state {
    display: grid;
    gap: 14px;
    padding: clamp(22px, 4vw, 34px);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-frame);
}

.member-empty-state h2,
.member-order-total strong {
    margin: 0;
    color: var(--navy);
}

.member-order-note {
    margin: 0;
}

.member-shipment-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    border-radius: var(--radius);
    padding: 14px 16px;
    background: rgba(15, 118, 110, 0.08);
    box-shadow: inset 4px 0 0 var(--success), 0 12px 28px rgba(15, 118, 110, 0.08);
}

.member-shipment-card > div {
    display: grid;
    gap: 3px;
}

.member-shipment-card strong {
    color: var(--navy);
    line-height: 1.35;
}

.member-order-total {
    display: grid;
    gap: 4px;
}

.member-order-total strong {
    color: var(--price-red-deep);
    font-size: 1.28rem;
}

.member-order-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.member-order-actions form {
    display: grid;
    justify-items: end;
    gap: 6px;
    margin: 0;
}

.member-order-action-help {
    max-width: 250px;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: right;
}

.order-countdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 14px;
    align-items: center;
    border-radius: var(--radius);
    padding: 14px 16px;
    background: #fff8f7;
    box-shadow: inset 4px 0 0 var(--price-red), 0 12px 28px rgba(138, 48, 44, 0.08);
    color: var(--price-red-deep);
}

.order-countdown strong {
    font-size: 1.4rem;
    line-height: 1;
}

.order-countdown small {
    grid-column: 1 / -1;
    color: rgba(111, 37, 34, 0.78);
    font-weight: 700;
}

.countdown-deadline {
    color: var(--price-red-deep);
    font-weight: 900;
}

.countdown-risk {
    color: var(--price-red-deep);
    font-weight: 400;
}

.order-countdown.expired strong {
    display: none;
}

.security-steps {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
    padding-left: 1.25rem;
    line-height: 1.8;
}

.login-head {
    max-width: 760px;
}

.login-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding-bottom: 76px;
}

.login-panel {
    display: grid;
    gap: 16px;
    align-content: start;
    min-height: 100%;
}

.login-panel h2 {
    margin: 0;
    color: var(--navy);
    font-size: 1.36rem;
    line-height: 1.25;
}

.login-panel p {
    margin: 8px 0 0;
}

.login-method-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef3fb, #ffffff);
    box-shadow: 0 14px 34px rgba(17, 39, 78, 0.12);
    color: var(--blue);
}

.login-method-icon.email {
    color: var(--gold-deep);
}

.login-method-icon svg {
    width: 26px;
    height: 26px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-method-icon.google svg {
    fill: currentColor;
    stroke: none;
}

.email-login-form {
    display: grid;
    gap: 14px;
}

@media (max-width: 940px) {
    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 10px 0 12px;
    }

    .brand-mark {
        min-width: 0;
    }

    .nav-links {
        justify-content: flex-start;
        width: 100%;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 42px 0 86px;
    }

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

    .section-head,
    .detail-grid,
    .buy-grid,
    .cart-layout,
    .payment-layout,
    .login-layout {
        grid-template-columns: 1fr;
    }

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

    .coin-layout,
    .stamp-showcase,
    .seiko-wrap {
        grid-template-columns: 1fr;
    }

    .showcase-grid.buddha {
        grid-template-columns: 1fr;
    }

    .collection-results-head {
        align-items: start;
        flex-direction: column;
    }

    .collection-results-head p {
        max-width: 680px;
        text-align: left;
    }

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

    .product-tile.category-gq {
        grid-template-columns: 1fr;
    }

    .product-tile.category-gq .tile-media {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 640px) {
    .hero-products {
        margin-top: -34px;
        grid-template-columns: 1fr;
    }

    .hero-product {
        min-height: 100px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .coin-specs li,
    .prod-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .coin-specs li {
        gap: 2px;
    }

    .cbody {
        padding: 18px;
    }

    .control-row {
        grid-template-columns: 1fr;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

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

    .cart-thumb {
        width: 72px;
        height: 72px;
    }

    .cart-price {
        grid-column: 1 / -1;
        text-align: left;
    }

    .payment-order-line {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .payment-order-thumb {
        width: 56px;
        height: 56px;
    }

    .payment-order-price {
        grid-column: 1 / -1;
        text-align: left;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown::after {
        display: none;
    }

    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-panel {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-panel,
    .nav-dropdown:focus-within .nav-dropdown-panel {
        display: grid;
        transform: none;
    }

    .member-card-grid,
    .member-order-top,
    .member-order-foot {
        grid-template-columns: 1fr;
    }

    .member-card-grid {
        display: grid;
    }

    .member-order-top,
    .member-order-foot,
    .member-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .member-order-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .member-order-item img,
    .member-order-thumb-placeholder {
        width: 54px;
        height: 54px;
    }

    .member-order-item b {
        grid-column: 1 / -1;
    }

    .order-progress-steps {
        grid-template-columns: repeat(6, minmax(118px, 1fr));
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 12px;
    }

    .order-progress-copy {
        width: 118px;
    }

    .member-shipment-card {
        align-items: stretch;
        flex-direction: column;
    }

    .member-shipment-card .button {
        width: 100%;
    }
}

/* Multi-step cart and checkout flow */
.cart-flow-page,
.checkout-flow-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-top: clamp(34px, 6vw, 72px);
    padding-bottom: clamp(48px, 8vw, 96px);
}

.cart-flow-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.cart-flow-head h1,
.checkout-column-head h2,
.cart-section-head h2,
.review-info-card h2 {
    margin: 6px 0 0;
    color: var(--navy);
    letter-spacing: 0;
}

.cart-flow-head h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.cart-flow-head p {
    max-width: 680px;
    margin: 10px 0 0;
}

.cart-flow-panel {
    padding: clamp(20px, 3.4vw, 34px);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-frame);
}

.cart-section-head,
.checkout-column-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.cart-count-label {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.cart-items-list,
.review-items-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.cart-flow-item {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    padding: 16px 0;
    box-shadow: inset 0 -1px 0 rgba(17, 39, 78, 0.08);
}

.cart-flow-item:last-child {
    box-shadow: none;
}

.cart-flow-thumb,
.review-item-thumb {
    width: 116px;
    height: 116px;
    display: block;
    border-radius: var(--image-radius);
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(17, 39, 78, 0.09);
    object-fit: contain;
    object-position: center;
}

.cart-flow-thumb.placeholder,
.review-item-thumb.placeholder {
    background: linear-gradient(135deg, rgba(17, 39, 78, 0.08), rgba(17, 39, 78, 0.02)), #ffffff;
}

.cart-flow-copy h3,
.review-item-copy h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.08rem;
}

.cart-flow-copy p,
.review-item-copy p {
    margin: 6px 0 0;
}

.cart-item-meta,
.review-item-meta {
    color: var(--gold-deep);
    font-size: 0.84rem;
    font-weight: 800;
}

.cart-item-actions {
    margin-top: 14px;
}

.cart-flow-quantity {
    min-width: 128px;
    display: grid;
    justify-items: center;
    gap: 7px;
}

.quantity-stepper {
    display: grid;
    grid-template-columns: 32px 52px 32px;
    align-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(17, 39, 78, 0.09), 0 0 0 1px rgba(17, 39, 78, 0.09);
}

.quantity-stepper button {
    width: 32px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 900;
}

.quantity-stepper button:hover:not(:disabled) {
    background: rgba(253, 208, 5, 0.18);
}

.quantity-stepper button:disabled {
    color: rgba(17, 39, 78, 0.3);
    cursor: not-allowed;
}

.quantity-stepper input {
    width: 52px;
    min-height: 38px;
    padding: 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--navy);
    text-align: center;
    font-weight: 900;
}

.cart-flow-price,
.review-item-price {
    min-width: 144px;
    text-align: right;
}

.cart-flow-price span,
.review-item-price span {
    display: block;
    color: var(--price-red-deep);
    font-size: 1.08rem;
    font-weight: 900;
    white-space: nowrap;
}

.cart-flow-price small,
.review-item-price small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.78rem;
}

.cart-flow-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 20px;
    box-shadow: inset 0 1px 0 rgba(17, 39, 78, 0.1);
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 900;
}

.cart-flow-total strong {
    color: var(--price-red-deep);
    font-size: 1.4rem;
}

.cart-flow-actions,
.checkout-flow-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.checkout-flow-actions form {
    margin: 0;
}

.checkout-details-form {
    display: grid;
    gap: 24px;
}

.checkout-details-grid,
.review-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.checkout-form-column {
    align-self: start;
}

.checkout-form-stack {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.form-subhead {
    margin-top: 10px;
    padding-top: 16px;
    box-shadow: inset 0 1px 0 rgba(17, 39, 78, 0.1);
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 900;
}

.required-mark {
    color: var(--price-red-deep);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: var(--price-red-deep);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.45;
}

.validation-error-list {
    display: grid;
    gap: 4px;
    margin: 8px 0 0;
    padding-left: 20px;
}

.validation-error-list li {
    color: var(--price-red-deep);
    font-size: 0.88rem;
    line-height: 1.5;
}

.check-field {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 800;
}

.check-field input {
    width: 18px;
    height: 18px;
    accent-color: var(--gold-deep);
}

.branch-fields {
    gap: 12px;
}

.review-items-panel {
    margin-bottom: 24px;
}

.review-item {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    box-shadow: inset 0 -1px 0 rgba(17, 39, 78, 0.08);
}

.review-item:last-child {
    box-shadow: none;
}

.review-item-thumb {
    width: 84px;
    height: 84px;
}

.review-item-copy h3 {
    font-size: 1rem;
}

.review-info-card {
    padding: clamp(20px, 3vw, 30px);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-frame);
}

.review-detail-list {
    display: grid;
    gap: 13px;
    margin: 22px 0 0;
}

.review-detail-list > div {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 11px;
    box-shadow: inset 0 -1px 0 rgba(17, 39, 78, 0.08);
}

.review-detail-list dt {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.review-detail-list dd {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
}

.review-detail-list .pre-line {
    white-space: pre-line;
    line-height: 1.65;
}

.text-link {
    color: var(--gold-deep);
    font-size: 0.88rem;
    font-weight: 900;
}

@media (max-width: 940px) {
    .checkout-details-grid,
    .review-info-grid {
        grid-template-columns: 1fr;
    }

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

    .cart-flow-quantity {
        grid-column: 2;
        justify-items: start;
    }

    .cart-flow-price {
        grid-column: 3;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    .cart-flow-page,
    .checkout-flow-page {
        width: min(100% - 24px, 560px);
    }

    .cart-flow-head,
    .cart-flow-actions,
    .checkout-flow-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-flow-head .button,
    .cart-flow-actions .button,
    .checkout-flow-actions .button,
    .checkout-flow-actions form,
    .checkout-flow-actions form .button {
        width: 100%;
        justify-content: center;
    }

    .cart-flow-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .cart-flow-thumb {
        width: 82px;
        height: 82px;
    }

    .cart-flow-quantity,
    .cart-flow-price {
        grid-column: 2;
        grid-row: auto;
        justify-items: start;
        text-align: left;
    }

    .cart-flow-price {
        min-width: 0;
    }

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

    .review-item-thumb {
        width: 68px;
        height: 68px;
    }

    .review-item-price {
        grid-column: 2;
        text-align: left;
    }

    .review-detail-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}
