/* =====================================================
   AK Creative Hub — Main Stylesheet
   Edit CSS variables in :root to change brand colours.
   ===================================================== */

/* ── Variables ─────────────────────────────────────── */
:root {
  --bg:          #FFFCF6;
  --bg-alt:      #FFF6EA;
  --ink:         #2B2620;
  --ink-soft:    #6B6155;
  --ink-mid:     #4A4238;
  --pink:        #FF8FA3;
  --pink-deep:   #F4607E;
  --green:       #8FD694;
  --green-deep:  #4FAE63;
  --orange:      #FFC96B;
  --orange-deep: #F2A93B;
  --purple:      #C9A6FF;
  --border:      #EDE3D4;
  --white:       #ffffff;
  --shadow:      0 4px 16px rgba(43,38,32,.10);
  --shadow-lg:   0 12px 28px rgba(43,38,32,.12);
  --font-head:   'Baloo 2', sans-serif;
  --font-body:   'Nunito', sans-serif;
  --r-sm:  12px;
  --r-md:  20px;
  --r-lg:  28px;
  --r-full:999px;
  --max-w: 1240px;
  --tr:    .2s ease;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 1000' width='100%25' height='100%25'%3E%3Cpath d='M400,50 Q450,250 350,500 T450,950' fill='none' stroke='%23FF8FA3' stroke-width='1.5' stroke-dasharray='4,8' opacity='0.09'/%3E%3Ccircle cx='380' cy='320' r='4' fill='%23FFC96B' opacity='0.12'/%3E%3Ccircle cx='425' cy='620' r='5' fill='%23C9A6FF' opacity='0.12'/%3E%3Cpath d='M400,150 L400,165' stroke='%238FD694' stroke-width='1.5' stroke-dasharray='2,2' opacity='0.12'/%3E%3C/svg%3E");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 800px auto;
}
body::before {
  content: "";
  position: fixed;
  top: 15%;
  left: 0;
  width: 150px;
  height: 300px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M-10,20 Q40,60 10,120 T60,180' fill='none' stroke='%23FF8FA3' stroke-width='2' stroke-dasharray='4,4' opacity='0.25'/%3E%3Cpolygon points='50,150 53,156 60,157 55,162 56,169 50,165 44,169 45,162 40,157 47,156' fill='%23FFC96B' opacity='0.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  bottom: 10%;
  right: 0;
  width: 200px;
  height: 400px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200'%3E%3Cpath d='M110,180 Q60,140 80,80 T40,20' fill='none' stroke='%238FD694' stroke-width='2' stroke-dasharray='5,5' opacity='0.25'/%3E%3Ccircle cx='40' cy='120' r='6' fill='%23C9A6FF' opacity='0.3'/%3E%3Cpolygon points='30,30 32,34 37,35 33,39 34,44 30,41 26,44 27,39 23,35 28,34' fill='%23FF8FA3' opacity='0.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea, select { font-family: var(--font-body); box-sizing: border-box; }
img { display: block; max-width: 100%; }
p { margin: 0; }
h1,h2,h3,h4 { margin: 0; }

/* ── Container ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 12px 24px; border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  border: 2px solid var(--ink); cursor: pointer;
  transition: all var(--tr); text-decoration: none; white-space: nowrap;
}
.btn-primary  { background: var(--ink); color: var(--white); }
.btn-primary:hover  { background: #3d342c; }
.btn-secondary { background: var(--orange); color: var(--ink); }
.btn-secondary:hover { background: #f5b545; }
.btn-outline { background: var(--white); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-green { background: var(--green); color: #1F3D22; border-color: #1F3D22; }
.btn-green:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-lg  { padding: 16px 32px; font-size: 15px; }
.btn-full { width: 100%; }

/* ── Form Inputs ───────────────────────────────────── */
.form-input {
  width: 100%; padding: 11px 14px; border-radius: var(--r-sm);
  border: 2px solid var(--border); font-size: 13.5px; color: var(--ink);
  outline: none; transition: border-color var(--tr); background: var(--white);
}
.form-input:focus { border-color: var(--ink); }
.form-select {
  width: 100%; padding: 11px 14px; border-radius: var(--r-sm);
  border: 2px solid var(--border); font-size: 13.5px;
  background: var(--white); color: var(--ink);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ── Section Heading ───────────────────────────────── */
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.section-bar  { width: 7px; height: 30px; border-radius: 4px; flex-shrink: 0; }
.section-dash { height: 3px; border-radius: 2px; margin: 0 0 22px 19px; }
.section-title { font-family: var(--font-head); font-weight: 800; font-size: 28px; }
.section-link  { color: var(--pink-deep); font-weight: 700; font-size: 14px; }
.section-link:hover { text-decoration: underline; }

/* ── Badges ────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
}
.badge-dark   { background: var(--ink);  color: var(--white); }
.badge-pink   { background: #FFEDF0;     color: var(--pink-deep); }
.badge-orange { background: #FFF3D6;     color: var(--orange-deep); }
.badge-green  { background: #E6F9EA;     color: var(--green-deep); }

/* ── Announce Bar ──────────────────────────────────── */
.announce-bar {
  background: var(--ink); color: var(--bg);
  font-size: 13px; padding: 6px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}

/* ── Header ────────────────────────────────────────── */
.site-header { background: var(--bg); position: sticky; top: 0; z-index: 100; }
.header-main {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 24px;
  border-bottom: 2px dashed var(--border); position: relative;
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 3px 0 rgba(0,0,0,.08); flex-shrink: 0;
}
.header-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.header-logo-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }
.header-logo-tag  { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.header-search {
  max-width: 420px; width: 100%; display: flex; align-items: center;
  background: var(--bg-alt); border: 2px solid var(--border);
  border-radius: var(--r-full); padding: 8px 18px; gap: 8px;
}
.header-search input {
  border: none; background: transparent; outline: none;
  font-size: 14px; width: 100%; color: var(--ink);
}
.header-actions { display: flex; align-items: center; gap: 18px; }

/* Desktop header absolute three-column centering */
@media (min-width: 769px) {
  .header-logo {
    flex: 1 0 0;
    justify-content: flex-start;
  }
  .header-actions {
    flex: 1 0 0;
    justify-content: flex-end;
  }
}
.header-act {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px;
  position: relative; background: none; border: none; cursor: pointer;
}
.header-act-icon { font-size: 19px; }
.header-act small { font-size: 11px; color: var(--ink-soft); }
.cart-badge {
  position: absolute; top: -6px; right: -10px;
  background: var(--pink-deep); color: var(--white);
  font-size: 10px; font-weight: 800; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.header-star {
  position: absolute; right: 8px; top: -10px;
  font-size: 22px; color: var(--orange); transform: rotate(12deg); pointer-events: none;
}

/* ── Nav ───────────────────────────────────────────── */
.site-nav {
  display: flex; align-items: center; justify-content: center; gap: 36px;
  padding: 4px 24px 12px; background: var(--bg); border-bottom: 2px dashed var(--border);
}
.nav-link {
  font-weight: 800; font-size: 14.5px; color: var(--ink-soft);
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: all var(--tr);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { border-bottom-color: var(--pink-deep); }
.nav-dropdown { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 6px; background: none; border: none;
  font-family: var(--font-body); font-weight: 800; font-size: 14.5px;
  color: var(--ink-soft); padding: 6px 2px;
  border-bottom: 2px solid transparent; transition: all var(--tr); cursor: pointer;
}
.nav-drop-btn:hover, .nav-drop-btn.active { color: var(--ink); }
.nav-arrow { font-size: 10px; transition: transform .15s; display: inline-block; }
.nav-drop-btn.open .nav-arrow { transform: rotate(180deg); }
.nav-drop-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 10px; background: var(--white); border: 2px solid var(--border);
  border-radius: 16px; padding: 10px;
  grid-template-columns: repeat(2, 180px); gap: 4px;
  box-shadow: var(--shadow-lg); z-index: 60; min-width: 380px;
}
.nav-drop-menu.open { display: grid; }
.nav-drop-all {
  grid-column: 1/3; display: block; text-decoration: none; padding: 9px 14px;
  border-radius: 10px; font-weight: 800; font-size: 13.5px;
  color: var(--ink); background: var(--bg-alt); margin-bottom: 4px;
}
.nav-drop-item {
  text-decoration: none; padding: 9px 14px; border-radius: 10px;
  font-weight: 700; font-size: 13.5px; color: var(--ink);
  display: flex; align-items: center; gap: 8px; transition: background var(--tr);
}
.nav-drop-item:hover { background: var(--bg-alt); }
.nav-cat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Footer ────────────────────────────────────────── */
.footer-contact { background: var(--bg); position: relative; overflow: hidden; }
.footer-contact-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
}
.footer-contact-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.footer-contact-form {
  background: var(--white); border: 2px solid var(--border);
  border-radius: 24px; padding: 28px; position: relative;
}
.footer-contact-form-star {
  position: absolute; top: -14px; right: 28px; font-size: 22px;
  color: var(--green); transform: rotate(10deg);
}
.footer-contact-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.footer-contact-inputs .full { grid-column: 1/3; }
.footer-main { background: var(--ink); color: #FFF6EA; position: relative; overflow: hidden; }
.footer-main a { color: #FFF6EA; transition: color var(--tr); }
.footer-main a:hover { color: var(--orange); }
.footer-grid {
  max-width: var(--max-w); margin: 0 auto; padding: 56px 24px 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
}
.footer-col-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-btn {
  width: 32px; height: 32px; border-radius: 50%; background: #3A342C;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--orange);
}
.footer-copy {
  border-top: 1px solid #3A342C; text-align: center;
  padding: 18px 24px; font-size: 12.5px; color: #8C8376;
}
.footer-decor { position: absolute; pointer-events: none; }

/* ── Product Card ──────────────────────────────────── */
.product-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r-md); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 rgba(43,38,32,.06); }
.product-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.product-card-img {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-card-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.09); }
.product-card-ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 10px, transparent 10px 20px);
}
.product-card-ph-name {
  font-family: var(--font-head); font-weight: 700; color: var(--white);
  font-size: 13px; text-align: center; padding: 0 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,.15); z-index: 1; position: relative;
}
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--ink); color: var(--white);
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-full); z-index: 2;
}
.product-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat-label { font-size: 11px; font-weight: 700; color: var(--pink-deep); text-transform: uppercase; letter-spacing: .03em; }
.product-card-name { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.25; }
.product-card-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.4; flex: 1; }
.product-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.product-price     { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.product-old-price { font-size: 13px; color: #B3A995; text-decoration: line-through; }
.product-atc {
  margin: 0 16px 16px; padding: 10px; border-radius: var(--r-full);
  border: 2px solid var(--ink); background: var(--orange); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  cursor: pointer; transition: all var(--tr); width: calc(100% - 32px);
}
.product-atc:hover { background: var(--ink); color: var(--orange); }
.product-atc.added { background: var(--green); color: #1F3D22; border-color: #1F3D22; }

/* ── Product Grids ─────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }

/* ── Banner Carousel ───────────────────────────────── */
.banner-wrap { position: relative; max-width: 1400px; margin: 24px auto; padding: 0 24px; }
.banner-slide {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  height: 400px; transition: background .4s;
}
.banner-deco-star {
  position: absolute; top: 24px; right: 60px;
  font-size: 34px; color: #fff; opacity: .5; transform: rotate(12deg); pointer-events: none;
}
.banner-deco-circle {
  position: absolute; bottom: 30px; left: 70px;
  width: 60px; height: 60px; border: 3px dashed rgba(255,255,255,.5); border-radius: 50%; pointer-events: none;
}
.banner-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: 16px; padding: 60px;
}
.banner-tag {
  background: var(--ink); color: var(--white);
  font-size: 12px; font-weight: 800; padding: 6px 14px;
  border-radius: var(--r-full); letter-spacing: .04em;
}
.banner-title {
  font-family: var(--font-head); font-weight: 800; font-size: 44px;
  line-height: 1.1; color: var(--ink); max-width: 560px;
}
.banner-sub { font-size: 17px; color: var(--ink); font-weight: 600; max-width: 480px; }
.banner-dots { position: absolute; bottom: 20px; right: 32px; display: flex; gap: 8px; }
.banner-dot {
  height: 10px; border-radius: var(--r-full); border: none;
  background: rgba(43,38,32,.35); cursor: pointer; padding: 0;
  transition: all .3s; width: 10px;
}
.banner-dot.active { width: 26px; background: var(--ink); }

/* ── Category Strip ────────────────────────────────── */
.cat-strip { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 8px; }
.cat-strip::-webkit-scrollbar { height: 6px; }
.cat-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
.cat-item {
  text-decoration: none; display: flex; flex-direction: column;
  align-items: center; gap: 10px; flex-shrink: 0; width: 104px;
}
.cat-circle {
  width: 88px; height: 88px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--ink); overflow: hidden; transition: transform .2s;
}
.cat-item:hover .cat-circle { transform: scale(1.08); }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-initial { font-family: var(--font-head); font-weight: 800; color: var(--white); font-size: 26px; }
.cat-name { font-size: 13px; font-weight: 700; color: var(--ink); text-align: center; }

/* ── Marquee ───────────────────────────────────────── */
.marquee-wrap { background: var(--ink); padding: 16px 0; overflow: hidden; margin: 48px 0 56px 0; }
.marquee-track {
  display: flex; gap: 44px; white-space: nowrap; width: max-content;
  animation: marqueeMove 26s linear infinite;
}
.marquee-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #FFF6EA; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Tab Filter ────────────────────────────────────── */
.tab-filters { display: flex; gap: 10px; overflow-x: auto; margin-bottom: 24px; padding-bottom: 4px; }
.tab-btn {
  flex-shrink: 0; padding: 10px 18px; border-radius: var(--r-full);
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  cursor: pointer; border: 2px solid; transition: all var(--tr);
  background: var(--white); color: var(--ink);
}

/* ── Promo Banner ──────────────────────────────────── */
.promo-banner {
  border-radius: 24px; padding: 44px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.promo-star {
  position: absolute; top: -10px; left: 40px;
  font-size: 60px; color: rgba(255,255,255,.3); transform: rotate(-8deg); pointer-events: none;
}

/* ── Testimonials ──────────────────────────────────── */
.testimonials-wrap { display: flex; align-items: center; gap: 16px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; flex: 1; }
.testimonial-nav {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  cursor: pointer; font-size: 18px; flex-shrink: 0; transition: all var(--tr);
}
.testimonial-nav:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.testimonial-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: 20px; padding: 26px;
}
.testimonial-q { font-size: 30px; }
.testimonial-text { font-size: 14.5px; line-height: 1.6; color: var(--ink-mid); margin: 6px 0 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-family: var(--font-head);
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-city { font-size: 12px; color: var(--ink-soft); }

/* ── Blog Grid ─────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card {
  border-radius: 20px; overflow: hidden; border: 2px solid var(--border);
  background: var(--white); display: flex; flex-direction: column; transition: transform .15s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-card-tag { font-size: 12px; color: var(--pink-deep); font-weight: 700; }
.blog-card-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin: 6px 0 8px; }
.blog-card-excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* ── Page Header ───────────────────────────────────── */
.page-hd { max-width: var(--max-w); margin: 0 auto; padding: 36px 24px 12px; }
.page-hd h1 { font-family: var(--font-head); font-weight: 800; font-size: 30px; }
.page-hd p  { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

/* ── Shop Layout ───────────────────────────────────── */
.shop-layout { display: flex; gap: 28px; align-items: flex-start; }
.shop-sidebar { width: 220px; flex-shrink: 0; position: sticky; top: 100px; }
.sidebar-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.sidebar-filters { display: flex; flex-direction: column; gap: 8px; }
.filter-btn {
  display: block; width: 100%; text-align: left; padding: 10px 14px;
  border-radius: var(--r-sm); border: 2px solid var(--border);
  background: var(--white); color: var(--ink);
  font-weight: 700; font-size: 14px; cursor: pointer; transition: all var(--tr);
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.shop-main  { flex: 1; }
.result-count { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.no-results { text-align: center; padding: 60px 0; color: var(--ink-soft); font-size: 15px; }

/* ── Product Page ──────────────────────────────────── */
.product-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.product-main-img {
  position: relative; aspect-ratio: 1/1; border-radius: 24px; overflow: hidden;
  cursor: zoom-in; border: 2px solid var(--border);
}
.product-main-img .ph-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 14px, transparent 14px 28px);
}
.product-main-img .ph-name {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 20px;
  text-align: center; padding: 0 30px; text-shadow: 0 1px 2px rgba(0,0,0,.15); z-index: 1;
}
.product-main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-main-img .zoom-hint {
  position: absolute; bottom: 12px; right: 14px;
  font-size: 11px; font-family: monospace; color: rgba(255,255,255,.85); z-index: 2;
}
.product-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.product-thumb {
  width: 72px; height: 72px; border-radius: 12px; border: 2px solid var(--border);
  cursor: pointer; overflow: hidden; transition: border-color .15s;
}
.product-thumb.active { border-color: var(--ink); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin: 20px 0; }
.breadcrumb a:hover { color: var(--ink); }
.product-cat-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.product-title { font-family: var(--font-head); font-weight: 800; font-size: 30px; margin: 8px 0 10px; line-height: 1.15; }
.product-price-main { font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.product-old-price { font-size: 16px; color: #B3A995; text-decoration: line-through; }
.discount-badge { background: #FFEDF0; color: var(--pink-deep); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: var(--r-full); }
.stock-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; margin-top: 10px; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; }
.product-desc-text { font-size: 14.5px; color: var(--ink-mid); line-height: 1.6; margin: 16px 0; }
.qty-ctrl { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-full); overflow: hidden; }
.qty-btn { width: 40px; height: 40px; border: none; background: var(--white); font-size: 18px; font-weight: 700; cursor: pointer; transition: background .15s; }
.qty-btn:hover { background: var(--bg-alt); }
.qty-num { width: 40px; text-align: center; font-weight: 800; font-size: 15px; }
.product-actions { display: flex; gap: 14px; margin: 22px 0; }
.product-actions .btn { flex: 1; }
.product-ship-info { display: flex; gap: 18px; padding-top: 22px; border-top: 2px dashed var(--border); font-size: 13px; color: var(--ink-soft); }
.product-tabs { margin: 36px 0 0; }
.tab-btns { display: flex; gap: 8px; border-bottom: 2px solid var(--border); }
.tab-btn-item {
  padding: 14px 20px; border: none; background: transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px;
  cursor: pointer; color: var(--ink-soft); border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all var(--tr);
}
.tab-btn-item.active { color: var(--ink); }
.tab-content { padding: 28px 4px; font-size: 14.5px; color: var(--ink-mid); line-height: 1.7; display: none; }
.tab-content.active { display: block; }
.tab-content table { width: 100%; border-collapse: collapse; }
.tab-content td { padding: 12px 4px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tab-content td:first-child { font-weight: 700; width: 200px; color: var(--ink); padding-right: 16px; }

/* ── Cart Page ─────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: flex-start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: flex; gap: 16px; background: var(--white);
  border: 2px solid var(--border); border-radius: 18px; padding: 14px;
}
.cart-item-img { width: 88px; height: 88px; border-radius: 12px; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cart-item-title { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.cart-item-cat   { font-size: 12.5px; color: var(--ink-soft); }
.cart-item-foot  { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.cart-item-total { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.cart-item-del   { border: none; background: transparent; color: #B3A995; font-size: 18px; cursor: pointer; align-self: flex-start; }
.cart-qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-full); overflow: hidden; }
.cart-qty-btn { width: 30px; height: 30px; border: none; background: var(--white); font-size: 15px; cursor: pointer; }
.cart-qty-num { width: 30px; text-align: center; font-weight: 700; font-size: 13px; }
.order-summary { background: var(--white); border: 2px solid var(--border); border-radius: 20px; padding: 26px; position: sticky; top: 100px; }
.order-summary-title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 16px; }
.order-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--ink-mid); }
.order-total { display: flex; justify-content: space-between; font-family: var(--font-head); font-weight: 800; font-size: 17px; padding-top: 12px; margin-top: 8px; border-top: 2px dashed var(--border); }
.checkout-form { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.checkout-row { display: flex; gap: 10px; }
.checkout-row .form-input { flex: 1; }
.empty-state { text-align: center; padding: 70px 20px; background: var(--white); border: 2px solid var(--border); border-radius: 24px; }
.order-success { text-align: center; padding: 80px 20px; background: var(--white); border: 2px solid var(--border); border-radius: 24px; }

/* ── Blog Post ─────────────────────────────────────── */
.blog-post { max-width: 740px; margin: 0 auto; }
.blog-post-cover { height: 280px; border-radius: 24px; overflow: hidden; margin-bottom: 32px; }
.blog-post-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-post-tag  { font-size: 13px; color: var(--pink-deep); font-weight: 700; margin-bottom: 8px; }
.blog-post-h1   { font-family: var(--font-head); font-weight: 800; font-size: 32px; margin-bottom: 12px; line-height: 1.2; }
.blog-post-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }
.blog-post-body { font-size: 15.5px; color: var(--ink-mid); line-height: 1.8; }

/* ── About Page ────────────────────────────────────── */
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-img { position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feature-card { background: var(--white); border: 2px solid var(--border); border-radius: 20px; padding: 26px; text-align: center; }
.feature-icon  { font-size: 30px; }
.feature-title { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; margin: 12px 0 6px; }
.feature-desc  { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* ── Contact Page ──────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-form-wrap { background: var(--white); border: 2px solid var(--border); border-radius: 24px; padding: 32px; position: relative; }
.contact-form-star { position: absolute; top: -14px; left: 24px; font-size: 26px; color: var(--pink); transform: rotate(-10deg); }
.contact-info-card { border-radius: 24px; padding: 26px; display: flex; gap: 14px; align-items: flex-start; }
.contact-info-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.contact-info-val   { font-size: 14px; margin-top: 4px; }

/* ── Admin ─────────────────────────────────────────── */
.admin-page { min-height: 100vh; background: #f5f4f0; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f5f4f0; }
.admin-login-card { background: var(--white); border: 2px solid var(--border); border-radius: 24px; padding: 40px; width: 100%; max-width: 400px; text-align: center; }
.admin-topbar { background: var(--ink); color: var(--white); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar-title { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.admin-body { display: flex; min-height: calc(100vh - 54px); }
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #231f1a;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
}
.admin-nav-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 14px;
  color: #c5beb5;
  border: none;
  background: none;
  cursor: pointer;
  transition: all var(--tr);
  border-left: 4px solid transparent;
  border-right: none;
}
.admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding-left: 24px;
}
.admin-nav-btn.active {
  background: rgba(255, 143, 163, 0.12);
  color: var(--pink);
  border-left-color: var(--pink-deep);
  border-right: none;
}
.admin-content-area { flex: 1; padding: 28px; overflow: auto; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-panel-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; margin-bottom: 24px; }
.admin-tbl { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 16px; overflow: hidden; border: 2px solid var(--border); }
.admin-tbl th { background: var(--bg-alt); padding: 12px 16px; text-align: left; font-weight: 700; font-size: 13px; color: var(--ink-soft); border-bottom: 2px solid var(--border); }
.admin-tbl td { padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-tbl tr:last-child td { border-bottom: none; }
.admin-tbl tr:hover td { background: var(--bg); }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: 20px; padding: 28px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; }
.modal-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.span2 { grid-column: 1/3; }
.form-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.admin-input { padding: 10px 13px; border-radius: 10px; border: 2px solid var(--border); font-size: 13.5px; color: var(--ink); outline: none; width: 100%; transition: border-color var(--tr); }
.admin-input:focus { border-color: var(--ink); }
.admin-textarea { resize: vertical; min-height: 80px; }
.btn-edit { padding: 5px 12px; border-radius: 8px; border: 2px solid var(--border); background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-edit:hover { background: var(--bg-alt); }
.btn-del { padding: 5px 12px; border-radius: 8px; border: 2px solid #FFEDF0; background: #FFEDF0; color: var(--pink-deep); font-size: 12px; font-weight: 700; cursor: pointer; }
.btn-del:hover { background: var(--pink-deep); color: var(--white); border-color: var(--pink-deep); }
.admin-card { background: var(--white); border: 2px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.admin-card-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.admin-section-title { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin: 20px 0 12px; }
.tag-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.tag-bestseller { background: #FFEDF0; color: var(--pink-deep); }
.tag-latest     { background: #E6F9EA; color: var(--green-deep); }
.tag-sale       { background: #FFF3D6; color: var(--orange-deep); }

/* ── Misc ──────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.star-deco { pointer-events: none; }
.success-msg { background: #E6F9EA; color: var(--green-deep); border: 2px solid var(--green); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 600; font-size: 14px; }
.error-msg   { background: #FFEDF0; color: var(--pink-deep); border: 2px solid var(--pink); border-radius: var(--r-sm); padding: 12px 16px; font-weight: 600; font-size: 14px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mobile-only-act { display: none !important; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 768px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .product-2col { grid-template-columns: 1fr; }
  .shop-layout { flex-direction: column; }
  .shop-sidebar { width: 100%; position: static; }
  .banner-title { font-size: 28px; }
  .banner-content { padding: 30px; gap: 10px; }
  .promo-banner { flex-direction: column; padding: 30px; text-align: center; }
  .footer-contact-grid { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .desktop-only-act { display: none !important; }
  .mobile-only-act { display: flex !important; }
  .site-header {
    position: relative !important;
    overflow: visible !important;
  }
  .site-nav {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: nowrap;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding: 6px 16px 10px;
    position: static !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .nav-link, .nav-drop-btn {
    font-size: 13px !important;
    white-space: nowrap !important;
    padding: 4px 2px !important;
  }
  .nav-dropdown {
    position: static !important;
  }
  .nav-drop-menu {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px) !important;
    transform: none !important;
    min-width: 0 !important;
    grid-template-columns: repeat(2, 1fr) !important;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border);
    background: var(--white);
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
  }
  .nav-drop-all {
    grid-column: 1/3;
  }
  .header-logo img { width: 55px; height: 55px; }
  .header-logo-name { font-size: 17px; }
  .header-logo-tag { font-size: 10px; }
  .admin-body { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; flex-wrap: wrap; padding: 8px; border-right: none; border-bottom: 2px solid var(--border); background: #231f1a; }
  .admin-nav-btn { border-left: none; border-right: none; border-bottom: 3px solid transparent; flex: none; padding: 8px 12px; font-size: 13px; }
  .admin-nav-btn.active { border-left: none; border-right: none; border-bottom-color: var(--pink-deep); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.span2 { grid-column: 1; }
  .footer-contact-inputs { grid-template-columns: 1fr; }
  .footer-contact-inputs .full { grid-column: 1; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .banner-slide { height: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Floating WhatsApp Button ──────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background-color 0.2s;
  border: 2px solid #ffffff;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ── Pagination Styling ────────────────────────────── */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  width: 100%;
}
.pagination-btn {
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 2px solid var(--border);
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--tr);
}
.pagination-btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: var(--bg-alt);
}
.pagination-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Admin Search & Thumbnails ─────────────────────── */
.admin-search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.admin-search-input {
  flex: 1;
  min-width: 250px;
}
.admin-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--border);
  background: var(--bg-alt);
}
.admin-thumb-ph {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px dashed var(--border);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
}

/* ── Image Upload Preview ──────────────────────────── */
.image-preview-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.image-preview-item {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 8px;
  border: 2px solid var(--border);
  overflow: hidden;
  background: var(--bg-alt);
}
.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-preview-del {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(244, 96, 126, 0.9);
  color: #fff;
  border: none;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.upload-btn-wrap {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.upload-btn-wrap input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}

/* ── Banners Dashboard Panels & Sub-Tabs ── */
.banner-sub-panel {
  display: none;
}
.banner-sub-panel.active {
  display: block;
}
.banner-sub-tab.active {
  background: var(--ink) !important;
  color: #white !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

/* ── Mobile Search UI & Triggers ── */
.mobile-search-trigger {
  display: none !important;
}
@media (max-width: 768px) {
  .mobile-search-trigger {
    display: flex !important;
  }
  .announce-bar {
    justify-content: center !important;
    text-align: center !important;
  }
  .announce-whatsapp {
    display: none !important;
  }
}

/* ── Mobile Filter Bar ── */
.mobile-filter-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  margin-bottom: 20px;
  gap: 12px;
}

.filter-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--r-full);
  padding: 8px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  transition: all var(--tr);
  cursor: pointer;
}
.filter-bar-btn:hover {
  background: var(--border);
}

.filter-count-badge {
  background: var(--pink-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.layout-toggle-buttons {
  display: flex;
  gap: 6px;
  border: 2px solid var(--border);
  border-radius: var(--r-full);
  padding: 3px;
  background: var(--bg-alt);
}

.layout-toggle-btn {
  background: none;
  border: none;
  border-radius: var(--r-full);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--tr);
}
.layout-toggle-btn.active {
  background: var(--ink);
  color: var(--white);
}

/* ── Mobile Drawer Modal ── */
.filter-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,38,32,.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  display: flex;
  align-items: flex-end;
}
.filter-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.filter-modal-box {
  width: 100%;
  background: var(--bg);
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
  border-top: 3px solid var(--border);
  padding: 24px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .3s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.12);
}
.filter-modal-overlay.open .filter-modal-box {
  transform: translateY(0);
}
.filter-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 12px;
}
.filter-modal-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.filter-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink-soft);
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-filter-bar {
    display: flex;
  }
  .shop-sidebar {
    display: none !important;
  }
  /* default grid layout on mobile */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .grid-3.grid-1-mobile {
    grid-template-columns: 1fr !important;
  }
  .grid-3.grid-2-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .grid-3:not(#products-grid) { grid-template-columns: 1fr; }
}

/* Sub-panel display toggle */
.blog-sub-panel, .content-sub-panel, .settings-sub-panel {
  display: none;
}
.blog-sub-panel.active, .content-sub-panel.active, .settings-sub-panel.active {
  display: block;
}

/* Premium obsidian black navigation menu strip overrides */
.site-nav {
  background-color: #14110f !important;
  background-image: radial-gradient(rgba(255, 143, 163, 0.12) 1px, transparent 0) !important;
  background-size: 10px 10px !important;
  border-top: 3px solid var(--pink-deep) !important;
  border-bottom: 3px solid var(--pink-deep) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), var(--shadow) !important;
  gap: 12px !important;
  padding: 8px 24px !important;
  position: relative;
}
.site-nav::before, .site-nav::after {
  content: "✦";
  color: var(--orange);
  font-size: 14px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  pointer-events: none;
}
.site-nav::before { left: 40px; }
.site-nav::after { right: 40px; }

.site-nav .nav-link, .site-nav .nav-drop-btn {
  color: #FFF6EA !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 6px 12px !important;
  border-radius: var(--r-sm) !important;
  border-bottom: none !important;
  background: transparent !important;
  transition: all var(--tr) !important;
}
.site-nav .nav-link:hover, .site-nav .nav-drop-btn:hover {
  background: rgba(255, 143, 163, 0.15) !important;
  color: var(--pink) !important;
}
.site-nav .nav-link.active, .site-nav .nav-drop-btn.active {
  background: var(--pink-deep) !important;
  color: var(--white) !important;
  border-bottom: none !important;
}

/* Hide stars and optimize gaps on mobile navigation view */
@media (max-width: 768px) {
  .site-nav::before, .site-nav::after {
    display: none !important;
  }
  .site-nav {
    gap: 8px !important;
    padding: 6px 8px !important;
  }
  .site-nav .nav-link, .site-nav .nav-drop-btn {
    padding: 5px 8px !important;
    font-size: 12.5px !important;
  }
}

/* View Site Button */
#admin-view-site-btn {
  transition: all var(--tr);
}
#admin-view-site-btn:hover {
  background: #fff !important;
  color: var(--ink) !important;
}

/* Spacing fixes for homepage sections */
.home-section,
.testimonials-section,
.blog-section,
#promo-banner-mount .home-section {
  margin-top: 80px !important;
}
@media (max-width: 768px) {
  .home-section,
  .testimonials-section,
  .blog-section,
  #promo-banner-mount .home-section {
    margin-top: 60px !important;
  }
}

/* Page Banner background darkening overlay (About & Contact headers) */
#page-banner-mount > div {
  position: relative;
}
#page-banner-mount > div::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.08) !important; /* Darkens by ~8-10% */
  pointer-events: none;
  z-index: 1;
}
#page-banner-mount > div > * {
  position: relative;
  z-index: 2;
}


