/* layout.css - core layout and header/footer colors */
body { font-family:'Poppins',sans-serif; color:#222; background:#fff; margin:0; padding:0; }
.container { max-width:1200px; margin:0 auto; padding:20px; box-sizing:border-box; }

/* header footer unified background (warm beige) */
.gs-header-main, .gs-topbar, .gs-footer { background: #f7f5ef; }

/* header */
.gs-header-main { display:flex; align-items:center; justify-content:space-between; padding:14px 5%; flex-wrap:wrap; gap:20px; }
.gs-logo img { height:100px; width:auto; }
.gs-nav .gs-menu { list-style:none; display:flex; gap:24px; margin:0; padding:0; align-items:center; }
.gs-nav .gs-menu li a { color:#333; font-weight:600; padding:8px 6px; border-radius:8px; transition:all .22s; text-decoration:none; }
.gs-cart-quick a { background: linear-gradient(180deg,#fff,#f7f3ea); padding:8px 16px; border-radius:10px; text-decoration:none; color:#333; box-shadow:0 6px 16px rgba(0,0,0,0.06); }

/* ticker */
.gs-ticker { background: linear-gradient(145deg,#fffdf7,#f5f1e7); border-top:1px solid #e9e2cc; border-bottom:1px solid #e9e2cc; padding:10px 0; }

/* grids */
.category-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:26px; margin:28px 0; padding:0 5%; }
.category-item{ background:#fff; border-radius:12px; overflow:hidden; border:1px solid #eee; text-align:center; transition:all .3s; box-shadow:0 6px 18px rgba(0,0,0,0.04); }
.products-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; margin:20px 0; padding:0 5%; }

/* product */
.product-item{ background:#fff; border-radius:10px; padding:10px; border:1px solid #eee; box-shadow:0 6px 16px rgba(0,0,0,0.04); position:relative; overflow:hidden; }
.product-image img{ height:180px; object-fit:cover; border-radius:8px; width:100%; }
.product-name{ font-weight:700; margin:8px 0; }
.product-price{ color:#b38b00; font-weight:700; margin-bottom:8px; }

/* out of stock overlay */
.product-item.out-of-stock img { filter: grayscale(80%); opacity:0.6; }
.stock-overlay { position:absolute; top:0; left:0; right:0; bottom:0; background:rgba(255,255,255,0.6); background-image:url('../images/out-of-stock.png'); background-repeat:no-repeat; background-position:center; background-size:60%; pointer-events:none; }

/* footer */
.gs-footer{ background:#f7f5ef; padding:30px 18px; color:#555; border-top:2px solid rgba(212,175,55,0.06); }
.footer-content{ display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:15px; max-width:1100px; margin:0 auto; }
.footer-links-horizontal a{ margin-right:12px; color:#b38b00; font-weight:600; text-decoration:none; }
.footer-social a{ margin-left:8px; color:#b38b00; text-decoration:none; }

/* small responsive */
@media(max-width:720px){
  .gs-header-main{ flex-direction:column; align-items:flex-start; gap:8px; }
  .products-grid{ grid-template-columns: 1fr; }
  .gs-logo img{ height:64px; }
}
/* 🌊 Hero Section */
.hero-section {
  position: relative;
  height: 90vh;
  background: linear-gradient(180deg, #b0e0ff 0%, #fff8ec 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #01394f;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 0 #fff;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #01394f;
}

.cta-btn {
  background: #006994;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}
.cta-btn:hover {
  background: #0099cc;
  transform: scale(1.05);
}

/* 🐠 Floating Fish Animation */
.floating-fish {
  position: absolute;
  bottom: 10%;
  left: -120px;
  width: 120px;
  height: 80px;
  background: url("<?php echo get_template_directory_uri(); ?>/assets/images/fish-cursor.png") no-repeat center/contain;
  animation: fishSwim 18s linear infinite;
}
@keyframes fishSwim {
  0% { transform: translateX(-200px) scaleX(1); opacity: 0.7; }
  50% { transform: translateX(110vw) scaleX(1); opacity: 1; }
  51% { transform: translateX(110vw) scaleX(-1); }
  100% { transform: translateX(-200px) scaleX(-1); opacity: 0.7; }
}

/* 🌊 Waves */
.hero-waves::before, .hero-waves::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100px;
  background: url("<?php echo get_template_directory_uri(); ?>/assets/images/waves.svg") repeat-x;
  animation: waveMove 10s linear infinite;
  opacity: 0.5;
}
.hero-waves::after {
  height: 120px;
  bottom: -10px;
  opacity: 0.3;
  animation-duration: 16s;
}
@keyframes waveMove {
  from { background-position-x: 0; }
  to { background-position-x: 1000px; }
}

/* 🧊 Category Grid */
.category-grid {
  background: #fffdf8;
  padding: 80px 20px;
  text-align: center;
}
.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00334d;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.cat-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(0);
  transition: all 0.3s ease;
  position: relative;
}
.cat-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.cat-card span {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 10px 0;
  font-weight: 600;
  font-size: 1.2rem;
}
.cat-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 💬 Ticker */
/* SAFE GLASSY TICKER - NO BLUR, WORKS ON WORDPRESS */
.deal-ticker {
  background: linear-gradient(90deg, #ffeccf, #fff8e1);
  padding: 15px 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid #d8cbb0;
  border-bottom: 2px solid #d8cbb0;
}
.ticker-wrap {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.ticker {
  display: inline-block;
  animation: tickerMove 20s linear infinite;
  font-weight: 600;
  color: #00475d;
  text-shadow: 1px 1px 0 #fff;
}
@keyframes tickerMove {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}
/* ---------- GLASSMORPHIC LOGIN MODAL (PREMIUM) ---------- */
.sfk-login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px) saturate(160%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sfk-login-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.sfk-login-card {
  position: relative;
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  padding: 30px 25px 25px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(212, 175, 55, 0.1);
  transform: scale(0.9);
  backdrop-filter: blur(20px);
  transition: transform 0.3s ease;
}
.sfk-login-modal.show .sfk-login-card {
  transform: scale(1);
}
.sfk-glass-header h2 {
  color: #d4af37;
  margin: 0 0 4px;
  font-weight: 700;
}
.sfk-glass-header p {
  color: #ddd;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.sfk-login-card input {
  width: 100%;
  padding: 11px;
  margin: 6px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
}
.sfk-login-card input:focus {
  border-color: #d4af37;
  outline: none;
}
.sfk-login-submit {
  background: linear-gradient(90deg, #d4af37, #b8972e);
  color: #111;
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 12px;
  transition: transform 0.2s;
}
.sfk-login-submit:hover {
  transform: scale(1.03);
}
.sfk-close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d4af37;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  line-height: 24px;
}

/* ---------- MINI LOTTIE FOR TRUCK ---------- */
.sfk-lottie-mini {
  width: 160px;
  height: 90px;
  margin: 0 auto 6px;
}

/* ---------- STAGE TRACK UI (same as before) ---------- */
.sfk-stage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0;
  position: relative;
}
.sfk-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transform: translateY(-50%);
  z-index: 0;
}
.sfk-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #999;
  font-size: 0.8rem;
}
.sfk-step.done span {
  color: #d4af37;
  font-weight: 600;
}
.sfk-step span {
  background: rgba(17, 17, 17, 0.9);
  padding: 3px 6px;
  border-radius: 6px;
}

/* ---- My Orders alignment fixes ---- */
.sfk-order-card {
  position: relative;
  overflow: hidden;
  padding-bottom: 24px;
}

.sfk-order-body {
  position: relative;
  z-index: 2;
}

.sfk-stage {
  position: relative;
  margin-top: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sfk-stage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  z-index: 1;
}

.sfk-lottie-small {
  width: 70px !important;
  height: 70px !important;
  margin: 0 auto 8px auto;
  position: relative;
  z-index: 3;
}

.sfk-stage > div[style*="display:flex"] {
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 3;
}

.sfk-step {
  flex: 1;
  text-align: center;
  font-size: 0.9rem;
  white-space: nowrap;
  color: #999;
  transition: all 0.3s ease;
}

.sfk-step.active {
  color: #d4af37;
  font-weight: 600;
  opacity: 1;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.9);
}

.sfk-step:not(.active) {
  opacity: 0.6;
}

details summary {
  cursor: pointer;
}

