/* =============================================================
   CasaGlow Homepage v3.0 - Premium Redesign
   Inspired by reference design. Clean, spacious, Shopify-style.
   ============================================================= */

/* ---- Layout helpers ---- */
.cg-wrap          { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.cg-section       { padding: 56px 0; }
.cg-section--gray { background: #F3F9F3; }

.cg-section-head  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.cg-section-head--center { flex-direction: column; text-align: center; }
.cg-section-title { font-family: 'Poppins', sans-serif; font-size: 1.65rem; font-weight: 700; color: #111; margin: 0; }
.cg-section-sub   { font-size: 0.95rem; color: #6B7280; margin: 8px 0 0; }
.cg-view-all      { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: #43A047; text-decoration: none; white-space: nowrap; transition: color 150ms; }
.cg-view-all:hover{ color: #2E7D32; }

/* ---- Buttons ---- */
.cg-btn           { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; font-family: 'Poppins', sans-serif; font-size: 0.875rem; font-weight: 600; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: all 200ms ease; text-decoration: none; white-space: nowrap; }
.cg-btn--primary  { background: #43A047; border-color: #43A047; color: #fff; }
.cg-btn--primary:hover { background: #2E7D32; border-color: #2E7D32; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(67,160,71,0.32); }
.cg-btn--ghost    { background: transparent; border-color: #43A047; color: #2E7D32; }
.cg-btn--ghost:hover { background: #43A047; color: #fff; transform: translateY(-1px); }
.cg-btn--outline  { background: transparent; border-color: #43A047; color: #2E7D32; }
.cg-btn--outline:hover { background: #43A047; color: #fff; }
.cg-btn--lg       { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }

/* =============================================================
   HERO SLIDER — padded frame, rounded, overlay text, auto-slide
   ============================================================= */
.bytora-homepage .cg-hero-slider { display: block !important; }
.cg-hero-slider {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 16px 8px !important;
    background: transparent !important;
    overflow: visible !important;
    min-height: 0 !important;
    max-height: none !important;
}
.cg-hero-slider__frame {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    height: clamp(320px, 52vw, 520px);
    border-radius: 18px;
    overflow: hidden;
    background: #16351c;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.cg-hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}
.cg-hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-24px);
    transition: opacity 650ms ease, transform 650ms ease, visibility 650ms ease;
    z-index: 1;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.cg-hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0);
    z-index: 2;
}
.cg-hero-slide.is-enter { transform: translateX(-36px); }
.cg-hero-slide__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
}
.cg-hero-slide__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
}
.cg-hero-slide__overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(8, 24, 12, 0.78) 0%,
        rgba(8, 24, 12, 0.50) 42%,
        rgba(8, 24, 12, 0.12) 72%,
        rgba(8, 24, 12, 0) 100%
    );
}
.cg-hero-slide__content {
    position: relative !important;
    z-index: 2;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 36px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    background: transparent !important;
}
.cg-hero-slide__eyebrow {
    display: inline-block;
    color: #C8F5CC !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 10px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.cg-hero-slide__title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(1.7rem, 3.6vw, 2.8rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin: 0 0 12px !important;
    max-width: 540px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.cg-hero-slide__desc {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem) !important;
    color: rgba(255,255,255,0.92) !important;
    line-height: 1.55;
    margin: 0 0 22px !important;
    max-width: 420px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.cg-hero-slide__btn { box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.cg-hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 8px;
    align-items: center;
}
.cg-hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: width 200ms ease, background 200ms ease;
}
.cg-hero-slider__dot.is-active { width: 22px; background: #fff; }
.cg-hero-slider__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 768px) {
    .cg-hero-slider { padding: 12px 12px 6px !important; }
    .cg-hero-slider__frame {
        height: min(68vw, 420px);
        border-radius: 14px;
    }
    .cg-hero-slide__overlay {
        background: linear-gradient(
            180deg,
            rgba(8, 24, 12, 0.15) 0%,
            rgba(8, 24, 12, 0.55) 45%,
            rgba(8, 24, 12, 0.82) 100%
        ) !important;
    }
    .cg-hero-slide__content {
        justify-content: flex-end;
        padding: 24px 18px 44px;
    }
    .cg-hero-slide__title,
    .cg-hero-slide__desc { max-width: 100%; }
}

/* =============================================================
   TRUST BAR (benefits strip under hero)
   ============================================================= */
.cg-trust-bar {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    padding: 18px 0;
}
.cg-trust-bar__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 16px 24px;
    list-style: none;
    margin: 0;
    padding: 0 8px;
}
.cg-trust-bar__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    flex: 1 1 0;
    min-width: 0;
}
.cg-trust-bar__icon { color: #2E7D32; flex-shrink: 0; }
.cg-trust-bar__text {
    line-height: 1.35;
}

/* =============================================================
   CATEGORIES
   ============================================================= */
.cg-categories { padding: 56px 0 48px; }
.cg-cats__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 28px 36px;
    list-style: none;
    margin: 0 auto;
    padding: 8px 0 0;
    max-width: 920px;
}
.cg-cat-card { flex: 0 0 auto; }
.cg-cat-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    width: 140px;
}
.cg-cat-card__circle {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    background: #EAF7EA;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
    color: #2E7D32;
    position: relative;
}
.cg-cat-card__link:hover .cg-cat-card__circle {
    border-color: #2E7D32;
    box-shadow: 0 4px 16px rgba(46,125,50,0.18);
    transform: translateY(-3px);
}
.cg-cat-card__circle--all { background: #F3F4F6; color: #6B7280; }
.cg-cat-card__link:hover .cg-cat-card__circle--all { border-color: #9CA3AF; box-shadow: 0 4px 12px rgba(0,0,0,0.10); }
.cg-cat-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cg-cat-card__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    text-align: center;
    line-height: 1.3;
    max-width: 140px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cg-cat-card__count { font-size: 0.75rem; color: #9CA3AF; }

/* =============================================================
   PROMO CARDS — 3 col grid wrapper
   ============================================================= */
.cg-promo-cards { padding: 0 0 56px; }
.cg-promo-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
/* Override promo banner to fit grid */
.cg-promo-cards__grid .bytora-promo-banner {
    border-radius: 16px;
    overflow: hidden;
    padding: 28px 24px;
    min-height: 160px;
}
.cg-promo-cards__grid .bytora-promo-banner__title { font-size: 1.35rem; margin-bottom: 6px; }
.cg-promo-cards__grid .bytora-promo-banner__subtitle { font-size: 0.82rem; margin-bottom: 14px; opacity: 0.9; }

/* =============================================================
   PRODUCTS GRID — homepage only (4 equal shop-style cards)
   ============================================================= */
.cg-products-section { padding: 72px 0; }
.cg-products-grid,
.cg-bs-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Product card — same visual language as shop sm-card */
.cg-product-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E8E8E8;
    overflow: hidden;
    transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}
.cg-product-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #D1D5DB;
}
.cg-product-card__link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.cg-product-card__img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #F7F7F7;
    flex-shrink: 0;
}
.cg-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cg-product-card:hover .cg-product-card__img { transform: none; }

/* Green circle badge — top RIGHT (shop style) */
.cg-badge {
    position: absolute;
    z-index: 5;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1;
}
.cg-badge--disc {
    top: 8px;
    right: 8px;
    left: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #43A047;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 8px rgba(67,160,71,0.35);
}
.cg-badge--sale {
    top: 8px;
    right: 8px;
    left: auto;
    border-radius: 999px;
    background: #43A047;
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
}
.cg-badge--oos {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    border-radius: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    padding: 6px;
}

/* Heart — top LEFT on image */
.cg-product-card__heart {
    position: absolute !important;
    top: 8px;
    left: 8px;
    right: auto;
    z-index: 6;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid #E5E7EB;
    color: #6B7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.cg-product-card__heart:hover { color: #e53935; border-color: #FECACA; }
.cg-product-card__heart.is-active { color: #e53935; background: #FFF5F5; border-color: #FECACA; }
.cg-product-card__heart.is-active svg { fill: currentColor; }

.cg-product-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 auto;
    background: #fff;
    box-sizing: border-box;
}
.cg-product-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111 !important;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em; /* equal title block → equal card heights */
}
.cg-product-card__price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1B5E20;
    line-height: 1.35;
    margin-top: auto;
}
.cg-product-card__price ins,
.cg-product-card__sale {
    display: inline;
    text-decoration: none;
    color: #1B5E20;
    font-weight: 700;
    margin-right: 8px;
}
.cg-product-card__price del,
.cg-product-card__regular {
    display: inline;
    font-size: 0.8rem;
    font-weight: 400;
    color: #9CA3AF;
}

/* =============================================================
   BEST SELLERS — same 4 equal shop-style cards
   ============================================================= */
.cg-bestsellers { padding: 64px 0; }

/* =============================================================
   WHY CHOOSE US
   ============================================================= */
.cg-why-us { padding: 64px 0; }
.cg-why-us__heading { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 700; color: #111; margin: 0 0 36px; }
.cg-why-us__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none; margin: 0; padding: 0;
}
.cg-why-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.cg-why-card__icon { color: #2E7D32; }
.cg-why-card__title { font-size: 0.9rem; font-weight: 700; color: #111; margin: 0; }
.cg-why-card__desc { font-size: 0.82rem; color: #6B7280; margin: 0; line-height: 1.5; }

/* =============================================================
   LIFESTYLE CARDS
   ============================================================= */
.cg-lifestyle { padding: 72px 0; }
.cg-lifestyle__grid {
    display: grid;
    grid-template-columns: repeat(var(--ls-cols, 4), minmax(0, 1fr));
    gap: 16px;
}
.cg-lifestyle-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: #EAF7EA;
    background-image: var(--lc-bg);
    background-size: cover;
    background-position: center;
    transition: transform 200ms;
}
.cg-lifestyle-card:hover { transform: translateY(-3px); }
.cg-lifestyle-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 60%);
}
.cg-lifestyle-card--has-img .cg-lifestyle-card__overlay { background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.10) 55%); }
.cg-lifestyle-card__body { position: relative; z-index: 1; padding: 20px; }
.cg-lifestyle-card__title { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.cg-lifestyle-card--has-img .cg-lifestyle-card__title { color: #fff; }
.cg-lifestyle-card:not(.cg-lifestyle-card--has-img) .cg-lifestyle-card__title { color: #111; }
.cg-lifestyle-card__desc { font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-bottom: 14px; line-height: 1.5; }
.cg-lifestyle-card:not(.cg-lifestyle-card--has-img) .cg-lifestyle-card__desc { color: #6B7280; }
.cg-lifestyle-card__btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px;
    background: #fff; color: #111;
    border-radius: 8px;
    font-size: 0.78rem; font-weight: 600;
    text-decoration: none;
    transition: background 150ms;
}
.cg-lifestyle-card__btn:hover { background: #EAF7EA; color: #2E7D32; }
.cg-lifestyle-card:not(.cg-lifestyle-card--has-img) .cg-lifestyle-card__btn { background: #2E7D32; color: #fff; }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.cg-testimonials { padding: 72px 0; }
.cg-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none; margin: 0; padding: 0;
}
.cg-review-card {
    background: #fff; border-radius: 16px;
    border: 1px solid #E5E7EB;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 14px;
    transition: box-shadow 200ms;
}
.cg-review-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.cg-review-card__stars { display: flex; gap: 2px; }
.cg-review-card__text { font-size: 0.9rem; color: #374151; line-height: 1.65; margin: 0; flex: 1; }
.cg-review-card__footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cg-review-card__avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: #2E7D32; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: 700; flex-shrink: 0;
}
.cg-review-card__meta { flex: 1; min-width: 0; }
.cg-review-card__meta strong { display: block; font-size: 0.82rem; font-weight: 600; color: #111; }
.cg-review-card__meta span { font-size: 0.75rem; color: #9CA3AF; }
.cg-verified-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 8px; background: #EAF7EA; color: #2E7D32;
    border-radius: 100px; font-size: 11px; font-weight: 600;
    margin-left: auto;
}

/* =============================================================
   NEWSLETTER
   ============================================================= */
.cg-newsletter {
    background: #1B5E20;
    padding: 56px 0;
}
.cg-newsletter__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.cg-newsletter__icon { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.cg-newsletter__copy { flex: 1; min-width: 200px; }
.cg-newsletter__copy h2 { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.cg-newsletter__copy p { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 0; }
.cg-newsletter__form {
    display: flex;
    gap: 0;
    flex: 1;
    min-width: 280px;
    max-width: 440px;
}
.cg-newsletter__form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.875rem;
    outline: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
}
.cg-newsletter__form input::placeholder { color: rgba(255,255,255,0.5); }
.cg-newsletter__form .cg-btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 24px;
    white-space: nowrap;
    background: #fff;
    color: #1B5E20;
    border-color: #fff;
    font-size: 0.875rem;
}
.cg-newsletter__form .cg-btn:hover { background: #EAF7EA; color: #1B5E20; }

/* =============================================================
   STAR OVERRIDES for new card classes
   ============================================================= */
.cg-review-card__stars .bytora-star--filled,
.cg-bs-card__rating .bytora-star--filled,
.cg-product-card__rating .bytora-star--filled { color: #F59E0B; }
.cg-review-card__stars .bytora-star--empty,
.cg-bs-card__rating .bytora-star--empty,
.cg-product-card__rating .bytora-star--empty { color: #D1D5DB; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1200px) {
    .cg-products-grid,
    .cg-bs-track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cg-why-us__grid  { grid-template-columns: repeat(3, 1fr); }
    .cg-cat-card__circle { width: 118px; height: 118px; }
}
@media (max-width: 1024px) {
    .cg-hero__title { font-size: 2.4rem; }
    .cg-promo-cards__grid { grid-template-columns: repeat(2, 1fr); }
    .cg-products-grid,
    .cg-bs-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cg-lifestyle__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cg-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
    .cg-cats__grid { gap: 22px 28px; max-width: 100%; }
}
@media (max-width: 900px) {
    .cg-hero__inner { grid-template-columns: 1fr; min-height: auto; }
    .cg-hero__content { padding: 56px 24px 32px; max-width: 100%; }
    .cg-hero__image { min-height: 320px; }
    .cg-products-grid,
    .cg-bs-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cg-trust-bar { padding: 20px 16px; }
    .cg-trust-bar__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px 14px;
        padding: 0;
    }
    .cg-trust-bar__item {
        flex: none;
        font-size: 0.78rem;
        gap: 8px;
        align-items: flex-start;
    }
    .cg-trust-bar__text { line-height: 1.3; }
}
@media (max-width: 768px) {
    .cg-section { padding: 48px 0; }
    .cg-hero__title { font-size: 2rem; }
    .cg-promo-cards__grid { grid-template-columns: 1fr; }
    .cg-products-grid,
    .cg-bs-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cg-why-us__grid { grid-template-columns: repeat(2, 1fr); }
    .cg-lifestyle__grid { grid-template-columns: 1fr 1fr; }
    .cg-testimonials__grid { grid-template-columns: 1fr; }
    .cg-newsletter__inner { flex-direction: column; align-items: stretch; }
    .cg-newsletter__form { max-width: 100%; }
    .cg-trust-bar { padding: 22px 16px 24px; }
    .cg-trust-bar__list { gap: 20px 12px; }
    .cg-trust-bar__item { font-size: 0.76rem; }
    .cg-cat-card__circle { width: 104px; height: 104px; }
    .cg-cat-card__link { width: 112px; }
}
@media (max-width: 540px) {
    .cg-hero__actions { flex-direction: column; }
    .cg-hero__actions .cg-btn { text-align: center; justify-content: center; }
    .cg-products-grid,
    .cg-bs-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cg-lifestyle__grid { grid-template-columns: 1fr; }
    .cg-why-us__grid { grid-template-columns: 1fr 1fr; }
    .cg-badge--disc { width: 36px; height: 36px; font-size: 10px; }
}

/* =============================================================
   HOMEPAGE v3 OVERRIDES
   These override old bytora-hero and trust strip on the homepage only.
   ============================================================= */

/* On the homepage, hide old sections if they exist from old code */
.bytora-homepage .bytora-hero,
.bytora-homepage .bytora-feature-cards { display: none !important; }

/* Ensure new cg- sections show */
.bytora-homepage .cg-hero,
.bytora-homepage .cg-hero-slider,
.bytora-homepage .cg-trust-bar,
.bytora-homepage .cg-section { display: block; }
.bytora-homepage .cg-footer { display: block; }

/* WC button reset inside cg-product-card */
.cg-product-card .woocommerce-loop-add-to-cart-link,
.cg-product-card .add_to_cart_button {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 9px 12px !important;
    background: #2E7D32 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 150ms !important;
}
.cg-product-card .add_to_cart_button:hover { background: #1B5E20 !important; }
.cg-product-card .added_to_cart { display: none !important; }
