/* ============================================================
   GOLD MIST — CSS مشترك لكل صفحات الموقع (نسخة عربي / RTL)
   ------------------------------------------------------------
   كل الألوان والمقاسات المهمة في متغيرات CSS بالأعلى.
   غيّر القيمة هنا وهتتغير في الموقع كله تلقائيًا.
   ============================================================ */
:root{
  --navy-900:#0a1330;
  --navy-800:#0d1a3f;
  --navy-700:#101d47;
  --gold-500:#c9a24a;
  --gold-400:#d9b968;
  --gold-100:#f3e6c4;
  --cream-100:#f6f1e6;
  --cream-50:#faf7ef;
  --ink-900:#1b1b1b;
  --white:#ffffff;
  --line:rgba(201,162,74,0.35);

  --font-display:'Cairo', sans-serif;
  --font-body:'Cairo', sans-serif;

  --container:1240px;
  --radius-sm:6px;
  --radius-md:10px;
  --radius-lg:16px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink-900);
  background:var(--cream-50);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
a{text-decoration:none; color:inherit;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; border:none;}
.container{max-width:var(--container); margin:0 auto; padding:0 32px;}

.gm-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px; font-size:14px; font-weight:700;
  border-radius:var(--radius-sm);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.gm-btn:hover{transform:translateY(-2px);}
.gm-btn--gold{
  background:linear-gradient(180deg,var(--gold-400),var(--gold-500));
  color:var(--navy-900);
  box-shadow:0 8px 20px rgba(201,162,74,.25);
}
.gm-btn--gold:hover{box-shadow:0 12px 26px rgba(201,162,74,.4);}
.gm-btn--outline{background:transparent; color:var(--gold-100); border:1px solid var(--gold-500);}
.gm-btn--outline:hover{background:rgba(201,162,74,.12);}
.section-eyebrow{
  font-family:var(--font-display); color:var(--gold-500);
  font-size:15px; font-weight:700;
}

/* ---------------- TOP BAR ---------------- */
.gm-topbar{
  background:var(--navy-900); color:var(--gold-100);
  font-size:12.5px; border-bottom:1px solid rgba(255,255,255,.06);
}
.gm-topbar .container{display:flex; justify-content:center; gap:56px; padding:9px 32px; flex-wrap:wrap;}
.gm-topbar span{display:flex; align-items:center; gap:8px; opacity:.9;}

/* ---------------- HEADER ---------------- */
.gm-header{background:var(--navy-900); border-bottom:1px solid rgba(255,255,255,.05);}
.gm-header .container{display:flex; align-items:center; justify-content:space-between; gap:32px; padding:20px 32px;}
.gm-logo{display:flex; align-items:center; gap:14px;}
.gm-logo .mark{
  width:44px;height:44px; border:1.5px solid var(--gold-500); border-radius:8px;
  display:flex;align-items:center;justify-content:center; color:var(--gold-500); flex-shrink:0;
}
.gm-logo .mark svg{width:22px;height:22px;}
.gm-logo h1{font-family:var(--font-display); font-size:26px; font-weight:700; color:var(--white); line-height:1;}
.gm-logo small{display:block; font-size:11px; color:var(--gold-400); margin-top:5px;}
.gm-search{flex:1; max-width:420px; display:flex; background:var(--white); border-radius:var(--radius-sm); overflow:hidden;}
.gm-search input{flex:1; border:none; outline:none; padding:13px 18px; font-family:var(--font-body); font-size:14px;}
.gm-search button{background:var(--gold-500); color:var(--navy-900); width:48px; display:flex;align-items:center;justify-content:center;}
.gm-header-actions{display:flex; align-items:center; gap:28px;}
.gm-header-actions a{display:flex; flex-direction:column; align-items:center; gap:5px; font-size:12px; color:var(--gold-100); position:relative; white-space:nowrap;}
.gm-header-actions svg{width:20px;height:20px;}
.gm-badge{
  position:absolute; top:-8px; left:-10px;
  background:var(--gold-500); color:var(--navy-900); font-size:10px; font-weight:700;
  width:17px;height:17px; border-radius:50%; display:flex;align-items:center;justify-content:center;
}

/* ---------------- NAV ---------------- */
.gm-nav{background:var(--navy-800); border-bottom:1px solid rgba(255,255,255,.06);}
.gm-nav .container{display:flex; align-items:center; justify-content:space-between;}
.gm-nav-links{display:flex; gap:36px;}
.gm-nav-links li a{
  display:block; padding:16px 0; font-size:14px; font-weight:600; color:#d9d9e4;
  border-bottom:2px solid transparent; transition:color .15s;
}
.gm-nav-links li a:hover, .gm-nav-links li.active a{color:var(--gold-400); border-bottom-color:var(--gold-500);}
.gm-nav .gm-btn{padding:10px 22px; font-size:13px;}
.gm-burger{display:none; flex-direction:column; gap:5px; width:44px; height:44px; align-items:center; justify-content:center; background:none; border:none; cursor:pointer; padding:0;}
.gm-burger span{width:24px; height:2px; background:var(--gold-400); border-radius:2px; transition:transform .2s ease, opacity .2s ease;}
.gm-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.gm-burger.open span:nth-child(2){opacity:0;}
.gm-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ---------------- HERO (الرئيسية) ---------------- */
.gm-hero{
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,74,.10), transparent 40%),
    radial-gradient(circle at 15% 80%, rgba(201,162,74,.08), transparent 45%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding:70px 0 90px; position:relative; overflow:hidden;
}
.gm-hero .container{display:grid; grid-template-columns:1fr 1.05fr .72fr; gap:36px; align-items:center;}
.gm-hero-copy .kicker{color:var(--gold-500); font-family:var(--font-display); font-weight:700; font-size:16px; margin-bottom:10px;}
.gm-hero-copy h2{font-family:var(--font-display); font-weight:700; color:var(--white); font-size:50px; line-height:1.2;}
.gm-hero-copy h2 span{color:var(--gold-400);}
.gm-hero-copy p{color:#c9cbdb; font-size:15px; line-height:1.9; max-width:380px; margin:22px 0 30px;}
.gm-hero-copy .btn-row{display:flex; gap:16px; flex-wrap:wrap;}

.gm-hero-visual{position:relative; display:flex; align-items:center; justify-content:center;}
.gm-hero-visual .price-tag{
  position:absolute; top:6%; left:6%;
  width:90px;height:90px; border-radius:50%;
  background:radial-gradient(circle,var(--gold-100),var(--gold-500)); color:var(--navy-900);
  display:flex;flex-direction:column; align-items:center;justify-content:center;
  font-family:var(--font-display); box-shadow:0 10px 30px rgba(0,0,0,.35); text-align:center; z-index:3;
}
.gm-hero-visual .price-tag b{font-size:18px; line-height:1;}
.gm-hero-visual .price-tag span{font-size:10px;}

.gm-bottle-set{display:flex; align-items:flex-end; gap:14px; padding:30px 20px 0;}
.gm-bottle{border-radius:10px 10px 4px 4px; position:relative; box-shadow:0 20px 40px rgba(0,0,0,.4);}
.gm-bottle::after{content:''; position:absolute; right:50%; top:-16px; transform:translateX(50%); width:14px;height:20px; background:inherit; filter:brightness(1.3); border-radius:3px 3px 0 0;}

.gm-prize-card{background:rgba(10,19,48,.55); border:1px solid var(--line); border-radius:var(--radius-md); padding:28px 26px; backdrop-filter:blur(6px);}
.gm-prize-card h3{font-family:var(--font-display); color:var(--gold-400); font-size:16px; padding-bottom:16px; margin-bottom:16px; border-bottom:1px solid var(--line);}
.gm-prize-card h4{font-family:var(--font-display); color:var(--white); font-size:21px; line-height:1.5; margin-bottom:10px;}
.gm-prize-card .stars{color:var(--gold-500); font-size:14px; margin-bottom:20px;}
.gm-prize-row{display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); font-size:13.5px;}
.gm-prize-row:last-child{padding-bottom:0;}
.gm-prize-row .ic{width:34px;height:34px;border-radius:50%; background:rgba(201,162,74,.12); color:var(--gold-500); display:flex;align-items:center;justify-content:center; flex-shrink:0;}
.gm-prize-row div small{display:block; color:#9698ab; font-size:11px; margin-bottom:2px;}
.gm-prize-row div strong{color:var(--white); font-weight:600;}

/* ---------------- الاشتراك + السحب المباشر ---------------- */
.gm-draw{background:var(--navy-900); border-top:1px solid rgba(255,255,255,.05); padding:80px 0; scroll-margin-top:120px;}
.gm-draw .container{display:grid; grid-template-columns:.78fr 1fr .82fr; gap:40px; align-items:center;}
.gm-draw-timer h3{font-family:var(--font-display); color:var(--gold-400); font-size:18px; margin-bottom:24px;}
.gm-timer-boxes{display:flex; gap:12px;}
.gm-timer-boxes .box{background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:var(--radius-sm); width:68px; padding:14px 0; text-align:center;}
.gm-timer-boxes .box b{display:block; font-family:var(--font-display); color:var(--white); font-size:26px;}
.gm-timer-boxes .box span{font-size:10.5px; color:#9698ab;}
.gm-draw-timer p{color:var(--gold-400); font-size:14px; margin-top:22px;}

.gm-wheel-wrap{display:flex; justify-content:center;}
.gm-wheel{
	position:relative; width:420px; height:420px;
	filter:drop-shadow(0 25px 50px rgba(0,0,0,.55));
}
.gm-wheel::before{
	content:''; position:absolute; inset:-14px; border-radius:50%;
	background:radial-gradient(circle, rgba(201,162,74,.35), transparent 70%);
	animation:gmWheelPulse 2.6s ease-in-out infinite;
	z-index:0;
}
@keyframes gmWheelPulse{
	0%, 100% { opacity:.55; transform:scale(1); }
	50% { opacity:1; transform:scale(1.05); }
}
.gm-wheel svg{width:100%; height:100%; position:relative; z-index:1;}
.gm-wheel .hub{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:104px;height:104px; border-radius:50%;
  background:radial-gradient(circle,var(--gold-400),var(--gold-500)); color:var(--navy-900);
  display:flex;align-items:center;justify-content:center; font-family:var(--font-display); font-weight:700; font-size:17px;
  box-shadow:0 0 0 6px var(--navy-900), 0 0 0 9px var(--gold-500), 0 0 30px rgba(201,162,74,.7);
  cursor:pointer; border:none; z-index:2; transition:transform .15s ease;
}
.gm-wheel .hub:hover{transform:translate(-50%,-50%) scale(1.06);}
.gm-wheel .hub:active{transform:translate(-50%,-50%) scale(0.95);}
.gm-wheel .pointer{
	position:absolute; top:-10px; left:50%; transform:translateX(-50%);
	width:0; height:0; border-left:16px solid transparent; border-right:16px solid transparent;
	border-top:26px solid var(--gold-400); z-index:4;
	filter:drop-shadow(0 0 8px rgba(201,162,74,.8));
}

.gm-howto{scroll-margin-top:120px;}
.gm-howto h3{font-family:var(--font-display); color:var(--gold-400); font-size:18px; margin-bottom:22px;}
.gm-howto-item{display:flex; gap:16px; padding:14px 0; border-top:1px solid var(--line);}
.gm-howto-item:first-of-type{border-top:none;}
.gm-howto-item .ic{width:42px;height:42px;border-radius:50%; border:1px solid var(--gold-500); color:var(--gold-500); display:flex;align-items:center;justify-content:center; flex-shrink:0;}
.gm-howto-item h5{color:var(--gold-400); font-size:15px; margin-bottom:4px;}
.gm-howto-item p{color:#c9cbdb; font-size:13px; line-height:1.7;}
.gm-howto .gm-btn{margin-top:20px; width:100%;}

/* ---------------- المنتجات المميزة ---------------- */
.gm-featured{background:var(--cream-100); padding:80px 0;}
.gm-featured-head{display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:36px; flex-wrap:wrap; gap:16px;}
.gm-featured-head h2{font-family:var(--font-display); font-size:32px; color:var(--navy-900); margin-top:6px;}
.gm-featured-head p{color:#7a7a70; font-size:14px; margin-top:6px;}
.gm-view-all{border:1px solid var(--navy-900); padding:11px 24px; font-size:13px; font-weight:700; border-radius:var(--radius-sm); color:var(--navy-900); transition:background .2s;}
.gm-view-all:hover{background:var(--navy-900); color:var(--white);}

.gm-product-grid{display:flex; flex-wrap:wrap; justify-content:center; gap:24px;}
.gm-card{max-width:320px; width:100%; margin:0 auto;}
.gm-card{background:var(--white); border:1px solid #eee6d3; border-radius:var(--radius-md); overflow:hidden; transition:box-shadow .2s, transform .2s;}
.gm-card:hover{box-shadow:0 16px 30px rgba(20,20,10,.08); transform:translateY(-3px);}
.gm-card-img{aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; background:var(--cream-100);}
.gm-card-img img{width:100%; height:100%; object-fit:cover; display:block;}
.gm-card-body{padding:14px 16px 18px;}
.gm-card-body h4{font-size:14.5px; font-weight:700; margin-bottom:6px; color:var(--navy-900);}
.gm-card-rating{display:flex; align-items:center; gap:6px; color:var(--gold-500); font-size:12.5px; margin-bottom:8px;}
.gm-card-rating span{color:#9a9a90;}
.gm-card-price{font-family:var(--font-display); font-weight:700; font-size:17px; margin-bottom:12px;}
.gm-card-actions{display:flex; align-items:center; gap:10px;}
.gm-card-actions .gm-btn{flex:1; padding:10px 0; font-size:12px;}
.gm-card-actions .icon-btn{width:34px;height:34px; border:1px solid #e6ddc4; border-radius:var(--radius-sm); display:flex;align-items:center;justify-content:center; color:var(--navy-900); flex-shrink:0;}

/* ---------------- شريط الثقة ---------------- */
.gm-trust{background:var(--navy-900); padding:40px 0; border-top:1px solid rgba(255,255,255,.05);}
.gm-trust .container{display:grid; grid-template-columns:repeat(5,1fr); gap:20px;}
.gm-trust-item{display:flex; align-items:center; gap:14px;}
.gm-trust-item .ic{width:46px;height:46px;border-radius:50%; border:1px solid var(--gold-500); color:var(--gold-500); display:flex;align-items:center;justify-content:center; flex-shrink:0;}
.gm-trust-item h5{color:var(--white); font-size:13.5px; margin-bottom:3px;}
.gm-trust-item p{color:#9698ab; font-size:12px;}

/* ---------------- بانرات ترويجية ---------------- */
.gm-promos{background:var(--navy-900); padding:0 0 60px;}
.gm-promos .container{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.gm-promo{border:1px solid var(--line); border-radius:var(--radius-md); padding:30px; display:flex; flex-direction:column; justify-content:space-between; min-height:170px; position:relative; overflow:hidden;}
.gm-promo::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 15% 30%, rgba(201,162,74,.18), transparent 60%);}
.gm-promo h3{font-family:var(--font-display); color:var(--gold-400); font-size:20px; position:relative; z-index:1;}
.gm-promo p{color:#c9cbdb; font-size:13px; margin:8px 0 18px; position:relative; z-index:1;}
.gm-promo .gm-btn{align-self:flex-start; position:relative; z-index:1; padding:10px 22px;}

/* ---------------- بانر داخلي لصفحات (من نحن / المنتج / تواصل) ---------------- */
.gm-page-hero{
  background:linear-gradient(160deg, var(--navy-900), var(--navy-700));
  padding:70px 0 60px; text-align:center; position:relative; overflow:hidden;
}
.gm-page-hero::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 50% 0%, rgba(201,162,74,.15), transparent 55%);}
.gm-page-hero .container{position:relative; z-index:1;}
.gm-page-hero h1{font-family:var(--font-display); color:var(--white); font-size:42px; margin-bottom:12px;}
.gm-page-hero .crumbs{color:var(--gold-400); font-size:13.5px; display:flex; gap:8px; justify-content:center;}
.gm-page-hero .crumbs a{color:#c9cbdb;}
.gm-page-hero .crumbs a:hover{color:var(--gold-400);}

/* ---------------- صفحة من نحن ---------------- */
.gm-about-story{padding:80px 0; background:var(--cream-50);}
.gm-about-story .container{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;}
.gm-about-visual{
  height:380px; border-radius:var(--radius-lg);
  background:linear-gradient(150deg, var(--navy-800), var(--navy-900));
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.gm-about-visual::before{content:''; position:absolute; inset:0; background:radial-gradient(circle at 70% 20%, rgba(201,162,74,.25), transparent 55%);}
.gm-about-visual span{font-family:var(--font-display); color:var(--gold-400); font-size:26px; position:relative; z-index:1;}
.gm-about-text h2{font-family:var(--font-display); font-size:30px; color:var(--navy-900); margin-bottom:18px;}
.gm-about-text p{color:#5c5c53; font-size:14.5px; line-height:2; margin-bottom:16px;}

.gm-values{background:var(--navy-900); padding:80px 0;}
.gm-values .gm-featured-head h2{color:var(--white);}
.gm-values .gm-featured-head p{color:#9698ab;}
.gm-values-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.gm-value-card{background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:var(--radius-md); padding:28px 22px; text-align:center;}
.gm-value-card .ic{width:56px;height:56px; border-radius:50%; border:1px solid var(--gold-500); color:var(--gold-500); display:flex; align-items:center; justify-content:center; margin:0 auto 16px;}
.gm-value-card h5{color:var(--white); font-size:15.5px; margin-bottom:8px;}
.gm-value-card p{color:#9698ab; font-size:12.5px; line-height:1.8;}

.gm-stats{background:var(--cream-100); padding:60px 0;}
.gm-stats .container{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center;}
.gm-stat b{display:block; font-family:var(--font-display); font-size:38px; color:var(--navy-900);}
.gm-stat span{color:#7a7a70; font-size:13px;}

/* ---------------- صفحة المنتج (المتجر) ---------------- */
.gm-shop{padding:70px 0 90px; background:var(--cream-100);}
.gm-shop-toolbar{display:flex; align-items:center; justify-content:space-between; margin-bottom:34px; flex-wrap:wrap; gap:16px;}
.gm-filters{display:flex; gap:10px; flex-wrap:wrap;}
.gm-filter-btn{
  padding:9px 20px; font-size:13px; font-weight:600; border-radius:30px;
  border:1px solid var(--navy-900); color:var(--navy-900); background:transparent;
}
.gm-filter-btn.active, .gm-filter-btn:hover{background:var(--navy-900); color:var(--white);}
.gm-shop-count{color:#7a7a70; font-size:13px;}
.gm-shop .gm-product-grid{display:flex; flex-wrap:wrap; justify-content:center;}

/* ---------------- صفحة تواصل معنا ---------------- */
.gm-contact{padding:80px 0; background:var(--cream-50);}
.gm-contact .container{display:grid; grid-template-columns:.85fr 1.15fr; gap:50px;}
.gm-contact-info h2{font-family:var(--font-display); font-size:28px; color:var(--navy-900); margin-bottom:14px;}
.gm-contact-info p{color:#5c5c53; font-size:14px; line-height:1.9; margin-bottom:28px;}
.gm-contact-card{display:flex; align-items:center; gap:16px; padding:18px 0; border-top:1px solid #e8e0c9;}
.gm-contact-card:first-of-type{border-top:none;}
.gm-contact-card .ic{width:46px;height:46px;border-radius:50%; background:var(--navy-900); color:var(--gold-500); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.gm-contact-card small{display:block; color:#9a9a90; font-size:11.5px; margin-bottom:3px;}
.gm-contact-card strong{color:var(--navy-900); font-size:14px;}
.gm-social-row{display:flex; gap:12px; margin-top:24px;}
.gm-social-row a{width:42px;height:42px;border-radius:50%; border:1px solid var(--gold-500); color:var(--gold-500); display:flex;align-items:center;justify-content:center;}
.gm-social-row a:hover{background:var(--gold-500); color:var(--navy-900);}

.gm-contact-form{background:var(--white); border:1px solid #eee6d3; border-radius:var(--radius-lg); padding:36px;}
.gm-form-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px;}
.gm-contact-form label{display:block; font-size:12.5px; font-weight:700; color:var(--navy-900); margin-bottom:7px;}
.gm-contact-form input, .gm-contact-form textarea{
  width:100%; border:1px solid #e6ddc4; border-radius:var(--radius-sm); padding:12px 14px;
  font-family:var(--font-body); font-size:13.5px; outline:none; background:var(--cream-50);
}
.gm-contact-form input:focus, .gm-contact-form textarea:focus{border-color:var(--gold-500);}
.gm-contact-form .field-full{grid-column:1 / -1; margin-bottom:16px;}
.gm-map-box{
  margin-top:26px; height:200px; border-radius:var(--radius-md);
  background:linear-gradient(150deg,var(--navy-800),var(--navy-900));
  display:flex; align-items:center; justify-content:center; color:var(--gold-400); font-family:var(--font-display); font-size:15px;
}

/* ---------------- الفوتر ---------------- */
.gm-footer{background:var(--navy-900); border-top:1px solid rgba(255,255,255,.06); padding:60px 0 0;}
.gm-footer .container{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:44px;}
.gm-footer-brand .gm-logo h1{font-size:22px;}
.gm-footer-brand p{color:#9698ab; font-size:13px; line-height:1.9; margin-top:14px;}
.gm-footer h5{color:var(--gold-400); font-family:var(--font-display); font-size:16px; margin-bottom:18px;}
.gm-footer-links li{margin-bottom:11px;}
.gm-footer-links a{color:#c9cbdb; font-size:13.5px;}
.gm-footer-links a:hover{color:var(--gold-400);}
.gm-footer-contact li{color:#c9cbdb; font-size:13px; margin-bottom:12px; display:flex; gap:10px; align-items:flex-start;}
.gm-footer-bottom{border-top:1px solid rgba(255,255,255,.06); padding:20px 0; text-align:center; color:#8688a0; font-size:12.5px;}

/* ---------------- استجابة الموبايل ---------------- */
@media (max-width: 1100px){
  .gm-hero .container{grid-template-columns:1fr; text-align:center;}
  .gm-hero-copy p{margin-left:auto; margin-right:auto;}
  .gm-hero-copy .btn-row{justify-content:center;}
  .gm-bottle-set{justify-content:center;}
  .gm-draw .container{grid-template-columns:1fr; text-align:center;}
  .gm-timer-boxes{justify-content:center;}
  .gm-howto-item{justify-content:flex-start; text-align:right;}
  .gm-product-grid, .gm-shop .gm-product-grid{grid-template-columns:repeat(3,1fr);}
  .gm-trust .container{grid-template-columns:repeat(2,1fr);}
  .gm-promos .container{grid-template-columns:1fr;}
  .gm-promo{text-align:center; align-items:center;}
  .gm-promo .gm-btn{align-self:center;}
  .gm-about-story .container{grid-template-columns:1fr;}
  .gm-values-grid{grid-template-columns:repeat(2,1fr);}
  .gm-stats .container{grid-template-columns:repeat(2,1fr);}
  .gm-contact .container{grid-template-columns:1fr;}
  .gm-footer .container{grid-template-columns:1fr 1fr;}
  .gm-nav-links{
    display:none; position:absolute; top:100%; right:0; left:0; background:var(--navy-800);
    flex-direction:column; padding:10px 32px; z-index:20;
  }
  .gm-nav-links.open{display:flex;}
  .gm-nav{position:relative;}
  .gm-burger{display:flex;}
}
@media (max-width: 640px){
  .gm-product-grid, .gm-shop .gm-product-grid{grid-template-columns:repeat(2,1fr);}
  .gm-header .container{flex-wrap:wrap;}
  .gm-search{
    flex:0 0 auto; max-width:none; width:40px; height:40px; border-radius:50%;
    box-shadow:0 2px 8px rgba(0,0,0,.15);
  }
  .gm-search input{display:none;}
  .gm-search button{width:100%; height:100%;}
  .gm-form-row{grid-template-columns:1fr;}
  .gm-footer .container{grid-template-columns:1fr 1fr;}
  .gm-footer-brand{grid-column:1 / -1;}
}

/* ---------------- WooCommerce compatibility ----------------
   Makes native WooCommerce pages (single product, cart, checkout,
   my-account) match the Gold Mist palette without overriding
   WooCommerce's own layout logic. */
.gmar-single-product,
.gmar-woo-wrap,
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main,
.woocommerce-account .site-main {
	font-family: var(--font-body);
	color: var(--ink-900);
	background: var(--cream-50);
	padding: 40px 0 80px;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--gold-500); font-family: var(--font-display); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce-page a.button {
	background: linear-gradient(180deg, var(--gold-400), var(--gold-500)) !important;
	color: var(--navy-900) !important;
	border-radius: var(--radius-sm) !important;
	font-weight: 700 !important;
	border: none !important;
	padding: 12px 26px !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	box-shadow: 0 10px 24px rgba(201,162,74,.35);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--navy-900); font-weight: 700; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid var(--gold-500); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--gold-500) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--gold-500) !important; }
.goldmist-buy-now-btn,
.gmar-single-product .gm-btn { margin-inline-start: 10px; }

/* Contact Form 7 — inherit the exact gm-contact-form field styling */
.gm-contact-form .wpcf7-form-control-wrap { display: block; }
.gm-contact-form .wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; margin-top: 4px; }
.gm-contact-form .wpcf7-response-output { border-radius: var(--radius-sm); padding: 12px 16px; margin-top: 16px; font-size: 13px; }

#gmar-wheel-spin-group { transition: transform 4s cubic-bezier(.17,.67,.2,1); transform-origin: 210px 210px; transform-box: view-box; }
.gm-nav-links li.current-menu-item > a,
.gm-nav-links li.current_page_item > a { color: var(--gold-400); border-bottom-color: var(--gold-500); }

/* ---------------- Standalone Countdown Section ---------------- */
.gm-countdown-section{background:var(--navy-900); border-top:1px solid rgba(255,255,255,.05); padding:70px 0; scroll-margin-top:120px;}
.gm-countdown-inner{text-align:center;}
.gm-countdown-inner h3{font-family:var(--font-display); color:var(--gold-400); font-size:22px; margin-bottom:26px;}
.gm-countdown-inner .gm-timer-boxes{justify-content:center; margin:0 auto;}
.gm-countdown-inner p{color:var(--gold-400); font-size:15px; margin-top:24px;}

/* ---------------- Wheel Section (wheel + how-to, 2 columns) ---------------- */
.gm-wheel-section{background:var(--navy-900); padding:80px 0; scroll-margin-top:120px;}
.gm-wheel-section .container{display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;}
@media (max-width:900px){ .gm-wheel-section .container{grid-template-columns:1fr; text-align:center;} }

/* ---------------- Wheel Result Popup ---------------- */
.gm-wheel-modal{position:fixed; inset:0; z-index:999; display:none; align-items:center; justify-content:center; padding:20px;}
.gm-wheel-modal.open{display:flex;}
.gm-wheel-modal-overlay{position:absolute; inset:0; background:rgba(8,10,20,.72); backdrop-filter:blur(3px);}
.gm-wheel-modal-box{
	position:relative; z-index:1; max-width:420px; width:100%;
	background:linear-gradient(180deg, var(--navy-800), var(--navy-900));
	border:1px solid var(--gold-500); border-radius:var(--radius-lg,16px);
	padding:40px 32px; text-align:center;
	box-shadow:0 30px 60px rgba(0,0,0,.5);
	animation:gmModalIn .35s ease;
}
@keyframes gmModalIn{ from{opacity:0; transform:translateY(12px) scale(.97);} to{opacity:1; transform:translateY(0) scale(1);} }
.gm-wheel-modal-box h3{font-family:var(--font-display); color:var(--white); font-size:26px; margin:10px 0 16px;}
.gm-wheel-modal-box p{color:#c9cbdb; font-size:14px; line-height:1.8;}
.gm-wheel-modal-close{
	position:absolute; top:14px; left:14px; width:32px; height:32px; border-radius:50%;
	background:rgba(255,255,255,.06); border:1px solid var(--line); color:var(--white);
	cursor:pointer; font-size:14px; display:flex; align-items:center; justify-content:center;
}
.gm-wheel-modal-close:hover{background:rgba(255,255,255,.12);}

/* ---------------- Uploaded Hero Images ---------------- */
.gm-hero-uploaded-images{display:flex; gap:16px; align-items:flex-end; justify-content:center;}
.gm-hero-uploaded-images.has-one{justify-content:center;}
.gm-hero-uploaded-images .gm-hero-img{
	max-width:100%; height:auto; max-height:420px; border-radius:var(--radius-sm,10px);
	box-shadow:0 25px 45px rgba(0,0,0,.45); object-fit:cover;
}
.gm-hero-uploaded-images.has-two .gm-hero-img{max-height:360px; width:calc(50% - 8px);}

/* =========================================================
   MOBILE POLISH — extra pass for small/very-small screens
   ========================================================= */
@media (max-width: 1100px){
	.gm-hero-copy h2{font-size:36px;}
	.gm-hero-uploaded-images{flex-wrap:wrap;}
}

@media (max-width: 900px){
	.gm-countdown-inner h3{font-size:18px;}
	.gm-timer-boxes{flex-wrap:wrap;}
	.gm-wheel{width:280px; height:280px;}
	.gm-wheel-modal-box{padding:28px 20px;}
	.product-showcase{grid-template-columns:1fr !important;}
	.gm-shop-toolbar{flex-direction:column; align-items:flex-start; gap:14px;}
	.gm-filters{flex-wrap:wrap;}
}

@media (max-width: 640px){
	.container{padding:0 16px;}
	.gm-hero{padding:50px 0;}
	.gm-hero-copy h2{font-size:28px;}
	.gm-hero-copy p{font-size:14px;}
	.gm-page-hero{padding:36px 0;}
	.gm-page-hero h1{font-size:24px;}
	.gm-countdown-section, .gm-wheel-section, .gm-featured, .goldmist-product-section{padding:40px 0;}
	.gm-wheel{width:240px; height:240px;}
	.gm-wheel .hub{width:64px; height:64px; font-size:12px;}
	.gm-values-grid{grid-template-columns:1fr !important;}
	.gm-stats .container{grid-template-columns:1fr 1fr !important; gap:20px;}
	.gm-trust .container{grid-template-columns:1fr !important;}
	.gm-header .container{padding:12px 16px;}
	.gm-logo h1{font-size:20px;}
	.gm-hero-uploaded-images.has-two .gm-hero-img{width:100%; max-height:280px;}
	.gm-hero-prize-card, .gm-prize-card{width:100%;}
	table.form-table th{width:auto;}
}

@media (max-width: 400px){
	.gm-timer-boxes .box{min-width:60px; padding:10px 0;}
	.gm-timer-boxes .box b{font-size:22px;}
	.gm-wheel{width:210px; height:210px;}
}

.gm-countdown-explainer{color:rgba(255,255,255,.65) !important; font-size:13px; max-width:500px; margin:10px auto 0 !important; line-height:1.8;}

/* ---------------- صفحة الشروط والأحكام ---------------- */
.gm-terms{padding:60px 0 90px;}
.gm-terms-inner{max-width:820px; margin:0 auto;}
.gm-terms-notice{
	background:linear-gradient(180deg, #fff8e6, #fdf1d0); border:1px solid var(--gold-500);
	border-radius:var(--radius-md); padding:28px 30px; margin-bottom:40px;
}
.gm-terms-notice h3{font-family:var(--font-display); color:var(--navy-900); font-size:19px; margin-bottom:14px;}
.gm-terms-notice p{color:#4a4030; font-size:14.5px; line-height:1.9; margin-bottom:12px;}
.gm-terms-notice ul{margin:12px 0; padding-inline-start:20px; list-style:disc;}
.gm-terms-notice li{color:#4a4030; font-size:14px; line-height:1.9; margin-bottom:8px;}
.gm-terms-section{margin-bottom:30px;}
.gm-terms-section h3{font-family:var(--font-display); color:var(--navy-900); font-size:18px; margin-bottom:10px; border-bottom:2px solid var(--gold-500); display:inline-block; padding-bottom:4px;}
.gm-terms-section p{color:#5a5a55; font-size:14.5px; line-height:1.9;}
.gm-terms-section a{color:var(--gold-500); font-weight:700;}

/* ---------------- طبقة حماية إضافية ضد تجاوز حدود الشاشة على الموبايل ---------------- */
html, body{overflow-x:hidden; max-width:100vw;}
.gm-hero-copy h2, .gm-hero-copy p, .gm-page-hero h1{overflow-wrap:break-word; word-break:break-word;}
.gm-hero .container, .gm-draw .container{min-width:0;}
.gm-hero-copy, .gm-hero-visual, .gm-prize-card{min-width:0; max-width:100%;}
img{max-width:100%; height:auto;}
* { min-width: 0; }
