/*
Theme Name: Nefertiti Chocolate
Theme URI: http://80.241.218.23
Author: Nefertiti Foodstuff Trading
Description: Premium Chocolate E-commerce Theme - White & Yellow
Version: 1.1
Requires at least: 6.0
WC requires at least: 7.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #FFD700;
  --gold-dark: #C9960C;
  --gold-deep: #b8860b;
  --black: #111111;
  --text: #222222;
  --text-light: #555555;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #FFFEF5;
  --bg-yellow: #FFF9D6;
  --border: #FFE066;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: var(--bg); color: var(--text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===================== TOPBAR ===================== */
.topbar {
  background: var(--gold);
  color: var(--black);
  font-size: .78rem;
  padding: 7px 0;
  display: flex; align-items: center; justify-content: center;
  gap: 28px; font-weight: 500;
}
.topbar a { color: var(--black); font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar i { margin-right: 4px; }

/* ===================== HEADER ===================== */
.site-header {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(201,150,12,.15);
  border-bottom: 3px solid var(--gold);
}
.hdr-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 10px 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.srch-wrap { flex: 1; max-width: 520px; }
.srch-box {
  display: flex; align-items: center;
  background: var(--bg-yellow); border-radius: 30px;
  overflow: hidden; border: 2px solid var(--gold);
}
.srch-box input {
  flex: 1; border: none; outline: none;
  padding: 10px 18px; font-size: .9rem; font-family: 'Poppins',sans-serif;
  background: transparent; color: var(--text);
}
.srch-box button {
  background: var(--gold); color: var(--black);
  border: none; padding: 10px 18px; cursor: pointer; font-size: 1.1rem;
  transition: background .2s; font-weight: 700;
}
.srch-box button:hover { background: var(--gold-dark); }

.hdr-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hic {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-yellow); color: var(--gold-dark);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all .2s;
}
.hic:hover { background: var(--gold); color: var(--black); }
.cart-btn {
  background: var(--gold); color: var(--black);
  border: none; border-radius: 25px;
  padding: 9px 20px; font-weight: 700; font-size: .85rem;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
  font-family: 'Poppins',sans-serif; transition: all .2s;
  border: 2px solid var(--gold-dark);
}
.cart-btn:hover { background: var(--gold-dark); color: #fff; }
.cart-count {
  background: var(--black); color: var(--gold);
  border-radius: 50%; width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
}

/* ===================== NAVBAR ===================== */
.site-nav {
  background: var(--gold);
  border-top: 1px solid var(--gold-dark);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; padding: 0 24px;
}
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.site-nav ul li { position: relative; }
.site-nav ul li a {
  display: block; padding: 13px 20px;
  color: var(--black); font-size: .88rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  transition: all .2s; position: relative;
}
.site-nav ul li a:hover { color: var(--white); background: rgba(0,0,0,.12); border-radius: 4px; }
.site-nav ul li a.active {
  color: var(--white); background: rgba(0,0,0,.15); border-radius: 4px;
}
.dd-arrow { font-size: .7rem; margin-left: 4px; transition: transform .3s; }
.has-dd:hover .dd-arrow { transform: rotate(180deg); }

/* MEGA DROPDOWN */
.mega-dd {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 680px; background: var(--white);
  border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 50px rgba(201,150,12,.25);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: all .3s ease;
  z-index: 999;
}
.has-dd:hover .mega-dd {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dd-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; padding: 24px; }
.dd-col { padding: 0 16px; }
.dd-col:not(:last-child) { border-right: 1px solid var(--border); }
.dd-col-title {
  color: var(--gold-dark); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}
.dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  transition: background .2s; margin-bottom: 4px; color: var(--text);
}
.dd-item:hover { background: var(--bg-yellow); }
.dd-item-ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-yellow); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.dd-item-tx strong { display: block; font-size: .83rem; color: var(--text); }
.dd-item-tx span { font-size: .72rem; color: var(--text-light); }
.dd-footer {
  display: flex; gap: 12px; padding: 14px 24px;
  border-top: 2px solid var(--gold); background: var(--bg-yellow);
  border-radius: 0 0 12px 12px;
}
.dd-footer a {
  flex: 1; text-align: center; padding: 10px;
  background: var(--gold); color: var(--black);
  border-radius: 8px; font-weight: 700; font-size: .82rem;
  transition: all .2s; border: 2px solid var(--gold-dark);
}
.dd-footer a:hover { background: var(--gold-dark); color: #fff; }
.dd-footer a.df-outline { background: var(--white); color: var(--black); border: 2px solid var(--gold); }
.dd-footer a.df-outline:hover { background: var(--gold); }

/* ===================== SPLASH ===================== */
#splash {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-slides { position: absolute; inset: 0; }
.splash-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease-in-out;
}
.splash-slide.active { opacity: 1; }
.splash-overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.2) 0%,rgba(0,0,0,.5) 100%); }
.splash-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 24px; }
.splash-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.splash-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .3s,transform .3s; }
.splash-dot.active { background: var(--gold); transform: scale(1.4); }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--bg-yellow) 0%, var(--white) 60%);
  min-height: 520px; display: flex; align-items: center; overflow: hidden;
  position: relative; border-bottom: 3px solid var(--gold);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,215,0,.15) 0%, transparent 70%);
}
.hero-in { max-width: 1400px; margin: 0 auto; padding: 60px 32px; display: flex; align-items: center; gap: 60px; width: 100%; }
.hero-tx { flex: 1; z-index: 1; }
.htag { color: var(--gold-dark); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 16px; }
.hero-tx h1 { font-family: 'Playfair Display',serif; font-size: clamp(2.2rem,4vw,3.6rem); color: var(--text); line-height: 1.15; margin-bottom: 18px; }
.hero-tx h1 em { color: var(--gold-dark); font-style: italic; }
.hero-tx p { color: var(--text-light); font-size: 1rem; line-height: 1.7; max-width: 420px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero-1 { background: var(--gold); color: var(--black); padding: 14px 32px; border-radius: 30px; font-weight: 700; font-size: .9rem; transition: all .2s; border: 2px solid var(--gold-dark); }
.btn-hero-1:hover { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.btn-hero-2 { background: var(--white); color: var(--black); border: 2px solid var(--gold); padding: 14px 28px; border-radius: 30px; font-weight: 600; font-size: .9rem; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.btn-hero-2:hover { background: var(--bg-yellow); }
.hero-img-wrap { flex: 0 0 400px; display: flex; justify-content: center; }
.hero-img { width: 100%; max-width: 400px; border-radius: 20px; box-shadow: 0 20px 60px rgba(201,150,12,.2); border: 3px solid var(--gold); }

/* ===================== WHY STRIP ===================== */
.why { background: var(--gold); border-top: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); }
.why-in { max-width: 1400px; margin: 0 auto; padding: 16px 32px; display: flex; }
.wi { flex: 1; display: flex; align-items: center; gap: 12px; padding: 12px 24px; border-right: 1px solid rgba(0,0,0,.12); }
.wi:last-child { border-right: none; }
.wi-ic { font-size: 1.4rem; color: var(--black); }
.wi-tx strong { display: block; font-size: .88rem; font-weight: 700; color: var(--black); }
.wi-tx span { font-size: .76rem; color: rgba(0,0,0,.6); }

/* ===================== SECTIONS ===================== */
.sw { max-width: 1400px; margin: 0 auto; padding: 60px 32px; }
.sh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.sh h2 { font-family: 'Playfair Display',serif; font-size: 1.9rem; color: var(--text); }
.sh h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--gold); margin-top: 8px; border-radius: 2px; }
.sall { color: var(--gold-dark); font-weight: 700; font-size: .88rem; border: 2px solid var(--gold); padding: 6px 16px; border-radius: 20px; transition: all .2s; }
.sall:hover { background: var(--gold); color: var(--black); }

/* CATEGORIES */
.cat-sec { background: var(--bg-yellow); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.cat-sc { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.cat-sc::-webkit-scrollbar { display: none; }
.ci { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.cc { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); transition: all .3s; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(201,150,12,.15); }
.ci:hover .cc { border-color: var(--gold-dark); transform: translateY(-5px); box-shadow: 0 10px 24px rgba(201,150,12,.3); }
.cc img { width: 100%; height: 100%; object-fit: cover; }
.cl { font-size: .78rem; font-weight: 700; color: var(--text); text-align: center; }

/* PRODUCTS */
.pg { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 24px; }
.pc {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(201,150,12,.1);
  border: 1px solid var(--border);
  transition: all .3s; position: relative;
}
.pc:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(201,150,12,.2); border-color: var(--gold); }
.pb {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: var(--black);
  font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; border: 1px solid var(--gold-dark);
}
.pb.pbh { background: #e74c3c; color: #fff; border-color: #c0392b; }
.pb.pbn { background: #27ae60; color: #fff; border-color: #1e8449; }
.pib { height: 200px; overflow: hidden; background: var(--bg-yellow); }
.pib img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pc:hover .pib img { transform: scale(1.06); }
.pi { padding: 16px; }
.pct { font-size: .72rem; color: var(--gold-dark); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.pn { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.pw { font-size: .8rem; color: var(--text-light); margin-bottom: 14px; }
.bo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--black);
  border-radius: 25px; padding: 10px 20px; font-weight: 700; font-size: .82rem;
  transition: all .2s; width: 100%; border: 2px solid var(--gold-dark);
}
.bo:hover { background: var(--gold-dark); color: #fff; }

/* ===================== WOOCOMMERCE ===================== */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 24px; }
.woocommerce ul.products li.product { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(201,150,12,.1); border: 1px solid var(--border); transition: all .3s; padding: 0 !important; }
.woocommerce ul.products li.product:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(201,150,12,.25); border-color: var(--gold); }
.woocommerce ul.products li.product a img { height: 220px; object-fit: cover; width: 100% !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; font-weight: 700; padding: 12px 16px 4px; color: var(--text); }
.woocommerce ul.products li.product .price { color: var(--gold-dark) !important; font-weight: 700; padding: 0 16px; font-size: 1rem; }
.woocommerce ul.products li.product .button {
  display: block !important; margin: 12px 16px 16px !important;
  background: var(--gold) !important; color: var(--black) !important;
  border-radius: 25px !important; font-weight: 700 !important;
  border: 2px solid var(--gold-dark) !important; padding: 10px 20px !important;
  text-align: center; transition: all .2s !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--gold-dark) !important; color: #fff !important; }

/* ===================== OFFERS ===================== */
.off-sec { background: var(--bg-yellow); border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.off-sc { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.oc { border-radius: 14px; padding: 22px 20px; display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden; transition: transform .2s; }
.oc:hover { transform: translateY(-3px); }
.ob { position: absolute; top: 12px; right: 12px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; background: var(--gold); color: var(--black); padding: 3px 8px; border-radius: 20px; border: 1px solid var(--gold-dark); }
.ocp, .ocy, .ocd, .ocb { background: var(--white); border: 2px solid var(--gold); }
.ot { color: var(--text); font-weight: 700; font-size: .9rem; margin-bottom: 3px; }
.os { color: var(--text-light); font-size: .75rem; }
.oic { color: var(--gold); font-size: 1.8rem; opacity: .3; position: absolute; right: 16px; bottom: 10px; }

/* ===================== CTA ===================== */
.cta { background: var(--gold); text-align: center; padding: 60px 32px; border-top: 3px solid var(--gold-dark); }
.cta h2 { font-family: 'Playfair Display',serif; font-size: 2.2rem; color: var(--black); margin-bottom: 12px; }
.cta p { color: rgba(0,0,0,.6); margin-bottom: 28px; font-size: 1rem; }
.bwa { display: inline-flex; align-items: center; gap: 10px; background: var(--black); color: var(--gold); padding: 16px 36px; border-radius: 35px; font-weight: 700; font-size: 1rem; transition: all .3s; }
.bwa:hover { background: #333; transform: translateY(-3px); }

/* ===================== FOOTER ===================== */
.sf { background: var(--bg-yellow); color: var(--text); padding: 50px 0 20px; border-top: 3px solid var(--gold); }
.fg { max-width: 1400px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 34px; }
.fln { font-family: 'Playfair Display',serif; font-size: 1.2rem; color: var(--text); font-weight: 700; }
.fls { font-size: .47rem; letter-spacing: .25em; color: var(--gold-dark); text-transform: uppercase; font-weight: 700; }
.ftg { color: var(--text-light); font-size: .82rem; margin-top: 9px; line-height: 1.7; }
.fsoc { display: flex; gap: 9px; margin-top: 13px; }
.fsb { width: 33px; height: 33px; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: background .2s; border: 2px solid var(--gold-dark); }
.fsb:hover { background: var(--gold-dark); color: #fff; }
.fh { color: var(--text); font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 13px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.fl { list-style: none; padding: 0; }
.fl li { margin-bottom: 7px; }
.fl a { color: var(--text-light); font-size: .82rem; }
.fl a:hover { color: var(--gold-dark); font-weight: 600; }
.fc { display: flex; gap: 8px; margin-bottom: 9px; font-size: .82rem; }
.fc i { color: var(--gold-dark); flex-shrink: 0; }
.fc a { color: var(--text-light); }
.fc a:hover { color: var(--gold-dark); }
.fdiv { border-color: var(--gold); margin: 24px 0 13px; }
.fcp { text-align: center; font-size: .77rem; color: var(--text-light); }

/* WA FLOAT */
.waf { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(37,211,102,.5); z-index: 9999; animation: wap 2.5s ease-in-out infinite; }
.waf:hover { color: #fff; transform: scale(1.1); animation: none; }
@keyframes wap { 0%,100%{box-shadow:0 6px 18px rgba(37,211,102,.5)} 50%{box-shadow:0 6px 32px rgba(37,211,102,.8)} }

/* RESPONSIVE */
@media(max-width:900px) { .fg{grid-template-columns:1fr 1fr} .hero-img-wrap{display:none} .wi{padding:10px 12px} }
@media(max-width:600px) { .hdr-inner{flex-wrap:wrap} .srch-wrap{order:3;flex:0 0 100%} .fg{grid-template-columns:1fr} .mega-dd{width:95vw;left:0;transform:none} }

/* Fix mega dropdown - bridge gap so it stays open */
.has-dd > a::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}
.mega-dd {
  margin-top: 0;
  top: calc(100% + 0px);
}
.has-dd:hover .mega-dd,
.mega-dd:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}
/* Add padding top to dropdown so mouse doesn't lose hover */
.mega-dd {
  padding-top: 8px;
  margin-top: -8px;
}
