/*
Theme Name: Sunline Solar
Theme URI: https://sunline.com
Author: Sunline
Author URI: https://sunline.com
Description: A modern, professional WordPress theme for Sunline Solar — inverters, panels, batteries, and accessories.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunline
Tags: solar, energy, e-commerce, responsive, custom-colors, custom-menu, featured-images
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
===================================================== */
:root {
    --primary:       #F97316;
    --primary-dark:  #EA580C;
    --primary-light: #FED7AA;
    --secondary:     #0F172A;
    --secondary-mid: #1E293B;
    --accent:        #FFC107;
    --text:          #1E293B;
    --text-muted:    #64748B;
    --bg:            #FFFFFF;
    --bg-soft:       #F8FAFC;
    --bg-dark:       #0F172A;
    --border:        #E2E8F0;
    --radius:        12px;
    --radius-lg:     20px;
    --shadow:        0 4px 24px rgba(0,0,0,.08);
    --shadow-lg:     0 12px 48px rgba(0,0,0,.14);
    --transition:    all .3s cubic-bezier(.4,0,.2,1);
    --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading:  'Plus Jakarta Sans', var(--font);
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--secondary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }

/* =====================================================
   UTILITIES
===================================================== */
.container         { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section           { padding: 5rem 0; }
.section--dark     { background: var(--bg-dark); color: #fff; }
.section--soft     { background: var(--bg-soft); }
.text-center       { text-align: center; }
.text-orange       { color: var(--primary); }
.badge             { display: inline-block; padding: .25rem .75rem; border-radius: 100px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge--orange     { background: var(--primary-light); color: var(--primary-dark); }
.badge--dark       { background: rgba(255,255,255,.1); color: #fff; }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(249,115,22,.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249,115,22,.45);
}
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
}
.btn-white:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-ghost-white {
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
}
.btn-ghost-white:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
}

/* =====================================================
   SECTION HEADERS
===================================================== */
.section-header        { margin-bottom: 3.5rem; }
.section-header h2     { margin: .5rem 0 1rem; }
.section-header p      { max-width: 560px; color: var(--text-muted); font-size: 1.05rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

/* =====================================================
   CARDS
===================================================== */
.card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.card__img { width: 100%; height: 220px; object-fit: cover; }
.card__body { padding: 1.5rem; }
.card__tag  { font-size: .8rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.card__desc  { font-size: .9rem; color: var(--text-muted); }

/* =====================================================
   NAVIGATION
===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background .35s ease, box-shadow .35s ease;
}

/* Homepage — transparent until scroll */
.site-header--home {
    background: transparent;
}

/* Inner pages — solid dark from the start */
.site-header--inner {
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

/* Scrolled state (both home + inner on scroll) */
.site-header.scrolled {
    background: rgba(15,23,42,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(0,0,0,.25);
}

/* Inner pages need top padding offset on hero/content */
body:not(.is-home) .page-hero { padding-bottom: 0; }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
}
.nav__logo-icon {
    width: 40px; height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__links > li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav__links a {
    color: rgba(255,255,255,.85);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    text-decoration: none;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width .3s ease;
    border-radius: 2px;
}
.nav__links a:hover,
.nav__links a.active,
.nav__links .current-menu-item > a,
.nav__links .current_page_item > a,
.nav__links .current-menu-ancestor > a { color: #fff; }
.nav__links a:hover::after,
.nav__links a.active::after,
.nav__links .current-menu-item > a::after,
.nav__links .current_page_item > a::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav__hamburger span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* =====================================================
   HERO
===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #0F172A 100%);
}
.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 25% 35%, rgba(249,115,22,.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(255,193,7,.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}
.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 0 5rem;
}
.hero__text .badge { margin-bottom: 1.5rem; }
.hero__text h1 { color: #fff; margin-bottom: 1.5rem; }
.hero__text h1 span { color: var(--primary); }
.hero__text p { color: rgba(255,255,255,.7); font-size: 1.15rem; max-width: 500px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.hero__stat-label { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: .25rem; }
.hero__visual { position: relative; }
.hero__solar-panel {
    width: 100%;
    aspect-ratio: 1;
    max-width: 480px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #1E3A5F, #0F172A);
    border: 1px solid rgba(249,115,22,.2);
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
    padding: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(249,115,22,.1);
    position: relative;
    overflow: hidden;
}
.hero__solar-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,.06) 0%, transparent 60%);
    pointer-events: none;
}
.solar-cell {
    aspect-ratio: 1;
    border-radius: 4px;
    background: linear-gradient(145deg, #1a3050, #0d2035);
    border: 1px solid rgba(100,180,255,.15);
    position: relative;
    overflow: hidden;
    animation: cellGlow 3s ease-in-out infinite;
}
.solar-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.05) 0%, transparent 50%);
}
.solar-cell:nth-child(odd)  { animation-delay: .5s; }
.solar-cell:nth-child(3n)   { animation-delay: 1s; }
.solar-cell:nth-child(4n)   { animation-delay: 1.5s; }
@keyframes cellGlow {
    0%,100% { box-shadow: none; }
    50%      { box-shadow: inset 0 0 8px rgba(249,115,22,.25); border-color: rgba(249,115,22,.3); }
}
.hero__badge-float {
    position: absolute;
    background: rgba(15,23,42,.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(249,115,22,.3);
    border-radius: var(--radius);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
    animation: floatUp 3s ease-in-out infinite;
}
.hero__badge-float:nth-child(2) { animation-delay: 1.5s; }
.hero__badge-float--1 { top: 10%; right: -10%; }
.hero__badge-float--2 { bottom: 15%; left: -8%; }
.hero__badge-float .icon { font-size: 1.4rem; }
@keyframes floatUp {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* =====================================================
   BRANDS
===================================================== */
.brands { padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands__label { font-size: .85rem; font-weight: 600; color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }
.brands__track { overflow: hidden; }
.brands__list {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}
.brand-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1.4rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    font-weight: 700;
    font-size: .95rem;
    color: var(--text-muted);
    transition: var(--transition);
    white-space: nowrap;
}
.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.brand-item .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

/* =====================================================
   PRODUCT CATEGORIES
===================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 1.5rem;
}
.cat-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.cat-card:hover { transform: translateY(-6px); }
.cat-card:hover .cat-card__arrow { transform: translateX(4px); }
.cat-card--inverter { background: linear-gradient(145deg, #0F172A, #1E3A5F); }
.cat-card--panel    { background: linear-gradient(145deg, #1a2f1a, #2d5a1b); }
.cat-card--battery  { background: linear-gradient(145deg, #1a1a2e, #2d1b69); }
.cat-card--accesory { background: linear-gradient(145deg, #2a1a0a, #7c3700); }
.cat-card__icon {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 3rem;
    opacity: .3;
    transition: var(--transition);
}
.cat-card:hover .cat-card__icon { opacity: .5; transform: scale(1.1); }
.cat-card__label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: .4rem;
}
.cat-card__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
}
.cat-card__desc { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.cat-card__arrow { color: var(--primary); font-size: 1.2rem; transition: transform .3s ease; display: inline-block; }

/* =====================================================
   PRODUCTS GRID
===================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 1.75rem;
}
.product-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.product-card__img-wrap {
    height: 200px;
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card__img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; }
.product-card__badge {
    position: absolute;
    top: .75rem; left: .75rem;
}
.product-card__body { padding: 1.25rem; }
.product-card__brand { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; }
.product-card__name  { font-weight: 700; font-size: 1rem; margin: .35rem 0 .5rem; line-height: 1.4; }
.product-card__meta  { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.product-card__spec  { font-size: .78rem; padding: .2rem .6rem; background: var(--bg-soft); border-radius: 100px; color: var(--text-muted); font-weight: 500; }
.product-card__footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.product-card__price { font-size: 1.15rem; font-weight: 800; color: var(--secondary); }
.product-card__price span { font-size: .8rem; color: var(--text-muted); font-weight: 400; margin-left: .25rem; }

/* =====================================================
   WHY CHOOSE US
===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 2rem;
}
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    transition: var(--transition);
}
.feature-card:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(249,115,22,.3);
    transform: translateY(-4px);
}
.feature-card__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(249,115,22,.3);
}
.feature-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .6rem; }
.feature-card p  { color: rgba(255,255,255,.55); font-size: .9rem; margin: 0; }

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; }
.contact-items   { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-item__icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-item__label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.contact-item__value { font-weight: 600; color: var(--text); }

/* =====================================================
   CONTACT FORM
===================================================== */
.contact-form-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    color: var(--text);
    background: var(--bg-soft);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(249,115,22,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select    { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-submit          { width: 100%; padding: 1rem; font-size: 1rem; border-radius: var(--radius); }
.form-message         { margin-top: 1rem; padding: .9rem 1.2rem; border-radius: var(--radius); font-size: .9rem; font-weight: 500; display: none; }
.form-message.success { background: #d1fae5; color: #065f46; display: block; }
.form-message.error   { background: #fee2e2; color: #991b1b; display: block; }

/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 1.75rem;
}
.testi-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text  { font-size: .95rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; line-height: 1.8; }
.testi-author { display: flex; align-items: center; gap: .75rem; }
.testi-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}
.testi-name  { font-weight: 700; font-size: .9rem; }
.testi-role  { font-size: .8rem; color: var(--text-muted); }

/* =====================================================
   CTA BANNER
===================================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #c2410c 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.cta-banner p  { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; position: relative; }
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
    background: #050d1a;
    color: rgba(255,255,255,.65);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer-brand .nav__logo { margin-bottom: 1.25rem; }
.footer-brand p { font-size: .9rem; line-height: 1.8; max-width: 300px; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom a { color: var(--primary); }

/* =====================================================
   PAGE HERO — Redesigned
===================================================== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

/* Split background: left dark, right white */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, var(--secondary) 55%, #fff 55%);
    z-index: 0;
}

/* Dot pattern on the dark side */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 22px 22px;
    z-index: 0;
    clip-path: polygon(0 0, 56% 0, 56% 100%, 0 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 220px;
    gap: 2rem;
}

/* LEFT — text side (dark bg) */
.page-hero__left {
    padding: 2.5rem 2rem 2.5rem 0;
    color: #fff;
}
.page-hero__left .badge {
    margin-bottom: 1rem;
    display: inline-flex;
}
.page-hero__left h1 {
    color: #fff;
    margin: 0 0 .75rem;
    line-height: 1.15;
    position: relative;
}
.page-hero__left h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin-top: .75rem;
}
.page-hero__left p {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
    margin: 0;
    max-width: 400px;
}

/* Breadcrumbs on dark side */
.page-hero .breadcrumbs {
    padding: .6rem 0 0;
    color: rgba(255,255,255,.45);
    font-size: .8rem;
}
.page-hero .breadcrumbs a { color: var(--primary); }
.page-hero .breadcrumbs span { opacity: .5; }

/* RIGHT — decorative side (light bg) */
.page-hero__right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 2rem 2rem;
    position: relative;
}
.page-hero__icon-wrap {
    width: 130px;
    height: 130px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, var(--bg-soft), #fff);
    box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 0 0 1px var(--border);
    animation: heroVisualIn .8s .2s cubic-bezier(.16,1,.3,1) both;
}
.page-hero__icon-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 36px;
    border: 2px dashed var(--primary-light);
    opacity: .7;
    animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Floating deco blobs */
.page-hero__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.page-hero__blob--1 {
    width: 100px; height: 100px;
    background: radial-gradient(var(--primary-light), transparent);
    top: -20px; right: 60px;
    opacity: .5;
}
.page-hero__blob--2 {
    width: 60px; height: 60px;
    background: radial-gradient(#dbeafe, transparent);
    bottom: 10px; right: 20px;
    opacity: .6;
}

/* Wave bottom divider */
.page-hero__wave {
    display: block;
    width: 100%;
    height: 48px;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero::before { background: var(--secondary); }
    .page-hero::after  { clip-path: none; opacity: .3; }
    .page-hero .container { grid-template-columns: 1fr; min-height: auto; }
    .page-hero__right  { display: none; }
    .page-hero__left   { padding: 2rem 0; }
}


/* =====================================================
   SINGLE PRODUCT
===================================================== */
.product-detail { padding: 5rem 0; }
.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.product-detail__img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 2rem;
    display: flex; align-items: center; justify-content: center;
    min-height: 360px;
}
.product-detail__img { max-height: 320px; object-fit: contain; }
.product-detail__brand { font-size: .85rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.product-detail__title { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.product-detail__desc  { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.product-detail__specs {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.product-detail__specs h4 { margin-bottom: 1rem; font-size: 1rem; }
.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row__key   { color: var(--text-muted); font-weight: 500; }
.spec-row__value { font-weight: 600; color: var(--text); }
.product-detail__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =====================================================
   BREADCRUMBS
===================================================== */
.breadcrumbs {
    padding: .75rem 0;
    font-size: .85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs span { opacity: .5; }

/* =====================================================
   SIDEBAR FILTERS
===================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2.5rem;
    align-items: start;
}
.sidebar { position: sticky; top: 100px; }
.sidebar-widget {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.filter-list { display: flex; flex-direction: column; gap: .6rem; }
.filter-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; cursor: pointer; }
.filter-item input[type=checkbox] { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }

/* =====================================================
   PAGINATION
===================================================== */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.page-item {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.page-item:hover, .page-item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* =====================================================
   BACK TO TOP
===================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 46px; height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(249,115,22,.4);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    cursor: pointer;
}
.back-to-top.show { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* =====================================================
   LOADING OVERLAY
===================================================== */
.page-loader {
    position: fixed; inset: 0;
    background: var(--secondary);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: flex; align-items: center; gap: .75rem;
    animation: loaderPulse 1s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }

/* =====================================================
   SCROLL ANIMATIONS
===================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(36px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .hero__content { grid-template-columns: 1fr; text-align: center; }
    .hero__text p { margin: 0 auto 2.5rem; }
    .hero__actions { justify-content: center; }
    .hero__stats   { justify-content: center; }
    .hero__visual  { display: none; }
    .footer-grid   { grid-template-columns: 1fr 1fr; }
    .contact-wrap  { grid-template-columns: 1fr; }
    .shop-layout   { grid-template-columns: 1fr; }
    .product-detail__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .nav__links, .nav__cta { display: none; }
    .nav__hamburger { display: flex; }
    .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
    .form-row      { grid-template-columns: 1fr; }
    .cta-banner    { padding: 2.5rem 1.5rem; }
    .hero__stats   { flex-wrap: wrap; gap: 1.5rem; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid   { grid-template-columns: 1fr; }
    .hero__actions   { flex-direction: column; align-items: center; }
}

/* =====================================================
   MOBILE NAV
===================================================== */
.mobile-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 100%);
    height: 100vh;
    background: var(--secondary);
    z-index: 1001;
    padding: 2rem;
    transition: right .35s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}
.mobile-nav.open { right: 0; }
.mobile-nav__close {
    align-self: flex-end;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    padding: .5rem;
}
.mobile-nav__links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    list-style: none;
    margin-left: 0;
    padding: 0;
}
.mobile-nav__links > li { list-style: none; margin: 0; padding: 0; }
.mobile-nav__links a {
    display: block;
    padding: .9rem 1rem;
    border-radius: var(--radius);
    color: rgba(255,255,255,.75);
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    text-decoration: none;
}
.mobile-nav__links a:hover,
.mobile-nav__links .current-menu-item > a,
.mobile-nav__links .current_page_item > a {
    background: rgba(255,255,255,.08);
    color: #fff;
}
.mobile-nav__cta { margin-top: auto; padding-top: 2rem; }
.mobile-nav__overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1000;
    display: none;
}
.mobile-nav__overlay.show { display: block; }

/* =====================================================
   LANGUAGE SWITCHER
===================================================== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .2rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}
.lang-switcher__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    color: rgba(255,255,255,.7);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.lang-switcher__item:hover { color: #fff; background: rgba(255,255,255,.1); }
.lang-switcher__item.is-active {
    color: #0F172A;
    background: #fff;
}
.lang-switcher--mobile {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
}
.lang-switcher--footer {
    background: rgba(255,255,255,.06);
}
@media (max-width: 1100px) {
    .nav__cta .lang-switcher { display: none; }
}

/* =====================================================
   RTL — Arabic + Kurdish Sorani (ckb)
===================================================== */
html[dir="rtl"],
html[lang="ckb"],
html[lang="ar"],
body.rtl,
body.is-rtl,
body.lang-ckb,
body.lang-ar {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] body,
body.rtl,
body.is-rtl,
body.lang-ckb,
body.lang-ar {
    font-family: "Noto Sans Arabic", "Plus Jakarta Sans", Inter, Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
}

/* Navigation */
html[dir="rtl"] .nav,
body.rtl .nav,
body.is-rtl .nav {
    flex-direction: row-reverse;
}
html[dir="rtl"] .nav__links,
body.rtl .nav__links,
body.is-rtl .nav__links {
    flex-direction: row-reverse;
}
html[dir="rtl"] .nav__cta,
body.rtl .nav__cta,
body.is-rtl .nav__cta {
    flex-direction: row-reverse;
}
html[dir="rtl"] .nav__links a::after,
body.rtl .nav__links a::after,
body.is-rtl .nav__links a::after {
    left: auto;
    right: 0;
}

/* Hero slider */
html[dir="rtl"] .hero-slide__grid,
body.rtl .hero-slide__grid,
body.is-rtl .hero-slide__grid {
    direction: rtl;
}
html[dir="rtl"] .hero-slide__content,
body.rtl .hero-slide__content,
body.is-rtl .hero-slide__content {
    text-align: right;
}
html[dir="rtl"] .hero-slide__actions,
body.rtl .hero-slide__actions,
body.is-rtl .hero-slide__actions {
    justify-content: flex-start;
    flex-direction: row-reverse;
}
html[dir="rtl"] .hero-slide__content--centered,
body.rtl .hero-slide__content--centered,
body.is-rtl .hero-slide__content--centered {
    text-align: center;
}
html[dir="rtl"] .hero-slide__content--centered .hero-slide__actions,
body.rtl .hero-slide__content--centered .hero-slide__actions,
body.is-rtl .hero-slide__content--centered .hero-slide__actions {
    justify-content: center;
}

/* Page hero */
html[dir="rtl"] .page-hero .container,
body.rtl .page-hero .container,
body.is-rtl .page-hero .container {
    direction: rtl;
}
html[dir="rtl"] .page-hero__left,
body.rtl .page-hero__left,
body.is-rtl .page-hero__left {
    text-align: right;
}
html[dir="rtl"] .page-hero__left h1::after,
body.rtl .page-hero__left h1::after,
body.is-rtl .page-hero__left h1::after {
    left: auto;
    right: 0;
}
html[dir="rtl"] .page-hero .breadcrumbs,
body.rtl .page-hero .breadcrumbs,
body.is-rtl .page-hero .breadcrumbs {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

/* Sections / cards / footer */
html[dir="rtl"] .section-header,
body.rtl .section-header,
body.is-rtl .section-header {
    text-align: right;
}
html[dir="rtl"] .section-header--center,
body.rtl .section-header--center,
body.is-rtl .section-header--center {
    text-align: center;
}
html[dir="rtl"] .section-header h2::after,
body.rtl .section-header h2::after,
body.is-rtl .section-header h2::after {
    left: auto;
    right: 0;
}
html[dir="rtl"] .section-header--center h2::after,
body.rtl .section-header--center h2::after,
body.is-rtl .section-header--center h2::after {
    left: 50%;
    right: auto;
}
html[dir="rtl"] .footer-grid,
body.rtl .footer-grid,
body.is-rtl .footer-grid {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .footer-bottom,
body.rtl .footer-bottom,
body.is-rtl .footer-bottom {
    flex-direction: row-reverse;
}
html[dir="rtl"] .cta-banner,
body.rtl .cta-banner,
body.is-rtl .cta-banner {
    text-align: center;
}
html[dir="rtl"] .cta-actions,
body.rtl .cta-actions,
body.is-rtl .cta-actions {
    flex-direction: row-reverse;
    justify-content: center;
}

/* Forms */
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
body.rtl input,
body.rtl textarea,
body.rtl select,
body.is-rtl input,
body.is-rtl textarea,
body.is-rtl select {
    text-align: right;
    direction: rtl;
}
html[dir="rtl"] .contact-wrap,
body.rtl .contact-wrap,
body.is-rtl .contact-wrap {
    direction: rtl;
}

/* Lists / misc */
html[dir="rtl"] ul,
html[dir="rtl"] ol,
body.rtl ul,
body.rtl ol,
body.is-rtl ul,
body.is-rtl ol {
    padding-right: 1.25rem;
    padding-left: 0;
}
html[dir="rtl"] .mv2-grid,
body.rtl .mv2-grid,
body.is-rtl .mv2-grid {
    direction: rtl;
}
html[dir="rtl"] .about-who-grid,
body.rtl .about-who-grid,
body.is-rtl .about-who-grid {
    direction: rtl;
}

/* Mobile nav from left in RTL */
html[dir="rtl"] .mobile-nav,
body.rtl .mobile-nav,
body.is-rtl .mobile-nav {
    right: auto;
    left: -100%;
    transition: left .35s cubic-bezier(.4,0,.2,1);
}
html[dir="rtl"] .mobile-nav.open,
body.rtl .mobile-nav.open,
body.is-rtl .mobile-nav.open {
    left: 0;
    right: auto;
}
html[dir="rtl"] .mobile-nav__close,
body.rtl .mobile-nav__close,
body.is-rtl .mobile-nav__close {
    align-self: flex-start;
}
html[dir="rtl"] .lang-switcher,
body.rtl .lang-switcher,
body.is-rtl .lang-switcher {
    flex-direction: row-reverse;
}

/* Branch finder — professional multi-location */
.branch-finder {
    margin-top: 4.5rem;
    padding: 2.5rem;
    border-radius: calc(var(--radius-lg) + 4px);
    background:
        radial-gradient(1200px 400px at 0% 0%, rgba(249,115,22,.08), transparent 55%),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.branch-finder__head {
    max-width: 640px;
    margin-bottom: 2rem;
}
.branch-finder__head h2 {
    margin: .6rem 0 .75rem;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}
.branch-finder__head p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0;
}
.branch-finder__layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1.25rem;
    align-items: stretch;
}
@media (max-width: 900px) {
    .branch-finder { padding: 1.5rem; }
    .branch-finder__layout { grid-template-columns: 1fr; }
}
.branch-finder__list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.branch-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    font: inherit;
    color: inherit;
}
.branch-card:hover {
    border-color: rgba(249,115,22,.45);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
.branch-card.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15), 0 12px 30px rgba(15,23,42,.1);
    background: linear-gradient(135deg, #fff 60%, #fff7ed 100%);
}
.branch-card__code {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: #fff;
    background: var(--secondary);
}
.branch-card.is-active .branch-card__code {
    background: var(--primary);
}
.branch-card__body {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    min-width: 0;
}
.branch-card__city {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
}
.branch-card__name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
}
.branch-card__addr {
    font-size: .86rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.branch-card__arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: transform .25s ease, color .25s ease;
}
.branch-card.is-active .branch-card__arrow,
.branch-card:hover .branch-card__arrow {
    color: var(--primary);
    transform: translateX(3px);
}
html[dir="rtl"] .branch-card,
body.rtl .branch-card,
body.is-rtl .branch-card {
    text-align: right;
}
html[dir="rtl"] .branch-card__arrow,
body.rtl .branch-card__arrow,
body.is-rtl .branch-card__arrow {
    transform: scaleX(-1);
}
html[dir="rtl"] .branch-card.is-active .branch-card__arrow,
html[dir="rtl"] .branch-card:hover .branch-card__arrow,
body.rtl .branch-card.is-active .branch-card__arrow,
body.is-rtl .branch-card.is-active .branch-card__arrow {
    transform: scaleX(-1) translateX(3px);
}
.branch-finder__map {
    display: flex;
    flex-direction: column;
    min-height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.branch-finder__map-frame {
    flex: 1;
    min-height: 380px;
    background: #e2e8f0;
    position: relative;
}
.branch-finder__map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.branch-finder__map-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.1rem 1.25rem;
    background: var(--secondary);
    color: #fff;
}
.branch-finder__meta-label {
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: .2rem;
}
.branch-finder__meta-name {
    font-weight: 700;
    font-size: 1.05rem;
}
.branch-finder__meta-addr {
    font-size: .88rem;
    opacity: .8;
    margin-top: .15rem;
}


/* =====================================================
   DISTRIBUTORS DIRECTORY
===================================================== */
.dist-section { padding-top: 2.5rem; }
.dist-toolbar {
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, #f8fafc);
    box-shadow: var(--shadow);
}
.dist-toolbar__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.dist-toolbar__title {
    margin: 0 0 .35rem;
    font-size: 1.35rem;
}
.dist-toolbar__count {
    margin: 0;
    color: var(--text-muted);
    font-size: .92rem;
}
.dist-search input {
    width: min(320px, 100%);
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.dist-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.dist-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.dist-filter {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: .2s ease;
}
.dist-filter:hover { border-color: rgba(249,115,22,.45); }
.dist-filter.is-active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: #fff;
}
.dist-filter__n {
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 .35rem;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: .72rem;
    background: rgba(15,23,42,.08);
}
.dist-filter.is-active .dist-filter__n { background: rgba(255,255,255,.18); color: #fff; }

.dist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 1000px) { .dist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .dist-grid { grid-template-columns: 1fr; } }

.dist-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dist-card:hover {
    transform: translateY(-3px);
    border-color: rgba(249,115,22,.35);
    box-shadow: 0 16px 40px rgba(15,23,42,.1);
}
.dist-card.is-hidden { display: none; }
.dist-card__top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .9rem;
    align-items: center;
}
.dist-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--secondary), #1e3a5f);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    overflow: hidden;
}
.dist-card__logo { width: 100%; height: 100%; object-fit: cover; }
.dist-card__city {
    display: inline-block;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .15rem;
}
.dist-card__name {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.3;
    color: var(--secondary);
}
.dist-card__badge {
    display: inline-flex;
    margin-top: .4rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(34,197,94,.12);
    color: #15803d;
    font-size: .72rem;
    font-weight: 700;
}
.dist-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
}
.dist-card__meta li {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: .55rem;
    align-items: start;
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.dist-card__meta a { color: var(--secondary); text-decoration: none; font-weight: 600; }
.dist-card__meta a:hover { color: var(--primary); }
.dist-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .25rem;
}
.dist-card__btn {
    padding: .55rem .9rem !important;
    font-size: .82rem !important;
}
.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--secondary);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.dist-none, .dist-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}
.dist-cta {
    margin-top: 3rem;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.dist-cta h3 { margin: 0 0 .35rem; color: #fff; }
.dist-cta p { margin: 0; opacity: .8; }
