.collection-row-section {
    background-color: var(--color-white);
    margin-bottom: 2.5rem;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(45, 122, 58, 0.06);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(45, 122, 58, 0.15);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.collection-row-section:hover {
    border-color: var(--color-primary);
}

.collection-row-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-bottom: 1px dashed rgba(45, 122, 58, 0.4);
    padding-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collection-row-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(45, 122, 58, 0.12), transparent 70%);
    pointer-events: none;
}

.collection-photo-wrapper {
    position: relative;
    height: 250px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    flex: 0 0 280px;
    /* fixed width for items to allow horizontal scrolling */
    scroll-snap-align: start;
    border: 2px solid rgba(45, 122, 58, 0.15);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.collection-photo-wrapper:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(45, 122, 58, 0.2);
    transform: translateY(-5px);
}

.collection-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-photo-wrapper:hover .collection-photo-img {
    transform: scale(1.08);
}

.collection-photo-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.5rem 1.5rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

.collection-photo-grid::-webkit-scrollbar {
    height: 6px;
}

.collection-photo-grid::-webkit-scrollbar-track {
    background: transparent;
}

.collection-photo-grid::-webkit-scrollbar-thumb {
    background-color: rgba(45, 122, 58, 0.2);
    border-radius: 10px;
}

.collection-photo-grid::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-primary);
}

.collection-see-more-card {
    flex: 0 0 280px;
    height: 250px;
    background-color: var(--color-primary-tint);
    border: 2px dashed rgba(45, 122, 58, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 18px;
    transition: all 0.4s ease;
    scroll-snap-align: start;
}

.collection-see-more-card:hover {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(45, 122, 58, 0.2);
}

.collection-see-more-card span {
    display: block;
    line-height: 1.3;
}

/* 12-Item Category Grid Styles — Spacious Luxury 4-Column Layout */
.category-grid-12 {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 28px !important;
    margin-top: 2.5rem !important;
}

@media (max-width: 1024px) {
    .category-grid-12 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
}





.category-card-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    border: 1px solid rgba(181, 146, 119, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.category-card-12:hover {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
    box-shadow: 0 20px 42px rgba(181, 146, 119, 0.2);
    border-color: #b59277;
}

.category-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f7f5f2;
    position: relative;
}

.category-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.28) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.category-card-12:hover .category-img-wrapper::after {
    opacity: 1;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card-12:hover .category-img-wrapper img {
    transform: scale(1.08);
}

.category-hover-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    color: #2d7a3a;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
    border: 1px solid rgba(45, 122, 58, 0.2);
}

.category-card-12:hover .category-hover-badge {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.category-title-12 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    color: #222222;
    margin-top: 14px;
    margin-bottom: 4px;
    transition: color 0.25s ease;
}

.category-card-12:hover .category-title-12 {
    color: #2d7a3a;
}


/* Option A: Wider container for Collections section */
.collections-container {
    max-width: 1600px !important;
}

/* TOUCH HORIZONTAL CAROUSEL FOR MOBILE VIEW */
.mobile-swipe-indicator {
    display: none;
}

@media (max-width: 768px) {
    .mobile-swipe-indicator {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #b59277 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        margin-top: -0.5rem !important;
        margin-bottom: 1.25rem !important;
    }

    .category-grid-12 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        overflow-x: scroll !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 1.25rem !important;
        margin-left: -1.25rem !important;
        margin-right: -1.25rem !important;
        width: calc(100% + 2.5rem) !important;
        max-width: calc(100% + 2.5rem) !important;
        scrollbar-width: none !important;
    }

    .category-grid-12::-webkit-scrollbar {
        display: none !important;
    }

    .category-card-12 {
        flex: 0 0 78% !important;
        width: 78% !important;
        min-width: 250px !important;
        max-width: 285px !important;
        scroll-snap-align: center !important;
        scroll-snap-stop: always !important;
        border-radius: 16px !important;
        padding: 12px !important;
        transform: none !important;
    }

    .category-card-12:hover {
        transform: none !important;
    }

    .category-card-12 .category-img-wrapper {
        height: 190px !important;
        width: 100% !important;
    }
}

/* --- ABOUT SECTION LAYOUT (RESPONSIVE) --- */
@media (min-width: 992px) {
    .about-grid {
        display: grid !important;
        grid-template-columns: 0.95fr 1.05fr !important;
        gap: 3.5rem !important;
        align-items: center !important;
    }

    .about-text-content {
        padding-right: 1.5rem !important;
        max-width: 100% !important;
    }
}

@media (max-width: 991px) {
    .about-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
        width: 100% !important;
    }

    .about-visual {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 1rem 0 !important;
        display: flex !important;
        justify-content: center !important;
    }

    .about-bracket-frame {
        width: 280px !important;
        height: 280px !important;
        margin: 0 auto !important;
    }

    .about-text-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        text-align: left !important;
    }

    .about-headline {
        font-size: 24px !important;
        line-height: 1.3 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }

    .about-story-text {
        font-size: 0.95rem !important;
        line-height: 1.65 !important;
    }

    .about-subheadline {
        font-size: 18px !important;
        margin-top: 1.5rem !important;
    }
}

/* --- NATIVE INLINE COMMITMENT STYLES --- */
.about-subheadline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2b2b2b;
    margin-top: 2rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.commitment-pillars-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    margin-top: 1.2rem;
    border-top: 1px dashed #dfdcd3;
}

.commitment-pillar-inline {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
}

.pillar-icon-inline {
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    color: #c5a059;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon-inline svg {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    display: block !important;
}

.pillar-title-inline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #2c2c2c;
    line-height: 1.35;
    text-transform: uppercase;
}

.commitment-pillar-divider-inline {
    width: 1px;
    height: 38px;
    background-color: #dfdcd3;
    align-self: center;
}

@media (max-width: 576px) {
    .commitment-pillars-inline {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 0.3rem !important;
        padding-top: 1rem !important;
        margin-top: 1rem !important;
    }

    .commitment-pillar-inline {
        flex: 1 !important;
        padding: 0 0.2rem !important;
    }

    .pillar-icon-inline svg {
        width: 26px !important;
        height: 26px !important;
    }

    .pillar-title-inline {
        font-size: 0.62rem !important;
        letter-spacing: 0.4px !important;
        line-height: 1.25 !important;
    }

    .commitment-pillar-divider-inline {
        display: block !important;
        height: 30px !important;
    }
}

/* --- MANUFACTURING TECH STATEMENT --- */
.mfg-tech-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.mfg-tech-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2b2b2b !important;
    line-height: 1.35;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.mfg-tech-divider {
    width: 45px;
    height: 2px;
    background-color: #c5a059 !important;
    margin: 0.4rem 0 1.2rem 0;
}

.mfg-tech-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #4a4a4a !important;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

.mfg-tech-desc strong {
    color: #111111 !important;
    font-weight: 600;
}

.mfg-tech-desc:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .mfg-tech-headline {
        font-size: 20px !important;
    }

    .mfg-tech-desc {
        font-size: 0.9rem !important;
    }
}

/* --- WHY CHOOSE US / PROMISE CARDS REFINEMENTS --- */
.promise-title {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1a3323 !important;
    margin-bottom: 0.3rem !important;
    text-transform: none !important;
}

.promise-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.88rem !important;
    color: #555555 !important;
    line-height: 1.6 !important;
}

/* Scroll Lock Helper to prevent background scrolling when Lightbox/Modals are open */
html.lightbox-open,
body.lightbox-open {
    overflow: hidden !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
}

.lightbox {
    overscroll-behavior: contain !important;
}

.lightbox-split-card {
    overscroll-behavior: contain !important;
}

/* ==========================================================================
   LUXURY PRODUCT LIGHTBOX GALLERY NAVIGATION
   ========================================================================== */
/* --- LUXURY SITE SEARCH OVERLAY --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.search-close-btn {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    font-size: 2.4rem;
    line-height: 1;
    color: #2b2b2b;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.25s ease, color 0.25s ease;
    z-index: 10001;
}

.search-close-btn:hover {
    color: #1a3323;
    transform: rotate(90deg) scale(1.1);
}

.search-container {
    width: 90%;
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10000;
}

.search-form {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #1a3323;
    padding-bottom: 0.8rem;
    position: relative;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #1a3323;
    padding-right: 1rem;
}

.search-input::placeholder {
    color: #999999;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
}

.search-submit-btn {
    background: none;
    border: none;
    color: #1a3323;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.search-submit-btn:hover {
    color: #c5a059;
    transform: scale(1.15);
}

.search-quick-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.search-tags-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #777777;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 0.3rem;
}

.search-tag-btn {
    background-color: #f3f0e8;
    border: 1px solid #e5e0d4;
    color: #2b2b2b;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.search-tag-btn:hover {
    background-color: #1a3323;
    border-color: #1a3323;
    color: #ffffff;
}

.search-results {
    margin-top: 1.5rem;
    max-height: 55vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-right: 0.5rem;
}

.search-results::-webkit-scrollbar {
    width: 5px;
}

.search-results::-webkit-scrollbar-thumb {
    background-color: #ddd9cf;
    border-radius: 4px;
}

.search-result-item {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #eae6dc;
    border-left: 3px solid #1a3323;
    border-radius: 6px;
    padding: 0.85rem 1.2rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-result-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #c5a059;
}

.search-result-type {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c5a059;
    margin-bottom: 0.2rem;
}

.search-result-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3323;
    margin-bottom: 0.15rem;
}

.search-result-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #666666;
    line-height: 1.4;
}

.search-no-results {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #777777;
    padding: 2rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .search-overlay {
        padding-top: 10vh;
    }

    .search-close-btn {
        top: 1rem;
        right: 1.2rem;
        font-size: 2rem;
    }

    .search-input {
        font-size: 1.25rem;
    }

/* ==========================================================================
   INSIDE MODAL CARD POPUP NAVIGATION BUTTONS & CONTROLS
   ========================================================================== */
.lightbox-img-counter {
    display: none !important;
}

.lightbox.open .lightbox-nav-btn,
.lightbox.open #lightbox-prev,
.lightbox.open #lightbox-next {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.lightbox-nav-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(18, 26, 20, 0.92) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid #C9973B !important;
    color: #ffffff !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 99999 !important;
    padding: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 16px rgba(201, 151, 59, 0.45) !important;
    outline: none !important;
}

.lightbox-nav-btn svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    stroke: #ffffff !important;
    stroke-width: 2.5 !important;
    pointer-events: none !important;
    transition: transform 0.2s ease, stroke 0.2s ease !important;
}

.lightbox-nav-btn:hover {
    background: #C9973B !important;
    border-color: #f1c56b !important;
    color: #121814 !important;
    transform: translateY(-50%) scale(1.14) !important;
    box-shadow: 0 10px 30px rgba(201, 151, 59, 0.7) !important;
}

.lightbox-nav-btn:hover svg {
    stroke: #121814 !important;
}

.lightbox-prev {
    left: 14px !important;
}

.lightbox-prev:hover svg {
    transform: translateX(-2px) !important;
}

.lightbox-next {
    right: 14px !important;
}

.lightbox-next:hover svg {
    transform: translateX(2px) !important;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 40px !important;
        height: 40px !important;
    }
    .lightbox-prev {
        left: 8px !important;
    }
    .lightbox-next {
        right: 8px !important;
    }

    .gallery-card-img-wrap {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        background: #f4f6f4 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .gallery-card-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        border-radius: 12px 12px 0 0 !important;
    }
}