/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

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

.btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    background: var(--blush-light);
    min-height: 600px;
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        min-height: 640px;
    }
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 32px;
    gap: 24px;
}

@media (min-width: 1024px) {
    .hero-content {
        flex: 0 0 50%;
        padding: 96px 64px;
    }
}

.hero-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 60px;
    }
}

.hero p {
    font-size: 18px;
    color: var(--ink-muted);
    max-width: 480px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-muted);
    padding-top: 8px;
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

@media (min-width: 1024px) {
    .hero-image {
        flex: 0 0 50%;
        min-height: 640px;
    }
}

/* ── Hero Slideshow ────────────────────────────────────────────────── */
.hero-slideshow {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Each slide fills the container via background-image — works for both SVG and JPG */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* crossfade */
    transition: opacity 1.4s ease-in-out, transform 8s ease-out;
    transform: scale(1.06);   /* start slightly zoomed in */
    will-change: opacity, transform;
}

/* Active slide fades in and zooms to normal size — Ken Burns effect */
.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Dark gradient overlay — keeps left-side text readable over any image */
.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0.20) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Categories */
.categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.categories h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    text-align: center;
}

@media (min-width: 1024px) {
    .categories h2 {
        font-size: 48px;
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1440px;
    width: 100%;
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-image {
    aspect-ratio: 5/6;
    background: linear-gradient(135deg, var(--blush), var(--blush-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: transform 0.3s;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-image p:first-child {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--burgundy);
}

.category-image p:last-child {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 4px;
}

/* Product Grid */
.bestsellers {
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
}

.section-header h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 48px;
    }
}

.section-header a {
    font-size: 14px;
    font-weight: 600;
    color: var(--burgundy);
}

.section-header a:hover {
    color: var(--burgundy-dark);
}

/* ─── Product grid: standard row-flow grid ─────────────────────────────────
   Mobile  (<640px)  → 1 column
   Tablet  (640-1023): 2 columns  (1,2 / 3,4 / …)
   Desktop (≥1024px) : 3 columns  (1,2,3 / 4,5,6 / 7,8,9)
──────────────────────────────────────────────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1440px;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.product-image {
    aspect-ratio: 5/6;
    background: var(--blush-light);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge.gold {
    background: var(--gold);
    color: var(--white);
}

.product-badge.burgundy {
    background: var(--burgundy);
    color: var(--white);
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--burgundy);
}

.product-availability {
    font-size: 12px;
    color: var(--ink-muted);
}

/* Value Props */
.value-props {
    background: var(--burgundy);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 56px 32px;
}

@media (min-width: 1024px) {
    .value-props {
        grid-template-columns: repeat(4, 1fr);
        padding: 56px 64px;
    }
}

.prop {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.prop h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.prop p {
    font-size: 12px;
    color: var(--blush);
}

/* Testimonials */
.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.testimonials h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    text-align: center;
}

/* Icon utilities and payment icons layout */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}
.icon svg { width:100%; height:100%; }

.payment-icons {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.payment-icons .payment-icon {
    width: 42px;
    height: 28px;
    display: inline-block;
    background: #fff;
    border-radius: 4px;
    padding: 2px 3px;
    overflow: hidden;
}

.payment-icons .payment-icon use {
    width: 100%;
    height: 100%;
}


/* ----------------------------
   Custom header nav: hover pill
   and dropdown styles
   - Put customizations here to keep them together
   - Uses visibility/opacity/transform for smooth animations
----------------------------- */

/* Top-level nav layout tweaks */
.main-nav .nav-list {
    display: flex;
    gap: 20px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .nav-item {
    position: relative;
}

/* Pill hover effect on top-level links */
.main-nav .nav-link {
    position: relative;
    padding: 8px 12px;
    border-radius: 8px; /* 8px per requirement */
    color: var(--burgundy);
    transition: color 200ms ease-in-out;
    text-decoration: none;
    display: inline-block;
}

/* Background pill using an ::after to avoid layout shift */
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    left: 0;
    top: 0;
    border-radius: 8px;
    background: #5b2e1c; /* requested color */
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: -1; /* sit behind the text */
}

/* Hover/focus/pill visible without layout shift */
.main-nav .nav-item:hover .nav-link::after,
.main-nav .nav-item:focus-within .nav-link::after,
.main-nav .nav-link:focus::after {
    opacity: 1;
    transform: scale(1);
}

.main-nav .nav-item:hover .nav-link,
.main-nav .nav-item:focus-within .nav-link,
.main-nav .nav-link:focus {
    color: #ffffff; /* white text on pill */
}

/* Dropdown card */
.main-nav .dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 12px);
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px; /* requested */
    box-shadow: 0 8px 24px rgba(16, 16, 16, 0.08);
    padding: 12px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    z-index: 60;
}

.main-nav .nav-item.has-dropdown:focus-within .dropdown,
.main-nav .nav-item.has-dropdown:hover .dropdown,
.main-nav .nav-item.has-dropdown.open .dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.main-nav .dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.main-nav .dropdown-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    transition: background 140ms ease, color 140ms ease;
}

.main-nav .dropdown-link:hover,
.main-nav .dropdown-link:focus {
    background: rgba(91,46,28,0.06); /* light tint */
}

/* Responsive: ensure dropdowns are full-width in small viewports if needed */
@media (max-width: 768px) {
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .main-nav .dropdown {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        padding-left: 8px;
        padding-right: 8px;
        display: none; /* will be toggled via JS to avoid interfering with existing mobile drawer */
    }
    .main-nav .nav-item.open .dropdown {
        display: block;
    }
}

/* Ensure animations use visibility not display for smooth effect */


@media (min-width: 1024px) {
    .testimonials h2 {
        font-size: 48px;
    }
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
}

@media (min-width: 640px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial span:first-child {
    color: var(--gold);
    font-size: 14px;
}

.testimonial p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.6;
}

.testimonial span:last-child {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
}

/* Newsletter */
.newsletter {
    background: var(--blush);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.newsletter h2 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--burgundy);
}

@media (min-width: 1024px) {
    .newsletter h2 {
        font-size: 32px;
    }
}

.newsletter p {
    font-size: 14px;
    color: var(--ink-muted);
    max-width: 480px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 480px;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-form input {
    flex: 1;
    padding: 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-form button {
    white-space: nowrap;
}

/* ── Cart Drawer ──────────────────────────────────────────────────────────── */
.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
}

.cart-drawer.open {
    pointer-events: auto;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-drawer.open .cart-overlay {
    opacity: 1;
}

/* The sliding panel — scoped inside .cart-drawer so it never conflicts with .cart-page */
.cart-drawer .cart-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

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

/* Header row */
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.cart-header h2 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--burgundy);
    margin: 0;
}

.close-cart {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: var(--ink-muted);
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    background: transparent;
    border: none;
    flex-shrink: 0;
}

.close-cart:hover {
    background: var(--blush-light);
    color: var(--ink);
}

/* Scrollable item list */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.empty-cart {
    text-align: center;
    color: var(--ink-muted);
    font-size: 14px;
    padding: 48px 0;
    margin: 0;
}

/* Each line item */
.cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

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

.cart-item-image {
    width: 72px;
    height: 88px;
    background: var(--blush-light);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--ink-muted);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin: 0;
    /* truncate long titles */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-variant {
    font-size: 12px;
    color: var(--ink-muted);
    margin: 0;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--burgundy);
    margin: 2px 0 6px;
}

/* Quantity stepper */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--blush-light);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    border: 1px solid var(--border-subtle);
}

.cart-item-quantity button {
    width: 32px;
    height: 30px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity button:hover {
    background: var(--blush);
}

.cart-item-quantity span {
    min-width: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding: 0 4px;
}

/* Footer: totals + checkout */
.cart-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.cart-total span:last-child {
    color: var(--burgundy);
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Product Page */
.product-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .product-page {
        grid-template-columns: 1fr 1fr;
        padding: 80px 64px;
    }
}

.product-gallery {
    display: grid;
    gap: 16px;
}

.product-gallery img {
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--blush-light);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-info h1 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
}

@media (min-width: 1024px) {
    .product-info h1 {
        font-size: 48px;
    }
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
}

.product-description {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.hair-quality-info {
    background: var(--blush-light);
    padding: 16px;
    border-radius: 8px;
}

.hair-quality-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 8px;
}

.hair-quality-info .quality-option {
    display: flex;
    align-items: start;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: 4px;
}

.quality-option span:first-child {
    font-weight: 600;
}

.quality-option .gold {
    color: var(--gold);
}

.quality-option .burgundy {
    color: var(--burgundy);
}

.variant-selector {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.variant-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.variant-option label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
}

.variant-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-button {
    padding: 8px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    background: var(--white);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: all 0.2s;
}

.variant-button:hover {
    border-color: var(--burgundy);
}

.variant-button.selected {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.variant-button.selected.gold {
    background: var(--gold);
    border-color: var(--gold);
}

.add-to-cart {
    width: 100%;
}

/* Collection Page */
.collection-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 32px;
}

@media (min-width: 1024px) {
    .collection-page {
        padding: 80px 64px;
    }
}

.collection-header {
    margin-bottom: 40px;
}

.collection-header h1 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 8px;
}

@media (min-width: 1024px) {
    .collection-header h1 {
        font-size: 48px;
    }
}

.collection-description {
    font-size: 14px;
    color: var(--ink-muted);
    max-width: 640px;
}

/* Cart Page */
.cart-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 56px 32px;
}

@media (min-width: 1024px) {
    .cart-page {
        padding: 80px 64px;
    }
}

.cart-page h1 {
    font-family: Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 40px;
}

/* Cart page two-column layout — scoped so it doesn't leak into the drawer */
.cart-page .cart-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .cart-page .cart-content {
        grid-template-columns: 1fr 400px;
    }
}

.cart-items-section {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
}

.cart-summary {
    position: sticky;
    top: 100px;
}

.cart-summary-inner {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
}

.cart-summary-inner h2 {
    font-family: Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    margin-top: 16px;
}

.checkout-btn {
    width: 100%;
    margin-top: 24px;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--burgundy);
    text-decoration: underline;
}

/* Estimate Shipping */
.estimate-shipping {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
    margin-bottom: 24px;
}

.estimate-shipping h3 {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
}

.form-select,
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: var(--cream, #faf8f5);
    font-size: 16px;
    color: var(--ink);
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--burgundy);
    background: var(--white);
}

.form-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f0eeeb;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b2e1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    margin-top: 8px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Shipping Rates Display */
.shipping-rates {
    margin-top: 20px;
    padding: 16px;
    background: rgba(46, 125, 50, 0.06);
    border-radius: 8px;
}

.shipping-rates-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #2e7d32;
    font-weight: 500;
    font-size: 15px;
}

.shipping-rates-success svg {
    flex-shrink: 0;
}

#shipping-rates-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-rate-item {
    padding: 0;
    background: var(--white);
    border-radius: 10px;
    border: 1.5px solid var(--border-subtle);
    transition: border-color 0.2s, background 0.2s;
}

.shipping-rate-item.selected {
    border-color: #1e6bff;
    background: rgba(30, 107, 255, 0.05);
}

.shipping-rate-label {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.shipping-rate-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-subtle);
    border-radius: 50%;
    outline: none;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.15s;
}

.shipping-rate-radio:checked {
    border-color: #1e6bff;
}

.shipping-rate-radio:checked::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #1e6bff;
}

.rate-info {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rate-info strong {
    color: var(--ink);
    font-size: 15px;
}

.rate-cost {
    font-weight: 700;
    color: var(--burgundy);
    font-size: 15px;
    flex-shrink: 0;
    white-space: nowrap;
    margin-top: 2px;
}

.rate-desc {
    margin: 0;
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.shipping-error {
    margin-top: 16px;
    padding: 12px 14px;
    background: rgba(211, 47, 47, 0.08);
    color: #c62828;
    border-radius: 6px;
    font-size: 14px;
}

/* ==== SOLD OUT & Product Card Action Buttons ==== */
.product-badge--soldout {
    background: #111 !important;
    color: #fff !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 11px;
    padding: 4px 10px;
}

.product-availability-note {
    margin: 12px 0 0;
    padding: 10px 14px;
    font-size: 13px;
    background: #fdf1e7;
    color: #8a3e0e;
    border-radius: 8px;
    line-height: 1.5;
}

.sold-out-btn {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #111 !important;
    letter-spacing: 0.3px;
}

.sold-out-btn:hover {
    background: #000 !important;
    border-color: #000 !important;
}

.sold-out-text {
    color: #b71c1c;
    font-weight: 600;
}

.in-stock {
    color: #2e7d32;
    font-weight: 500;
}

.multi-option {
    color: #5b2e1c;
    font-weight: 500;
}

/* Product card wrapper used on collection + home to add a button below the card link */
.product-card-wrapper {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border: 1px solid rgba(91, 46, 28, 0.08);
}

.product-card-wrapper:hover {
    box-shadow: 0 12px 30px rgba(91, 46, 28, 0.10);
    transform: translateY(-2px);
}

.product-card-wrapper .product-card {
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: transparent;
}

.product-card-actions {
    padding: 12px 16px 16px;
}

.card-availability {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.btn-block {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.card-add-btn,
.card-soldout-btn,
.card-select-options {
    padding: 10px 14px !important;
    font-size: 13px !important;
    letter-spacing: 0.4px;
    border-radius: 8px !important;
}

.card-select-options {
    text-decoration: none;
}

.card-add-btn.added {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #fff !important;
}

/* ==== Product Page: Quantity Row + Incrementor ==== */
.product-quantity-row {
    margin: 18px 0 10px;
    display: flex;
    justify-content: flex-start;
}

.product-incrementor {
    display: inline-flex;
    align-items: center;
    background: var(--cream, #faf8f5);
    border: 1px solid var(--border-subtle, #e6e0d8);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--ink, #24150d);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: rgba(91, 46, 28, 0.08);
}

#qty-input {
    width: 56px;
    height: 42px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink, #24150d);
    -moz-appearance: textfield;
}

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

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.product-actions .btn {
    padding: 14px 20px;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.add-to-cart.added {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
}

/* ==== Custom Order Page ==== */
.custom-order-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.custom-order-hero {
    margin-bottom: 40px;
    text-align: left;
}

.custom-order-hero h1 {
    font-family: Georgia, serif;
    font-size: 40px;
    color: #24150d;
    margin: 12px 0 10px;
    line-height: 1.1;
}

.custom-order-hero .page-sub {
    font-size: 16px;
    color: #5a4a3d;
    line-height: 1.65;
    max-width: 720px;
}

.back-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #5b2e1c;
    text-decoration: none;
    margin-bottom: 10px;
}

.back-link:hover {
    text-decoration: underline;
}

.custom-order-grid {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .custom-order-grid {
        grid-template-columns: 1fr;
    }
}

.custom-order-summary {
    position: sticky;
    top: 24px;
    background: var(--cream, #faf8f5);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid rgba(91, 46, 28, 0.10);
}

.custom-order-summary h2 {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #5b2e1c;
    margin: 0 0 14px;
}

.requested-product {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(91, 46, 28, 0.08);
}

.requested-title {
    font-size: 17px;
    font-weight: 700;
    color: #24150d;
    margin: 0 0 6px;
}

.requested-variant {
    font-size: 13px;
    color: #5a4a3d;
    margin: 0 0 8px;
}

.summary-price {
    font-size: 18px;
    font-weight: 700;
    color: #5b2e1c;
    margin: 6px 0 10px;
}

.requested-status {
    margin: 10px 0;
}

.requested-note {
    font-size: 13px;
    line-height: 1.6;
    color: #5a4a3d;
    margin: 10px 0;
}

.requested-link {
    display: inline-block;
    margin-top: 6px;
    color: #5b2e1c;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.requested-link:hover {
    text-decoration: underline;
}

.summary-notes {
    padding: 16px 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(91, 46, 28, 0.08);
}

.summary-notes p {
    margin: 0 0 10px;
    font-weight: 600;
    color: #24150d;
}

.summary-notes ol {
    margin: 0;
    padding-left: 18px;
    color: #5a4a3d;
    font-size: 13.5px;
    line-height: 1.7;
}

.summary-notes li {
    margin-bottom: 6px;
}

/* ==== Forms on Custom Order ==== */
.custom-order-form {
    background: #fff;
    border-radius: 14px;
    padding: 28px 28px 32px;
    border: 1px solid rgba(91, 46, 28, 0.08);
}

.form-section {
    border: none;
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-bottom: 1px solid rgba(91, 46, 28, 0.08);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.form-section legend {
    font-family: Georgia, serif;
    font-size: 20px;
    color: #5b2e1c;
    padding: 0;
    margin-bottom: 16px;
    font-weight: 700;
}

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

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

@media (max-width: 640px) {
    .form-row--two {
        grid-template-columns: 1fr;
    }
}

.req {
    color: #b71c1c;
    margin-left: 2px;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-actions {
    margin-top: 28px;
}

.btn-large {
    padding: 16px 22px !important;
    font-size: 15px !important;
    letter-spacing: 0.5px;
}

.form-status {
    display: none;
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.form-status.is-success {
    background: rgba(46, 125, 50, 0.10);
    color: #1b5e20;
    border: 1px solid rgba(46, 125, 50, 0.30);
}

.form-status.is-error {
    background: rgba(211, 47, 47, 0.08);
    color: #b71c1c;
    border: 1px solid rgba(211, 47, 47, 0.30);
}

.form-status .status-main {
    margin: 0 0 8px;
    font-weight: 600;
    font-size: 15px;
}

.form-status .status-ref {
    margin: 4px 0;
    font-size: 13px;
    opacity: 0.9;
}

.form-status .status-action {
    margin: 12px 0 0;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(46, 125, 50, 0.30);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.form-status .status-note {
    margin: 8px 0 0;
    font-size: 13px;
    opacity: 0.9;
    font-style: italic;
}

.form-status .invoice-link {
    color: #2e7d32;
    text-decoration: none;
    border-bottom: 1px solid rgba(46, 125, 50, 0.4);
    padding-bottom: 1px;
    transition: all 0.15s ease;
}

.form-status .invoice-link:hover {
    color: #1b5e20;
    border-bottom-color: #1b5e20;
}

.no-product-selected {
    margin: 0;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    color: #5a4a3d;
    border: 1px dashed rgba(91, 46, 28, 0.25);
    margin-bottom: 20px;
}


/* ══════════════════════════════════════════════════════════════════════════
   Search Modal
   ══════════════════════════════════════════════════════════════════════════ */

/* Full-screen overlay — hidden by default */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.search-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

/* Dim background */
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 4, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Floating panel */
.search-panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(10, 6, 4, 0.20);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform 0.22s ease;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}

.search-modal.is-open .search-panel {
  transform: translateY(0);
}

/* ── Input row ──────────────────────────────────────────────────────────── */
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.search-icon {
  color: var(--ink-muted);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  line-height: 1.4;
  /* remove browser's built-in "×" clear button */
}
.search-input::-webkit-search-cancel-button { display: none; }
.search-input::placeholder { color: var(--ink-muted); }

.search-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-muted);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  cursor: pointer;
  background: transparent;
  border: none;
}
.search-close-btn:hover {
  background: var(--blush-light);
  color: var(--ink);
}

/* ── Status line ────────────────────────────────────────────────────────── */
.search-status {
  padding: 10px 20px 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.3px;
  min-height: 28px;
  flex-shrink: 0;
}

/* ── Results list ───────────────────────────────────────────────────────── */
.search-results {
  overflow-y: auto;
  padding: 8px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Individual result card */
.search-result-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
  outline: none;
}

.search-result-card:hover,
.search-result-card.is-active {
  background: var(--blush-light);
}

/* Thumbnail */
.search-result-img {
  width: 56px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--blush-light);
  flex-shrink: 0;
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--ink-muted);
}

/* Text block */
.search-result-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.search-result-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #111;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Keyboard shortcut hint shown in search button tooltip ─────────────── */
.search-btn[title] {
  position: relative;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .search-modal {
    padding: 60px 8px 16px;
    align-items: flex-start;
  }
  .search-panel {
    border-radius: 12px;
    max-height: calc(100vh - 80px);
  }
  .search-input {
    font-size: 16px; /* prevents iOS zoom */
  }
}


/* ══════════════════════════════════════════════════════════════════════════
   Shipping & Returns — Policy Page
   ══════════════════════════════════════════════════════════════════════════ */

.policy-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.policy-hero {
    margin-bottom: 48px;
}

.policy-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--burgundy);
    margin: 12px 0 10px;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .policy-hero h1 { font-size: 48px; }
}

.policy-sub {
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 640px;
    margin-top: 8px;
}

/* ── Quick summary cards ────────────────────────────────────────────────── */
.policy-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 56px;
}

@media (min-width: 640px) {
    .policy-summary-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.policy-summary-card {
    background: var(--blush-light);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-summary-icon {
    font-size: 28px;
    line-height: 1;
}

.policy-summary-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.policy-summary-card p {
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── Section wrapper ────────────────────────────────────────────────────── */
.policy-section {
    margin-bottom: 56px;
    padding: 0;
}

.policy-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--burgundy);
}

.policy-flag {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.policy-section-header h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--burgundy);
    margin: 0;
}

/* ── Policy items (definition list) ────────────────────────────────────── */
.policy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.policy-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.policy-item:last-child {
    border-bottom: none;
}

@media (min-width: 640px) {
    .policy-item {
        grid-template-columns: 220px 1fr;
        gap: 24px;
        align-items: start;
    }
}

/* Highlight items — e.g. shipping timelines */
.policy-item--highlight {
    background: var(--blush-light);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-subtle);
    margin: 8px 0;
}

.policy-item--highlight:last-child {
    border: 1px solid var(--border-subtle);
}

/* Warning item — customs notice */
.policy-item--warning {
    background: #fff8f0;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #f0d9c0;
    margin: 8px 0;
}

.policy-item--warning:last-child {
    border: 1px solid #f0d9c0;
}

.policy-item--warning dt {
    color: #8a4a00;
}

.policy-item--warning svg {
    stroke: #8a4a00;
}

/* Label (dt) */
.policy-item dt {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}

/* Value (dd) */
.policy-item dd {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.7;
    margin: 0;
}

.policy-item dd strong {
    color: var(--ink);
    font-weight: 600;
}

/* Inline icon inside dt */
.policy-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--burgundy);
}

/* ── Contact CTA ────────────────────────────────────────────────────────── */
.policy-contact {
    margin-top: 64px;
    padding: 40px 32px;
    background: var(--blush-light);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.policy-contact p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: var(--burgundy);
    margin: 0;
}

/* ── Custom Units & Liability — warning section header ──────────────────── */
.policy-section-header--warning {
    border-bottom-color: #c0651a;
}

.policy-section-header--warning h2 {
    color: #8a4a00;
}

.policy-section--liability .policy-item--warning {
    background: #fff8f0;
    border-color: #f0d9c0;
}

.policy-section--liability .policy-item--warning dt {
    color: #8a4a00;
}

.policy-section--liability .policy-item--warning svg {
    stroke: #c0651a;
}


/* ══════════════════════════════════════════════════════════════════════════
   Contact Page
   ══════════════════════════════════════════════════════════════════════════ */

.contact-page {
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 24px 96px;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.contact-hero {
    margin-bottom: 48px;
}

.contact-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--burgundy);
    margin: 12px 0 10px;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .contact-hero h1 { font-size: 48px; }
}

.contact-sub {
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 640px;
    margin-top: 8px;
}

/* ── Two-column layout ────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 72px;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 340px 1fr;
        gap: 48px;
    }
}

/* ── Contact info cards ───────────────────────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--blush-light);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

.contact-card:hover {
    box-shadow: 0 6px 20px rgba(122, 43, 63, 0.08);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--burgundy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-body {
    flex: 1;
    min-width: 0;
}

.contact-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
}

.contact-card-body p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0 0 10px;
}

.contact-card-body p:last-child {
    margin-bottom: 0;
}

.contact-card-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--burgundy);
    text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1px;
    transition: border-color 0.2s, color 0.2s;
}

.contact-card-link:hover {
    color: var(--burgundy-dark);
    border-color: var(--burgundy);
}

/* ── Contact form ─────────────────────────────────────────────────────── */
.contact-form-section {
    background: var(--white);
    border-radius: 14px;
    padding: 32px;
    border: 1px solid var(--border-subtle);
}

.contact-form-section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--burgundy);
    margin: 0 0 8px;
}

.contact-form-sub {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ── About strip ──────────────────────────────────────────────────────── */
.contact-about {
    background: var(--blush-light);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    padding: 48px 40px;
}

.contact-about-inner h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--burgundy);
    margin: 0 0 16px;
}

.contact-about-inner > p {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 0 14px;
}

.contact-about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px;
}

@media (min-width: 768px) {
    .contact-about-values {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-value {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-value-icon {
    color: var(--gold, #D4A854);
    font-size: 18px;
}

.contact-value h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.contact-value p {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .contact-form-section { padding: 20px; }
    .contact-about { padding: 32px 20px; }
    .contact-about-values { grid-template-columns: 1fr; }
}
