:root {
    --ink: #14211d;
    --muted: #68756f;
    --paper: #f6f0e6;
    --paper-2: #fbf8f1;
    --surface: #ffffff;
    --line: #e4ded2;
    --primary: #102821;
    --primary-2: #1f4e44;
    --accent: #b66f3f;
    --gold: #c9a34e;
    --gold-soft: #f2dfac;
    --danger: #a63f3f;
    --shadow-sm: 0 12px 26px rgba(20, 33, 29, 0.08);
    --shadow: 0 22px 60px rgba(20, 33, 29, 0.14);
    --radius: 22px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(201, 163, 78, 0.16), transparent 34rem),
        linear-gradient(180deg, var(--paper-2), var(--paper));
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.01em;
}

img,
picture {
    max-width: 100%;
}

a {
    color: inherit;
}

.top-ribbon {
    padding: 0.48rem 0;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.85rem;
    font-weight: 700;
}

.top-ribbon i {
    color: var(--gold-soft);
    margin-right: 0.35rem;
}

.store-nav {
    background: rgba(251, 248, 241, 0.86);
    border-bottom: 1px solid rgba(16, 40, 33, 0.1);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.navbar-brand em {
    color: var(--accent);
    font-style: normal;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-block;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.18)),
        linear-gradient(135deg, var(--primary), var(--primary-2));
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
    flex: 0 0 38px;
    box-shadow: 0 10px 20px rgba(16, 40, 33, 0.18);
}

.brand-mark::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 10px;
    height: 11px;
    border-radius: 5px;
    background: var(--paper);
    box-shadow: -6px -5px 0 -2px var(--paper), 6px -5px 0 -2px var(--paper);
}

.nav-link {
    color: var(--muted);
    font-weight: 750;
    border-radius: 999px;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
    background: rgba(16, 40, 33, 0.06);
}

.btn {
    border-radius: 999px;
    font-weight: 850;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 42px;
    box-shadow: none !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: #071a15;
    --bs-btn-hover-border-color: #071a15;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary);
    --bs-btn-border-color: rgba(16, 40, 33, 0.34);
    --bs-btn-hover-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
}

.btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--primary);
}

.btn-glass {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
}

.btn-glass:hover {
    color: var(--primary);
    background: #fff;
}

.nav-cart-button {
    min-width: 66px;
}

.hero-section {
    min-height: 720px;
    min-height: min(720px, calc(100svh - 96px));
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary);
}

.hero-section picture {
    position: absolute;
    inset: 0;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 44%, rgba(201, 163, 78, 0.36), transparent 18rem),
        linear-gradient(90deg, rgba(7, 18, 15, 0.88), rgba(16, 40, 33, 0.56) 48%, rgba(16, 40, 33, 0.08));
}

.hero-content {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 8rem;
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--gold-soft);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 900;
}

.hero-kicker span {
    width: 32px;
    height: 1px;
    background: var(--gold-soft);
}

.hero-content h1 {
    max-width: 820px;
    font-size: clamp(3rem, 8vw, 6.6rem);
    line-height: 0.9;
    font-weight: 950;
    margin: 0 0 1.25rem;
    letter-spacing: -0.085em;
}

.hero-copy {
    max-width: 650px;
    font-size: 1.18rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 1.6rem;
}

.hero-actions,
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-trust {
    margin-top: 1.5rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 750;
}

.eyebrow {
    text-transform: uppercase;
    color: var(--accent);
    font-size: 0.76rem;
    letter-spacing: 0.15em;
    font-weight: 950;
    margin-bottom: 0.7rem;
}

.store-strip {
    margin-top: -62px;
    position: relative;
    z-index: 2;
}

.metric,
.category-card,
.product-card,
.review-card,
.cart-help-card,
.premium-panel,
.empty-state,
.offline-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(16, 40, 33, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.metric {
    min-height: 128px;
    padding: 1.2rem;
    backdrop-filter: blur(10px);
}

.metric span {
    display: block;
    color: var(--primary);
    font-size: 1.65rem;
    font-weight: 950;
    margin-bottom: 0.25rem;
    letter-spacing: -0.05em;
}

.metric p {
    color: var(--muted);
    margin: 0;
    line-height: 1.45;
}

.catalog-section,
.page-section,
.product-detail-section,
.ar-section,
.category-section,
.experience-section,
.reviews-section {
    padding: 5.5rem 0;
}

.section-heading {
    margin-bottom: 2rem;
}

.split-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}

.section-heading h1,
.section-heading h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.065em;
    margin: 0;
}

.text-link {
    color: var(--primary);
    font-weight: 850;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.category-card {
    padding: 1.4rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: auto -30px -55px auto;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: rgba(201, 163, 78, 0.16);
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 40, 33, 0.2);
    box-shadow: var(--shadow);
}

.category-card span {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.category-card strong {
    display: block;
    font-size: 1.4rem;
    margin-top: 0.4rem;
    letter-spacing: -0.04em;
}

.category-card i {
    position: absolute;
    right: 1.2rem;
    top: 1.2rem;
    color: var(--primary);
}

.catalog-count {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(16, 40, 33, 0.06);
    color: var(--primary);
    font-weight: 850;
}

.catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px 220px;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem;
    border: 1px solid rgba(16, 40, 33, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-sm);
}

.search-field {
    position: relative;
}

.search-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    z-index: 2;
}

.search-field .form-control {
    padding-left: 2.65rem;
}

.form-control,
.form-select {
    border-radius: 999px;
    min-height: 48px;
    border-color: rgba(16, 40, 33, 0.18);
    color: var(--ink);
}

textarea.form-control {
    border-radius: 18px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(16, 40, 33, 0.55);
    box-shadow: 0 0 0 0.22rem rgba(16, 40, 33, 0.1);
}

.product-grid {
    align-items: stretch;
}

.product-column {
    transition: opacity 0.2s ease;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-image-link {
    display: block;
    position: relative;
    background: #e8ede8;
    overflow: hidden;
    text-decoration: none;
}

.product-image,
.detail-image {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.product-image {
    aspect-ratio: 1.18;
}

.product-card:hover .product-image {
    transform: scale(1.045);
}

.product-status,
.floating-badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.45rem 0.72rem;
    background: rgba(255, 255, 255, 0.86);
    color: var(--primary);
    font-weight: 850;
    font-size: 0.78rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 22px rgba(20, 33, 29, 0.12);
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-collection {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    font-weight: 950;
    margin-bottom: 0.25rem;
}

.product-body h3,
.review-card h3,
.ar-details h3,
.cart-summary h2,
.checkout-summary h2,
.form-section-title h2 {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 920;
    letter-spacing: -0.045em;
    margin: 0;
}

.rating-line,
.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: var(--primary);
    font-weight: 850;
    margin-top: 0.4rem;
}

.rating-line i,
.rating-pill i {
    color: var(--gold);
}

.rating-line small {
    color: var(--muted);
    font-weight: 700;
}

.price-stack {
    text-align: right;
}

.price,
.detail-price {
    color: var(--primary);
    font-weight: 950;
    white-space: nowrap;
    letter-spacing: -0.04em;
}

.price-stack del,
.detail-price-row del {
    color: var(--muted);
    font-size: 0.86rem;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-price {
    font-size: 2rem;
}

.product-tagline,
.muted-copy,
.review-card p,
.experience-card p,
.form-section-title p,
.form-footnote {
    color: var(--muted);
    line-height: 1.65;
}

.product-tagline {
    margin-top: 0.9rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.badge-row span {
    border: 1px solid rgba(16, 40, 33, 0.14);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(31, 78, 68, 0.07);
    padding: 0.35rem 0.66rem;
    font-size: 0.76rem;
    font-weight: 850;
}

.spec-list,
.detail-specs,
.cart-summary dl,
.confirmation-list {
    display: grid;
    gap: 0.78rem;
}

.spec-list {
    margin-top: auto;
}

.spec-list div,
.detail-specs div,
.cart-summary dl div,
.confirmation-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 0.78rem;
}

dt {
    color: var(--muted);
    font-weight: 750;
}

dd {
    margin: 0;
    text-align: right;
    font-weight: 850;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
}

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

.breadcrumb-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    margin-bottom: 1.3rem;
    font-weight: 750;
}

.breadcrumb-line a {
    text-decoration: none;
    color: var(--primary);
}

.detail-media,
.ar-shell,
.checkout-form,
.cart-summary,
.checkout-summary,
.confirmation {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 40, 33, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.premium-media {
    overflow: hidden;
    position: relative;
}

.detail-image {
    min-height: 560px;
    object-fit: cover;
}

.detail-copy {
    padding: 1.5rem;
}

.detail-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.35rem);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.075em;
    margin-bottom: 1rem;
}

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

.detail-thumbs {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.detail-thumbs button {
    min-height: 90px;
    border: 1px solid rgba(16, 40, 33, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary);
    font-weight: 850;
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 0.7rem;
}

.detail-thumbs button.active {
    padding: 0;
}

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

.detail-thumbs i {
    font-size: 1.25rem;
    color: var(--accent);
}

.option-box {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(16, 40, 33, 0.04);
    margin-bottom: 1rem;
}

.swatch-row {
    display: flex;
    gap: 0.65rem;
}

.swatch {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--swatch);
    border: 4px solid #fff;
    outline: 1px solid rgba(16, 40, 33, 0.24);
    box-shadow: 0 8px 18px rgba(20, 33, 29, 0.12);
}

.buy-box {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.qty-input {
    text-align: center;
    font-weight: 850;
}

.service-list,
.checkout-assurance {
    display: grid;
    gap: 0.6rem;
    color: var(--muted);
    font-weight: 750;
}

.service-list span,
.checkout-assurance div,
.secure-note {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.service-list i,
.checkout-assurance i,
.secure-note i {
    color: var(--primary);
}

.ar-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    overflow: hidden;
}

model-viewer {
    width: 100%;
    min-height: 590px;
    background: linear-gradient(180deg, #f5efe5, #dfe8e5);
}

.ar-button {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
}

.ar-details {
    padding: 1.6rem;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ar-details li {
    margin-bottom: 0.65rem;
    color: var(--muted);
    line-height: 1.6;
}

.experience-card,
.cta-card {
    border-radius: 32px;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at top right, rgba(201, 163, 78, 0.22), transparent 26rem),
        linear-gradient(135deg, var(--primary), #1e4b42);
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow);
}

.experience-card .eyebrow,
.cta-card .eyebrow {
    color: var(--gold-soft);
}

.experience-card h2,
.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.065em;
}

.experience-card p,
.cta-card p {
    color: rgba(255, 255, 255, 0.76);
}

.experience-steps {
    display: grid;
    gap: 0.85rem;
}

.experience-steps div {
    padding: 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.experience-steps span {
    color: var(--gold-soft);
    font-weight: 950;
}

.experience-steps strong {
    display: block;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.review-card {
    padding: 1.4rem;
    min-height: 100%;
}

.review-card i {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: rgba(16, 40, 33, 0.08);
    color: var(--primary);
    font-size: 1.35rem;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.5rem;
    align-items: start;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(16, 40, 33, 0.1);
    border-radius: var(--radius);
    padding: 0.85rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.cart-item img {
    width: 140px;
    height: 112px;
    object-fit: cover;
    border-radius: 16px;
    background: #e5e9e5;
}

.cart-item h2 {
    font-size: 1.18rem;
    font-weight: 920;
    letter-spacing: -0.045em;
    margin-bottom: 0.25rem;
}

.quantity-controls {
    display: inline-grid;
    grid-template-columns: 40px 46px 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-weight: 950;
}

.quantity-controls button:hover {
    background: rgba(16, 40, 33, 0.07);
}

.quantity-controls span {
    text-align: center;
    font-weight: 950;
}

.cart-summary,
.checkout-summary,
.checkout-form,
.confirmation {
    padding: 1.45rem;
}

.cart-summary,
.checkout-summary {
    position: sticky;
    top: 108px;
}

.secure-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 750;
}

.secure-note.big {
    margin-top: 0;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: rgba(16, 40, 33, 0.07);
    color: var(--primary);
}

.cart-help-card {
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    color: var(--muted);
    line-height: 1.55;
}

.cart-help-card i {
    color: var(--primary);
    font-size: 1.3rem;
}

.form-section-title {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.form-section-title span {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    font-weight: 950;
    flex: 0 0 38px;
}

.checkout-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.checkout-line p {
    margin: 0;
    color: var(--muted);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(16, 40, 33, 0.06);
    font-size: 1.1rem;
}

.form-footnote {
    margin: 0.8rem 0 0;
    font-size: 0.92rem;
    text-align: center;
}

.empty-state {
    padding: 3.2rem 1.5rem;
    text-align: center;
}

.empty-state i,
.confirmation > i {
    color: var(--primary);
    font-size: 2.4rem;
}

.confirmation {
    text-align: left;
}

.error-state > i,
.error-list li::marker {
    color: var(--danger);
}

.error-list {
    color: var(--muted);
    line-height: 1.7;
}

.order-number-card {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(16, 40, 33, 0.06);
    margin-bottom: 1rem;
}

.order-number-card span {
    display: block;
    color: var(--muted);
    font-weight: 750;
}

.order-number-card strong {
    font-size: 1.4rem;
    color: var(--primary);
    letter-spacing: -0.04em;
}

.submitted-items {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.submitted-items div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem;
}

.narrow {
    max-width: 800px;
}

.cta-band {
    padding: 3.5rem 0;
}

.cta-card {
    grid-template-columns: minmax(0, 1fr) auto;
}

.site-footer {
    padding: 3rem 0;
    background: #0d1714;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
    color: #fff;
    font-size: 1.1rem;
}

.site-footer h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.site-footer a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.site-footer a:hover {
    color: #fff;
}

.toast {
    background: var(--primary);
    color: #fff;
    border-radius: 16px;
}

.toast .btn-close {
    filter: invert(1);
}

.offline-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.offline-card {
    max-width: 440px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.offline-card a {
    color: var(--primary);
    font-weight: 900;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 650px;
        min-height: min(650px, calc(100svh - 88px));
    }

    .catalog-toolbar,
    .category-grid,
    .experience-card,
    .cta-card,
    .ar-shell,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .ar-details {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .cart-summary,
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .split-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-thumbs,
    .buy-box {
        grid-template-columns: 1fr;
    }

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

    .cart-item img {
        width: 108px;
        height: 94px;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .top-ribbon {
        font-size: 0.78rem;
    }

    .hero-section {
        min-height: 590px;
        min-height: min(590px, calc(100svh - 80px));
    }

    .hero-content {
        padding-bottom: 5rem;
    }

    .hero-content h1 {
        font-size: 3.05rem;
    }

    .catalog-section,
    .page-section,
    .product-detail-section,
    .ar-section,
    .category-section,
    .experience-section,
    .reviews-section {
        padding: 3.8rem 0;
    }

    .store-strip {
        margin-top: -42px;
    }

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

    .detail-image {
        min-height: 420px;
    }

    model-viewer {
        min-height: 440px;
    }

    .submitted-items div,
    .confirmation-list div,
    .spec-list div,
    .detail-specs div {
        flex-direction: column;
        gap: 0.25rem;
    }

    dd {
        text-align: left;
    }
}

/* True-size AR upgrade */
.ar-viewer-wrap {
    position: relative;
    min-width: 0;
}

.ar-scale-note {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    max-width: calc(100% - 2rem);
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 40px rgba(10, 32, 26, 0.14);
    color: var(--primary);
    font-weight: 850;
    backdrop-filter: blur(14px);
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin: 1rem 0;
}

.size-grid div {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.72);
}

.size-grid span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.size-grid strong {
    display: block;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.room-fit-card {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(201, 163, 78, 0.34);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(250, 246, 237, 0.82));
    box-shadow: 0 14px 36px rgba(10, 32, 26, 0.08);
}

.fit-card-heading {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.fit-card-heading i {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    background: rgba(201, 163, 78, 0.16);
    color: var(--primary);
    font-size: 1.2rem;
}

.fit-card-heading strong,
.fit-card-heading span {
    display: block;
}

.fit-card-heading strong {
    color: var(--ink);
    font-weight: 900;
}

.fit-card-heading span {
    color: var(--muted);
    font-size: 0.9rem;
}

.fit-result {
    margin-top: 0.8rem;
    border-radius: 18px;
    padding: 0.85rem 0.95rem;
    font-weight: 800;
    line-height: 1.45;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
}

.fit-result.good {
    border-color: rgba(25, 135, 84, 0.32);
    background: rgba(25, 135, 84, 0.1);
    color: #146c43;
}

.fit-result.warn {
    border-color: rgba(201, 163, 78, 0.42);
    background: rgba(201, 163, 78, 0.12);
    color: #7a5a06;
}

.fit-result.danger {
    border-color: rgba(220, 53, 69, 0.28);
    background: rgba(220, 53, 69, 0.1);
    color: #a52834;
}

.ar-tip-list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.ar-tip-list li {
    margin-bottom: 0.55rem;
    color: var(--muted);
    line-height: 1.55;
}

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

    .ar-scale-note {
        position: static;
        margin: 0.8rem;
        width: auto;
        max-width: none;
        border-radius: 18px;
    }
}

.ar-calibration-card {
    margin-top: 1rem;
    border-radius: 24px;
    padding: 1rem;
    border: 1px solid rgba(201, 163, 78, 0.28);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 246, 237, 0.82));
    box-shadow: 0 18px 34px rgba(7, 18, 15, 0.08);
}

.calibration-heading {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.65rem;
}

.calibration-heading i {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    background: rgba(16, 40, 33, 0.1);
    color: var(--primary);
    font-size: 1.15rem;
}

.calibration-heading strong,
.calibration-heading span {
    display: block;
}

.calibration-heading strong {
    color: var(--ink);
    font-weight: 900;
}

.calibration-heading span {
    color: var(--muted);
    font-size: 0.9rem;
}

.live-chat-widget {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
}

.live-chat-toggle {
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #1e4b42);
    box-shadow: 0 20px 46px rgba(7, 18, 15, 0.25);
    font-weight: 900;
}

.live-chat-toggle i {
    font-size: 1.15rem;
}

.live-chat-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.8rem);
    width: min(340px, calc(100vw - 2.5rem));
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(7, 18, 15, 0.1);
    box-shadow: 0 26px 70px rgba(7, 18, 15, 0.24);
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.live-chat-widget.open .live-chat-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.live-chat-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.1rem 0.85rem;
    background: linear-gradient(135deg, var(--primary), #1e4b42);
    color: #fff;
}

.live-chat-header strong,
.live-chat-header p {
    display: block;
    margin: 0;
}

.live-chat-header strong {
    font-size: 1rem;
    font-weight: 900;
}

.live-chat-header p {
    margin-top: 0.25rem;
    opacity: 0.82;
    font-size: 0.9rem;
    line-height: 1.35;
}

.live-chat-header button {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    width: 34px;
    height: 34px;
    border-radius: 999px;
}

.live-chat-links {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.live-chat-links a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
    color: var(--ink);
    text-decoration: none;
    background: var(--paper-2);
    border: 1px solid var(--line);
    font-weight: 900;
}

.live-chat-links a:hover {
    color: var(--primary);
    border-color: rgba(201, 163, 78, 0.36);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .live-chat-widget {
        right: 0.9rem;
        bottom: 0.9rem;
    }

    .live-chat-toggle span {
        display: none;
    }

    .live-chat-toggle {
        width: 58px;
        height: 58px;
        justify-content: center;
        padding: 0;
    }
}

/* Furnify Re-Up and live selling additions */
.reup-hero {
    background: radial-gradient(circle at top left, rgba(241, 208, 122, .22), transparent 32%), linear-gradient(135deg, #102821, #18392f);
    color: #fff;
    padding: 5rem 0 4rem;
}
.reup-hero p { max-width: 720px; color: rgba(255,255,255,.78); }
.reup-section, .reup-promo-section, .live-selling-section { padding: 4.5rem 0; }
.premium-form-card, .reup-info-card, .reup-success-card {
    background: #fff;
    border: 1px solid rgba(16,40,33,.08);
    border-radius: 1.75rem;
    box-shadow: 0 24px 80px rgba(16,40,33,.10);
    padding: clamp(1.25rem, 3vw, 2rem);
}
.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .7rem;
}
.issue-grid label {
    border: 1px solid rgba(16,40,33,.12);
    border-radius: 1rem;
    padding: .75rem .85rem;
    background: #fbfaf7;
    font-size: .94rem;
}
.reup-info-card { top: 92px; }
.reup-process { display: grid; gap: 1rem; margin: 1.5rem 0; }
.reup-process div, .premium-mini-grid div {
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(16,40,33,.10);
    background: #fbfaf7;
}
.reup-process span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: #102821;
    color: #f1d07a;
    font-weight: 800;
    margin-bottom: .5rem;
}
.estimate-range {
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1;
    font-weight: 900;
    color: #102821;
    margin-bottom: 1rem;
}
.uploaded-preview, .reup-admin-photo {
    overflow: hidden;
    border-radius: 1.5rem;
    background: #eee9dd;
}
.uploaded-preview img, .reup-admin-photo img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 520px;
}
.reup-promo-section {
    background: linear-gradient(180deg, #f8f4ec, #fff);
}
.premium-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.premium-mini-grid i {
    font-size: 1.6rem;
    color: #b68b25;
    display: block;
    margin-bottom: .8rem;
}
.premium-mini-grid strong, .premium-mini-grid span { display: block; }
.premium-mini-grid span { color: #6d756e; font-size: .92rem; margin-top: .25rem; }
.live-selling-card {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 1.5rem;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(241, 208, 122, .30), transparent 34%), linear-gradient(135deg, #102821, #0b1c17);
    color: #fff;
    border-radius: 2rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: 0 24px 80px rgba(16,40,33,.16);
}
.live-selling-card p { color: rgba(255,255,255,.76); }
.live-selling-actions { display: grid; gap: .75rem; }
.reup-admin-photo img { max-height: 620px; }
@media (max-width: 768px) {
    .premium-mini-grid, .live-selling-card { grid-template-columns: 1fr; }
}

/* Furnify custom sofa quote additions */
.custom-hero {
    background: radial-gradient(circle at top right, rgba(182, 111, 63, .28), transparent 34%), linear-gradient(135deg, #102821, #291d14);
}
.custom-promo-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, #fff, #f8f4ec);
}
.custom-section .form-text {
    color: #6d756e;
    font-size: .86rem;
}

/* Furnify payment and install additions */
.payment-helper-card,
.payment-proof-panel,
.payment-result-card {
    border: 1px solid rgba(16, 40, 33, .10);
    background: #fbfaf7;
    border-radius: 1.25rem;
    padding: 1rem;
}
.payment-info-default,
.payment-info-method {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
}
.payment-info-default i,
.payment-info-method i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: #102821;
    color: #f1d07a;
    flex: 0 0 auto;
}
.payment-info-default strong,
.payment-info-method strong,
.payment-result-card strong {
    color: #102821;
    font-weight: 900;
}
.payment-info-default p,
.payment-info-method p {
    margin: .2rem 0 0;
    color: #6d756e;
}
.payment-account {
    display: grid;
    grid-template-columns: minmax(115px, auto) 1fr;
    gap: .35rem .75rem;
    margin-top: .75rem;
    padding: .85rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(16, 40, 33, .08);
}
.payment-account span,
.payment-result-card span {
    color: #6d756e;
    font-size: .86rem;
}
.payment-qr {
    max-width: 180px;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(16, 40, 33, .10);
    margin-top: .85rem;
}
.payment-result-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: .8rem;
    text-align: left;
}
.payment-result-card div {
    padding: .85rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(16, 40, 33, .08);
}
.payment-result-card span,
.payment-result-card strong {
    display: block;
}
.install-app-widget {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    display: none;
    align-items: center;
    gap: .45rem;
}
.install-app-widget.show {
    display: flex;
}
.install-app-main,
.install-app-help {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #9d6e13);
    box-shadow: 0 20px 46px rgba(7, 18, 15, 0.22);
    font-weight: 900;
}
.install-app-main {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .9rem 1.05rem;
    border-radius: 999px;
}
.install-app-help {
    width: 45px;
    height: 45px;
    border-radius: 999px;
}
.install-modal {
    border: 0;
    border-radius: 1.5rem;
    overflow: hidden;
}
.install-guide-list {
    display: grid;
    gap: 1rem;
}
.install-guide-list > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .85rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fbfaf7;
    border: 1px solid rgba(16, 40, 33, .08);
}
.install-guide-list i {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f1d07a;
    background: #102821;
    font-size: 1.2rem;
}
.install-guide-list strong {
    display: block;
    color: #102821;
    margin-bottom: .35rem;
}
.install-guide-list ol {
    margin: 0;
    padding-left: 1.15rem;
    color: #6d756e;
    font-size: .94rem;
}
@media (max-width: 575.98px) {
    .install-app-widget {
        left: .9rem;
        bottom: .9rem;
    }
    .install-app-main span {
        display: none;
    }
    .install-app-main {
        width: 58px;
        height: 58px;
        justify-content: center;
        padding: 0;
    }
    .install-app-help {
        width: 40px;
        height: 40px;
    }
}
