/* ============================================================
   Drasco Herbs for Export — Public Stylesheet
   ============================================================ */

:root {
    --color-primary:      #1b3a1f;   /* dark forest green */
    --color-primary-700:  #142c17;
    --color-secondary:    #4c8b3a;   /* natural green */
    --color-secondary-600:#3d7330;
    --color-accent:       #d4a017;   /* golden yellow */
    --color-accent-600:   #b98912;
    --color-bg:           #ffffff;
    --color-bg-soft:      #f7f6f1;
    --color-text:         #22261f;
    --color-muted:        #6b7268;
    --color-border:       #e3e1d8;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,.10);
    --radius: 10px;
    --radius-lg: 18px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
}

a { color: var(--color-secondary-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-primary); }

img { max-width: 100%; height: auto; }

/* ---------- Navbar ---------- */
.main-navbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding-top: .65rem;
    padding-bottom: .65rem;
}
.main-navbar .navbar-brand { text-decoration: none; }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--color-primary); color: #fff;
    font-size: 1.25rem;
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-primary { font-weight: 800; letter-spacing: 2px; color: var(--color-primary); font-size: 1.05rem; }
.brand-secondary { font-size: .62rem; letter-spacing: 2px; color: var(--color-secondary); font-weight: 600; }

.main-navbar .nav-link {
    color: var(--color-text);
    font-weight: 500;
    padding: .5rem .9rem !important;
    position: relative;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--color-secondary-600); }
.main-navbar .nav-link.active::after {
    content: "";
    position: absolute; left: .9rem; right: .9rem; bottom: .15rem;
    height: 2px; background: var(--color-accent); border-radius: 2px;
}
.main-navbar .dropdown-menu {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: .4rem;
}
.main-navbar .dropdown-item { border-radius: 6px; padding: .55rem .85rem; }
.main-navbar .dropdown-item:hover { background: var(--color-bg-soft); color: var(--color-primary); }

/* ---------- Buttons ---------- */
.btn { border-radius: 8px; font-weight: 600; padding: .55rem 1.25rem; transition: all .25s ease; }
.btn-primary-drasco {
    background: var(--color-primary); color: #fff; border: 2px solid var(--color-primary);
}
.btn-primary-drasco:hover { background: var(--color-primary-700); border-color: var(--color-primary-700); color: #fff; }
.btn-secondary-drasco {
    background: var(--color-secondary); color: #fff; border: 2px solid var(--color-secondary);
}
.btn-secondary-drasco:hover { background: var(--color-secondary-600); border-color: var(--color-secondary-600); color: #fff; }
.btn-outline-drasco {
    background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary);
}
.btn-outline-drasco:hover { background: var(--color-primary); color: #fff; }
.btn-accent {
    background: var(--color-accent); color: #22261f; border: 2px solid var(--color-accent);
}
.btn-accent:hover { background: var(--color-accent-600); border-color: var(--color-accent-600); color: #fff; }
.btn-quote {
    background: var(--color-accent); color: #22261f; border: none;
    font-weight: 700; letter-spacing: .3px;
}
.btn-quote:hover { background: var(--color-accent-600); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex; align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(20,44,23,.85) 0%, rgba(20,44,23,.65) 55%, rgba(20,44,23,.35) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
    display: inline-block;
    padding: .35rem .9rem;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 999px;
    font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
}
.hero h1 {
    color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 800; max-width: 900px; margin-bottom: 1rem;
}
.hero p.lead { font-size: 1.1rem; max-width: 640px; color: rgba(255,255,255,.9); }
.hero .btn { margin-right: .5rem; margin-top: .5rem; padding: .75rem 1.6rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--color-bg-soft); }
.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    font-weight: 800; margin-bottom: .75rem;
}
.section-eyebrow {
    display: inline-block; color: var(--color-accent-600);
    font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    font-size: .72rem; margin-bottom: .5rem;
}
.section-lead { color: var(--color-muted); max-width: 720px; margin: 0 auto; }

/* ---------- Product Cards ---------- */
.product-card {
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); overflow: hidden;
    height: 100%; display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}
.product-card .product-media {
    position: relative; aspect-ratio: 4 / 3; background: var(--color-bg-soft); overflow: hidden;
}
.product-card .product-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-media img { transform: scale(1.05); }
.product-card .product-badge {
    position: absolute; top: .85rem; left: .85rem;
    background: rgba(27,58,31,.92); color: #fff;
    font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
    padding: .35rem .7rem; border-radius: 999px; font-weight: 600;
}
.product-card .product-featured {
    position: absolute; top: .85rem; right: .85rem;
    background: var(--color-accent); color: #22261f;
    font-size: .72rem; font-weight: 700;
    padding: .35rem .7rem; border-radius: 999px;
}
.product-card .product-body { padding: 1.25rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.product-card h3 a { color: var(--color-primary); }
.product-card h3 a:hover { color: var(--color-secondary-600); }
.product-card .product-desc {
    color: var(--color-muted); font-size: .92rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; margin-bottom: 1rem; min-height: 3.6em;
}
.product-card .product-actions { display: flex; gap: .5rem; margin-top: auto; }
.product-card .product-actions .btn { flex: 1; padding: .45rem .6rem; font-size: .85rem; }

/* ---------- Category Card ---------- */
.category-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    min-height: 260px; display: flex; align-items: flex-end;
    background-size: cover; background-position: center;
    color: #fff; text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}
.category-card::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,44,23,.85) 100%);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.category-card .category-body { position: relative; padding: 1.25rem 1.5rem; z-index: 2; }
.category-card h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.35rem; }
.category-card p { color: rgba(255,255,255,.9); font-size: .9rem; margin: 0; }
.category-card .category-arrow {
    display: inline-flex; align-items: center; gap: .35rem;
    color: var(--color-accent); font-weight: 600; font-size: .85rem;
    margin-top: .6rem;
}

/* ---------- About / Feature Blocks ---------- */
.about-image-wrap {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-image-wrap img { display: block; width: 100%; }
.about-badge {
    position: absolute; bottom: 1rem; left: 1rem;
    background: rgba(27,58,31,.92); color: #fff;
    padding: .75rem 1rem; border-radius: var(--radius);
    font-size: .82rem; letter-spacing: 1px; text-transform: uppercase;
}

.feature-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--color-border);
    height: 100%;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.feature-item:hover { border-color: var(--color-secondary); box-shadow: var(--shadow-md); }
.feature-icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
    background: rgba(76,139,58,.12); color: var(--color-secondary-600);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.feature-item h5 { margin-bottom: .35rem; font-size: 1.05rem; }
.feature-item p { color: var(--color-muted); margin: 0; font-size: .92rem; }

/* ---------- Gallery preview ---------- */
.gallery-thumb {
    display: block; position: relative; overflow: hidden;
    border-radius: var(--radius); aspect-ratio: 1 / 1;
    background: var(--color-bg-soft);
}
.gallery-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb::after {
    content: "\F52A"; /* bi-zoom-in */
    font-family: "bootstrap-icons";
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20,44,23,.55); color: #fff; font-size: 1.75rem;
    opacity: 0; transition: opacity .3s ease;
}
.gallery-thumb:hover::after { opacity: 1; }

/* ---------- Certification Card ---------- */
.cert-card {
    background: #fff; border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); overflow: hidden;
    height: 100%;
    transition: box-shadow .25s ease, transform .25s ease;
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cert-card .cert-media {
    aspect-ratio: 4/3; background: var(--color-bg-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--color-secondary-600); font-size: 3rem; overflow: hidden;
}
.cert-card .cert-media img { width: 100%; height: 100%; object-fit: cover; }
.cert-card .cert-body { padding: 1.25rem; }
.cert-card h5 { font-size: 1rem; margin-bottom: .35rem; }
.cert-card .cert-org { color: var(--color-muted); font-size: .85rem; margin-bottom: .6rem; }
.cert-meta { font-size: .8rem; color: var(--color-muted); display: flex; flex-wrap: wrap; gap: .75rem; }
.cert-meta span { display: inline-flex; align-items: center; gap: .25rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(115deg, var(--color-primary) 0%, var(--color-secondary-600) 100%);
    color: #fff; padding: 3.5rem 0; border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; }
.cta-band .btn { padding: .75rem 1.6rem; }

/* ---------- Forms ---------- */
.form-control, .form-select {
    border-radius: 8px; border: 1px solid var(--color-border);
    padding: .65rem .9rem; font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 .2rem rgba(76,139,58,.18);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--color-primary); }
.form-label .req { color: #c0392b; }
.form-text { color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer { background: #142c17; color: rgba(255,255,255,.78); margin-top: 0; }
.footer-top { padding: 3.5rem 0 2.5rem; }
.footer-brand { display: flex; align-items: center; }
.footer-brand .brand-primary { color: #fff; }
.footer-brand .brand-secondary { color: var(--color-accent); }
.footer-about { font-size: .92rem; line-height: 1.7; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .25s ease, transform .25s ease;
}
.footer-social a:hover { background: var(--color-accent); color: #22261f; transform: translateY(-2px); }
.footer-heading {
    color: #fff; text-transform: uppercase; letter-spacing: 2px;
    font-size: .78rem; margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255,255,255,.78); font-size: .92rem; }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: .6rem; font-size: .92rem; display: flex; gap: .5rem; align-items: flex-start; }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-contact i { color: var(--color-accent); margin-top: .15rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1.1rem 0; font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--color-accent); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; bottom: 22px; right: 22px;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--color-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .25s ease;
    z-index: 1000; box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--color-accent); color: #22261f; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
    background: linear-gradient(115deg, var(--color-primary) 0%, var(--color-secondary-600) 100%);
    color: #fff; padding: 3.5rem 0;
}
.page-header h1 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-header .breadcrumb { background: transparent; margin: .5rem 0 0; padding: 0; }
.page-header .breadcrumb a { color: rgba(255,255,255,.85); }
.page-header .breadcrumb a:hover { color: var(--color-accent); }
.page-header .breadcrumb-item.active { color: var(--color-accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ---------- Product details ---------- */
.product-main-img {
    width: 100%; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--color-border); background: var(--color-bg-soft);
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
}
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.product-thumb-btn {
    width: 78px; height: 78px; border-radius: 8px; overflow: hidden;
    border: 2px solid transparent; cursor: pointer; padding: 0; background: none;
}
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb-btn.active { border-color: var(--color-secondary); }

.product-info-list { list-style: none; padding: 0; margin: 0; }
.product-info-list li {
    display: flex; gap: .75rem; padding: .65rem 0;
    border-bottom: 1px dashed var(--color-border); font-size: .95rem;
}
.product-info-list li:last-child { border-bottom: none; }
.product-info-list li strong { min-width: 150px; color: var(--color-primary); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .main-navbar .nav-link.active::after { display: none; }
    .main-navbar .nav-link.active { color: var(--color-secondary-600); font-weight: 700; }
    .main-navbar .nav-item .btn-quote { width: 100%; margin-top: .5rem; }
}
@media (max-width: 575.98px) {
    .section { padding: 3rem 0; }
    .hero { min-height: 460px; }
    .hero .btn { width: 100%; margin-right: 0; }
}
/* ============================================================
   CATEGORY HERO (for herbs.php, seeds.php, spices.php)
   ============================================================ */
.category-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    overflow: hidden;
}
.category-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212,160,23,.15) 0%, transparent 50%);
    pointer-events: none;
}
.category-hero .container { position: relative; z-index: 2; }

.category-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    font-size: 2rem;
    color: var(--color-accent);
}

.category-hero-title {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: .75rem;
    letter-spacing: -.5px;
}

.category-hero-subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.category-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: .88rem;
    color: rgba(255,255,255,.9);
}
.category-hero-meta span {
    display: inline-flex;
    align-items: center;
    padding: .35rem 0;
}
.category-hero-meta i { color: var(--color-accent); }

.category-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.category-breadcrumb a {
    color: rgba(255,255,255,.75);
    font-size: .85rem;
    text-decoration: none;
}
.category-breadcrumb a:hover { color: var(--color-accent); }
.category-breadcrumb .active {
    color: var(--color-accent);
    font-size: .85rem;
}
.category-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.4);
}

/* ============================================================
   CATEGORY TOOLBAR (search + filter chips)
   ============================================================ */
.category-toolbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.category-search .input-group-text {
    border-radius: 10px 0 0 10px;
    background: #fff;
    border-color: var(--color-border);
}
.category-search .form-control {
    border-color: var(--color-border);
    border-radius: 0;
    box-shadow: none;
}
.category-search .form-control:focus {
    border-color: var(--color-secondary);
    box-shadow: none;
}
.category-search .btn-primary-drasco {
    border-radius: 0 10px 10px 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.category-filters {
    display: inline-flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: var(--color-bg-soft);
    color: var(--color-text);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .2s ease;
}
.filter-chip:hover {
    background: #eaf2e5;
    color: var(--color-primary);
    border-color: var(--color-secondary);
}
.filter-chip.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.filter-chip.active i { color: var(--color-accent); }

/* ============================================================
   CATEGORY PRODUCTS GRID
   ============================================================ */
.category-products { padding-top: 3rem; }

.results-info { font-size: .95rem; }

/* Enhanced product card */
.product-card-enhanced .product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20,44,23,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 3;
}
.product-card-enhanced:hover .product-overlay { opacity: 1; }
.product-card-enhanced .product-overlay .btn {
    font-weight: 600;
    color: var(--color-primary);
}

.product-card-enhanced .product-title {
    font-size: 1.1rem;
    margin-bottom: .5rem;
    line-height: 1.35;
    font-weight: 700;
}
.product-card-enhanced .product-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color .2s ease;
}
.product-card-enhanced .product-title a:hover { color: var(--color-secondary-600); }

.product-card-enhanced .product-meta {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding-top: .75rem;
    margin-top: auto;
    border-top: 1px dashed var(--color-border);
    margin-bottom: .85rem;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 560px;
    margin: 0 auto;
}
.empty-state-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    color: var(--color-secondary);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.empty-state-title {
    font-size: 1.5rem;
    margin-bottom: .75rem;
}
.empty-state-text {
    color: var(--color-muted);
    margin-bottom: 0;
}

/* ============================================================
   PAGINATION ENHANCED
   ============================================================ */
.category-pagination .pagination {
    gap: .35rem;
}
.category-pagination .page-link {
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-weight: 500;
    padding: .55rem .85rem;
    transition: all .2s ease;
}
.category-pagination .page-link:hover {
    background: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}
.category-pagination .page-item.active .page-link {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(27,58,31,.25);
}
.category-pagination .page-item.disabled .page-link {
    background: #f8f8f5;
    color: #a8a8a0;
    border-color: var(--color-border);
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .category-toolbar { top: 0; position: relative; }
    .category-hero { min-height: 320px; padding: 3rem 0; }
    .category-hero-meta { gap: 1rem; }
}

@media (max-width: 575.98px) {
    .category-hero { min-height: 280px; }
    .category-hero-title { font-size: 1.75rem; }
    .category-hero-subtitle { font-size: .95rem; }
    .category-hero-icon { width: 56px; height: 56px; font-size: 1.5rem; }
    .category-hero-meta {
        flex-direction: column;
        gap: .35rem;
        font-size: .8rem;
    }
    .category-filters { justify-content: center; width: 100%; }
    .category-search .input-group { flex-wrap: nowrap; }
    .filter-chip { padding: .35rem .75rem; font-size: .8rem; }
}