/* ============================================================
   Niva Kozmetika — Main Stylesheet
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --gold:       #d2b356;
    --gold-dark:  #b8962e;
    --dark:       #111111;
    --grey:       #555555;
    --light-grey: #f5f5f5;
    --white:      #ffffff;
    --font:       'Open Sans', Arial, Helvetica, sans-serif;
    --transition: 0.3s ease;
    --shadow:     0 4px 20px rgba(0,0,0,0.1);
    --radius:     4px;
    --nav-height: 70px;
}

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

:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 400;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--dark);
    line-height: 1.2;
}

h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 300; }
h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 400; }
h5 { font-size: 16px; font-weight: 400; }
h6 { font-size: 14px; font-weight: 400; }

p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── Preloader ── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-grey);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Layout Helpers ── */
.container {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light-grey);
}

.text-center { text-align: center; }
.text-justify { text-align: justify; }

/* ── Section Headings ── */
.section-heading {
    margin-bottom: 2rem;
}

.section-heading h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-heading h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.section-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-top: 12px;
}

.text-center .section-heading h2::after {
    margin-inline: auto;
}

.section-heading p {
    color: var(--grey);
    font-size: 16px;
    max-width: 640px;
}

.section-subtitle {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.7;
}

/* ── Header / Navigation ── */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background var(--transition), box-shadow var(--transition);
}

#header.nav-solid {
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
    width: 90%;
    max-width: 1300px;
    margin-inline: auto;
}

#logo {
    flex-shrink: 0;
    line-height: 0;
}

#logo img {
    height: 50px;
    width: auto;
}

#nav-main {
    flex: 1;
}

#nav-main > ul {
    display: flex;
    align-items: center;
    gap: 0;
}

#nav-main > ul > li > a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    transition: color var(--transition);
    white-space: nowrap;
}

#nav-main > ul > li > a:hover,
#nav-main > ul > li > a.active {
    color: var(--gold);
}

/* Dropdown */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow);
    border-top: 2px solid var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    z-index: 100;
}

.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    display: block;
    padding: 0.65rem 1.2rem;
    font-size: 13px;
    color: var(--dark);
    border-bottom: 1px solid var(--light-grey);
    transition: background var(--transition), color var(--transition);
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background: var(--light-grey);
    color: var(--gold);
}

/* Deep submenu */
.submenu-deep {
    left: 100%;
    top: 0;
    border-top: none;
    border-left: 2px solid var(--gold);
}

.header-social a {
    color: var(--dark);
    font-size: 18px;
    transition: color var(--transition);
    flex-shrink: 0;
}

.header-social a:hover {
    color: var(--gold);
}

/* Hamburger */
.nav-trigger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-trigger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-trigger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-trigger.open span:nth-child(2) { opacity: 0; }
.nav-trigger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
#nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    z-index: 999;
    padding: 1rem 0 2rem;
    box-shadow: var(--shadow);
}

#nav-mobile:not([hidden]) {
    display: block;
}

#nav-mobile > ul > li > a,
#nav-mobile .mob-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    border-bottom: 1px solid var(--light-grey);
    width: 100%;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    font-family: var(--font);
    text-align: left;
    transition: color var(--transition);
}

#nav-mobile > ul > li > a:hover,
#nav-mobile .mob-submenu-toggle:hover {
    color: var(--gold);
}

.mob-submenu {
    display: none;
    background: var(--light-grey);
}

.mob-submenu.open {
    display: block;
}

.mob-submenu li a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 13px;
    color: var(--grey);
    border-bottom: 1px solid #e8e8e8;
    transition: color var(--transition);
}

.mob-submenu li a:hover {
    color: var(--gold);
}

.mob-submenu .mob-submenu li a {
    padding-left: 3rem;
    font-size: 12px;
}

.mob-submenu-toggle .fa {
    transition: transform var(--transition);
    font-size: 11px;
}

.mob-submenu-toggle[aria-expanded="true"] .fa {
    transform: rotate(180deg);
}

/* ── Banner ── */
#banner {
    position: relative;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-video-bg,
.banner-image-bg {
    position: absolute;
    inset: 0;
}

.banner-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.35);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
}

.banner-content h1 {
    font-size: clamp(36px, 7vw, 80px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(255,255,255,0.6);
}

.banner-subtitle {
    font-size: clamp(18px, 3vw, 36px);
    font-style: italic;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(255,255,255,0.6);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid var(--dark);
    color: var(--dark);
    background: transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
    text-decoration: none;
}

.btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-gold {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--white);
}

.banner-btn {
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
    font-size: 15px;
    padding: 0.85rem 2rem;
}

/* ── Testimonial / Quote ── */
.testimonial-section {
    padding: 60px 0;
    background: var(--white);
}

.testimonial-quote {
    max-width: 860px;
    margin-inline: auto;
    font-size: 17px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    color: var(--grey);
    padding: 0 1rem;
}

.testimonial-quote::before {
    content: '"';
    font-size: 80px;
    color: var(--gold);
    line-height: 0.5;
    display: block;
    margin-bottom: 1rem;
    font-style: normal;
}

/* ── Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 6px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item::after {
    content: '\f002';
    font-family: FontAwesome;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    background: rgba(210, 179, 86, 0.6);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ── Product Group Section ── */
.product-group {
    padding: 70px 0;
    border-bottom: 1px solid #ebebeb;
}

.product-group:last-child {
    border-bottom: none;
}

.product-group-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.product-group-info {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
}

.product-group-info h3 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-group-info h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.product-group-info h2 small {
    display: block;
    font-size: 0.55em;
    font-weight: 300;
    color: var(--grey);
    margin-top: 4px;
}

.product-group-info p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.product-group-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* Product thumbnails grid */
.product-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.product-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.product-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 0.75rem 0.5rem 0.5rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.product-thumb:hover .product-overlay {
    transform: translateY(0);
}

.product-overlay span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
}

/* ── Product Detail Section ── */
.product-detail {
    padding: 70px 0;
    border-bottom: 1px solid #ebebeb;
}

.product-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-detail-title {
    margin-bottom: 1.5rem;
}

.product-detail-title h3 {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.product-detail-title h3 a {
    color: var(--gold);
}

.product-detail-title h2 {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
}

.product-image-wrap img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-specs dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1rem;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 6px;
}

.product-specs dd {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.product-use-cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.product-use-cases h4 {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-use-cases ul {
    list-style: none;
    padding: 0;
}

.product-use-cases li {
    padding: 0.4rem 0;
    font-size: 13px;
    color: var(--grey);
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.product-use-cases li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--gold);
}

.peta-badge {
    margin-top: 1rem;
}

.peta-badge img {
    width: 60%;
    max-width: 180px;
}

/* ── About / Brand Section ── */
.brand-section {
    padding: 80px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-grid.reverse {
    direction: rtl;
}

.brand-grid.reverse > * {
    direction: ltr;
}

.brand-content h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    margin-bottom: 1rem;
}

.brand-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin-top: 10px;
}

.brand-content p {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.8;
}

.brand-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ── Users / Clients ── */
.users-section {
    padding: 70px 0;
    background: var(--light-grey);
    text-align: center;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.user-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.user-card:hover {
    transform: translateY(-4px);
}

.user-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.user-card-body {
    padding: 1rem;
}

.user-card-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-card-body p {
    font-size: 13px;
    color: var(--grey);
    margin: 0;
}

/* ── Color Swatches (B-Shade) ── */
.shade-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.shade-item {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shade-swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    border: 2px solid #e0e0e0;
}

/* ── Contact Form ── */
.contact-section {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
}

.contact-section .section-heading h2 {
    color: var(--white);
}

.contact-section .section-heading h2::after {
    background: var(--gold);
}

.contact-section .section-heading p {
    color: rgba(255,255,255,0.7);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.7;
}

.contact-info a {
    color: var(--gold);
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-field label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.form-field input,
.form-field textarea {
    font-family: var(--font);
    font-size: 14px;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    color: var(--white);
    transition: border-color var(--transition);
    width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(210,179,86,0.25);
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-submit {
    text-align: right;
}

.form-submit .btn {
    border-color: var(--gold);
    color: var(--gold);
    padding: 0.85rem 2.5rem;
}

.form-submit .btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.form-message {
    font-size: 14px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    display: none;
}

.form-message.success {
    background: rgba(40,167,69,0.2);
    color: #5cb85c;
    display: block;
}

.form-message.error {
    background: rgba(220,53,69,0.2);
    color: #dc3545;
    display: block;
}

/* ── Footer ── */
#landing-footer {
    background: #0a0a0a;
    padding: 50px 0 30px;
}

.footer-inner {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    margin-inline: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav ul li a {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

.footer-nav ul li a:hover {
    color: var(--gold);
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: rgba(255,255,255,0.5);
    font-size: 20px;
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--gold);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin: 0;
}

/* ── Scroll to Top ── */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 500;
}

#scroll-to-top[hidden] {
    display: none;
}

#scroll-to-top:hover {
    transform: translateY(-3px);
}

/* ── Animations ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ── Homepage specific ── */
.home-brands {
    padding: 80px 0;
    text-align: center;
}

.home-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.brand-card {
    border: 1px solid #e8e8e8;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.brand-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    color: inherit;
}

.brand-card img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.brand-card-body {
    padding: 1.25rem;
    text-align: left;
}

.brand-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.brand-card-body p {
    font-size: 13px;
    color: var(--grey);
    margin: 0;
    line-height: 1.5;
}

/* ── PDF Brochure link style ── */
.btn-pdf {
    font-size: 12px;
    padding: 0.6rem 1.25rem;
}

/* ── Roverhair brand page ── */
.roverhair-intro {
    padding: 80px 0;
}

.roverhair-lines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.line-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.line-card:hover {
    transform: translateY(-4px);
    color: inherit;
}

.line-card img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.line-card-body {
    padding: 1rem;
    background: var(--white);
}

.line-card-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.line-card-body p {
    font-size: 12px;
    color: var(--grey);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .product-group-inner {
        grid-template-columns: 1fr;
    }

    .product-group-info {
        position: static;
    }

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

    .roverhair-lines {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-grid.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root { --nav-height: 60px; }

    .section { padding: 50px 0; }

    #nav-main,
    .header-social {
        display: none;
    }

    .nav-trigger {
        display: flex;
    }

    .product-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .roverhair-lines {
        grid-template-columns: 1fr;
    }

    .home-brands-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shade-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-subtitle {
        font-size: 20px;
    }

    .shade-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
