/* ===================================================
   DREAM DESIGN JEWELLERY — Universal Stylesheet v3.0
   Updated: Manual-confirm order flow, advanced search,
   breadcrumb fix, gender/gift filters
   =================================================== */

:root {
    --primary-black: #0a0a0a;
    --accent-gold: #C89F3C;
    --secondary-gold: #A37F2D;
    --gold-light: #f0e0b0;
    --white: #FFFFFF;
    --light-gray: #F7F7F5;
    --mid-gray: #F0EDE8;
    --tiffany-border: #E5E0D8;
    --text-muted: #888;
    --success-green: #2d6a4f;
    --base-font: 'Open Sans', sans-serif;
    --heading-font: 'Playfair Display', serif;
    --nav-height: 75px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--base-font);
    background-color: var(--white);
    color: var(--primary-black);
    margin: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, .luxury-heading {
    font-family: var(--heading-font);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--primary-black);
}

.section-title {
    font-family: var(--heading-font);
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    margin: 16px auto 0;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--primary-black);
    color: var(--gold-light);
    text-align: center;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 20px;
}
.announcement-bar a {
    color: var(--accent-gold);
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
.navbar-luxury {
    border-bottom: 1px solid var(--tiffany-border);
    padding: 0;
    background: white;
    height: var(--nav-height);
    z-index: 1000;
}
.navbar-luxury .container {
    height: 100%;
    display: flex;
    align-items: center;
}
/* .navbar-brand img sizing now in mobile-responsive section below */
.nav-link {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: var(--primary-black) !important;
    padding: 0 18px !important;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: color 0.25s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

/* Mega Menu */
.mega-menu {
    width: 100%;
    border: none;
    border-top: 2px solid var(--accent-gold);
    border-radius: 0;
    padding: 45px 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    left: 0 !important;
    top: var(--nav-height) !important;
}
.mega-menu h6 {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--accent-gold);
    font-family: var(--base-font);
}
.mega-menu a {
    display: block;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s, padding-left 0.2s;
}
.mega-menu a:hover {
    color: var(--primary-black);
    padding-left: 6px;
}

/* Nav Icons */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav-icons a {
    color: var(--primary-black);
    font-size: 15px;
    transition: color 0.2s;
    text-decoration: none;
    position: relative;
}
.nav-icons a:hover { color: var(--accent-gold); }
.nav-icons .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-gold);
    color: white;
    font-size: 9px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== SEARCH OVERLAY — Advanced ===== */
#searchOverlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.97);
    z-index: 2000;
    transition: top 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    overflow-y: auto;
}
#searchOverlay.active { top: 0; }

.search-overlay-label {
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.search-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--accent-gold);
    color: white;
    font-size: 2rem;
    width: 60%;
    max-width: 700px;
    text-align: center;
    font-family: var(--heading-font);
    padding-bottom: 12px;
    outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.2); }
.search-hint {
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 20px;
    text-transform: uppercase;
}

/* Search Filter Panels */
.search-filters {
    width: 60%;
    max-width: 700px;
    margin-top: 40px;
}
.search-filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    align-items: center;
}
.search-filter-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    font-family: var(--base-font);
    width: 80px;
    flex-shrink: 0;
}
.search-filter-chip {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--base-font);
    font-weight: 600;
    transition: all 0.2s;
}
.search-filter-chip:hover,
.search-filter-chip.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}
.search-filter-select {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    font-family: var(--base-font);
    outline: none;
    cursor: pointer;
}
.search-filter-select option { background: #1a1a1a; color: white; }

.search-price-range {
    display: flex;
    gap: 8px;
    align-items: center;
}
.search-price-input {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    width: 100px;
    font-family: var(--base-font);
    outline: none;
}
.search-price-input::placeholder { color: rgba(255,255,255,0.3); }

.search-results-preview {
    width: 60%;
    max-width: 700px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    padding-bottom: 40px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    cursor: pointer;
    transition: opacity 0.2s;
    text-decoration: none;
}
.search-result-item:hover { opacity: 0.75; }
.search-result-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.search-result-name {
    font-size: 13px;
    color: white;
    font-family: var(--heading-font);
    flex: 1;
}
.search-result-price {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 700;
    font-family: var(--base-font);
}

/* ===== MOBILE MENU ===== */
.offcanvas-header .luxury-heading {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ===== HERO SWIPER ===== */
.hero-swiper {
    width: 100%;
    height: 88vh;
    max-height: 780px;
}
.swiper-slide {
    position: relative;
    background-color: var(--mid-gray);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.95) 35%, rgba(255,255,255,0.1) 80%);
    z-index: 1;
}
.slide-content {
    padding-left: 10%;
    z-index: 10;
    max-width: 560px;
    position: relative;
}
.slide-eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 18px;
    font-weight: 600;
}
.slide-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
    line-height: 1.15;
}
.slide-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 32px;
    max-width: 380px;
}
.slide-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 58%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Buttons */
.btn-dark-luxury {
    background: var(--primary-black);
    color: white;
    border: 1px solid var(--primary-black);
    padding: 14px 40px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
}
.btn-dark-luxury:hover { background: transparent; color: var(--primary-black); }

.btn-outline-luxury {
    background: transparent;
    color: var(--primary-black);
    border: 1px solid var(--primary-black);
    padding: 14px 40px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 600;
}
.btn-outline-luxury:hover { background: var(--primary-black); color: white; }

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-black);
    width: 44px;
    height: 44px;
    background: white;
    border: 1px solid var(--tiffany-border);
    border-radius: 0;
    transition: all 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 13px; font-weight: 900; }
.swiper-pagination-bullet-active { background: var(--accent-gold) !important; }

/* ===== TRUST BAR ===== */
.trust-bar {
    border-top: 1px solid var(--tiffany-border);
    border-bottom: 1px solid var(--tiffany-border);
    padding: 28px 0;
    background: var(--light-gray);
}
.trust-item { text-align: center; }
.trust-item i { font-size: 20px; color: var(--accent-gold); display: block; margin-bottom: 8px; }
.trust-item span { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: var(--primary-black); display: block; }
.trust-item small { font-size: 11px; color: var(--text-muted); }

/* ===== CATEGORY CARDS ===== */
.category-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 480px;
    display: block;
    text-decoration: none;
}
.category-card img {
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    z-index: 2;
}
.category-overlay h3 { color: white; font-size: 1.6rem; margin-bottom: 4px; }
.category-overlay p { color: rgba(255,255,255,0.75); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.category-overlay .cat-arrow {
    position: absolute; right: 30px; bottom: 30px;
    color: white; opacity: 0; transform: translateX(-8px); transition: all 0.3s;
}
.category-card:hover img { transform: scale(1.07); }
.category-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ===== PRODUCT CARDS ===== */
.product-card { display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.img-wrapper {
    background-color: var(--light-gray);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .img-wrapper img { transform: scale(1.08); }
.img-wrapper .product-quick-actions {
    position: absolute;
    bottom: -50px; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    padding: 12px;
    text-align: center;
    transition: bottom 0.3s ease;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid var(--tiffany-border);
}
.product-card:hover .img-wrapper .product-quick-actions { bottom: 0; }

.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary-black);
    color: white; font-size: 9px; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 4px 10px; z-index: 2; font-weight: 600;
}
.product-badge.gold-badge { background: var(--accent-gold); }
.product-badge.gift-badge { background: #8b2fc9; }

.product-info {
    padding: 16px 0 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-info h6 { font-family: var(--heading-font); font-weight: 400; font-size: 0.95rem; margin-bottom: 6px; line-height: 1.3; }
.product-price { font-size: 0.82rem; font-weight: 700; color: var(--secondary-gold); margin-bottom: 14px; letter-spacing: 0.5px; }
.product-gender-tag {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
    border-radius: 0;
    padding: 11px 16px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border: 1px solid var(--accent-gold);
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--base-font);
    margin-top: auto;
}
.btn-gold:hover { background-color: transparent; color: var(--accent-gold); }

/* ===== FILTER SIDEBAR (product-list) ===== */
.filter-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--primary-black);
    border-bottom: 1px solid var(--tiffany-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-family: var(--base-font);
}
.filter-item {
    font-size: 13px;
    margin-bottom: 10px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s;
}
.filter-item:hover { color: var(--primary-black); }
.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
    accent-color: var(--accent-gold);
    width: 14px; height: 14px; cursor: pointer;
}

/* Gender toggle filters */
.gender-filter-group {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
}
.gender-btn {
    flex: 1;
    border: 1px solid var(--tiffany-border);
    background: white;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    font-family: var(--base-font);
    color: #666;
    transition: all 0.2s;
}
.gender-btn:first-child { border-right: none; }
.gender-btn.active,
.gender-btn:hover { background: var(--primary-black); color: white; border-color: var(--primary-black); }

/* Gift toggle */
.gift-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    padding: 8px 0;
}
.gift-toggle-label input { accent-color: #8b2fc9; width: 14px; height: 14px; cursor: pointer; }

/* ===== PAGE HEADER + BREADCRUMB FIX ===== */
.page-header {
    background: var(--mid-gray);
    border-bottom: 1px solid var(--tiffany-border);
    padding: 40px 0 32px;
    text-align: center;
}
.page-header h1 {
    font-size: 1.7rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

/* Breadcrumb — fixed: proper display, no overlap, correct separator */
nav[aria-label="Breadcrumb"] {
    display: flex;
    justify-content: center;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    line-height: 1;
}
.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    font-family: var(--base-font);
    font-weight: 600;
}
.breadcrumb-item a:hover { color: var(--accent-gold); }

/* Override Bootstrap's ::before to avoid double separators */
.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "–";
    color: var(--text-muted);
    font-size: 10px;
    padding: 0 10px;
    font-weight: 400;
    display: inline-block;
}
.breadcrumb-item.active {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-black);
    font-weight: 600;
    font-family: var(--base-font);
}

/* ===== PRODUCT DETAIL ===== */
.product-detail-section { padding: 70px 0 80px; }
.product-swiper { width: 100%; height: 580px; background: var(--light-gray); }
.product-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; background-color: var(--light-gray); }
.product-swiper img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.4s ease; cursor: zoom-in; }
.product-swiper img:hover { transform: scale(1.04); }
.product-thumbs { margin-top: 14px; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.product-thumb { width: 76px; height: 76px; object-fit: cover; cursor: pointer; border: 1px solid var(--tiffany-border); transition: border-color 0.25s; flex-shrink: 0; background: var(--light-gray); }
.product-thumb.active, .product-thumb:hover { border-color: var(--accent-gold); }

.product-info h1 { font-size: 2.2rem; margin-bottom: 8px; line-height: 1.2; }
.product-price-display { font-size: 1.6rem; color: var(--secondary-gold); font-weight: 700; margin-bottom: 8px; font-family: var(--base-font); }
.product-price-note { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 24px; text-transform: uppercase; }
.product-description { font-size: 0.92rem; line-height: 1.9; color: #555; margin-bottom: 28px; border-bottom: 1px solid var(--tiffany-border); padding-bottom: 28px; }
.size-selector label { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 10px; display: block; }
.size-btn { width: 44px; height: 44px; border: 1px solid var(--tiffany-border); background: white; font-size: 12px; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; font-family: var(--base-font); }
.size-btn:hover, .size-btn.active { border-color: var(--primary-black); background: var(--primary-black); color: white; }

.product-details-box { background: var(--light-gray); padding: 24px; margin-bottom: 28px; }
.product-details-box h6 { font-size: 10px; text-transform: uppercase; letter-spacing: 2.5px; border-bottom: 1px solid var(--tiffany-border); padding-bottom: 12px; margin-bottom: 20px; color: var(--accent-gold); font-family: var(--base-font); font-weight: 700; }
.product-specs { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; align-items: start; }
.product-specs dt { font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--primary-black); font-size: 12px; white-space: nowrap; }
.product-specs dt i { color: var(--accent-gold); font-size: 13px; width: 16px; }
.product-specs dd { margin: 0; color: #666; font-size: 12px; line-height: 1.6; }

.sticky-cta { position: sticky; top: calc(var(--nav-height) + 20px); }
.cta-group { display: flex; gap: 12px; margin-bottom: 20px; }
.btn-wishlist { background: white; border: 1px solid var(--tiffany-border); padding: 14px; cursor: pointer; transition: all 0.3s; color: var(--primary-black); font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 52px; }
.btn-wishlist:hover { border-color: #e53e3e; color: #e53e3e; }
.delivery-notes { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.delivery-notes i { color: var(--accent-gold); }

/* ===== ORDER CONFIRMATION BANNER ===== */
.order-confirm-banner {
    background: var(--light-gray);
    border: 1px solid var(--tiffany-border);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.order-confirm-banner i {
    color: var(--accent-gold);
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.order-confirm-banner h5 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    font-family: var(--base-font);
}
.order-confirm-banner p {
    font-size: 12px;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* ===== ZOOM MODAL ===== */
.zoom-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; z-index: 3000; cursor: zoom-out; }
.zoom-modal.active { display: flex; }
.zoom-image { max-width: 90%; max-height: 90vh; object-fit: contain; }
.close-zoom { position: absolute; top: 20px; right: 25px; color: white; font-size: 2rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; line-height: 1; }
.close-zoom:hover { opacity: 1; }

/* ===== RELATED PRODUCTS ===== */
.related-products { padding: 70px 0; background: var(--light-gray); }

/* ===== CHECKOUT STEPS ===== */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 52px;
}
.step { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.step-num {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid var(--tiffany-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    color: var(--text-muted); background: white;
    transition: all 0.3s; font-family: var(--base-font);
}
.step.active .step-num { background: var(--accent-gold); border-color: var(--accent-gold); color: white; }
.step.done .step-num { background: var(--primary-black); border-color: var(--primary-black); color: white; }
.step-label { font-size: 9px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; color: var(--text-muted); font-family: var(--base-font); white-space: nowrap; }
.step.active .step-label { color: var(--accent-gold); }
.step.done .step-label { color: var(--primary-black); }
.step-connector { width: 80px; height: 1px; background: var(--tiffany-border); margin-bottom: 22px; flex-shrink: 0; }
.step-connector.done { background: var(--primary-black); }

/* ===== ORDER PLACED SUCCESS STATE ===== */
.order-placed-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
}
.order-placed-modal.active { display: flex; }
.order-placed-box {
    background: white;
    max-width: 520px;
    width: 92%;
    padding: 60px 48px;
    text-align: center;
}
.order-placed-icon {
    width: 80px; height: 80px;
    background: rgba(200, 159, 60, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px;
    font-size: 32px;
    color: var(--accent-gold);
}
.order-placed-box h2 { font-size: 1.5rem; margin-bottom: 12px; letter-spacing: 1px; }
.order-placed-box .order-message {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    border: 1px solid var(--tiffany-border);
    background: var(--light-gray);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}
.order-ref {
    font-family: var(--base-font);
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1rem;
    letter-spacing: 2px;
    display: block;
    margin: 16px 0;
}

/* ===== FOOTER ===== */
footer { background: #fff; border-top: 1px solid var(--tiffany-border); }
.footer-top { padding: 70px 0 50px; }
/* .footer-logo sizing now in mobile-responsive section */
.footer-tagline { font-size: 12px; color: var(--text-muted); line-height: 1.8; max-width: 260px; }
.footer-heading { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 22px; color: var(--accent-gold); font-family: var(--base-font); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: #666; text-decoration: none; transition: color 0.2s; letter-spacing: 0.3px; }
.footer-links a:hover { color: var(--primary-black); }
.social-icons { display: flex; gap: 16px; margin-top: 22px; }
.social-icons a { width: 38px; height: 38px; border: 1px solid var(--tiffany-border); display: flex; align-items: center; justify-content: center; color: var(--primary-black); text-decoration: none; font-size: 14px; transition: all 0.3s; }
.social-icons a:hover { border-color: var(--accent-gold); color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid var(--tiffany-border); padding: 20px 0; }
.footer-bottom p { font-size: 11px; color: var(--text-muted); letter-spacing: 0.5px; margin: 0; }

/* ── Agency credit ────────────────────────────────────────────
   Deliberately quiet: it is an attribution line, not a promo band.
   Sits below the legal row so it reads as a signature. */
.footer-credit {
    border-top: 1px solid var(--tiffany-border);
    padding: 14px 0 16px;
    background: #fbfaf8;
}
.footer-credit p {
    margin: 0;
    font-size: 11px;
    line-height: 1.7;
    color: #a9a396;
    letter-spacing: 0.3px;
    text-align: center;
}
.footer-credit a {
    color: #7d776d;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(200, 159, 60, .45);
    padding-bottom: 1px;
    transition: color .18s, border-color .18s;
}
.footer-credit a:hover {
    color: var(--accent-gold, #C89F3C);
    border-bottom-color: var(--accent-gold, #C89F3C);
}
.footer-credit-sep { margin: 0 7px; opacity: .5; }
@media (max-width: 575px) {
    .footer-credit-sep { display: none; }
    .footer-credit-desc { display: block; margin-top: 3px; font-size: 10.5px; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    background: var(--primary-black); color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; pointer-events: none;
    transition: opacity 0.3s, background 0.3s;
    z-index: 900; text-decoration: none; font-size: 14px;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--accent-gold); color: white; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--primary-black); padding: 60px 0; text-align: center; }
.newsletter-section h3 { color: var(--gold-light); font-size: 1.3rem; margin-bottom: 8px; letter-spacing: 2px; }
.newsletter-section p { color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 28px; }
.newsletter-form { display: flex; max-width: 420px; margin: 0 auto; gap: 0; }
.newsletter-input { flex: 1; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-right: none; color: white; padding: 14px 18px; font-size: 12px; outline: none; font-family: var(--base-font); letter-spacing: 0.5px; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-btn { background: var(--accent-gold); color: white; border: none; padding: 14px 24px; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; font-family: var(--base-font); font-weight: 600; transition: background 0.3s; white-space: nowrap; }
.newsletter-btn:hover { background: var(--secondary-gold); }

/* ===== FILTER CHIPS (mobile bottom sheet) ===== */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--tiffany-border);
    background: white;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--base-font);
    font-weight: 600;
}
.filter-chip.active, .filter-chip:hover { border-color: var(--primary-black); background: var(--primary-black); color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    :root { --nav-height: 64px; }
    .desktop-only { display: none !important; }
    .hero-swiper { height: 65vh; max-height: 600px; }
    .slide-bg-overlay { background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.8) 60%); }
    .slide-content { padding: 0 24px; text-align: center; max-width: 100%; width: 100%; }
    .slide-image { width: 100%; opacity: 0.25; }
    .slide-content p { max-width: 100%; }
    .category-card { height: 360px; }
    .product-swiper { height: 380px; }
    .sticky-cta { position: relative; top: auto; }
    .product-detail-section .row.g-5 { flex-direction: column-reverse; }
    .newsletter-form { max-width: 90%; }
    .swiper-button-next, .swiper-button-prev { display: none; }
    .search-input { width: 90%; }
    .search-filters, .search-results-preview { width: 90%; }
    .checkout-steps { gap: 0; }
    .step-connector { width: 40px; }
}

@media (max-width: 767px) {
    .related-products .row { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 10px; }
    .related-products .col-6 { flex: 0 0 72%; }
    .cta-group { flex-direction: column; }
    .btn-wishlist { width: 100%; height: 52px; }
    .order-placed-box { padding: 40px 24px; }
}

@media (max-width: 575px) {
    .newsletter-form { flex-direction: column; }
    .newsletter-input { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: none; }
    .step-label { display: none; }
    .step-connector { width: 24px; }
    .search-filter-row { flex-direction: column; align-items: flex-start; }
    .search-filter-label { width: auto; margin-bottom: 6px; }
}

/* ── Logo sizing — header & footer ─────────────────────────── */
.navbar-brand img {
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}
@media (max-width: 991px) {
    .navbar-brand img {
        height: 56px;
        max-width: 180px;
    }
}
@media (max-width: 575px) {
    .navbar-brand img {
        height: 44px;
        max-width: 140px;
    }
}

/* ── Footer logo ──────────────────────────────────────────────
   The asset is 300x96 (3.125:1). Size it by WIDTH and let height
   follow the aspect ratio — forcing a fixed height distorted it and
   fought the responsive layout. */
.footer-logo-link {
    display: inline-block;
    line-height: 0;          /* kills the inline-image descender gap */
    margin-bottom: 18px;
}
.footer-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;            /* preserves 300:96 exactly */
    object-fit: contain;
}
@media (max-width: 991px) {
    .footer-logo { width: 200px; }
}
@media (max-width: 575px) {
    .footer-logo { width: 180px; }
}

/* Footer contact email: word-break so long addresses wrap cleanly */
footer a[href^="mailto"] {
    word-break: break-all;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

/* Footer lists: no overflow on mobile */
.footer-section ul {
    overflow: hidden;
}
.footer-section li a {
    white-space: normal;
    word-break: break-word;
}

/* Cart qty stepper: touch-friendly size */
@media (max-width: 575px) {
    #main-content .d-flex.gap-4 {
        gap: 12px !important;
    }
    #main-content img[style*="width:100px"] {
        width: 72px !important;
        height: 72px !important;
    }
}
