/*
Theme Name:   Talabatito
Description:  Talabatito Health & Wellness Affiliate - Astra Child
Template:     astra
Version:      3.0.0
Text Domain:  talabatito
*/

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

/* ── VARIABLES ── */
:root {
  --g1:#0a3d20; --g2:#1d6f42; --g3:#2d9b60; --g4:#4db87a;
  --g5:#e8f7ef; --g6:#f0faf4;
  --accent:#ff5722; --accent2:#ffa000;
  --white:#ffffff; --bg:#f7faf8; --card:#ffffff;
  --border:#e0ede8; --text1:#0d1f14; --text2:#3a5a46; --text3:#7a9e8a;
  --r:14px; --rsm:8px;
  --shadow:0 4px 24px rgba(13,60,32,.10);
  --shadow-h:0 8px 36px rgba(13,60,32,.16);
  --font:'Tajawal',sans-serif;
}

/* ── RESET ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text1);line-height:1.65}
img{max-width:100%;height:auto;display:block}
a{color:var(--g2);text-decoration:none;transition:color .2s}
a:hover{color:var(--g1)}
h1,h2,h3,h4{font-family:var(--font);font-weight:800;line-height:1.2;color:var(--text1)}

/* ── ASTRA HEADER OVERRIDES ── */
#masthead,.site-header,.ast-site-header-wrap{
  background:var(--white)!important;
  border-bottom:1px solid var(--border)!important;
  box-shadow:0 2px 12px rgba(0,0,0,.06)!important;
}
.ast-nav-menu>li>a,.main-navigation a{
  font-family:var(--font)!important;font-size:14px!important;
  font-weight:600!important;color:var(--text2)!important;
  padding:6px 14px!important;border-radius:8px!important;
  transition:background .2s,color .2s!important;
}
.ast-nav-menu>li>a:hover,.ast-nav-menu>li.current-menu-item>a{
  background:var(--g5)!important;color:var(--g2)!important;
}

/* ── LANGUAGE SWITCHER — HEADER ── */
.tb-header-lang{
  display:flex;align-items:center;gap:4px;
  position:fixed;top:14px;right:20px;z-index:9999;
}
.tb-lang-link{
  font-family:var(--font);font-size:12px;font-weight:700;
  padding:5px 12px;border-radius:20px;
  border:1.5px solid var(--border);color:var(--text2);
  background:var(--white);transition:all .2s;
}
.tb-lang-link:hover,.tb-lang-link.active{
  background:var(--g2);color:#fff;border-color:var(--g2);
}

/* ── LANGUAGE SWITCHER — FLOATING BUTTON ── */
.tb-lang-float{
  position:fixed;bottom:80px;right:20px;z-index:9999;
  display:flex;flex-direction:column;gap:6px;
}
.tb-lang-btn{
  width:44px;height:44px;border-radius:50%;
  background:var(--g2);color:#fff;
  font-size:12px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(29,111,66,.35);
  border:2px solid rgba(255,255,255,.3);
  transition:transform .2s,box-shadow .2s;
}
.tb-lang-btn:hover{transform:scale(1.1);color:#fff}
.tb-lang-btn.active{background:var(--g1);color:#fff}

/* ── DISCLOSURE BAR ── */
.tb-disclosure{
  background:#fffbea;border-bottom:1px solid #f0d060;
  padding:9px 32px;font-size:12.5px;color:#7a6000;
  text-align:center;font-weight:500;font-family:var(--font);
}

/* ── HERO ── */
.tb-hero{
  background:linear-gradient(130deg,var(--g1) 0%,var(--g2) 50%,var(--g3) 100%);
  padding:64px 48px;display:flex;align-items:center;
  justify-content:space-between;gap:40px;
  position:relative;overflow:hidden;min-height:480px;direction:ltr;
}
.tb-hero::before{
  content:'';position:absolute;width:600px;height:600px;border-radius:50%;
  background:rgba(255,255,255,.04);top:-200px;right:-100px;pointer-events:none;
}
.tb-hero-left{flex:1;z-index:1;max-width:600px;animation:fadeUp .7s ease both}
.tb-hero-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.25);
  color:#fff;font-size:12px;font-weight:600;
  padding:6px 16px;border-radius:24px;margin-bottom:22px;
}
.tb-hero h1{font-size:42px;font-weight:900;color:#fff;line-height:1.15;margin-bottom:12px;text-align:left}
.tb-hero-ar{font-size:20px;color:rgba(255,255,255,.75);margin-bottom:18px;direction:rtl;text-align:right;font-weight:600}
.tb-hero-sub{font-size:16px;color:rgba(255,255,255,.85);margin-bottom:32px;line-height:1.75;max-width:480px;text-align:left}
.tb-hero-btns{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.tb-btn-primary{
  background:#fff;color:var(--g2);font-family:var(--font);
  font-size:15px;font-weight:800;padding:14px 32px;border-radius:32px;
  border:none;cursor:pointer;display:inline-block;
  transition:transform .15s,box-shadow .15s;text-decoration:none;
  box-shadow:0 4px 20px rgba(0,0,0,.15);
}
.tb-btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(0,0,0,.2);color:var(--g1)}
.tb-btn-outline{
  background:transparent;color:#fff;font-family:var(--font);
  font-size:15px;font-weight:700;padding:14px 32px;border-radius:32px;
  border:2px solid rgba(255,255,255,.5);cursor:pointer;display:inline-block;
  transition:background .2s;text-decoration:none;
}
.tb-btn-outline:hover{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.8)}
.tb-hero-stats{display:flex;gap:36px;margin-top:40px;padding-top:28px;border-top:1px solid rgba(255,255,255,.15)}
.tb-stat-num{font-size:28px;font-weight:900;color:#fff;line-height:1}
.tb-stat-label{font-size:12px;color:rgba(255,255,255,.65);margin-top:4px;font-weight:500}

/* Hero floating cards */
.tb-hero-right{display:flex;flex-direction:column;gap:14px;z-index:1;flex-shrink:0;width:230px;animation:fadeUp .9s ease both}
.tb-float-card{
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);
  border-radius:16px;padding:14px 16px;display:flex;align-items:center;gap:12px;
  backdrop-filter:blur(8px);transition:background .2s;
}
.tb-float-card:hover{background:rgba(255,255,255,.22)}
.tb-float-icon{width:42px;height:42px;border-radius:10px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.tb-float-name{font-size:12px;color:#fff;font-weight:600;line-height:1.3}
.tb-float-price{font-size:15px;color:#a8f0c8;font-weight:900;margin-top:2px}
.tb-float-badge{margin-left:auto;background:var(--accent);color:#fff;font-size:9px;font-weight:800;padding:3px 8px;border-radius:8px;flex-shrink:0}

/* ── TRUST STRIP ── */
.tb-trust{
  background:var(--g2);padding:20px 48px;
  display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap;
}
.tb-trust-item{display:flex;align-items:center;gap:10px;color:#fff}
.tb-trust-icon{font-size:18px}
.tb-trust-text{font-size:13px;font-weight:700}

/* ── SECTIONS ── */
.tb-section{padding:56px 48px}
.tb-section-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:32px;gap:16px}
.tb-section-title{font-size:24px;font-weight:900;color:var(--text1);margin-bottom:2px}
.tb-section-ar{font-size:14px;color:var(--text3);direction:rtl;font-weight:600}
.tb-see-all{
  font-size:13px;color:var(--g2);font-weight:700;white-space:nowrap;
  padding:8px 18px;border:1.5px solid var(--g2);border-radius:20px;transition:all .2s;
}
.tb-see-all:hover{background:var(--g2);color:#fff}

/* ── CATEGORIES ── */
.tb-cats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.tb-cat-card{
  background:var(--card);border:1.5px solid var(--border);border-radius:var(--r);
  padding:28px 16px 22px;text-align:center;cursor:pointer;
  transition:border-color .2s,box-shadow .2s,transform .2s;
  text-decoration:none;display:block;position:relative;overflow:hidden;
}
.tb-cat-card:hover{border-color:var(--g2);box-shadow:var(--shadow);transform:translateY(-4px);color:var(--text1)}
.tb-cat-icon{font-size:40px;display:block;margin-bottom:14px;line-height:1}
.tb-cat-name{font-size:13px;font-weight:800;color:var(--text1)}
.tb-cat-ar{font-size:11px;color:var(--text3);direction:rtl;margin-top:3px;font-weight:600}
.tb-cat-count{font-size:11px;color:var(--g2);margin-top:8px;font-weight:700}

/* ── PRODUCTS GRID ── */
.tb-products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.tb-product-card{
  background:var(--card);border:1.5px solid var(--border);border-radius:var(--r);
  overflow:hidden;transition:box-shadow .2s,transform .2s;
  display:flex;flex-direction:column;
}
.tb-product-card:hover{box-shadow:var(--shadow-h);transform:translateY(-4px)}
.tb-product-img{
  height:190px;background:var(--g6);display:flex;align-items:center;
  justify-content:center;font-size:64px;position:relative;overflow:hidden;
}
.tb-product-img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.tb-product-card:hover .tb-product-img img{transform:scale(1.05)}
.tb-product-badge{
  position:absolute;top:12px;left:12px;font-size:10px;font-weight:800;
  padding:4px 10px;border-radius:8px;letter-spacing:.3px;z-index:2;
}
.badge-deal{background:var(--accent);color:#fff}
.badge-new{background:var(--g2);color:#fff}
.badge-top{background:var(--accent2);color:#fff}
.tb-product-body{padding:16px;flex:1;display:flex;flex-direction:column}
.tb-product-platform{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--text3);margin-bottom:8px;font-weight:600}
.tb-dot{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.dot-amz{background:#ff9900}.dot-noon{background:#f5c518}.dot-jum{background:#f95602}
.tb-product-name{font-size:13px;font-weight:800;color:var(--text1);line-height:1.45;margin-bottom:4px}
.tb-product-ar{font-size:12px;color:var(--text3);direction:rtl;margin-bottom:12px;font-weight:600}
.tb-product-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto}
.tb-price{font-size:18px;font-weight:900;color:var(--g2)}
.tb-price-old{font-size:12px;color:#bbb;text-decoration:line-through;margin-left:5px}
.tb-buy-btn{
  background:var(--g2);color:#fff;font-family:var(--font);
  font-size:12px;font-weight:800;padding:9px 18px;border-radius:20px;
  border:none;cursor:pointer;text-decoration:none;display:inline-block;
  transition:background .2s,transform .15s;white-space:nowrap;
}
.tb-buy-btn:hover{background:var(--g1);color:#fff;transform:scale(1.04)}

/* ── PLATFORMS ── */
.tb-platforms-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tb-platform-card{
  background:var(--card);border:2px solid var(--border);border-radius:var(--r);
  padding:22px 20px;display:flex;align-items:center;gap:18px;
  transition:border-color .2s,box-shadow .2s,transform .2s;
  text-decoration:none;cursor:pointer;
}
.tb-platform-card:hover{border-color:var(--g2);box-shadow:var(--shadow);transform:translateY(-3px);color:var(--text1)}
.tb-platform-logo{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;flex-shrink:0}
.logo-amz{background:#ff9900;color:#fff}.logo-noon{background:#feee00;color:#222}.logo-jum{background:#f95602;color:#fff}
.tb-platform-name{font-size:17px;font-weight:900;color:var(--text1);margin-bottom:3px}
.tb-platform-desc{font-size:12px;color:var(--text3);font-weight:500}
.tb-platform-aff{font-size:11px;color:var(--g2);font-weight:700;margin-top:6px}
.tb-platform-arrow{margin-left:auto;color:var(--border);font-size:22px;flex-shrink:0}

/* ── BANNER ── */
.tb-banner{
  background:linear-gradient(130deg,var(--g1),var(--g2) 60%,var(--g3));
  border-radius:20px;padding:40px 48px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;
  margin:0 48px 56px;position:relative;overflow:hidden;
}
.tb-banner h3{font-size:26px;font-weight:900;color:#fff;margin-bottom:8px}
.tb-banner p{font-size:14px;color:rgba(255,255,255,.8);font-weight:500}
.tb-banner-btn{
  background:#fff;color:var(--g2);font-family:var(--font);font-size:15px;font-weight:800;
  padding:14px 32px;border-radius:32px;border:none;cursor:pointer;
  white-space:nowrap;transition:transform .15s;flex-shrink:0;
  text-decoration:none;display:inline-block;
}
.tb-banner-btn:hover{transform:translateY(-2px);color:var(--g1)}

/* ── FOOTER ── */
.tb-footer{
  background:#071a0e;padding:56px 48px 32px;
  display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:40px;
}
.tb-footer-logo{font-size:22px;font-weight:900;color:var(--g4);margin-bottom:12px;display:flex;align-items:center;gap:8px}
.tb-footer-logo-icon{width:34px;height:34px;background:var(--g2);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;font-weight:900}
.tb-footer-desc{font-size:13px;color:#6a8a76;line-height:1.75;max-width:240px;margin-bottom:20px}
.tb-footer-col h4{font-size:11px;font-weight:800;color:#c8ddd0;margin-bottom:16px;letter-spacing:.5px;text-transform:uppercase}
.tb-footer-col a{display:block;font-size:13px;color:#6a8a76;margin-bottom:10px;transition:color .2s;font-weight:500;text-decoration:none}
.tb-footer-col a:hover{color:var(--g4)}
.tb-footer-bottom{
  background:#040f07;padding:16px 48px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;
}
.tb-footer-bottom p{font-size:12px;color:#3a5a46;font-weight:500}
.tb-footer-bottom a{color:#3a5a46;text-decoration:none}
.tb-footer-bottom a:hover{color:var(--g4)}

/* ── WOOCOMMERCE ── */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  background:var(--g2)!important;color:#fff!important;
  font-family:var(--font)!important;font-weight:700!important;
  border-radius:22px!important;border:none!important;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover{background:var(--g1)!important}
.woocommerce .price{color:var(--g2)!important;font-weight:900!important;font-family:var(--font)!important}
.woocommerce-loop-product__title{font-family:var(--font)!important;font-weight:800!important}

/* ── ANIMATIONS ── */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}

/* ── RESPONSIVE ── */
@media(max-width:1100px){
  .tb-cats-grid{grid-template-columns:repeat(3,1fr)}
  .tb-products-grid{grid-template-columns:repeat(2,1fr)}
  .tb-footer{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .tb-hero{flex-direction:column;padding:36px 20px;min-height:auto}
  .tb-hero h1{font-size:28px}
  .tb-hero-right{width:100%}
  .tb-section{padding:36px 20px}
  .tb-cats-grid{grid-template-columns:repeat(2,1fr)}
  .tb-products-grid{grid-template-columns:1fr}
  .tb-platforms-grid{grid-template-columns:1fr}
  .tb-trust{padding:16px 20px;gap:20px}
  .tb-banner{flex-direction:column;text-align:center;margin:0 20px 40px;padding:28px 24px}
  .tb-footer{grid-template-columns:1fr;padding:36px 20px}
  .tb-footer-bottom{padding:14px 20px;flex-direction:column;text-align:center}
  .tb-section-head{flex-direction:column;align-items:flex-start;gap:10px}
  .tb-header-lang{top:10px;right:10px}
}
/* ── FORCE FULL WIDTH HOMEPAGE ── */
.home #primary,
.home #main,
.home .site-content,
.home #content,
.home .ast-container,
.home .entry-content,
.home #page {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
}

.home #secondary,
.home .widget-area,
.home .ast-sidebar-wrap {
  display: none !important;
}

.home .ast-article-post,
.home .ast-post-format-standard {
  width: 100% !important;
  padding: 0 !important;
}
/* FORCE FULL WIDTH */
.home #primary,.home #main,.home .site-content,.home #content,.home .ast-container,.home .entry-content,.home #page{width:100%!important;max-width:100%!important;padding:0!important;margin:0 auto!important;float:none!important;display:block!important;}
.home #secondary,.home .widget-area,.home .ast-sidebar-wrap{display:none!important;}
.home .ast-article-post,.home .ast-post-format-standard{width:100%!important;padding:0!important;}
.home .ast-flex{display:block!important;}
/* 
 * ADD THIS CSS to your style.css (at the bottom)
 * This adds real background images to category cards
 * using Unsplash URLs — culturally appropriate for Egypt/Middle East
 */

/* Category cards with background images */
.tb-cat-card {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.tb-cat-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.16), 0 4px 10px rgba(0,0,0,0.12) !important;
}

.tb-cat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
    border-radius: 0 0 16px 16px;
}

.tb-cat-card .tb-cat-icon,
.tb-cat-card .tb-cat-name,
.tb-cat-card .tb-cat-ar,
.tb-cat-card .tb-cat-count {
    position: relative;
    z-index: 2;
    color: #fff !important;
    text-shadow: 0 3px 8px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.5) !important;
}

.tb-cat-card .tb-cat-icon {
    font-size: 2rem;
    padding: 16px 16px 4px;
    margin-top: auto;
}

.tb-cat-card .tb-cat-name {
    font-weight: 700;
    font-size: 1rem;
    padding: 0 16px 2px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 2px 5px rgba(0,0,0,0.6) !important;
    line-height: 1.3;
}

.tb-cat-card .tb-cat-ar {
    font-size: 0.85rem;
    opacity: 0.9;
    padding: 0 16px 4px;
}

.tb-cat-card .tb-cat-count {
    font-size: 0.75rem;
    opacity: 0.8;
    padding: 0 16px 14px;
}

/* Individual category backgrounds - vibrant images */
.tb-cat-vitamins,
.tb-cat-vitamins-supplements,
.tb-cat-vitamins-supplements-health-wellness {
    background: url('https://images.unsplash.com/photo-1584308666744-24d5c474f2ae?w=500&h=280&fit=crop&q=80') center/cover no-repeat !important;
}

.tb-cat-skin-care,
.tb-cat-skin-care-beauty {
    background: url('https://images.unsplash.com/photo-1556228578-8c89e6adf883?w=500&h=280&fit=crop&q=80') center/cover no-repeat !important;
}

.tb-cat-hair-care {
    background: url('https://images.unsplash.com/photo-1522338242992-e1a54906a8da?w=500&h=280&fit=crop&q=80') center/cover no-repeat !important;
}

.tb-cat-sports-nutrition {
    background: url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?w=500&h=280&fit=crop&q=80') center/cover no-repeat !important;
}

.tb-cat-natural {
    background: url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?w=500&h=280&fit=crop&q=80') center/cover no-repeat !important;
}

.tb-cat-personal-care {
    background: url('https://images.unsplash.com/photo-1556228720-195a672e8a03?w=500&h=280&fit=crop&q=80') center/cover no-repeat !important;
}

/* Fallback vibrant gradient if image doesn't load */
.tb-cat-card:not([class*="tb-cat-vita"]):not([class*="tb-cat-skin"]):not([class*="tb-cat-hair"]):not([class*="tb-cat-sport"]):not([class*="tb-cat-nat"]):not([class*="tb-cat-personal"]) {
    background: linear-gradient(135deg, #1d6f42 0%, #2d9b60 100%) !important;
}

/* Hero section enhancement */
.tb-hero {
    background: linear-gradient(135deg, #0a3d20 0%, #1d6f42 50%, #2d9b60 100%);
}

/* Make product cards look more polished */
.tb-product-img {
    background: #f8fdf9 !important;
}

/* Trust strip refinement */
.tb-trust {
    background: #f8fdf9;
    border-top: 1px solid #e0f0e8;
    border-bottom: 1px solid #e0f0e8;
}

/* Partner platform cards */
.tb-platform-card {
    border: 1.5px solid #e0f0e8 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tb-platform-card:hover {
    border-color: #1d6f42 !important;
    box-shadow: 0 4px 16px rgba(29,111,66,0.12) !important;
}

/* Footer branding */
.tb-footer-logo {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
}

/* ═══════════════════════════════════════════════════════════════════════ */
/* ─────────────────── HOMEPAGE SECTION STYLES ─────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════════ */

/* HERO SECTION */
.tb-hero-section {
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 50%, var(--g3) 100%);
  color: var(--white);
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tb-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,.03);
  border-radius: 50%;
  pointer-events: none;
}

.tb-hero-section h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
  animation: fadeInUp 0.8s ease-out;
}

.tb-hero-section p {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: rgba(255,255,255,.95);
}

.tb-hero-cta {
  display: inline-block;
  background: var(--white);
  color: var(--g2);
  padding: 14px 40px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 16px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tb-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  color: var(--g1);
}

/* HERO PRODUCT CARDS (Floating) */
.tb-hero-products {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}

.tb-hero-product-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 16px;
  width: 220px;
  box-shadow: var(--shadow-h);
  animation: float 3s ease-in-out infinite;
  transition: transform .3s;
}

.tb-hero-product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.tb-hero-product-card:nth-child(3) {
  animation-delay: 0.4s;
}

.tb-hero-product-card:hover {
  transform: translateY(-8px);
}

.tb-hero-product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: calc(var(--r) - 2px);
  margin-bottom: 12px;
}

.tb-hero-product-card h4 {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text1);
}

.tb-hero-product-card .price {
  color: var(--g2);
  font-weight: 700;
  font-size: 16px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* CATEGORY STRIP */
.tb-category-strip {
  background: var(--white);
  padding: 32px 40px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tb-category-scroll {
  display: flex;
  gap: 16px;
  min-width: min-content;
  padding-bottom: 12px;
}

.tb-category-pill {
  background: var(--g5);
  color: var(--g2);
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
  border: 1px solid transparent;
}

.tb-category-pill:hover,
.tb-category-pill.active {
  background: var(--g2);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(29,111,66,.2);
}

/* DEALS BANNER */
.tb-deals-banner {
  background: linear-gradient(135deg, #ff5722 0%, #ff7a50 100%);
  color: var(--white);
  padding: 40px;
  border-radius: var(--r);
  text-align: center;
  margin: 40px;
}

.tb-deals-banner h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 16px;
}

.tb-deals-banner p {
  font-size: 18px;
  margin-bottom: 24px;
}

.tb-deals-countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.tb-countdown-item {
  background: rgba(255,255,255,.15);
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 80px;
  text-align: center;
}

.tb-countdown-item strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.tb-countdown-item span {
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
}

/* FEATURED PRODUCTS GRID */
.tb-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px;
}

.tb-product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}

.tb-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-h);
}

.tb-product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--g5);
}

.tb-product-card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tb-product-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tb-product-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.tb-product-card p {
  font-size: 14px;
  color: var(--text3);
  margin-bottom: 12px;
  flex: 1;
}

.tb-product-price {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.tb-price-current {
  font-size: 18px;
  font-weight: 700;
  color: var(--g2);
}

.tb-price-original {
  font-size: 14px;
  color: var(--text3);
  text-decoration: line-through;
}

.tb-discount-badge {
  background: var(--accent);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.tb-affiliate-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tb-affiliate-btn {
  flex: 1;
  min-width: 100px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.tb-affiliate-btn:hover {
  transform: scale(1.04);
}

.tb-affiliate-btn.amazon { border-color: #ff9900; color: #ff9900; }
.tb-affiliate-btn.amazon:hover { background: #ff9900; color: var(--white); }

.tb-affiliate-btn.noon { border-color: #d4a017; color: #d4a017; }
.tb-affiliate-btn.noon:hover { background: #d4a017; color: var(--white); }

.tb-affiliate-btn.jumia { border-color: #f05a28; color: #f05a28; }
.tb-affiliate-btn.jumia:hover { background: #f05a28; color: var(--white); }

/* HOW IT WORKS */
.tb-how-it-works {
  background: var(--g5);
  padding: 60px 40px;
  text-align: center;
}

.tb-how-it-works h2 {
  color: var(--g1);
  margin-bottom: 48px;
  font-size: 36px;
}

.tb-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.tb-step-card {
  position: relative;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--r);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.tb-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--g2);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 24px;
  margin: 0 auto 16px;
}

.tb-step-card h3 {
  color: var(--g1);
  margin-bottom: 12px;
}

.tb-step-card p {
  color: var(--text3);
  font-size: 14px;
  line-height: 1.6;
}

/* PLATFORM COMPARISON TABLE */
.tb-platform-table-wrap {
  padding: 60px 40px;
  background: var(--white);
}

.tb-platform-table-wrap h2 {
  text-align: center;
  margin-bottom: 48px;
  color: var(--g1);
  font-size: 36px;
}

.tb-platform-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 1200px;
  margin: 0 auto;
}

.tb-platform-table thead {
  background: var(--g2);
  color: var(--white);
}

.tb-platform-table th {
  padding: 20px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
}

.tb-platform-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.tb-platform-table tbody tr:hover {
  background: var(--g5);
}

.tb-platform-table tbody tr:last-child td {
  border-bottom: none;
}

.tb-table-feature {
  color: var(--text1);
  font-weight: 600;
}

.tb-table-check {
  color: var(--g2);
  font-weight: 700;
  text-align: center;
}

.tb-table-x {
  color: #999;
  text-align: center;
}

/* CATEGORY SHOWCASE */
.tb-category-showcase {
  background: var(--g5);
  padding: 60px 40px;
}

.tb-category-showcase h2 {
  text-align: center;
  color: var(--g1);
  margin-bottom: 48px;
  font-size: 36px;
}

.tb-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.tb-showcase-item {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.tb-showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-h);
}

.tb-showcase-item-icon {
  background: var(--g5);
  padding: 32px;
  font-size: 48px;
}

.tb-showcase-item-name {
  padding: 16px;
  font-weight: 700;
  color: var(--g2);
  font-size: 14px;
}

/* NEWSLETTER SECTION */
.tb-newsletter {
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  color: var(--white);
  padding: 60px 40px;
  text-align: center;
}

.tb-newsletter h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 32px;
}

.tb-newsletter p {
  margin-bottom: 32px;
  font-size: 16px;
  opacity: 0.95;
}

.tb-newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.tb-newsletter-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
}

.tb-newsletter-btn {
  padding: 12px 32px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: background .3s, transform .3s;
}

.tb-newsletter-btn:hover {
  background: #e64a19;
  transform: translateY(-2px);
}

/* ═════════════════════ ABOUT PAGE STYLES ═════════════════════ */

.tb-about-hero {
  background: linear-gradient(135deg, var(--g1) 0%, var(--g2) 100%);
  color: var(--white);
  padding: 80px 40px;
  text-align: center;
}

.tb-about-hero h1 {
  color: var(--white);
  font-size: 44px;
  margin-bottom: 16px;
}

.tb-about-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}

.tb-mission-section {
  padding: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.tb-mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tb-mission-content h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--g1);
}

.tb-mission-content p {
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tb-mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.tb-stat-box {
  text-align: center;
  padding: 24px;
  background: var(--g5);
  border-radius: var(--r);
}

.tb-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--g2);
  display: block;
}

.tb-stat-label {
  font-size: 14px;
  color: var(--text3);
  margin-top: 8px;
}

/* PLATFORMS SECTION */
.tb-platforms-section {
  background: var(--g5);
  padding: 60px 40px;
}

.tb-platforms-section h2 {
  text-align: center;
  color: var(--g1);
  margin-bottom: 48px;
  font-size: 36px;
}

.tb-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.tb-platform-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}

.tb-platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-h);
}

.tb-platform-logo {
  font-size: 48px;
  margin-bottom: 16px;
}

.tb-platform-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--g1);
}

.tb-platform-card p {
  color: var(--text3);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ═════════════════════ RESPONSIVE DESIGN ═════════════════════ */

@media (max-width: 1024px) {
  .tb-hero-section h1 { font-size: 44px; }
  .tb-mission-content { grid-template-columns: 1fr; }
  .tb-hero-product-card { width: 180px; }
}

@media (max-width: 768px) {
  .tb-hero-section {
    padding: 80px 24px;
  }

  .tb-hero-section h1 {
    font-size: 32px;
  }

  .tb-hero-section p {
    font-size: 16px;
  }

  .tb-hero-product-card {
    width: 150px;
  }

  .tb-featured-grid,
  .tb-showcase-grid,
  .tb-platforms-grid {
    grid-template-columns: 1fr;
  }

  .tb-mission-stats {
    grid-template-columns: 1fr;
  }

  .tb-steps-grid {
    grid-template-columns: 1fr;
  }

  .tb-platform-table {
    font-size: 14px;
  }

  .tb-platform-table th,
  .tb-platform-table td {
    padding: 12px;
  }

  .tb-newsletter-form {
    flex-direction: column;
  }

  .tb-newsletter-input,
  .tb-newsletter-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tb-hero-section {
    padding: 60px 16px;
  }

  .tb-hero-section h1 {
    font-size: 24px;
  }

  .tb-hero-products {
    flex-direction: column;
    align-items: center;
  }

  .tb-category-strip {
    padding: 20px 16px;
  }

  .tb-deals-banner {
    margin: 20px;
    padding: 24px;
  }

  .tb-featured-grid {
    margin: 20px;
    gap: 16px;
  }

  .tb-how-it-works,
  .tb-platform-table-wrap,
  .tb-category-showcase,
  .tb-newsletter {
    padding: 40px 16px;
  }

  .tb-how-it-works h2,
  .tb-platform-table-wrap h2,
  .tb-category-showcase h2,
  .tb-newsletter h2 {
    font-size: 24px;
  }

  .tb-mission-section {
    padding: 40px 16px;
  }

  .tb-mission-content h2 {
    font-size: 24px;
  }
}


/* ── TASK 8: FOOTER LEGAL LINKS ── */
.tb-footer-legal {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    font-size: 12px;
    color: var(--text3);
}

.tb-footer-legal a {
    margin: 0 8px;
    color: var(--g2);
    text-decoration: underline;
    transition: color 0.2s;
}

.tb-footer-legal a:hover {
    color: var(--g1);
}

.tb-footer-nav {
    display: inline;
}

.tb-footer-menu {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.tb-footer-menu li {
    list-style: none;
}

.tb-footer-menu a {
    font-size: 12px;
    margin: 0;
}

/* RTL support for footer */
[dir="rtl"] .tb-footer-menu {
    flex-direction: row-reverse;
}

@media (max-width: 600px) {
    .tb-footer-legal {
        padding: 12px 0;
    }
    
    .tb-footer-menu {
        gap: 8px;
        flex-direction: column;
        gap: 0;
    }
    
    .tb-footer-menu li {
        display: block;
        line-height: 1.8;
    }
}


/* ================================================
   TALABATITO — COMPREHENSIVE DESIGN SYSTEM
   Production CSS — April 2026
   Compliance: Amazon Associates + Noon + Jumia
   RTL/LTR Support: Arabic + English
   ================================================ */

:root {
  /* Color system */
  --color-primary:       #2c5f2e;   /* deep forest green */
  --color-primary-light: #3a7a3d;
  --color-primary-pale:  #eaf2eb;
  --color-accent:        #c8a96e;   /* warm gold */
  --color-accent-light:  #f5ecd8;
  --color-text-primary:  #1a1a1a;
  --color-text-body:     #3d3329;
  --color-text-muted:    #7a6858;
  --color-text-faint:    #b0a898;
  --color-surface:       #ffffff;
  --color-surface-warm:  #fdf9f4;
  --color-border:        #e8e0d5;
  --color-border-strong: #c8bfb2;

  /* Brand colors */
  --color-amazon:        #f0a500;
  --color-amazon-hover:  #d4900a;
  --color-noon:          #ffd200;
  --color-jumia:         #f68b1f;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(60, 40, 20, 0.08);
  --shadow-hover: 0 6px 24px rgba(60, 40, 20, 0.14);
}

/* ---- Base ---- */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  color: var(--color-text-body);
  background: var(--color-surface);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Arabic support */
body.rtl,
[lang="ar"],
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-primary);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(22px, 3vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p {
  margin-top: 0;
  margin-bottom: 1.4em;
  max-width: 70ch;
}

/* ---- Links ---- */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--color-primary-light);
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
}

/* Amazon price button */
.talabatito-amazon-price-btn {
  display: inline-block;
  background: var(--color-amazon);
  color: #111;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.talabatito-amazon-price-btn:hover {
  background: var(--color-amazon-hover);
  color: #111;
  text-decoration: none;
}

/* ---- Price disclaimer ---- */
.talabatito-price-disclaimer {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 6px;
  font-style: italic;
}

/* ---- Affiliate notice (inline disclosure) ---- */
.talabatito-affiliate-notice {
  background: #fdf9f4;
  border-left: 3px solid #c8a96e;
  border-radius: 0 4px 4px 0;
  color: #5a4a38;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 28px 0;
  padding: 14px 18px;
}

[dir="rtl"] .talabatito-affiliate-notice {
  border-left: none;
  border-right: 3px solid #c8a96e;
  border-radius: 4px 0 0 4px;
}

.talabatito-affiliate-notice strong {
  color: #3d3329;
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* ---- Platform badges ---- */
.platform-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.platform-badge--amazon {
  background: #fff3cd;
  color: #7a5800;
  border: 1px solid #f0c040;
}

.platform-badge--noon {
  background: #fffde0;
  color: #7a6800;
  border: 1px solid var(--color-noon);
}

.platform-badge--jumia {
  background: #fff0e0;
  color: #7a3800;
  border: 1px solid var(--color-jumia);
}

/* ---- Product cards ---- */
.woocommerce ul.products li.product,
.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 20px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product:hover,
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product-card .product-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
}

/* Product image */
.woocommerce ul.products li.product a img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--color-surface-warm);
  padding: 12px;
}

/* ---- Navigation ---- */
.site-header,
header.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

body.has-disclosure-bar .site-header {
  top: 44px;
}

@media (max-width: 768px) {
  body.has-disclosure-bar .site-header {
    top: 68px;
  }
}

[dir="rtl"] .site-navigation ul {
  flex-direction: row-reverse;
}

[dir="rtl"] .dropdown-menu {
  right: 0;
  left: auto;
}

/* ---- Forms ---- */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(44, 95, 46, 0.12);
}

[dir="rtl"] input,
[dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}

/* ---- Legal pages ---- */
.talabatito-legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

.talabatito-legal-page h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}

.talabatito-legal-page p,
.talabatito-legal-page li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-body);
}

.talabatito-legal-page ul {
  padding-inline-start: 24px;
  margin-bottom: 1.4em;
}

.legal-last-updated {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 2em;
}

/* ---- Container & spacing ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 1024px) { .container { padding: 0 var(--space-lg); } }
@media (max-width: 640px)  { .container { padding: 0 var(--space-md); } }

.section { padding: var(--space-2xl) 0; }
.section--sm { padding: var(--space-xl) 0; }

/* ---- Product grid ---- */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

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

/* ---- Images ---- */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.product-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-surface-warm);
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-muted); }

/* ---- Print ---- */
@media print {
  #talabatito-disclosure { position: static !important; }
  .talabatito-footer-legal { background: transparent; color: #333; }
}
/* === TALABATITO GLOBAL DESIGN SYSTEM — April 2026 === */
:root {
  --tb-green:        #2c5f2e;
  --tb-green-light:  #3a7a3d;
  --tb-green-pale:   #eaf2eb;
  --tb-gold:         #c8a96e;
  --tb-gold-light:   #f5ecd8;
  --tb-text:         #1a1a1a;
  --tb-body:         #3d3329;
  --tb-muted:        #7a6858;
  --tb-faint:        #b0a898;
  --tb-surface:      #ffffff;
  --tb-warm:         #fdf9f4;
  --tb-border:       #e8e0d5;
  --tb-border-s:     #c8bfb2;
  --tb-amazon:       #f0a500;
  --tb-noon:         #ffd200;
  --tb-jumia:        #f68b1f;
  --tb-r-sm:         4px;
  --tb-r-md:         8px;
  --tb-r-lg:         12px;
  --tb-shadow:       0 2px 12px rgba(60,40,20,.08);
  --tb-shadow-h:     0 6px 24px rgba(60,40,20,.14);
  --tb-font-en-h:    'DM Serif Display', Georgia, serif;
  --tb-font-en:      'DM Sans', system-ui, sans-serif;
  --tb-font-ar:      'Noto Sans Arabic', 'Arial Unicode MS', sans-serif;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--tb-font-en);
  color: var(--tb-body);
  background: var(--tb-surface);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.rtl, [lang="ar"], [dir="rtl"] {
  font-family: var(--tb-font-ar);
  direction: rtl;
  text-align: right;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--tb-font-en-h);
  color: var(--tb-text);
  line-height: 1.25;
  font-weight: 400;
  margin: 0 0 .6em;
}
[dir="rtl"] h1,[dir="rtl"] h2,[dir="rtl"] h3,
[dir="rtl"] h4,[dir="rtl"] h5,[dir="rtl"] h6 {
  font-family: var(--tb-font-ar);
  font-weight: 600;
}

h1 { font-size: clamp(28px,4vw,48px); }
h2 { font-size: clamp(22px,3vw,36px); }
h3 { font-size: clamp(18px,2.5vw,26px); }
h4 { font-size: 20px; }

p { margin: 0 0 1.4em; max-width: 70ch; }
a { color: var(--tb-green); text-decoration: none; transition: color .18s; }
a:hover { color: var(--tb-green-light); }

/* Sticky header offset when disclosure bar is shown */
body.has-disc-bar .site-header,
body.has-disc-bar header { top: 44px !important; }
@media(max-width:768px) {
  body.has-disc-bar .site-header,
  body.has-disc-bar header { top: 70px !important; }
}

/* Product grid */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 24px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
@media(max-width:640px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2,1fr);
    gap: 14px;
  }
}

/* Product card */
.woocommerce ul.products li.product {
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-r-lg);
  background: var(--tb-surface);
  padding: 16px;
  transition: box-shadow .22s, transform .22s;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  box-shadow: var(--tb-shadow-h);
  transform: translateY(-3px);
}

/* Product image */
.woocommerce ul.products li.product a img {
  border-radius: var(--tb-r-md);
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--tb-warm);
  padding: 10px;
  height: auto;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--tb-font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--tb-text);
  line-height: 1.4;
  margin: 10px 0 6px;
}
[dir="rtl"] .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--tb-font-ar);
}

/* Amazon price button */
.tb-amazon-btn {
  display: inline-block;
  background: var(--tb-amazon);
  color: #111;
  border-radius: var(--tb-r-md);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  margin-top: 8px;
}
.tb-amazon-btn:hover { background: #d4900a; color: #111; }

.tb-price-disc {
  display: block;
  font-size: 11px;
  color: var(--tb-muted);
  margin-top: 5px;
  font-style: italic;
  line-height: 1.4;
}

/* Platform badges */
.tb-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--tb-r-sm);
  margin-bottom: 6px;
}
.tb-badge--amazon { background:#fff3cd;color:#7a5800;border:1px solid #f0c040; }
.tb-badge--noon   { background:#fffde0;color:#7a6800;border:1px solid #ffd200; }
.tb-badge--jumia  { background:#fff0e0;color:#7a3800;border:1px solid #f68b1f; }

/* Legal pages */
.tb-legal { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.tb-legal h2 {
  font-family: var(--tb-font-en);
  font-size: 18px;
  font-weight: 600;
  margin-top: 2.2em;
  margin-bottom: .6em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--tb-border);
}
.tb-legal p, .tb-legal li { font-size: 15px; line-height: 1.8; color: var(--tb-body); }
.tb-legal ul { padding-inline-start: 22px; margin-bottom: 1.4em; }
.tb-legal-date { font-size: 13px; color: var(--tb-muted); font-style: italic; margin-bottom: 2em; }

/* RTL nav fixes */
[dir="rtl"] .sub-menu { right: 0; left: auto; }
[dir="rtl"] .nav-menu { flex-direction: row-reverse; }

/* Forms */
input[type="text"],input[type="email"],input[type="search"],textarea,select {
  font-family: inherit;
  font-size: 15px;
  color: var(--tb-text);
  border: 1px solid var(--tb-border-s);
  border-radius: var(--tb-r-md);
  padding: 10px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .18s, box-shadow .18s;
  line-height: 1.5;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--tb-green);
  box-shadow: 0 0 0 3px rgba(44,95,46,.12);
}
[dir="rtl"] input,[dir="rtl"] textarea { text-align: right; direction: rtl; }

/* Footer legal bar */
.tb-footer-legal {
  background: #1c1c1c;
  border-top: 1px solid #333;
  padding: 20px 32px;
  text-align: center;
}
.tb-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
  margin-bottom: 10px;
}
.tb-footer-nav a { color: #b0a898; font-size: 12px; padding: 2px 4px; transition: color .2s; }
.tb-footer-nav a:hover { color: #e8ddd0; }
.tb-footer-nav span { color: #555; font-size: 11px; }
.tb-footer-copy { color: #777; font-size: 11px; line-height: 1.6; margin: 0; }

/* Contact page */
.tb-contact { max-width: 640px; margin: 0 auto; padding: 40px 24px; }
.tb-contact p { font-size: 15px; line-height: 1.8; }

/* Images */
img { max-width: 100%; height: auto; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: var(--tb-border-s); border-radius: 3px; }
