/* =====================================================
   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); white-space: nowrap !important; }
.header-logo-tag  { font-size: 13px; color: var(--ink-soft); font-weight: 600; white-space: nowrap !important; }
.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: 8px;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  min-width: 680px;
  max-width: 840px;
  flex-direction: column;
}

.nav-drop-menu.open {
  display: flex;
}

.nav-drop-all-wrap {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-drop-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  transition: all 0.2s ease;
}

.nav-drop-all:hover {
  background: var(--pink-deep);
}

.nav-drop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nav-cat-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

.nav-parent-item {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--border);
  transition: color 0.15s ease;
}

.nav-parent-item:hover {
  color: var(--pink-deep);
}

.nav-parent-title {
  color: inherit;
}

.nav-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.nav-cat-icon {
  font-size: 14px;
}

.nav-subcats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
  padding-left: 12px;
}

.nav-subcat-item {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 2px 0;
  background: transparent;
  border-radius: 0;
  transition: all 0.15s ease;
}

.nav-subcat-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  opacity: 0.85;
}

.nav-subcat-item:hover {
  color: var(--pink-deep);
  background: transparent;
  transform: translateX(3px);
}

/* ── 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%); } }

.hidden { display: none !important; }

/* ── Admin Panels ── */
.admin-panel { display: none !important; }
.admin-panel.active { display: block !important; }

/* ── 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; }

/* ── Rich text (admin-authored product copy) ───────── */
.rich-text > *:first-child { margin-top: 0; }
.rich-text > *:last-child  { margin-bottom: 0; }
.rich-text p { margin: 0 0 14px; }
.rich-text h1, .rich-text h2, .rich-text h3,
.rich-text h4, .rich-text h5, .rich-text h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.3;
  margin: 22px 0 10px;
}
.rich-text h1 { font-size: 24px; }
.rich-text h2 { font-size: 20px; }
.rich-text h3 { font-size: 17px; }
.rich-text h4, .rich-text h5, .rich-text h6 { font-size: 15px; }
.rich-text ul, .rich-text ol { margin: 0 0 14px; padding-left: 24px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 7px; padding-left: 4px; }
.rich-text li::marker { color: var(--pink-deep); }
.rich-text ul ul, .rich-text ol ol,
.rich-text ul ol, .rich-text ol ul { margin: 7px 0 0; }
.rich-text strong, .rich-text b { color: var(--ink); font-weight: 800; }
.rich-text a { color: var(--pink-deep); text-decoration: underline; }
.rich-text a:hover { color: var(--ink); }
.rich-text blockquote {
  margin: 0 0 14px;
  padding: 12px 18px;
  border-left: 4px solid var(--pink);
  background: var(--bg-alt);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
}
.rich-text pre {
  margin: 0 0 14px; padding: 14px; overflow-x: auto;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-sm);
}
.rich-text code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.rich-text pre code { background: none; padding: 0; }
.rich-text img { max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 6px 0; }
.rich-text hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
/* Quill alignment / indent classes survive sanitising, so honour them. */
.rich-text .ql-align-center { text-align: center; }
.rich-text .ql-align-right  { text-align: right; }
.rich-text .ql-align-justify{ text-align: justify; }
.rich-text .ql-indent-1 { padding-left: 3em; }
.rich-text .ql-indent-2 { padding-left: 6em; }
.rich-text .ql-indent-3 { padding-left: 9em; }
/* Quill expresses font size as a class, not inline CSS. */
.rich-text .ql-size-small { font-size: 12px; }
.rich-text .ql-size-large { font-size: 19px; }
.rich-text .ql-size-huge  { font-size: 26px; }

/* ── 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; }

/* ── Product rich-text editors in the admin modal ──── */
.pm-editor { border: 2px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); }
.pm-editor:focus-within { border-color: var(--ink); }
.pm-editor .ql-toolbar.ql-snow {
  border: none;
  border-bottom: 2px solid var(--border);
  background: var(--bg-alt);
  border-radius: 8px 8px 0 0;
  position: sticky; top: 0; z-index: 2;
}
.pm-editor .ql-container.ql-snow { border: none; font-family: var(--font-body); font-size: 14px; }
.pm-editor .ql-editor { min-height: 220px; max-height: 420px; overflow-y: auto; line-height: 1.7; color: var(--ink-mid); }
.pm-editor.pm-editor-sm .ql-editor { min-height: 120px; max-height: 260px; }
.pm-editor .ql-editor.ql-blank::before { color: var(--ink-soft); font-style: normal; opacity: .7; }
.pm-editor .ql-editor ul { list-style: disc; }
.pm-editor .ql-editor ol { list-style: decimal; }
/* Quill renders its dropdowns inside the toolbar; keep them above the modal body. */
.pm-editor .ql-snow .ql-picker-options { z-index: 30; }

/* ── Per-product shipping override block ───────────── */
.pm-ship-block {
  border: 2px dashed var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  padding: 16px 18px;
}
.pm-ship-head { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 800; font-size: 14.5px; color: var(--ink); }
.pm-ship-head input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; accent-color: var(--pink-deep); }
.pm-ship-hint { font-size: 12px; color: var(--ink-soft); margin: 5px 0 0 28px; line-height: 1.55; }
.pm-ship-area { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.pm-ship-sub { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--ink); margin-top: 14px; }
.pm-ship-sub input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; flex-shrink: 0; accent-color: var(--pink-deep); }
.pm-ship-city-area { display: none; margin-top: 12px; padding: 14px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; }
@media (max-width: 560px) {
  .pm-ship-rule-row { flex-wrap: wrap; }
  .pm-ship-rule-row .pm-rule-city { flex: 1 1 100%; }
}
.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: 8px;
    right: 8px;
    width: calc(100% - 16px) !important;
    transform: none !important;
    min-width: 0 !important;
    max-width: none !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    border: 2px solid var(--border);
    background: var(--white);
    max-height: 380px;
    overflow-y: auto;
    z-index: 99999;
    padding: 12px 10px;
  }
  .nav-drop-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .nav-cat-column {
    background: var(--bg-alt) !important;
    padding: 8px !important;
    border-radius: 8px !important;
    border: 1px solid var(--border) !important;
  }
  .nav-parent-item {
    font-size: 12.5px !important;
    padding-bottom: 3px !important;
  }
  .nav-cat-icon {
    font-size: 13px !important;
  }
  .nav-subcat-item {
    font-size: 11px !important;
    padding: 2px 0 !important;
  }
  .header-logo { flex-shrink: 0; }
  .header-logo img { width: 44px; height: 44px; flex-shrink: 0; }
  .header-logo-text { display: flex; flex-direction: column; justify-content: center; }
  .header-logo-name { font-size: 16px !important; white-space: nowrap !important; line-height: 1.1; }
  .header-logo-tag { display: none !important; }
  .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;
}
/* ── Attributes & Variations ───────────────────────── */
.variation-box {
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  padding: 18px;
  margin-top: 14px;
  position: relative;
}
.variation-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

/* 2-Row Wide Grid Variation Card */
.variation-card-grid {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(43,38,32,.04);
  transition: all var(--tr);
}
.variation-card-grid:hover {
  border-color: var(--pink-deep);
  box-shadow: 0 4px 12px rgba(43,38,32,.08);
}
.var-grid-row-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.var-grid-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
}
@media (max-width: 768px) {
  .var-grid-row-1 { grid-template-columns: 1fr; }
  .var-grid-row-2 { grid-template-columns: 1fr 1fr; }
}

.color-picker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.color-picker-wrap input[type="color"] {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

/* ── Media Library & Popup Styles ─────────────────── */
.media-dropzone {
  border: 2px dashed var(--pink-deep);
  background: #FFF5F7;
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--tr);
  margin-bottom: 20px;
}
.media-dropzone:hover, .media-dropzone.dragover {
  background: #FFE8ED;
  border-color: var(--pink);
}
.media-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  max-height: 460px;
  overflow-y: auto;
  padding: 4px;
}
.media-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
}
.media-card:hover {
  border-color: var(--pink-deep);
  transform: translateY(-2px);
}
.media-card.selected {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 3px var(--pink-deep);
}
.media-card-img-wrap {
  height: 100px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card-name {
  font-size: 11px;
  padding: 6px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  background: #fff;
}
.media-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--pink-deep);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.media-card.selected .media-card-check {
  display: flex;
}
.media-card-del-btn {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(43,38,32,.85);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  opacity: 1;
  z-index: 3;
  transition: transform var(--tr), background var(--tr);
}
.media-card:hover .media-card-del-btn {
  opacity: 1;
}
.media-card-del-btn:hover {
  background: var(--pink-deep);
}

/* Product Page Swatches & Option Pills */
.variation-group {
  margin: 16px 0;
}
.variation-group-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}
.swatches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.swatch-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--border);
  cursor: pointer;
  transition: all var(--tr);
  position: relative;
}
.swatch-btn:hover {
  transform: scale(1.1);
}
.swatch-btn.active {
  box-shadow: 0 0 0 3px var(--ink);
  transform: scale(1.1);
}
.pill-btn {
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 2px solid var(--border);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--tr);
}
.pill-btn:hover {
  border-color: var(--ink);
}
.pill-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── Single Product Page Layout & Gallery Framing ───────────────────────── */
@media (min-width: 901px) {
  .product-2col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    margin-top: 24px;
    margin-bottom: 48px;
  }
}

/* Image Container Frame */
.product-main-img {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  margin: 0 auto;
}

.product-main-img img#main-product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-main-img:hover img#main-product-img {
  transform: scale(1.04);
}

.zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  pointer-events: none;
  border: 1px solid var(--border);
}

/* Thumbnails */
.product-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  max-width: 520px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-left: auto;
  margin-right: auto;
}

.product-thumb {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  transition: all 0.2s ease;
  position: relative;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb:hover {
  border-color: var(--pink);
  transform: translateY(-2px);
}

.product-thumb.active {
  border-color: var(--pink-deep);
  box-shadow: 0 0 0 2px rgba(244, 96, 126, 0.2);
  transform: translateY(-2px);
}

/* Right Details Column */
.product-cat-tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.product-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.product-price-main {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--ink);
}

/* ── Product Price Tag Styling ────────────────────────────────────── */
.product-price-main {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: #D81B60;
  display: inline-block;
  letter-spacing: -0.2px;
  margin-top: 4px;
}

.product-old-price {
  font-size: 16px;
  color: var(--ink-soft);
  text-decoration: line-through;
  opacity: 0.65;
  margin-left: 8px;
  font-weight: 600;
}

.discount-badge {
  background: #FFEBEF;
  color: #D81B60;
  border: 1px solid rgba(216, 27, 96, 0.25);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ── Product Details Compact Flow ──────────────────────── */
.product-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 0;
}

.product-desc-box {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 2px 0 4px;
}

.product-desc-box p {
  margin: 0;
}

.product-options-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
  border: none;
}

.product-buy-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.qty-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-spec-badge {
  font-size: 13px;
  color: var(--ink-soft);
  background: rgba(0,0,0,0.04);
  padding: 4px 10px;
  border-radius: 8px;
}

/* Swatches & Pills */
.variation-group {
  margin-bottom: 18px;
}

.variation-group-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.swatches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  outline: none;
}

.swatch-btn:hover {
  transform: scale(1.1);
}

.swatch-btn.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pink-deep);
  transform: scale(1.1);
}

/* Quantity Control */
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: var(--bg-alt);
}

.qty-num {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

/* Product Action Buttons */
.product-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.product-actions .btn-lg {
  flex: 1;
  min-width: 160px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 30px;
  justify-content: center;
}

/* Ship Info */
.product-ship-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* Product Tabs Section */
.product-tabs {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.tab-btns {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
}

.tab-btn-item {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 4px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}

.tab-btn-item:hover {
  color: var(--ink);
}

.tab-btn-item.active {
  color: var(--ink);
}

.tab-content {
  display: none;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.tab-content.active {
  display: block;
}

.tab-content table {
  width: 100%;
  border-collapse: collapse;
}

.tab-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.tab-content table tr td:first-child {
  font-weight: 700;
  color: var(--ink);
  width: 180px;
}

/* Mobile Responsive Framing */
@media (max-width: 900px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .product-2col {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 12px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-main-img {
    height: 385px !important;
    max-height: 90vw !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    touch-action: pan-y !important;
  }
  .product-title {
    font-size: 22px !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
  }
  .product-price-main {
    font-size: 20px !important;
  }
  .product-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-actions .btn, .product-actions .btn-lg {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 15px !important;
    padding: 14px 18px !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    white-space: normal !important;
  }
  .product-thumbs {
    max-width: 100% !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .product-thumb {
    width: 60px !important;
    height: 60px !important;
    border-radius: 10px !important;
  }
  .tab-btn-item {
    font-size: 15px !important;
    padding: 8px 2px !important;
  }
}

/* ── Fullscreen Lightbox Modal ───────────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 12, 10, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox-content img.zoomed {
  transform: scale(1.6);
  cursor: zoom-out;
}

.lightbox-counter {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; width: 42px; height: 42px; font-size: 20px; }
  .lightbox-next { right: 10px; width: 42px; height: 42px; font-size: 20px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 20px; }
}

/* ── Cart Item Container & Mobile Price Styling ──────────────────── */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-cat {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

.cart-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: nowrap;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  background: var(--bg);
  overflow: hidden;
}

.cart-qty-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-num {
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.cart-item-total {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  color: #D81B60;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
}

.cart-item-del {
  background: rgba(0,0,0,0.04);
  border: none;
  color: var(--ink-soft);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s ease;
}

.cart-item-del:hover {
  background: var(--pink-deep);
  color: #ffffff;
}

@media (max-width: 480px) {
  .cart-item {
    padding: 10px;
    gap: 10px;
  }
  .cart-item-img {
    width: 60px;
    height: 60px;
  }
  .cart-item-title {
    font-size: 14px;
  }
  .cart-item-total {
    font-size: 14.5px !important;
    white-space: nowrap !important;
  }
}

/* Modal Overlay & Box System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 20px;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-box {
  background: var(--white, #ffffff);
  border: 2px solid var(--border, #F5DFE6);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  width: 100%;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box {
  transform: scale(1);
}

/* =====================================================
   FULL-PAGE EDITOR SCREEN
   Opts a modal out of the centred-box treatment and turns it into a
   full-window editing page. Still driven by the same .open class, so
   openModal()/closeModal() keep working unchanged.
   ===================================================== */
.modal-overlay.editor-screen {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: block;
  padding: 0;
  overflow-y: auto;
  transition: opacity .18s ease;
}
.modal-overlay.editor-screen .modal-box {
  max-width: 1120px;
  max-height: none;
  min-height: 100vh;
  margin: 0 auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  overflow: visible;
  padding: 0 28px 72px;
  background: var(--bg);
}
.editor-topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  margin: 0 -28px 26px;
  padding: 13px 28px;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 10px rgba(43,38,32,.05);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.editor-topbar .editor-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  margin: 0;
  flex: 1;
  min-width: 160px;
  color: var(--ink);
}
.editor-footer {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid var(--border);
  flex-wrap: wrap;
}
.editor-footer .spacer { flex: 1; }
.btn.is-disabled { opacity: .45; pointer-events: none; cursor: default; }

@media (max-width: 700px) {
  .modal-overlay.editor-screen .modal-box { padding: 0 14px 56px; }
  .editor-topbar { margin: 0 -14px 20px; padding: 11px 14px; gap: 8px; }
  .editor-topbar .editor-title { font-size: 16px; order: -1; flex-basis: 100%; }
  .editor-topbar .btn { flex: 1 1 auto; }
}

/* ── Clickable product title in the admin list ── */
.admin-row-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px dashed transparent;
}
.admin-row-link:hover { color: var(--pink-deep); border-bottom-color: var(--pink-deep); }

/* =====================================================
   FRONTEND ADMIN BAR
   Shown on the storefront only while signed in as admin.
   ===================================================== */
#akch-admin-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 38px;
  z-index: 9000;
  background: #2B2620;
  color: #F0EAE0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
  overflow-x: auto;
  scrollbar-width: none;
}
#akch-admin-bar::-webkit-scrollbar { display: none; }
#akch-admin-bar .aab-brand {
  display: flex; align-items: center; gap: 6px;
  color: #FF8FA3; font-weight: 800; white-space: nowrap;
  padding-right: 6px; margin-right: 2px;
  border-right: 1px solid rgba(255,255,255,.16);
}
#akch-admin-bar a,
#akch-admin-bar button {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08);
  color: #F0EAE0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 5px 11px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, border-color .15s ease;
}
#akch-admin-bar a:hover,
#akch-admin-bar button:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
#akch-admin-bar .aab-spacer { flex: 1; min-width: 4px; }
#akch-admin-bar .aab-edit { background: #F4607E; border-color: #F4607E; color: #fff; }
#akch-admin-bar .aab-edit:hover { background: #d94b68; border-color: #d94b68; }
#akch-admin-bar .aab-busy { opacity: .6; pointer-events: none; }

/* Push the page down and re-anchor the sticky header beneath the bar. */
body.has-admin-bar { padding-top: 38px; }
body.has-admin-bar .site-header { top: 38px; }
body.has-admin-bar .shop-sidebar,
body.has-admin-bar .order-summary { top: 138px; }

@media (max-width: 640px) {
  #akch-admin-bar { gap: 6px; padding: 0 8px; font-size: 11.5px; }
  #akch-admin-bar .aab-brand { display: none; }
  #akch-admin-bar a, #akch-admin-bar button { padding: 5px 9px; }
}

/* =====================================================
   CART DRAWER & BOTTOM SHEET STYLES
   ===================================================== */

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 92vw;
  background: var(--bg);
  color: var(--ink);
  z-index: 99999;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 2px solid var(--border);
}

.cart-drawer.open {
  transform: translateX(0);
}

/* Mobile Phone Bottom Sheet Drawer */
@media (max-width: 768px) {
  .cart-drawer {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 85vh;
    max-height: 85vh;
    border-radius: 28px 28px 0 0;
    border-left: none;
    border-top: 2px solid var(--border);
    transform: translateY(100%);
    box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.2);
  }

  .cart-drawer.open {
    transform: translateY(0);
  }
}

.cart-drawer-drag-handle {
  display: none;
}

@media (max-width: 768px) {
  .cart-drawer-drag-handle {
    display: block;
    width: 42px;
    height: 5px;
    background: var(--border);
    border-radius: 999px;
    margin: 10px auto 4px;
    cursor: pointer;
  }
}

.cart-drawer-header {
  padding: 18px 22px;
  border-bottom: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
}

.cart-drawer-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.cart-drawer-close {
  border: none;
  background: var(--bg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.cart-drawer-close:hover {
  background: var(--pink-deep);
  color: #fff;
  border-color: var(--pink-deep);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-drawer-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
  position: relative;
}

.cart-drawer-item-img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  flex-shrink: 0;
}

.cart-drawer-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-drawer-item-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}

.cart-drawer-item-attrs {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.cart-drawer-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.cart-drawer-qty-pill {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
}

.cart-drawer-qty-btn {
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer-qty-btn:hover {
  background: var(--border);
}

.cart-drawer-qty-num {
  font-size: 13px;
  font-weight: 800;
  padding: 0 8px;
  color: var(--ink);
}

.cart-drawer-price {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--pink-deep);
  font-family: var(--font-head);
}

.cart-drawer-remove {
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s ease;
}

.cart-drawer-remove:hover {
  color: var(--pink-deep);
}

.cart-drawer-footer {
  padding: 20px 22px;
  background: var(--bg-alt);
  border-top: 1.5px solid var(--border);
}

.cart-drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.cart-drawer-subtotal-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
}

.cart-drawer-subtotal-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--pink-deep);
}

.cart-drawer-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.cart-drawer-checkout-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--r-full);
  background: var(--pink-deep);
  color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-head);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.cart-drawer-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.95;
}

.cart-drawer-continue-btn {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
}

.cart-drawer-continue-btn:hover {
  color: var(--pink-deep);
  text-decoration: underline;
}
