/*
Theme Name: Nanjilbites Pro
Theme URI: 
Author: Nanjilbites
Author URI: 
Description: The final verified premium WooCommerce theme.
Version: 7.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nanjilbites
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce
*/

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

  :root {
    /* PRIMARY — #800000 MAROON */
    --red:        #800000;
    --red-dark:   #5C0000;
    --red-mid:    #A00000;
    --red-light:  #B22222;

    /* SECONDARY — GOLD */
    --gold:       #C9960C;
    --gold-dark:  #8B6914;
    --gold-light: #F0C93A;
    --gold-pale:  #FFF8DC;

    /* TERTIARY — GREEN (used sparingly, 5 spots only) */
    --green:      #2D6A4F;
    --green-acc:  #52B788;
    --green-pale: #D4EAE0;

    /* NEUTRALS */
    --cream:      #FDF8F0;
    --cream2:     #FAF2E4;
    --ivory:      #F5EDD8;
    --parchment:  #EDD9A3;
    --brown-dark: #1A0000;
    --text-dark:  #1E0400;
    --text-mid:   #5A2010;
    --text-lt:    #9B6030;
  }

  html { scroll-behavior: smooth; }
  body { font-family: 'Inter', sans-serif; background: var(--cream); color: var(--text-dark); overflow-x: hidden; }

  /* ANNOUNCEMENT BAR */
  .announce {
    background: var(--brown-dark);
    color: var(--ivory);
    text-align: center; font-size: 13px;
    padding: 9px 20px; letter-spacing: 0.03em;
  }
  .announce strong { color: var(--gold-light); }

  /* NAV */
  nav {
    background: var(--red);
    position: sticky; top: 0; z-index: 100;
    padding: 0 52px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
    border-bottom: 3px solid var(--gold);
  }
  .nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px; color: var(--ivory);
    text-decoration: none; display: flex; align-items: center; gap: 12px;
  }
  .logo-mark {
    width: 28px; height: 28px;
    background: var(--gold);
    transform: rotate(45deg); border-radius: 3px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .logo-mark-inner {
    width: 10px; height: 10px;
    background: var(--red);
    border-radius: 50%; transform: rotate(-45deg);
  }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    color: #F0D9C0; font-size: 13.5px; text-decoration: none;
    letter-spacing: 0.02em; transition: color 0.2s; padding-bottom: 3px;
  }
  .nav-links a:hover { color: var(--gold-light); border-bottom: 1.5px solid var(--gold-light); }
  .nav-actions { display: flex; gap: 14px; align-items: center; }
  .nav-icon { color: var(--ivory); font-size: 20px; cursor: pointer; }
  .nav-btn {
    background: var(--gold); color: var(--brown-dark);
    border: none; border-radius: 6px;
    padding: 9px 22px; font-size: 13px; font-weight: 700;
    cursor: pointer; transition: background 0.2s;
  }
  .nav-btn:hover { background: var(--gold-light); }

  /* HERO */
  .hero {
    background: var(--red);
    min-height: 92vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    padding: 80px 52px;
  }
  .hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(ellipse at 78% 25%, rgba(201,150,12,0.16) 0%, transparent 52%),
      radial-gradient(ellipse at 15% 80%, rgba(100,0,0,0.4) 0%, transparent 48%),
      linear-gradient(158deg, #5C0000 0%, #800000 55%, #6B0000 100%);
  }
  .hero-ring {
    position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
    width: 580px; height: 580px; border-radius: 50%;
    border: 1.5px solid rgba(201,150,12,0.2); pointer-events: none;
  }
  .hero-ring::before {
    content: ''; position: absolute; inset: 50px;
    border-radius: 50%; border: 1px solid rgba(201,150,12,0.13);
  }
  .hero-ring::after {
    content: ''; position: absolute; inset: 108px;
    border-radius: 50%; border: 1px solid rgba(201,150,12,0.07);
  }
  .hero-content { max-width: 600px; position: relative; z-index: 2; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(201,150,12,0.14);
    border: 1px solid rgba(201,150,12,0.38);
    color: var(--gold-light);
    font-size: 11.5px; font-weight: 700;
    letter-spacing: 0.11em; text-transform: uppercase;
    padding: 7px 18px; border-radius: 24px; margin-bottom: 28px;
  }
  /* GREEN tertiary — tiny dot in hero badge (spot 1 of 5) */
  .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-acc); flex-shrink: 0; }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 5.2vw, 64px);
    color: var(--ivory); line-height: 1.12; margin-bottom: 22px;
  }
  .hero h1 em { color: var(--gold-light); font-style: italic; display: block; }
  .hero-sub {
    font-size: 16px; color: #CCA080; line-height: 1.8;
    max-width: 470px; margin-bottom: 40px;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
  .btn-gold {
    background: var(--gold); color: var(--brown-dark);
    border: none; border-radius: 8px;
    padding: 14px 32px; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
  .btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(201,150,12,0.45); color: var(--gold-light);
    border-radius: 8px; padding: 14px 32px;
    font-size: 15px; font-weight: 500;
    cursor: pointer; transition: all 0.2s;
    text-decoration: none; display: inline-block;
  }
  .btn-ghost:hover { border-color: var(--gold-light); background: rgba(201,150,12,0.08); }
  .hero-stats {
    display: flex; gap: 40px;
    padding-top: 32px; border-top: 1px solid rgba(201,150,12,0.2);
  }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px; color: var(--gold-light); font-weight: 700;
  }
  .stat-label { font-size: 12px; color: #AA7040; margin-top: 4px; }
  .hero-cards {
    position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 18px; z-index: 3;
  }
  .hero-pcard {
    border: 1px solid rgba(201,150,12,0.28);
    border-radius: 14px; width: 195px; overflow: hidden;
    background: rgba(253,248,240,0.06);
  }
  .hero-pcard:nth-child(2) { margin-left: 28px; }
  .hero-pcard-img {
    height: 130px;
    display: flex; align-items: center; justify-content: center; font-size: 56px;
  }
  .hero-pcard-body { padding: 10px 14px 14px; }
  .hero-pcard-name { font-size: 13px; font-weight: 600; color: var(--ivory); }
  .hero-pcard-price { font-size: 12px; color: var(--gold-light); margin-top: 3px; }

  /* TRUST BAR */
  .trust-bar {
    background: var(--red-dark);
    padding: 14px 52px;
    display: flex; align-items: center; justify-content: center;
    gap: 36px; flex-wrap: wrap;
    border-bottom: 1px solid rgba(201,150,12,0.25);
  }
  .trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ivory); }
  .trust-item span { color: var(--gold-light); }

  /* SECTIONS */
  section { padding: 84px 52px; }
  .section-eyebrow {
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--red-mid);
    margin-bottom: 10px;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--red); line-height: 1.2; margin-bottom: 14px;
  }
  .section-sub { font-size: 15px; color: var(--text-mid); max-width: 560px; line-height: 1.78; }
  .section-header { margin-bottom: 52px; }
  .section-rule { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 14px; }

  /* CATEGORIES */
  .categories { background: var(--cream2); }
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 16px;
  }
  .cat-card {
    background: var(--cream);
    border: 1.5px solid var(--parchment);
    border-radius: 16px; padding: 30px 16px;
    text-align: center; cursor: pointer;
    transition: all 0.25s; text-decoration: none;
  }
  .cat-card:hover {
    background: var(--red);
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(128,0,0,0.25);
  }
  .cat-card:hover .cat-name { color: var(--ivory); }
  .cat-card:hover .cat-count { color: var(--gold-light); }
  .cat-emoji { font-size: 38px; margin-bottom: 12px; display: block; }
  .cat-name { font-size: 14px; font-weight: 600; color: var(--red); margin-bottom: 4px; transition: color 0.25s; }
  .cat-count { font-size: 12px; color: var(--text-lt); transition: color 0.25s; }

  /* BESTSELLERS */
  .bestsellers { background: #fff; }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 24px;
  }
  .product-card {
    background: var(--cream2);
    border: 1px solid rgba(201,150,12,0.3);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.25s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
  }
  .product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  .product-img {
    background: #fff;
    padding: 24px;
    height: 240px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(201,150,12,0.3);
  }
  .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .badge-red {
    position: absolute; top: 12px; left: 12px;
    background: var(--red); color: var(--gold-light);
    font-size: 11px; font-weight: 700;
    padding: 4px 11px; border-radius: 20px;
    border: 1px solid var(--gold); letter-spacing: 0.04em;
  }
  .badge-gold {
    position: absolute; top: 12px; left: 12px;
    background: var(--gold); color: var(--brown-dark);
    font-size: 11px; font-weight: 700;
    padding: 4px 11px; border-radius: 20px; letter-spacing: 0.04em;
  }
  /* GREEN tertiary — "Fresh Today" badge (spot 2 of 5) */
  .badge-green {
    position: absolute; top: 12px; left: 12px;
    background: var(--green); color: var(--green-pale);
    font-size: 11px; font-weight: 700;
    padding: 4px 11px; border-radius: 20px; letter-spacing: 0.04em;
  }
  .product-body { padding: 24px; flex-grow: 1; }
  .product-tag { font-size: 10px; color: var(--gold-dark); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
  .product-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text-dark); margin-bottom: 16px; font-weight: 700; font-style: italic; line-height: 1.2; }
  
  .product-rating { margin-bottom: 16px; }
  .product-rating .star-rating {
    font-size: 12px; color: var(--gold);
    width: 5.4em; font-family: star;
  }
  .product-rating .star-rating span { color: var(--gold); }
  .star-rating::before { content: '\73\73\73\73\73'; color: #d3ced2; float: left; top: 0; left: 0; position: absolute; }
  .star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
  .star-rating span::before { content: '\53\53\53\53\53'; top: 0; position: absolute; left: 0; color: var(--gold); }
  
  .product-price { font-size: 15px; font-weight: 700; color: var(--gold-dark); }
  .product-price span { font-size: 12px; color: var(--text-lt); font-weight: 400; text-decoration: line-through; margin-right: 6px; }
  
  .product-action {
    background: transparent;
    border-top: 1px solid rgba(201,150,12,0.3);
    transition: background 0.2s;
  }
  .add-btn {
    display: block; width: 100%; text-align: center;
    background: transparent; color: var(--gold-dark);
    padding: 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; border: none; cursor: pointer;
    text-decoration: none; transition: color 0.2s;
  }
  .product-card:hover .product-action {
    background: var(--gold-dark);
  }
  .product-card:hover .add-btn {
    color: #fff;
  }

  /* STORY */
  .story {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; padding: 0; background: var(--cream2);
  }
  .story-visual {
    background: linear-gradient(145deg, var(--red-dark) 0%, var(--red) 100%);
    display: flex; align-items: center; justify-content: center;
    min-height: 500px; position: relative; overflow: hidden; font-size: 110px;
  }
  .story-visual::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(201,150,12,0.15) 0%, transparent 65%);
  }
  /* GREEN tertiary — thin inner frame (spot 3 of 5) */
  .story-frame {
    position: absolute; inset: 28px;
    border: 1px solid rgba(82,183,136,0.2);
    border-radius: 2px; z-index: 1; pointer-events: none;
  }
  .story-content { padding: 84px 64px; display: flex; flex-direction: column; justify-content: center; }
  .story .section-eyebrow { color: var(--red-mid); }
  .story .section-title { color: var(--red); }
  .story-body { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 28px; margin-top: 16px; }
  .story-points { list-style: none; margin-bottom: 36px; }
  .story-points li {
    font-size: 14px; color: var(--text-dark);
    padding: 10px 0; border-bottom: 1px solid var(--parchment);
    display: flex; gap: 12px; align-items: center;
  }
  .story-points li::before { content: '◆'; color: var(--gold); font-size: 9px; flex-shrink: 0; }
  .btn-story {
    display: inline-block; background: var(--red); color: var(--ivory);
    border: none; border-radius: 8px;
    padding: 13px 28px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; width: fit-content;
  }
  .btn-story:hover { background: var(--red-mid); }

  /* FESTIVAL */
  .festival { background: var(--gold-pale); }
  .festival .section-eyebrow { color: var(--red-mid); }
  .festival .section-title { color: var(--red); }
  .festival-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 24px;
  }
  .festival-card {
    border-radius: 16px; overflow: hidden;
    position: relative; min-height: 295px;
    display: flex; flex-direction: column; justify-content: flex-end;
    cursor: pointer; transition: transform 0.25s;
    border: 1px solid rgba(128,0,0,0.15);
  }
  .festival-card:hover { transform: scale(1.025); }
  .festival-card-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; font-size: 90px;
  }
  .f1 { background: linear-gradient(140deg, #5C0000, #AA0000); }
  .f2 { background: linear-gradient(140deg, #6B4800, #C9960C); }
  /* GREEN tertiary — wedding festival card bg (spot 4 of 5) */
  .f3 { background: linear-gradient(140deg, #1A3D2B, #2D6A4F); }
  .festival-overlay {
    position: relative; z-index: 2;
    background: linear-gradient(to top, rgba(10,0,0,0.85) 0%, transparent 100%);
    padding: 24px;
  }
  .f-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
  .f-tag-red  { color: #FF9999; }
  .f-tag-gold { color: var(--gold-light); }
  .f-tag-green { color: var(--green-acc); }
  .festival-name { font-family: 'Playfair Display', serif; font-size: 21px; color: #fff; margin-bottom: 5px; }
  .festival-desc { font-size: 13px; color: rgba(255,255,255,0.72); }

  /* REVIEWS */
  .reviews { background: #fff; }
  .reviews .section-eyebrow { color: var(--red-mid); }
  .reviews .section-title { color: var(--red); }
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  .review-card {
    background: var(--cream);
    border: 1.5px solid var(--parchment);
    border-radius: 16px; padding: 28px;
    border-top: 4px solid var(--red);
    position: relative;
  }
  .review-card::before {
    content: '"'; position: absolute; top: 18px; right: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 64px; color: var(--gold-pale); line-height: 1;
  }
  .stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; }
  .review-text { font-size: 14px; color: var(--text-mid); line-height: 1.82; margin-bottom: 18px; font-style: italic; position: relative; z-index: 1; }
  .reviewer { display: flex; align-items: center; gap: 12px; }
  .reviewer-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--ivory); border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
  }
  .reviewer-name { font-size: 14px; font-weight: 600; color: var(--red); }
  .reviewer-city { font-size: 12px; color: var(--text-lt); }

  /* INSTAGRAM */
  .insta { background: var(--cream); }
  .insta .section-eyebrow { color: var(--red-mid); }
  .insta .section-title { color: var(--red); }
  .insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .insta-cell {
    aspect-ratio: 1; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    border: 1.5px solid var(--parchment);
    position: relative; overflow: hidden; cursor: pointer;
    transition: all 0.2s;
  }
  .insta-cell:hover { transform: scale(1.05); border-color: var(--gold); }
  .insta-overlay {
    position: absolute; inset: 0;
    background: rgba(128,0,0,0.72);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s;
    color: var(--gold-light); font-size: 14px; font-weight: 600;
  }
  .insta-cell:hover .insta-overlay { opacity: 1; }
  .ic1 { background: linear-gradient(135deg,#FFF8DC,#EDD9A3); }
  .ic2 { background: linear-gradient(135deg,#FDF8F0,#F5EDD8); }
  .ic3 { background: linear-gradient(135deg,#FAF2E4,#EDD9A3); }
  .ic4 { background: linear-gradient(135deg,#FFF8DC,#FAF2E4); }
  .ic5 { background: linear-gradient(135deg,#F5EDD8,#FDF8F0); }
  .ic6 { background: linear-gradient(135deg,#EDD9A3,#FFF8DC); }
  .insta-cta { text-align: center; margin-top: 28px; }
  .btn-insta {
    display: inline-block;
    border: 1.5px solid var(--red);
    color: var(--red); background: transparent;
    border-radius: 8px; padding: 11px 28px;
    font-size: 14px; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
  }
  .btn-insta:hover { background: var(--red); color: var(--ivory); }

  /* NEWSLETTER */
  .newsletter { background: var(--red); text-align: center; padding: 84px 52px; }
  .newsletter .section-eyebrow { color: var(--gold-light); }
  .newsletter .section-title { color: var(--ivory); }
  .newsletter .section-sub { color: rgba(245,237,216,0.72); margin: 0 auto 38px; }
  .newsletter-form {
    display: flex; gap: 12px; max-width: 460px;
    margin: 0 auto; flex-wrap: wrap; justify-content: center;
  }
  .newsletter-form input {
    flex: 1; min-width: 230px;
    padding: 13px 18px; border-radius: 8px;
    border: 1.5px solid rgba(201,150,12,0.4);
    background: rgba(253,248,240,0.08); color: var(--ivory);
    font-size: 14px; outline: none; font-family: 'Inter', sans-serif;
  }
  .newsletter-form input::placeholder { color: rgba(245,237,216,0.4); }
  .newsletter-form input:focus { border-color: var(--gold-light); }
  .newsletter-form button {
    background: var(--gold); color: var(--brown-dark);
    border: none; border-radius: 8px;
    padding: 13px 26px; font-size: 14px; font-weight: 700;
    cursor: pointer; font-family: 'Inter', sans-serif; transition: background 0.2s;
  }
  .newsletter-form button:hover { background: var(--gold-light); }

  /* FOOTER */
  footer {
    background: var(--brown-dark);
    padding: 68px 52px 32px;
    border-top: 3px solid var(--gold);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px; margin-bottom: 52px;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px; color: var(--ivory);
    display: inline-flex; align-items: center; gap: 12px;
    margin-bottom: 18px; text-decoration: none;
  }
  .footer-brand p { font-size: 13px; line-height: 1.88; max-width: 270px; margin-bottom: 22px; color: #8B5030; }
  /* GREEN tertiary — short rule under footer brand (spot 5 of 5) */
  .footer-green-rule { width: 36px; height: 2px; background: var(--green); border-radius: 2px; margin-bottom: 16px; }
  .footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
  .cert-badge {
    background: rgba(201,150,12,0.1); border: 1px solid rgba(201,150,12,0.28);
    border-radius: 6px; padding: 5px 12px;
    font-size: 11px; color: var(--gold-light); font-weight: 600;
  }
  .footer-col h4 { font-size: 13px; font-weight: 700; color: var(--ivory); margin-bottom: 18px; letter-spacing: 0.04em; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
  .footer-col ul li::before { content: '◆'; color: var(--gold-dark); font-size: 7px; flex-shrink: 0; }
  .footer-col ul li a { font-size: 13px; color: #8B5030; text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--gold-light); }
  .footer-bottom {
    border-top: 1px solid rgba(201,150,12,0.14);
    padding-top: 26px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px; font-size: 12px; color: #5A2010;
  }
  .footer-bottom a { color: var(--gold); text-decoration: none; }
  .footer-bottom a:hover { color: var(--gold-light); }

  /* WHATSAPP */
  .wa-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    background: #25D366; color: #fff;
    width: 58px; height: 58px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; cursor: pointer;
    box-shadow: 0 4px 22px rgba(37,211,102,0.42);
    transition: transform 0.2s; text-decoration: none;
  }
  .wa-float:hover { transform: scale(1.1); }

  /* RESPONSIVE */
  @media (max-width: 920px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero { padding: 60px 20px; }
    .hero-cards { display: none; }
    .story { grid-template-columns: 1fr; }
    .story-visual { min-height: 200px; font-size: 70px; }
    .story-content { padding: 48px 24px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    section { padding: 56px 20px; }
    .trust-bar { gap: 18px; padding: 13px 20px; }
    .newsletter { padding: 60px 20px; }
    footer { padding: 48px 20px 28px; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
  }


/* ==========================================================================
   WooCommerce Global Styles (Cart, Checkout, Single Product)
   ========================================================================== */

/* Single Product Page */
.single-product-container {
    padding: 60px 20px;
    background: var(--background-alt);
}
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: var(--background-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
}
.woocommerce div.product div.images {
    width: 48%;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--parchment);
}
.woocommerce div.product div.summary {
    width: 48%;
}
.woocommerce div.product .product_title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 10px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 700;
}
.woocommerce div.product form.cart .button {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}
.woocommerce div.product form.cart .button:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

/* Cart & Checkout Pages */
.woocommerce-cart .site-main, .woocommerce-checkout .site-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.woocommerce table.shop_table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--parchment);
    border-radius: var(--border-radius);
}
.woocommerce table.shop_table th {
    background: var(--cream2);
    color: var(--red);
    font-family: 'Playfair Display', serif;
    padding: 15px;
    text-align: left;
}
.woocommerce table.shop_table td {
    padding: 15px;
    border-top: 1px solid var(--parchment);
}
.woocommerce a.remove {
    color: var(--danger-color) !important;
}
.woocommerce a.remove:hover {
    background: var(--danger-color) !important;
    color: #fff !important;
}

/* Forms & Inputs */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    padding: 12px;
    border: 1px solid rgba(201,150,12,0.4);
    border-radius: 8px;
    background: var(--cream);
    width: 100%;
    font-family: 'Inter', sans-serif;
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus {
    border-color: var(--gold-dark);
    outline: none;
}

/* Global Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    background: var(--gold);
    color: var(--brown-dark);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 700;
    border: none;
    transition: background 0.3s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover {
    background: var(--gold-light);
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background: var(--red);
    color: #fff;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

/* Global Layout Fix for Inner Pages */
body:not(.home) .site-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

/* Shop Archive Page */
.shop-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.sidebar-shop {
    width: 260px;
    flex-shrink: 0;
    background: var(--cream);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--parchment);
}
.sidebar-shop .widget {
    margin-bottom: 32px;
}
.sidebar-shop .widget:last-child {
    margin-bottom: 0;
}
.sidebar-shop .widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--red);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    display: inline-block;
}
.sidebar-shop ul {
    list-style: none;
}
.sidebar-shop ul li {
    margin-bottom: 10px;
}
.sidebar-shop ul li a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.sidebar-shop ul li a:hover {
    color: var(--red);
}
.shop-content {
    flex-grow: 1;
    min-width: 0;
}
.woocommerce-products-header__title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--red);
    margin-bottom: 24px;
}
.woocommerce-result-count, .woocommerce-ordering {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 28px;
}
.woocommerce-ordering select {
    padding: 8px 16px;
    border: 1px solid rgba(201,150,12,0.4);
    border-radius: 6px;
    background: var(--cream);
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}
.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--gold-dark);
}
.woocommerce .woocommerce-ordering {
    float: right;
}
.woocommerce .woocommerce-result-count {
    float: left;
    margin-top: 10px;
}

@media (max-width: 920px) {
    .shop-container {
        flex-direction: column;
    }
    .sidebar-shop {
        width: 100%;
    }
    .woocommerce .woocommerce-ordering,
    .woocommerce .woocommerce-result-count {
        float: none;
        display: block;
        margin-bottom: 16px;
    }
}

/* Pagination Fix */
.products-grid {
    clear: both;
}
.woocommerce-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
    clear: both;
}
.woocommerce-pagination ul.page-numbers {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.woocommerce-pagination ul.page-numbers li {
    margin: 0;
}
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.page-numbers li a.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--parchment);
    background: var(--cream);
    color: var(--text-mid);
    transition: all 0.2s;
}
.woocommerce-pagination ul.page-numbers li a.page-numbers:hover {
    background: var(--gold-pale);
    color: var(--red);
    border-color: var(--gold);
}
.woocommerce-pagination ul.page-numbers li span.current {
    background: var(--red);
    color: var(--ivory);
    border-color: var(--red);
}

