/* SUNGLASSES PAGE  */

/* Custom Properties */
:root {
    --sg-accent: #c9a86c;
    --sg-accent-dark: #a8873a;
    --sg-accent-dim: rgba(201, 168, 108, 0.12);
    --sg-text: #1a1a1a;
    --sg-text-sub: #555;
    --sg-text-muted: #888;
    --sg-border: #e8e8e2;
    --sg-bg: #f8f8f5;
    --sg-white: #ffffff;
    --sg-card-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    --sg-radius: 12px;
    --sg-font-body: 'Lato', sans-serif;
    --sg-font-serif: 'Playfair Display', serif;
    --sg-sidebar-w: 280px;
    --sg-transition: 0.22s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--sg-font-body);
    color: var(--sg-text);
    background: var(--sg-bg);
}

/* ============================================================
   HERO BANNER — Premium Redesign
   ============================================================ */
/* Animations removed — static professional text design */

.sg-hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0a0a0a;
}

/* ── Layered background ── */
.sg-hero-bg {
    position: absolute;
    inset: 0;
    background:
        /* Gold vignette left */
        radial-gradient(ellipse 55% 70% at 15% 60%, rgba(201, 168, 108, 0.22) 0%, transparent 65%),
        /* Gold glow right */
        radial-gradient(ellipse 50% 60% at 85% 40%, rgba(201, 168, 108, 0.12) 0%, transparent 65%),
        /* Dark overlay */
        linear-gradient(160deg, rgba(10, 8, 3, 0.82) 0%, rgba(10, 8, 3, 0.55) 50%, rgba(10, 8, 3, 0.80) 100%),
        /* Hero photo */
        url('https://images.unsplash.com/photo-1572635196237-14b3f281503f?w=1600&q=75') center 40% / cover no-repeat;
}

/* ── Floating ambient particles ── */
.sg-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.sg-particle,
.sg-p1,
.sg-p2,
.sg-p3 {
    display: none;
}

/* ── Hero content ── */
.sg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 3rem 5% 1.5rem;
    text-align: center;
    margin: 0 auto;
}

/* Eyebrow */
.sg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sg-font-body);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--sg-accent);
    text-transform: uppercase;
    margin-bottom: 1.1rem;
    opacity: 0.9;
}

.sg-eyebrow-line {
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--sg-accent);
    opacity: 0.7;
}

/* Main heading */
.sg-hero-heading {
    font-family: var(--sg-font-serif);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

/* Line 1 — "Shield Your Style" */
.sg-heading-line1 {
    display: block;
    font-family: var(--sg-font-body);
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 9px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    text-shadow: none;
}

/* Line 2 — "Own the Sun" */
.sg-heading-line2 {
    display: block;
    padding-bottom: 12px;
    line-height: 1.05;
}

/* Static gold — no animation */
.sg-heading-line2 em {
    display: inline-block;
    font-family: var(--sg-font-serif);
    font-style: italic;
    font-size: clamp(3.2rem, 7.5vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--sg-accent);
    text-shadow: none;
    position: relative;
}

/* Decorative underline below "Own the Sun" */
.sg-heading-line2 em::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sg-accent), transparent);
    border-radius: 2px;
    opacity: 0.65;
}

/* Sub text */
.sg-hero-sub {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 1.8rem;
}

.sg-sub-br {
    display: none;
}

@media (min-width: 640px) {
    .sg-sub-br {
        display: inline;
    }
}

/* ── CTA Row ── */
.sg-hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sg-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 2rem;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.sg-hero-btn--primary {
    background: linear-gradient(135deg, #e8c97a 0%, var(--sg-accent) 60%, #a8873a 100%);
    color: #1a1208;
    border: none;
    box-shadow: 0 6px 24px rgba(201, 168, 108, 0.38);
}

.sg-hero-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(201, 168, 108, 0.5);
    color: #0d0b06;
}

.sg-hero-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.sg-hero-btn--ghost:hover {
    border-color: var(--sg-accent);
    color: var(--sg-accent);
    transform: translateY(-2px);
}

/* ── Trust badges ── */
.sg-hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.sg-hero-trust i {
    color: var(--sg-accent);
    margin-right: 4px;
    opacity: 0.85;
}

.sg-trust-dot {
    color: rgba(201, 168, 108, 0.35);
    font-size: 14px;
}

/* ─── Offer strip ─── */
.sg-offer-strip {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.72);
    border-top: 1px solid rgba(201, 168, 108, 0.22);
    padding: 0.99rem 5%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sg-offer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sg-offer-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.sg-offer-badge {
    display: flex;
    align-items: baseline;
    gap: 5px;
    font-family: var(--sg-font-serif);
    line-height: 1;
}

.sg-offer-flat {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.sg-offer-pct {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e8c97a, var(--sg-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.sg-offer-pct sup {
    font-size: 1rem;
}

.sg-offer-on {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 72px;
    line-height: 1.3;
}

.sg-offer-brands {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sg-brand-pill {
    padding: 4px 14px;
    border: 1px solid rgba(201, 168, 108, 0.35);
    border-radius: 20px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--sg-accent);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(201, 168, 108, 0.06);
    transition: all 0.2s ease;
}

.sg-brand-pill:hover {
    background: rgba(201, 168, 108, 0.15);
    border-color: var(--sg-accent);
}

.sg-offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #e8c97a 0%, var(--sg-accent) 100%);
    color: #1a1208;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.22s ease;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(201, 168, 108, 0.3);
}

.sg-offer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 168, 108, 0.45);
}

/* BREADCRUMB */
.sg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 5%;
    background: var(--sg-white);
    border-bottom: 1px solid var(--sg-border);
    font-size: 12px;
    color: var(--sg-text-muted);
}

.sg-breadcrumb a {
    color: var(--sg-text-sub);
    text-decoration: none;
    transition: color var(--sg-transition);
}

.sg-breadcrumb a:hover {
    color: var(--sg-accent);
}

.sg-bc-sep {
    color: #ccc;
}

/* SECTION TITLE (between breadcrumb and main layout) */
.sg-section-title-wrap {
    text-align: center;
    padding: 2rem 5% 1rem;
    background: var(--sg-bg);
}

.sg-section-title {
    font-family: var(--sg-font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--sg-text);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: inline-block;
}

.sg-section-title-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--sg-accent);
    border-radius: 2px;
    margin: 0 auto;
}

/* MAIN LAYOUT */
.sg-main-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2%;
}

/* SIDEBAR */
.sg-sidebar {
    order: 0;
    width: var(--sg-sidebar-w);
    min-width: var(--sg-sidebar-w);
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.sg-sidebar::-webkit-scrollbar {
    width: 4px;
}

.sg-sidebar::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.sg-filter-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--sg-border);
    font-size: 13px;
    font-weight: 700;
    color: var(--sg-text);
    letter-spacing: 0.4px;
    position: sticky;
    top: 0;
    background: var(--sg-white);
    z-index: 1;
}

.sg-filter-topbar i:first-child {
    color: var(--sg-accent);
}

.sg-clear-filters {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #c0392b;
    text-decoration: none;
    padding: 2px 7px;
    border-radius: 4px;
    background: rgba(192, 57, 43, 0.06);
    transition: background var(--sg-transition);
}

.sg-clear-filters:hover {
    background: rgba(192, 57, 43, 0.12);
}

/* Filter groups */
.sg-filter-group {
    border-bottom: 1px solid var(--sg-border);
}

.sg-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.78rem 1rem;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sg-text);
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.3px;
    transition: color var(--sg-transition);
}

.sg-filter-title:hover {
    color: var(--sg-accent);
}

.sg-filter-title i {
    font-size: 10px;
    color: var(--sg-text-muted);
    transition: transform var(--sg-transition);
}

.sg-filter-title.collapsed i {
    transform: rotate(-90deg);
}

.sg-filter-body {
    overflow: hidden;
    transition: max-height 0.28s ease;
    padding: 0 1rem 0.75rem;
}

.sg-filter-body.collapsed {
    max-height: 0 !important;
    padding-bottom: 0;
}

/* Price range */
.sg-price-display {
    font-size: 12px;
    font-weight: 600;
    color: var(--sg-text-sub);
    margin-bottom: 0.5rem;
}

.sg-range {
    width: 100%;
    -webkit-appearance: none;
    height: 3px;
    background: linear-gradient(to right, var(--sg-accent) 0%, var(--sg-accent) 53%, #e0e0e0 53%);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.sg-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--sg-accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform var(--sg-transition);
}

.sg-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Checkbox list */
.sg-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sg-check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sg-check-list label {
    font-size: 12px;
    color: var(--sg-text-sub);
    cursor: pointer;
    line-height: 1.4;
    transition: color var(--sg-transition);
}

.sg-check-list label:hover {
    color: var(--sg-accent);
}

.sg-check-list input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: var(--sg-accent);
    cursor: pointer;
    flex-shrink: 0;
}

/* ─── PRODUCTS AREA ─── */
.sg-products-area {
    order: 1;
    flex: 1;
    min-width: 0;
    padding-left: 0;
}

/* Sort bar */
.sg-sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
}

.sg-sort-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sg-results-count {
    font-size: 13px;
    color: var(--sg-text-sub);
    font-weight: 500;
}

.sg-results-count strong {
    color: var(--sg-text);
    font-weight: 700;
}

.sg-filtered-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: var(--sg-accent-dim);
    color: var(--sg-accent-dark);
    border: 1px solid rgba(201, 168, 108, 0.3);
    border-radius: 20px;
    padding: 1px 8px;
    margin-left: 4px;
}

.sg-mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    background: var(--sg-white);
    color: var(--sg-text-sub);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--sg-font-body);
    transition: all var(--sg-transition);
}

.sg-mobile-filter-btn:hover {
    border-color: var(--sg-accent);
    color: var(--sg-accent);
}

.sg-sort-select {
    padding: 0.42rem 0.85rem;
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    font-size: 12.5px;
    font-family: var(--sg-font-body);
    color: var(--sg-text-sub);
    background: var(--sg-white);
    outline: none;
    cursor: pointer;
    transition: border-color var(--sg-transition);
}

.sg-sort-select:focus {
    border-color: var(--sg-accent);
}

/* ─── PRODUCT GRID ─── */
.sg-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* ─── PRODUCT CARD ─── */
.sg-product-card {
    position: relative;
    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--sg-transition), transform var(--sg-transition);
}

.sg-product-card:hover {
    box-shadow: var(--sg-card-shadow);
    transform: translateY(-3px);
}

/* Badges */
.sg-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
    line-height: 1;
}

.sg-badge-new {
    background: #1a1a1a;
    color: #fff;
}

.sg-badge-offer {
    background: var(--sg-accent);
    color: #fff;
    top: 10px;
    left: auto;
    right: 36px;
}

/* Wishlist */
.sg-card-wishlist {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--sg-border);
    background: rgba(255, 255, 255, 0.92);
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all var(--sg-transition);
    backdrop-filter: blur(4px);
}

.sg-card-wishlist:hover,
.sg-card-wishlist.active {
    color: #e53e3e;
    border-color: rgba(229, 62, 62, 0.3);
    background: rgba(255, 255, 255, 1);
}

/* Image wrap */
.sg-card-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f0;
}

.sg-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.sg-product-card:hover .sg-card-img-wrap img {
    transform: scale(1.05);
}

/* Card body */
.sg-card-body {
    padding: 0.85rem 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.sg-card-brand {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sg-accent-dark);
}

.sg-card-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--sg-text);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--sg-transition);
}

.sg-card-name:hover {
    color: var(--sg-accent-dark);
}

/* Color dot */
.sg-card-colors {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.sg-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    background: currentColor;
    display: inline-block;
}

.sg-color-label {
    font-size: 10.5px;
    color: var(--sg-text-muted);
    font-weight: 400;
}

/* Pricing */
.sg-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 6px;
}

.sg-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--sg-text);
    letter-spacing: -0.3px;
}

.sg-price-original {
    font-size: 11.5px;
    color: var(--sg-text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.sg-price-save {
    font-size: 10.5px;
    font-weight: 700;
    color: #2d8c4e;
    background: rgba(45, 140, 78, 0.08);
    border: 1px solid rgba(45, 140, 78, 0.18);
    border-radius: 4px;
    padding: 1px 6px;
}

/* View Details CTA */
.sg-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 0.5rem;
    background: transparent;
    border: 1.5px solid var(--sg-border);
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--sg-text-sub);
    text-decoration: none;
    text-transform: uppercase;
    transition: all var(--sg-transition);
}

.sg-card-cta:hover {
    background: var(--sg-accent);
    border-color: var(--sg-accent);
    color: #fff;
}

/* ─── EMPTY STATE ─── */
.sg-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--sg-white);
    border: 1px solid var(--sg-border);
    border-radius: var(--sg-radius);
}

.sg-empty-icon {
    font-size: 3rem;
    color: #d4c9a8;
    margin-bottom: 1rem;
}

.sg-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--sg-text-sub);
    margin-bottom: 0.5rem;
}

.sg-empty-state p {
    font-size: 13.5px;
    color: var(--sg-text-muted);
}

.sg-empty-state a {
    color: var(--sg-accent-dark);
    font-weight: 600;
}

/* ─── PAGINATION ─── */
.sg-pagination-wrap {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.sg-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sg-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--sg-border);
    background: var(--sg-white);
    color: var(--sg-text-sub);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--sg-font-body);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--sg-transition);
}

.sg-page-btn:hover:not(.disabled) {
    border-color: var(--sg-accent);
    color: var(--sg-accent-dark);
    background: var(--sg-accent-dim);
}

.sg-page-btn.active {
    background: var(--sg-accent);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 10px rgba(201, 168, 108, 0.35);
}

.sg-page-btn.disabled {
    color: #ccc;
    pointer-events: none;
    cursor: default;
}

/* CATEGORIES SECTION */
.sg-categories-section {
    padding: 3.5rem 0;
    background: var(--sg-white);
    border-top: 1px solid var(--sg-border);
}

.sg-categories-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5%;
}

.sg-sec-head {
    text-align: center;
    margin-bottom: 2rem;
}

.sg-sec-head h2 {
    font-family: var(--sg-font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--sg-text);
    letter-spacing: 2px;
    margin-bottom: 0.4rem;
}

.sg-sec-head p {
    font-size: 13px;
    color: var(--sg-text-muted);
}

.sg-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.sg-cat-card {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    border-radius: var(--sg-radius);
    overflow: hidden;
    text-decoration: none;
}

.sg-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.sg-cat-card:hover img {
    transform: scale(1.06);
}

.sg-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem;
}

.sg-cat-overlay h3 {
    font-family: var(--sg-font-serif);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .sg-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    :root {
        --sg-sidebar-w: 260px;
    }

    .sg-mobile-filter-btn {
        display: flex;
    }

    .sg-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        max-height: 100vh;
        z-index: 1000;
        transform: translateX(-110%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0;
        border: none;
        border-right: 1px solid var(--sg-border);
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    }

    .sg-sidebar.open {
        transform: translateX(0);
    }

    .sg-main-layout {
        padding: 1.25rem 4%;
    }

    .sg-products-area {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .sg-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .sg-cat-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .sg-offer-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .sg-hero-content {
        padding: 2rem 5% 0.5rem;
    }
}

@media (max-width: 400px) {
    .sg-products-grid {
        grid-template-columns: 1fr;
    }
}