* {
    box-sizing: border-box;
}

:root {
    --fw-bg: #162234;
    --fw-bg-2: #1d2d45;
    --fw-bg-3: #213652;
    --fw-surface: rgba(255, 255, 255, 0.05);
    --fw-surface-strong: #1f314d;
    --fw-surface-dark: #18273e;
    --fw-line: rgba(255, 255, 255, 0.10);
    --fw-line-strong: rgba(255, 255, 255, 0.16);
    --fw-text: #ffffff;
    --fw-text-soft: rgba(255, 255, 255, 0.76);
    --fw-accent: #4f77a8;
    --fw-accent-soft: #6f95c3;
    --fw-accent-light: #dce8f6;
    --fw-shadow: 0 20px 45px rgba(0, 0, 0, 0.24);
    --fw-radius-xl: 2rem;
    --fw-radius-lg: 1.75rem;
    --fw-radius-md: 1.5rem;
    --fw-container: 1280px;
}

html {
    scroll-behavior: smooth;
}

body.fw-shop-body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(111, 149, 195, 0.12), transparent 18%),
        linear-gradient(180deg, #162234 0%, #1a2840 45%, #18263b 100%);
    color: var(--fw-text);
}

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

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

.fw-container {
    width: min(var(--fw-container), calc(100% - 32px));
    margin: 0 auto;
}

.fw-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 18, 30, 0.28);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fw-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 82px;
}

.fw-site-brand {
    display: inline-flex;
    align-items: center;
}

.fw-site-logo {
    width: auto;
    max-width: 220px;
    max-height: 60px;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}

.fw-site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.fw-site-nav a {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    padding: 10px 12px;
    border-radius: 12px;
    transition: color 0.18s ease, background 0.18s ease;
}

.fw-site-nav a:hover {
    color: var(--fw-accent-light);
    background: rgba(255, 255, 255, 0.05);
}

.fw-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(111, 149, 195, 0.40);
    color: var(--fw-accent-light);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.fw-cart-button:hover {
    background: var(--fw-accent);
    color: #ffffff;
}

/* Hamburger Toggle Button */
.fw-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.18s ease;
}

.fw-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.fw-nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.fw-site-header.is-open .fw-nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.fw-site-header.is-open .fw-nav-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.fw-site-header.is-open .fw-nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.fw-main {
    position: relative;
    z-index: 1;
}

.fw-main::before,
.fw-main::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.35;
}

.fw-main::before {
    top: 40px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: rgba(111, 149, 195, 0.18);
}

.fw-main::after {
    top: 920px;
    left: -120px;
    width: 300px;
    height: 300px;
    background: rgba(79, 119, 168, 0.14);
}

.fw-section {
    position: relative;
    z-index: 1;
    padding: 20px 0;
}

.fw-hero {
    padding: 28px 0 18px;
}

.fw-hero__grid,
.fw-story-grid,
.fw-cart-grid,
.fw-process-box__grid {
    display: grid;
    gap: 28px;
}

.fw-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}

.fw-chip,
.fw-section-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(220, 232, 246, 0.14);
    color: var(--fw-accent-light);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.fw-hero__content {
    padding: 32px;
    border-radius: var(--fw-radius-xl);
    border: 1px solid var(--fw-line-strong);
    background: linear-gradient(135deg, #2b446b 0%, #314d78 55%, #283f63 100%);
    box-shadow: var(--fw-shadow);
}

.fw-hero__content h1 {
    margin: 22px 0 18px;
    max-width: 12ch;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.98;
    color: #ffffff;
}

.fw-hero__content p,
.fw-section-head p,
.fw-story-box p,
.fw-process-box p,
.fw-product-card__body p {
    color: var(--fw-text-soft);
    line-height: 1.8;
}

.fw-highlight-grid {
    display: grid;
    gap: 12px;
    margin-top: 26px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fw-highlight-item {
    padding: 16px 18px;
    border-radius: var(--fw-radius-md);
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.95rem;
    font-weight: 600;
}

.fw-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.fw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.fw-btn:hover {
    transform: translateY(-1px);
}

.fw-btn--primary {
    background: var(--fw-accent-light);
    color: var(--fw-deep, #203450);
}

.fw-btn--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--fw-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.fw-btn--small {
    min-height: 44px;
    padding: 10px 16px;
}

.fw-btn--full {
    width: 100%;
}

.fw-hero__visual {
    position: relative;
    overflow: hidden;
    padding: 12px;
    border-radius: var(--fw-radius-xl);
    border: 1px solid var(--fw-line-strong);
    background: #253a5b;
    box-shadow: var(--fw-shadow);
}

.fw-hero__image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 1.5rem;
}

.fw-hero__overlay {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    padding: 22px;
    border-radius: 1.5rem;
    border: 1px solid var(--fw-line);
    background: rgba(24, 39, 62, 0.84);
    backdrop-filter: blur(12px);
}

.fw-hero__overlay-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fw-accent-light);
}

.fw-hero__overlay-title {
    margin-top: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.fw-hero__overlay p {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--fw-text-soft);
}

.fw-section-head {
    margin-bottom: 28px;
}

.fw-section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.fw-section-head h2,
.fw-story-box h2,
.fw-process-box h2,
.fw-cart-box h2,
.fw-summary-box h3 {
    margin: 14px 0 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.06;
    color: #ffffff;
}

.fw-section-head--split p {
    max-width: 520px;
}

.fw-product-grid,
.fw-story-grid__cards {
    display: grid;
    gap: 24px;
}

.fw-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fw-product-card,
.fw-story-box,
.fw-cart-box,
.fw-summary-box,
.fw-process-box {
    border-radius: var(--fw-radius-xl);
    border: 1px solid var(--fw-line);
    box-shadow: var(--fw-shadow);
}

.fw-product-card {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.fw-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(111, 149, 195, 0.30);
}

.fw-product-card__media {
    position: relative;
}

.fw-product-card__image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.fw-product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--fw-accent);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
}

.fw-product-card__body {
    padding: 24px;
}

.fw-product-card__eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fw-accent-light);
}

.fw-product-card h3 {
    margin: 14px 0 10px;
    font-size: 2rem;
    color: #ffffff;
}

.fw-product-card__footer {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.fw-product-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.fw-product-config {
    margin-top: 22px;
    padding: 18px;
    border-radius: 1.35rem;
    border: 1px solid rgba(111, 149, 195, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fw-product-config__variants {
    display: grid;
    gap: 18px;
}

.fw-product-config__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fw-product-config__grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.fw-product-config__grid label span {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--fw-accent-light);
}

.fw-product-config__grid select,
.fw-product-config__grid input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(18, 30, 47, 0.95);
    color: #ffffff;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.fw-product-config__grid input {
    padding-right: 12px;
}

.fw-product-config__grid select {
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.65) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.65) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.fw-product-config__grid select:focus,
.fw-product-config__grid input:focus {
    outline: none;
    border-color: rgba(111, 149, 195, 0.55);
    box-shadow: 0 0 0 3px rgba(111, 149, 195, 0.12);
    background: rgba(22, 36, 58, 0.98);
}

.fw-product-config__grid select:disabled,
.fw-product-config__grid input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.55);
}

.fw-product-config__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-top: 4px;
}

.fw-product-config__price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.fw-product-config__price span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.fw-product-config__price strong {
    display: block;
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.1;
    font-weight: 800;
    color: #ffffff;
    white-space: nowrap;
}

.fw-product-config__bottom .fw-btn {
    min-width: 210px;
}

.fw-product-config__empty {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 24, 38, 0.72);
    color: var(--fw-text-soft);
    line-height: 1.6;
}

.fw-story-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
}

.fw-story-box {
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
}

.fw-story-box--main {
    background: #1f314d;
}

.fw-story-box h3 {
    margin-top: 0;
    font-size: 1.35rem;
    color: var(--fw-accent-light);
}

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

.fw-process-box {
    padding: 34px;
    border-color: rgba(111, 149, 195, 0.24);
    background: linear-gradient(to bottom right, #203450, #1a2c44);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.fw-process-box__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.fw-process-box__steps {
    padding: 24px;
    border-radius: 1.75rem;
    border: 1px solid var(--fw-line);
    background: rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
}

.fw-process-box__steps ol {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--fw-text-soft);
    line-height: 1.9;
}

.fw-cart-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.fw-cart-page-grid,
.fw-checkout-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
}

.fw-checkout-form-wrap {
    margin-top: 8px;
}

.fw-cart-box,
.fw-summary-box {
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
}

.fw-cart-box__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.fw-cart-count {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(111, 149, 195, 0.30);
    background: rgba(79, 119, 168, 0.18);
    color: var(--fw-accent-light);
    font-size: 0.9rem;
}

.fw-cart-items {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.fw-cart-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.fw-cart-item--empty {
    grid-template-columns: 1fr;
}

.fw-cart-item--rich {
    grid-template-columns: minmax(0, 1.2fr) auto auto auto;
}

.fw-cart-item__product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.fw-cart-item__thumb {
    width: 82px;
    height: 82px;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.04);
}

.fw-cart-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fw-cart-item__controls {
    display: flex;
    align-items: center;
}

.fw-cart-item__qty-label {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fw-cart-item__qty-label span {
    font-size: 0.82rem;
    color: var(--fw-text-soft);
}

.fw-cart-item__qty-label input {
    width: 90px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font: inherit;
}

.fw-cart-item {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    padding: 20px;
    border-radius: 1.5rem;
    border: 1px solid var(--fw-line);
    background: #1f314d;
}

.fw-cart-item h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #ffffff;
}

.fw-cart-item p {
    margin: 6px 0 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
}

.fw-cart-meta {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.fw-cart-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
}

.fw-cart-remove {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--fw-line);
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.fw-cart-remove:hover {
    border-color: rgba(111, 149, 195, 0.40);
    color: var(--fw-accent-light);
}

.fw-summary-box {
    border-color: rgba(111, 149, 195, 0.24);
    background: linear-gradient(to bottom right, #203450, #1a2c44);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.fw-summary-lines {
    margin-top: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--fw-line);
    display: grid;
    gap: 14px;
    color: var(--fw-text-soft);
}

.fw-summary-lines > div,
.fw-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.fw-summary-total {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #ffffff;
    align-items: center;
}

.fw-summary-total strong {
    font-size: 2rem;
    color: var(--fw-accent-light);
}

.fw-summary-payment {
    margin-top: 24px;
    padding: 20px;
    border-radius: 1.5rem;
    border: 1px solid var(--fw-line);
    background: rgba(0, 0, 0, 0.16);
}

.fw-summary-payment ul {
    margin: 14px 0 0;
    padding-left: 0;
    list-style: none;
    color: var(--fw-text-soft);
    line-height: 1.8;
}

.fw-site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 23, 36, 0.98);
    color: #e6eef8;
    padding: 40px 0;
}

.fw-site-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.fw-site-footer__links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.fw-site-footer a {
    color: #ffffff;
}

.fw-form-info,
.fw-form-box {
    padding: 28px;
    border-radius: var(--fw-radius-xl);
    border: 1px solid var(--fw-line);
    box-shadow: var(--fw-shadow);
}

.fw-form-info {
    background: rgba(255, 255, 255, 0.05);
}

.fw-form-box {
    border-color: rgba(111, 149, 195, 0.24);
    background: linear-gradient(to bottom right, #203450, #1a2c44);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.fw-form-note {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 1.5rem;
    border: 1px solid var(--fw-line);
    background: #1f314d;
    color: var(--fw-text-soft);
    line-height: 1.75;
}

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

.fw-form-fields label {
    display: block;
}

.fw-form-fields label.full {
    grid-column: 1 / -1;
}

.fw-form-fields span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.fw-form-fields input,
.fw-form-fields select,
.fw-form-fields textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 1rem;
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font: inherit;
}

.fw-form-fields input::placeholder,
.fw-form-fields textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.fw-form-fields input:focus,
.fw-form-fields select:focus,
.fw-form-fields textarea:focus {
    outline: none;
    border-color: rgba(111, 149, 195, 0.50);
}

.fw-form-fields select {
    background: #203450;
}

.fw-form-checks {
    margin-top: 24px;
    padding: 20px;
    border-radius: 1.5rem;
    border: 1px solid var(--fw-line);
    background: rgba(0, 0, 0, 0.16);
    display: grid;
    gap: 14px;
    color: var(--fw-text-soft);
}

.fw-form-checks label {
    display: flex;
    align-items: start;
    gap: 12px;
}

.fw-checkout-summary-items {
    display: grid;
    gap: 14px;
    margin: 22px 0 24px;
}

.fw-checkout-summary-item {
    padding: 16px 18px;
    border-radius: 1.25rem;
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.04);
}

.fw-checkout-summary-item__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    color: #ffffff;
    font-size: 1rem;
}

.fw-checkout-summary-item__meta {
    margin-top: 8px;
    color: var(--fw-text-soft);
    line-height: 1.6;
    font-size: 0.94rem;
}

.fw-checkout-summary-empty {
    padding: 16px 18px;
    border-radius: 1.25rem;
    border: 1px solid var(--fw-line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--fw-text-soft);
    margin: 22px 0 24px;
}

.fw-checkout-actions {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.fw-checkout-error {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 1rem;
    border: 1px solid rgba(111, 149, 195, 0.28);
    background: rgba(79, 119, 168, 0.18);
    color: #eaf3ff;
    line-height: 1.6;
}

.fw-checkout-success-box {
    padding: 32px;
    border-radius: var(--fw-radius-xl);
    border: 1px solid rgba(111, 149, 195, 0.24);
    background: linear-gradient(to bottom right, #203450, #1a2c44);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.fw-summary-payment__list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--fw-text-soft);
    line-height: 1.8;
}

.fw-summary-payment__list li + li {
    margin-top: 6px;
}

.fw-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.fw-btn.is-disabled,
.fw-btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

.fw-access-wrap {
    display: flex;
    justify-content: center;
}

.fw-access-card {
    width: min(100%, 760px);
    padding: 32px;
    border-radius: var(--fw-radius-xl);
    border: 1px solid rgba(111, 149, 195, 0.24);
    background: linear-gradient(to bottom right, #203450, #1a2c44);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.fw-access-card h1 {
    margin: 16px 0 14px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.04;
    color: #ffffff;
}

.fw-access-text {
    color: var(--fw-text-soft);
    line-height: 1.8;
}

.fw-access-form {
    margin-top: 22px;
}

.fw-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fw-logout-form {
    margin: 0;
}

.fw-logout-button {
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
}

.fw-product-card__gallery-trigger {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.fw-product-card__actions-inline {
    margin-top: 22px;
}

.fw-product-card__details-chip {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(24, 39, 62, 0.94);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.fw-product-card__details-chip:hover {
    background: rgba(31, 49, 77, 0.98);
}

.fw-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
}

.fw-gallery-modal[hidden] {
    display: none;
}

.fw-gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 30, 0.76);
    backdrop-filter: blur(6px);
}

.fw-gallery-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto;
    border-radius: 32px;
    border: 1px solid rgba(111, 149, 195, 0.22);
    background: linear-gradient(135deg, #1f314d 0%, #203450 55%, #1a2c44 100%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

.fw-gallery-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.fw-gallery-modal__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 680px;
}

.fw-gallery-modal__main {
    position: relative;
    background: rgba(16, 25, 40, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.fw-gallery-modal__main-image {
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    border-radius: 24px;
    background: rgba(255,255,255,0.03);
}

.fw-gallery-modal__side {
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
}

.fw-gallery-modal__label {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: var(--fw-accent-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fw-gallery-modal__title {
    margin: 18px 0 0;
    font-size: 2rem;
    color: #ffffff;
}

.fw-gallery-modal__description {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.97rem;
    line-height: 1.6;
}

.fw-gallery-modal__thumbs {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fw-gallery-thumb {
    padding: 0;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
}

.fw-gallery-thumb.is-active {
    border-color: rgba(111, 149, 195, 0.8);
    box-shadow: 0 0 0 2px rgba(111, 149, 195, 0.14);
}

.fw-gallery-thumb img {
    width: 100%;
    height: 148px;
    object-fit: cover;
    display: block;
}

/* Prev/next navigation arrows */
.fw-gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(10, 18, 30, 0.60);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fw-gallery-modal__nav:hover {
    background: rgba(111, 149, 195, 0.35);
    border-color: rgba(111, 149, 195, 0.7);
}

.fw-gallery-modal__nav--prev {
    left: 14px;
}

.fw-gallery-modal__nav--next {
    right: 14px;
}

.fw-gallery-modal__nav[hidden] {
    display: none;
}

/* Image counter pill (1 / 3) */
.fw-gallery-modal__counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(10, 18, 30, 0.68);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    pointer-events: none;
    white-space: nowrap;
}

.fw-gallery-modal__counter[hidden] {
    display: none;
}

@media (max-width: 760px) {
    .fw-access-card {
        padding: 24px;
    }

    .fw-header-actions {
    width: 100%;
    align-items: stretch;
    }

    .fw-header-actions .fw-cart-button,
    .fw-header-actions .fw-logout-button {
    width: 100%;
}

    
}

@media (max-width: 1180px) {
    .fw-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .fw-hero__grid,
    .fw-story-grid,
    .fw-cart-grid,
    .fw-process-box__grid,
    .fw-site-footer__inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .fw-highlight-grid,
    .fw-story-grid__cards {
        grid-template-columns: 1fr;
    }

    .fw-section-head--split {
        flex-direction: column;
        align-items: stretch;
    }

    .fw-product-config__grid,
.fw-cart-page-grid,
.fw-checkout-grid,
.fw-form-fields {
    grid-template-columns: 1fr;
}

.fw-product-config__bottom {
    flex-direction: column;
    align-items: stretch;
}

.fw-product-config__bottom .fw-btn {
    width: 100%;
    min-width: 0;
}

    .fw-gallery-modal__content {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .fw-gallery-modal__dialog {
        width: min(100% - 20px, 1180px);
        margin: 20px auto;
        max-height: calc(100vh - 40px);
        overflow: auto;
    }

    .fw-gallery-modal__main {
        padding: 20px;
        max-height: 58vh;
    }

    .fw-gallery-modal__main-image {
        max-height: 52vh;
    }

    .fw-gallery-modal__side {
        padding-top: 0;
    }
}


@media (max-width: 760px) {
    /* Gallery modal: bottom-sheet on mobile */
    .fw-gallery-modal {
        display: flex;
        align-items: flex-end;
    }

    .fw-gallery-modal__dialog {
        width: 100%;
        margin: 0;
        border-radius: 1.8rem 1.8rem 0 0;
        max-height: 94vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .fw-gallery-modal__content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fw-gallery-modal__close {
        top: 14px;
        right: 14px;
    }

    .fw-gallery-modal__main {
        padding: 16px 16px 14px;
        max-height: none;
    }

    .fw-gallery-modal__main-image {
        max-height: 46vh;
    }

    .fw-gallery-modal__side {
        padding: 16px 18px 28px;
    }

    .fw-gallery-modal__title {
        font-size: 1.4rem;
        margin: 8px 0 8px;
    }

    /* Thumbnails: horizontal scroll row */
    .fw-gallery-modal__thumbs {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .fw-gallery-modal__thumbs::-webkit-scrollbar {
        display: none;
    }

    .fw-gallery-thumb {
        flex: 0 0 88px;
        scroll-snap-align: start;
    }

    .fw-gallery-thumb img {
        height: 80px;
        width: 88px;
    }

    /* Smaller nav arrows on mobile */
    .fw-gallery-modal__nav {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .fw-gallery-modal__nav--prev {
        left: 8px;
    }

    .fw-gallery-modal__nav--next {
        right: 8px;
    }

    .fw-container {
        width: min(100% - 24px, var(--fw-container));
    }

    .fw-nav-toggle {
        display: flex;
    }

    .fw-site-header__inner {
        min-height: 70px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: 0;
    }

    .fw-site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 4px;
        padding: 10px 0 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .fw-site-header.is-open .fw-site-nav {
        display: flex;
    }

    .fw-site-nav a {
        padding: 12px 16px;
        border-radius: 10px;
        width: 100%;
    }

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

    .fw-product-grid {
        grid-template-columns: 1fr;
    }

    .fw-cart-item {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .fw-product-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .fw-hero__image {
        height: 360px;
    }

    .fw-hero__content h1 {
        max-width: 100%;
        font-size: 2.6rem;
    }

    .fw-product-config {
    padding: 16px;
}

.fw-product-config__grid select,
.fw-product-config__grid input,
.fw-cart-item__qty-label input {
    min-height: 48px;
    font-size: 16px;
}

.fw-cart-item--rich {
    grid-template-columns: 1fr;
}

.fw-cart-item__product {
    align-items: flex-start;
}

.fw-cart-item__thumb {
    width: 72px;
    height: 72px;
}

.fw-cart-actions,
.fw-checkout-actions {
    flex-direction: column;
}

.fw-cart-actions .fw-btn,
.fw-checkout-actions .fw-btn {
    width: 100%;
}

.fw-checkout-summary-item__head {
    flex-direction: column;
    align-items: flex-start;
}

.fw-checkout-success-box {
    padding: 24px;
}
}