/* =============================================
   TIMELESS PROFESSIONAL BEAUTY
   Main Stylesheet
   ============================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Playfair+Display+SC:wght@400;700&display=swap');

/* Hide efreecode tracker widget */
[id^="eXF"],
a[href*="efreecode"],
img[src*="efreecode"],
:has(> a[href*="efreecode"]),
:has(> img[src*="efreecode"]) { display: none !important; }

/* Screen-reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Fonts */
@font-face {
    font-family: 'Madelyn';
    src: url('../fonts/Madelyn-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 17px;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #fff;
}

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */

.announcement-bar {
    background-color: #8B002F;
    color: #F6EBE7;
    text-align: center;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.announcement-bar p {
    margin: 0;
}

/* =============================================
   NAVIGATION
   ============================================= */

.main-nav {
    background-color: #FFFAF8;
    border-bottom: 1px solid #f0e8e2;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

/* --- Logo --- */
.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 94px;
    width: auto;
    display: block;
}

/* --- Nav Links --- */
.nav-hidden {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a3a3a;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8B002F;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: #8B002F;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

.chevron {
    font-size: 0.9rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(-3px);
}

/* --- Dropdowns --- */
.dropdown {
    list-style: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #f0e8e2;
    border-top: 2px solid #8B002F;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    transform: translateX(-50%) translateY(-6px);
    pointer-events: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown li a {
    display: block;
    padding: 11px 20px;
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #3a3a3a;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown li a:hover {
    background-color: #FAF0F3;
    color: #8B002F;
}

.dropdown li + li {
    border-top: 1px solid #f5ecea;
}

/* --- Nav Icons --- */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.nav-icon {
    color: #3a3a3a;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.nav-icon:hover {
    color: #8B002F;
}

/* --- Hamburger Button (hidden on desktop) --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #3a3a3a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Menu (hidden by default) --- */
.mobile-menu {
    display: none;
    background-color: #FFFAF8;
    border-top: 1px solid #f0e8e2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    max-height: 600px;
}

.mobile-links {
    list-style: none;
    padding: 8px 0 16px;
}

.mobile-links > li > a,
.mobile-dropdown-toggle {
    display: block;
    width: 100%;
    padding: 13px 24px;
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a3a3a;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-links > li > a:hover,
.mobile-dropdown-toggle:hover {
    color: #8B002F;
    background-color: #FAF0F3;
}

/* Mobile sub-dropdowns */
.mobile-dropdown {
    list-style: none;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.open {
    max-height: 400px;
}

.mobile-dropdown li a {
    display: block;
    padding: 10px 24px 10px 36px;
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #3a3a3a;
    text-decoration: none;
    border-top: 1px solid #f5ecea;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-dropdown li a:hover {
    color: #8B002F;
    background-color: #FAF0F3;
}

.mobile-has-dropdown .chevron {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.mobile-has-dropdown.open .chevron {
    transform: rotate(180deg);
}

/* =============================================
   RESPONSIVE — MOBILE NAV
   ============================================= */

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .nav-inner {
        height: 84px;
        padding: 0 20px;
    }

    .logo-img {
        height: 75px;
    }

    .slide-img {
        height: auto;
        max-height: none;
        object-fit: fill;
    }

}

/* =============================================
   HERO CAROUSEL
   ============================================= */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #c5e0ec;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Slide --- */
.carousel-slide {
    position: relative;
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.slide-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 673;
    object-fit: cover;
    object-position: center top;
}


/* --- Arrows --- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    color: #F6EBE7;
    transform: translateY(-50%) scale(1.2);
}

.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }

/* --- Dots --- */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 0.9);
}

/* --- Logo overlay --- */
.carousel-logo-overlay {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 20;
    pointer-events: none;
    max-width: 500px;
    height: auto;
}

/* --- Hero section wrapper (desktop only) --- */
.hero-section {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #c5e0ec;
}

@media (min-width: 769px) {
    .hero-section {
        display: block;
    }
}

/* --- Mobile hero (shown on small screens, hidden on desktop) --- */
.hero-mobile {
    display: block;
}

.hero-mobile-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 769px) {
    .hero-mobile {
        display: none;
    }
}

/* --- Hero banner overlay (shown on load, fades out to reveal carousel) --- */
.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    transition: opacity 1s ease;
}

.hero-banner.fade-out {
    opacity: 0;
    pointer-events: none;
}

.hero-banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* =============================================
   BRAND INTRODUCTION
   ============================================= */

.brand-intro {
    background-color: #FFF5F8;
    padding: 80px 32px;
    border-bottom: 1px solid #f0e8e2;
    scroll-margin-top: 100px;
}

.brand-intro-inner {
    max-width: 860px;
    margin: 0 auto;
}

.brand-intro-heading-text {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 48px;
}

.brand-intro-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.brand-intro-text p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.85;
    color: #4a4a4a;
    text-align: center;
}

@media (max-width: 768px) {
    .brand-intro {
        padding: 60px 24px;
    }
}

/* =============================================
   OUR COLLECTIONS
   ============================================= */

.collections-section {
    background-color: #FFF5F8;
    padding: 80px 32px;
    border-bottom: 1px solid #f0e8e2;
    scroll-margin-top: 100px;
}

.collections-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.collections-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 48px;
}

.collections-intro {
    max-width: 860px;
    margin: 0 auto 64px;
    text-align: center;
}

.collections-intro p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.85;
    color: #4a4a4a;
    margin-bottom: 24px;
}

.collections-intro p:last-child {
    margin-bottom: 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    gap: 32px;
    justify-content: center;
}

.collection-item {
    background-color: #FFF5F8;
    border: 1px solid #f0e8e2;
    border-radius: 4px;
    padding: 48px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.collection-item-logo {
    height: 80px;
    width: auto;
}

#collection-phoera .collection-item-logo {
    height: 48px;
    max-width: 80px;
    object-fit: contain;
    margin-bottom: 32px;
}

.collection-item-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
}

.collection-item-desc {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
}

@media (max-width: 900px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .collections-section {
        padding: 60px 24px;
    }
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PRODUCTS
   ============================================= */

.products-section {
    background-color: #FFF5F8;
    padding: 80px 32px;
    border-bottom: 1px solid #f0e8e2;
    scroll-margin-top: 100px;
}

.products-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.products-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 48px;
}

.products-intro {
    max-width: 860px;
    margin: -24px auto 48px;
    text-align: center;
}

.products-intro p {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 16px;
}

.products-intro p:last-child {
    margin-bottom: 0;
}

.about-details {
    margin-top: 48px;
    margin-bottom: 0;
}

.salon-hours {
    border-collapse: collapse;
    margin: 4px 0 20px;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: #4a4a4a;
}

.salon-hours td {
    padding: 5px 32px 5px 0;
    vertical-align: top;
}

.salon-hours td:first-child {
    font-weight: 600;
    color: #1a1a1a;
    min-width: 110px;
}

.product-range-content a {
    color: #8B002F;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-range-content a:hover {
    color: #660024;
}

.product-range-details {
    max-width: 860px;
    margin: 0 auto 48px;
    border-top: 1px solid #e8ddd8;
    border-bottom: 1px solid #e8ddd8;
    padding: 20px 0;
}

.product-range-summary {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #8B002F;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.product-range-summary::-webkit-details-marker {
    display: none;
}

.product-range-summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #8B002F;
    flex-shrink: 0;
    line-height: 1;
}

.product-range-details[open] .product-range-summary::after {
    content: '−';
}

.product-close-btn {
    display: block;
    margin-top: 28px;
    padding-top: 16px;
    border: none;
    border-top: 1px solid #e8ddd8;
    background: none;
    width: 100%;
    text-align: right;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #8B002F;
    cursor: pointer;
}

.product-range-content {
    padding-top: 28px;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.85;
    color: #4a4a4a;
}

.product-range-content > p {
    margin-bottom: 20px;
}

.product-range-subheading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #8B002F;
    margin: 28px 0 16px;
}

.product-range-list {
    padding-left: 1.4em;
    margin: 0 0 8px;
}

.product-range-list li {
    margin-bottom: 16px;
}

.product-range-list li strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.product-range-list li p {
    margin: 0;
}

.product-range-bullets {
    padding-left: 1.4em;
    margin: 0 0 20px;
}

.product-range-bullets li {
    margin-bottom: 8px;
}

.product-range-credit {
    margin-top: 24px;
    font-size: 0.82rem;
    color: #6a5e58;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card-details {
    max-width: none;
    margin: 0;
    padding: 16px 20px 20px;
    border-bottom: none;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.promo-banner {
    grid-column: 1 / -1;
    background-color: #F6EBE7;
    border: 1px solid #e8d5cc;
    border-radius: 4px;
    padding: 20px 28px;
    text-align: center;
}

.promo-banner p {
    margin: 0;
    font-size: 16px;
    color: #8B002F;
    font-weight: 500;
    line-height: 1.6;
}

.product-card {
    background-color: #fff;
    border: 1px solid #f0e8e2;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-img-wrap {
    overflow: hidden;
    background-color: #fff;
}

.product-img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
    cursor: zoom-in;
}

.product-img-wrap:hover .product-img {
    transform: scale(1.1);
}

.product-card > div[id^="product-component"] {
    padding: 16px 24px 24px;
    flex: 1;
}

@media (max-width: 968px) {
    .products-section {
        padding: 60px 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   CONTACT FORM
   ============================================= */

/* --- Why Sulphate-Free --- */
.sulphate-free-section {
    background-color: #FFF5F8;
    padding: 80px 32px;
    border-bottom: 1px solid #f0e8e2;
    scroll-margin-top: 100px;
}

.sulphate-free-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.sulphate-free-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 56px;
}

.sulphate-free-intro {
    max-width: 760px;
    margin: 0 0 48px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #4a4a4a;
    text-align: left;
}

.sulphate-free-intro h3 {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #8B002F;
    margin-bottom: 14px;
}

.sulphate-free-intro ul {
    padding-left: 1.4em;
    margin: 12px 0;
}

.sulphate-free-intro li {
    margin-bottom: 6px;
}

.sulphate-free-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.sulphate-free-block .benefit-icon {
    margin-bottom: 12px;
}

.sulphate-free-block h3 {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #8B002F;
    margin-bottom: 14px;
}

.sulphate-free-block p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.85;
    color: #4a4a4a;
}

@media (max-width: 768px) {
    .sulphate-free-section {
        padding: 60px 24px;
    }

    .sulphate-free-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* Science Behind Timeless */
.science-section {
    margin-top: 72px;
    padding-top: 64px;
    border-top: 1px solid #f0e8e2;
}

.science-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.science-intro {
    max-width: 780px;
    margin: 0 auto 64px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.science-intro p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.85;
    color: #4a4a4a;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.benefit-block {
    background-color: #FFF5F8;
    border: 1px solid #f0e8e2;
    border-radius: 4px;
    padding: 40px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.benefit-icon {
    color: #8B002F;
}

.benefit-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.benefit-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
}

.benefit-desc {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 0;
}

@media (max-width: 900px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.contact-section {
    background-color: #FFF5F8;
    padding: 80px 32px;
    border-bottom: 1px solid #f0e8e2;
    scroll-margin-top: 100px;
}

.contact-inner {
    max-width: 860px;
    margin: 0 auto;
}

.contact-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 16px;
}

.contact-social-line {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    color: #6a5e58;
    text-align: left;
    margin-bottom: 40px;
}

.contact-social-line a {
    color: #8B002F;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-social-icons {
    display: flex;
    gap: 16px;
    margin-top: -28px;
    margin-bottom: 40px;
}

.contact-social-link {
    color: #8B002F;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.contact-social-link:hover {
    color: #5a001e;
    transform: translateY(-2px);
}

.contact-hours {
    margin-bottom: 40px;
}

.contact-hours-heading {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #6a5e58;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
}

.contact-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-hours-list li {
    display: flex;
    gap: 16px;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    color: #6a5e58;
}

.contact-hours-list li span:first-child {
    width: 100px;
}

.contact-address {
    margin-bottom: 40px;
}

.contact-address-detail {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    color: #6a5e58;
    font-style: normal;
    line-height: 1.8;
}

.contact-social-line a:hover {
    color: #660024;
}

/* Honeypot — visually hidden, accessible to screen readers as off-screen */
.form-pot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form > .form-group {
    margin-bottom: 24px;
}

.form-group label {
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3a3a3a;
}

.field-note {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #9a8a84;
    font-size: 0.75rem;
}

.form-group input,
.form-group textarea {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: #3a3a3a;
    background-color: #FFFAF8;
    border: 1px solid #d8cdc8;
    border-radius: 3px;
    padding: 12px 14px;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8B002F;
    box-shadow: 0 0 0 3px rgba(139, 0, 47, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* Feedback message */
.form-feedback {
    margin-bottom: 24px;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.7;
    border-radius: 3px;
    padding: 0;
}

.form-feedback:empty {
    display: none;
}

.form-feedback--error {
    background-color: #fdf0f0;
    border: 1px solid #e8c0c0;
    color: #8B002F;
    padding: 14px 18px;
}

.form-feedback--success {
    background-color: #f0fdf4;
    border: 1px solid #b8dfc4;
    color: #1a6b38;
    padding: 14px 18px;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-submit {
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F6EBE7;
    background-color: #8B002F;
    border: 2px solid #8B002F;
    border-radius: 3px;
    padding: 13px 36px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-submit:hover {
    background-color: #6e0025;
    border-color: #6e0025;
}

.btn-clear {
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8B002F;
    background-color: transparent;
    border: 2px solid #8B002F;
    border-radius: 3px;
    padding: 13px 36px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-clear:hover {
    background-color: #8B002F;
    color: #F6EBE7;
}

@media (max-width: 968px) {
    .contact-section {
        padding: 60px 24px;
    }

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

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit,
    .btn-clear {
        text-align: center;
    }
}

/* =============================================
   THANK YOU PAGE
   ============================================= */

.ty-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ty-banner-img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
}

.ty-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
}

.ty-section {
    background-color: #FFF5F8;
    padding: 80px 32px;
}

.ty-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.ty-icon {
    margin-bottom: 24px;
}

.ty-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.ty-message {
    font-family: Arial, sans-serif;
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.75;
    margin-bottom: 8px;
}

.ty-sub {
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    color: #9a8a84;
    margin-bottom: 40px;
}

.ty-details {
    background-color: #fff;
    border: 1px solid #f0e8e2;
    border-radius: 6px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.ty-name {
    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.ty-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.ty-pill:hover {
    transform: translateY(-2px);
}

.ty-pill--phone {
    background-color: #8B002F;
    color: #F6EBE7;
    border: 2px solid #8B002F;
}

.ty-pill--phone:hover {
    background-color: #6e0025;
    border-color: #6e0025;
}

.ty-pill--email {
    background-color: transparent;
    color: #8B002F;
    border: 2px solid #8B002F;
}

.ty-pill--email:hover {
    background-color: #8B002F;
    color: #F6EBE7;
}

.ty-return {
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a3a3a;
    text-decoration: none;
    border-bottom: 2px solid #8B002F;
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.ty-return:hover {
    color: #8B002F;
}

@media (max-width: 968px) {
    .ty-banner-img {
        height: 220px;
    }

    .ty-section {
        padding: 60px 24px;
    }

    .ty-heading {
        font-size: 1.7rem;
    }

    .ty-details {
        padding: 24px;
    }
}

/* =============================================
   FAQ
   ============================================= */

.faq-section {
    background-color: #FFF5F8;
    padding: 80px 32px;
    border-bottom: 1px solid #f0e8e2;
    scroll-margin-top: 100px;
}

.faq-inner {
    max-width: 860px;
    margin: 0 auto;
}

.faq-heading {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 56px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e8ddd8;
}

.faq-item {
    border-bottom: 1px solid #e8ddd8;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    text-align: left;
}

.faq-question span:first-child {
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.faq-question:hover span:first-child,
.faq-question[aria-expanded="true"] span:first-child {
    color: #8B002F;
}

.faq-icon {
    font-family: Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: #8B002F;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.85;
    color: #4a4a4a;
    padding-bottom: 22px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 24px;
    }

    .faq-question span:first-child {
        font-size: 0.85rem;
    }
}

/* =============================================
   BACK TO TOP
   ============================================= */

.back-to-top {
    position: fixed;
    bottom: 36px;
    right: 36px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #8B002F;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
    z-index: 400;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #660024;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 42px;
        height: 42px;
    }
}

/* =============================================
   SEARCH
   ============================================= */

.search-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #3a3a3a;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.search-toggle:hover {
    color: #8B002F;
}

.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(20, 10, 8, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 500;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.search-overlay.open {
    display: flex;
}

.search-box {
    background-color: #FFFAF8;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 640px;
    margin: 0 24px;
    overflow: hidden;
}

.search-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #f0e8e2;
}

.search-input-icon {
    flex-shrink: 0;
    color: #9a8880;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    min-width: 0;
}

.search-input::placeholder {
    color: #b0a09a;
}

.search-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #9a8880;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.search-close:hover {
    color: #8B002F;
}

.search-results {
    max-height: 420px;
    overflow-y: auto;
}

.search-result {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px;
    border-bottom: 1px solid #f5eeea;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background-color: #fdf5f2;
}

.search-result-category {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #8B002F;
}

.search-result-title {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
}

.search-result-snippet {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #6a5e58;
}

.search-result mark {
    background-color: #fde8d0;
    color: #8B002F;
    border-radius: 2px;
    padding: 0 1px;
}

.search-no-results {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: #6a5e58;
    padding: 24px;
    text-align: left;
}

@media (max-width: 768px) {
    .search-overlay {
        padding-top: 80px;
    }
}

/* =============================================
   CONTENT PAGES (Disclaimer, Privacy, T&C)
   ============================================= */

.page-header {
    background-color: #8B002F;
    padding: 72px 32px;
    text-align: center;
}

.page-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #F6EBE7;
    margin-bottom: 16px;
}

.page-subtitle {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #f0d8d0;
}

.page-content {
    background-color: #FFF5F8;
    padding: 80px 32px;
}

.page-content-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #8B002F;
    margin-bottom: 16px;
}

.content-block p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.85;
    color: #4a4a4a;
    margin-bottom: 12px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block ul {
    margin: 12px 0 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-block ul li {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.75;
    color: #4a4a4a;
}

.content-block a {
    color: #8B002F;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-block a:hover {
    color: #660024;
}

@media (max-width: 768px) {
    .page-header {
        padding: 56px 24px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .page-content {
        padding: 60px 24px;
    }
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    background-color: #1E1A17;
    color: #c8beb8;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 64px 32px;
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

/* --- Logo column --- */
.footer-logo-col {
    flex: 0 0 auto;
}

.footer-logo {
    height: 90px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.footer-address {
    font-style: normal;
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.9;
    color: #c8beb8;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: #8B002F;
}

.map-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8B002F;
    padding: 0;
    margin-top: 14px;
    display: block;
    transition: color 0.2s ease;
}

.map-toggle:hover {
    color: #fff;
}

.footer-map {
    width: 100%;
    line-height: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.footer-map.open {
    max-height: 320px;
    border-top: 1px solid #2e2825;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 300px;
    filter: grayscale(30%);
}

/* --- Link columns --- */
.footer-col {
    flex: 1;
}

.footer-heading {
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #c8beb8;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Social sharing --- */
.footer-share {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    border-top: 1px solid #2e2825;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-share-label {
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
}

.footer-share-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    color: #c8beb8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-share-btn:hover {
    color: #fff;
}

/* --- Bottom bar --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 32px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright,
.footer-credits {
    font-family: Arial, sans-serif;
    font-size: 0.75rem;
    color: #7a706a;
}

.footer-credits a {
    color: #a89f9a;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-credits-logo {
    height: 12px;
    width: auto;
    vertical-align: middle;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.footer-credits a:hover .footer-credits-logo {
    opacity: 1;
}

.footer-credits-logo--aoc {
    height: 28px;
}

@media (max-width: 968px) {
    .footer-inner {
        flex-direction: column;
        gap: 40px;
        padding: 48px 24px;
        align-items: center;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 20px 24px;
    }
}

/* =============================================
   CONTEXTUAL CTAS & LEGAL NAV
   ============================================= */

.sulphate-free-cta,
.faq-cta {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: center;
    margin-top: 40px;
}

.btn-cta {
    display: block;
    width: fit-content;
    margin: 28px auto 0;
    padding: 14px 44px;
    background-color: #8B002F;
    color: #F6EBE7;
    font-family: 'Playfair Display SC', serif;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 2px;
    transition: background-color 0.25s ease, letter-spacing 0.25s ease;
}

.btn-cta:hover {
    background-color: #660024;
    letter-spacing: 0.11em;
}

.brand-intro-text a,
.products-intro a,
.collections-intro a,
.sulphate-free-cta a,
.faq-cta a {
    color: #8B002F;
    text-decoration: none;
    border-bottom: 1px solid #dec5b2;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.brand-intro-text a:hover,
.products-intro a:hover,
.collections-intro a:hover,
.sulphate-free-cta a:hover,
.faq-cta a:hover {
    color: #660024;
    border-bottom-color: #660024;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    padding: 20px 32px;
    background-color: #FFFAF8;
    border-top: 1px solid #f0e8e2;
}

.legal-nav a {
    font-family: Arial, sans-serif;
    font-size: 0.8rem;
    color: #7a6a60;
    text-decoration: none;
}

.legal-nav a:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* Hide eXtreme Tracker widget */
a[href*="efreecode.com"], img[src*="efreecode.com"], [id^="eXF"] { display: none !important; }
