/* ===== EmarketBD — Gadgetz.com.bd inspired design ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --brand: #FF6A00;
  --brand-dark: #E85D00;
  --brand-soft: #FFF1E8;
  --dark: #1b1b1b;
  --gray: #6b6b6b;
  --light: #f7f7f7;
  --border: #ececec;
  --green: #19bd5d;
  --container: 1188px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --transition: .25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.app_container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 12px;
  width: 100%;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
}
.topbar .app_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { color: #fff; }
.topbar .sep { margin: 0 10px; opacity: .6; }
.topbar a:hover { text-decoration: underline; }

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  position: sticky; top: 0; z-index: 100;
}
.header .app_container {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}
.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
}
.logo b { color: var(--dark); }
.logo img { height: 65px; width: auto; }

.search-form {
  flex: 1;
  display: flex;
  border: 2px solid var(--brand);
  border-radius: 50px;
  overflow: hidden;
  max-width: 620px;
  position: relative;
  background: #fff;
  transition: box-shadow .25s;
}
.search-form:focus-within { box-shadow: 0 0 0 4px var(--brand-soft); }
.search-form input {
  flex: 1;
  border: 0;
  padding: 11px 18px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.search-form svg {
  width: 20px;
  height: 20px;
  align-self: center;
  margin-right: 14px;
  color: var(--brand);
  cursor: pointer;
  transition: transform .2s;
}
.search-form svg:hover { transform: scale(1.15); }

.header-quick-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-quick-links a {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  white-space: nowrap;
  transition: color .2s;
}
.header-quick-links a:hover { color: var(--brand); }
.ql-dropdown { position:relative; }
.ql-trigger { display:inline-flex; align-items:center; gap:2px; cursor:pointer; }
.ql-dropdown:hover .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }
.ql-dropdown:hover .dropdown-arrow { transform:rotate(180deg); }
.ql-contact-drop .dropdown-item { white-space:normal; }

.header-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #555;
  gap: 2px;
  margin-left: 6px;
  white-space: nowrap;
  transition: color .2s;
}
.header-link .ic { font-size: 19px; line-height: 1; }
.header-link:hover { color: var(--brand); }


/* ===== Category nav ===== */
.catnav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
.catnav .app_container { display: flex; align-items: stretch; height: 46px; }
.all-cat-btn {
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  border-radius: 0 0 6px 6px;
}
.all-cat-btn svg { width: 18px; height: 18px; }
.all-cat-btn:hover { background: var(--brand-dark); color: #fff; }
.cat-links { display: flex; gap: 0; margin-left: 4px; overflow-x: auto; flex:1; }
.cat-links::-webkit-scrollbar { height: 0; }
.cat-links a {
  color: #555;
  padding: 0 14px;
  line-height: 46px;
  font-size: 13px;
  white-space: nowrap;
  transition: all .2s;
  font-weight: 500;
  position: relative;
}
.cat-links a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2.5px; background: var(--brand);
  transition: width .2s; border-radius: 2px;
}
.cat-links a:hover::after, .cat-links a.claim::after { width: 60%; }
.cat-links a:hover { color: var(--brand); background: transparent; }
.cat-links a.claim { color: var(--brand); font-weight: 600; }

/* ===== Hero + sidebar ===== */
.carousel_container { margin-top: 16px; }
.carousel_container .app_container { display: flex; gap: 16px; align-items: stretch; position: relative; }
.sidebar {
  width: 240px;
  flex: 0 0 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13.5px;
  color: #333;
  border-bottom: 1px solid #f2f2f2;
}
.cat-list a:hover { background: var(--brand-soft); color: var(--brand); }
.cat-list a svg { width: 14px; height: 14px; color: #bbb; }
.cat-list a:hover svg { color: var(--brand); }

.hero-main { flex: 1; min-width: 0; }
.swiper { position: relative; border-radius: 8px; overflow: hidden; }
.swiper-wrapper { display: flex; transition: transform .5s ease; }
.swiper-slide { min-width: 100%; display: none; }
.swiper-slide.active { display: block; }
.swiper-slide img { width: 100%; height: 380px; object-fit: cover; }
.swiper-dots { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.swiper-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; background: #d0d0d0; cursor: pointer; padding: 0;
}
.swiper-dots button.active { background: var(--brand); width: 22px; border-radius: 6px; }

/* All Categories button (mobile) */
.all-cat-mobile {
  display: none;
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  width: 100%;
  justify-content: center;
}
.all-cat-mobile svg { width: 18px; height: 18px; }
.all-cat-mobile:hover { background: var(--brand-dark); color: #fff; }

/* Category overlay */
.cat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  justify-content: center;
  align-items: flex-end;
}
.cat-overlay.show { display: flex; }
.cat-overlay-panel {
  background: #fff;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  border-radius: 16px 16px 0 0;
  overflow-y: auto;
  animation: slideUp .25s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.cat-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.cat-overlay-header h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--dark); }
.cat-overlay-close {
  background: #f3f4f6;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}
.cat-overlay-close:hover { background: #e5e7eb; }
.cat-overlay-body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
}
.cat-overlay-body a:hover { background: var(--brand-soft); color: var(--brand); }
.cat-overlay-body a svg { width: 14px; height: 14px; color: #bbb; flex-shrink: 0; }

@media (max-width: 768px) {
  .sidebar { display: none; }
  .carousel_container .app_container { flex-direction: column; }
  .hero-main { width: 100%; }
  .swiper-slide img { height: 200px; }
  .all-cat-mobile { display: flex; }
  .catnav { overflow-x: auto; }
  .catnav .app_container { height: 40px; }
  .all-cat-btn { padding: 0 14px; font-size: 12px; border-radius: 0; }
  .all-cat-btn svg { width: 16px; height: 16px; }
  .cat-links a { padding: 0 10px; font-size: 12px; line-height: 40px; }
}

/* ===== Banners ===== */
.banner-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 768px) { .banner-row { grid-template-columns: 1fr; } }
.banner-row a img { width: 100%; border-radius: 8px; }

/* ===== Section title ===== */
.section { padding: 32px 0; }
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title::before {
  content: '';
  width: 4px; height: 24px;
  background: var(--brand);
  border-radius: 4px;
  flex-shrink: 0;
}
.section-title .see-all,
.section-title a.text-primary {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand) !important;
  transition: opacity .2s;
}
.section-title .see-all:hover { opacity: .75; }

/* ===== Category tiles ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 992px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 576px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 10px;
  text-align: center;
  transition: all var(--transition);
  background: #fff;
}
.cat-tile:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.cat-tile img { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 10px; mix-blend-mode: multiply; }
.cat-tile .t { font-size: 13px; font-weight: 500; color: #444; }

/* ===== Brand strip (auto-slide) ===== */
.brand-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.brand-track-wrap::before,
.brand-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.brand-track-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.brand-track-wrap::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.brand-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: brandScroll 40s linear infinite;
}
.brand-track:hover { animation-play-state: paused; }
@keyframes brandScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
.brand-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 140px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: .2s;
  background: #fff;
}
.brand-box:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); border-color: var(--brand); }
.brand-box img { max-width: 100%; max-height: 42px; object-fit: contain; }

/* ===== Product grid (card_container) ===== */
.card_container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1200px) { .card_container { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 992px) { .card_container { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .card_container { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .card_container { grid-template-columns: repeat(2, 1fr); } }

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: all var(--transition);
  overflow: hidden;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
  transform: translateY(-4px);
}
.product-card .discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.product-card .new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
}
.product-card .img-wrap {
  background: #fafafa;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.product-card .img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .3s;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .body { display: flex; flex-direction: column; flex: 1; }
.product-card .name {
  font-size: 13px;
  line-height: 1.5;
  height: 39px;
  overflow: hidden;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-card .name:hover { color: var(--brand); }
.product-card .prices { margin-top: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.product-card .price { color: var(--brand); font-weight: 700; font-size: 16px; }
.product-card .old {
  color: var(--gray);
  text-decoration: line-through;
  font-size: 12px;
}
.product-card .rating { color: #ffb400; font-size: 12px; margin: 4px 0 2px; letter-spacing: 1px; }
.product-card .add-cart-btn {
  margin-top: 10px;
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: 0;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.product-card .add-cart-btn:hover { background: var(--brand); transform: translateY(-1px); }

/* ===== Why choose ===== */
.why { background: var(--light); padding: 36px 0; }
.why h2 { font-size: 22px; font-weight: 700; color: var(--dark); text-align: center; }
.why .sub { text-align: center; color: var(--gray); margin-bottom: 22px; }
.why .services-title, .why .impact-title {
  font-size: 17px; font-weight: 600; color: var(--dark);
  margin: 26px 0 14px; border-left: 4px solid var(--brand); padding-left: 10px;
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  text-align: center;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: .2s;
}
.service-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-3px); }
.service-card .ic { font-size: 36px; color: var(--brand); margin-bottom: 8px; }
.service-card .lbl { font-size: 14px; font-weight: 500; color: #333; }

.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 768px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
.impact-card { padding: 16px; }
.impact-card .ic { font-size: 30px; color: var(--brand); }
.impact-card .num { font-size: 30px; font-weight: 700; color: var(--brand); }
.impact-card .lbl { font-size: 13px; color: var(--gray); }

/* ===== Footer ===== */
.footer {
  background: var(--dark); color: #b0b0b0; margin-top: 40px;
  position: relative;
}
.footer-wave {
  position: relative; height: 60px; margin-top: -1px; overflow: hidden;
}
.footer-wave svg {
  position: absolute; bottom: 0; width: 100%; height: 60px;
  display: block;
}
.footer-newsletter {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  padding: 28px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fn-left h4 { color: #fff; font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.fn-left p { font-size: 13.5px; color: #999; margin: 0; max-width: 380px; }
.fn-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fn-form { display: flex; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.fn-form input {
  border: none; padding: 12px 16px; font-size: 14px; background: rgba(255,255,255,.08);
  color: #fff; outline: none; width: 240px; font-family: inherit;
}
.fn-form input::placeholder { color: #666; }
.fn-form button {
  border: none; padding: 12px 22px; font-size: 14px; font-weight: 600;
  background: var(--brand); color: #fff; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.fn-form button:hover { background: var(--brand-dark); }
.fn-social { display: flex; gap: 8px; }
.fn-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); color: #bbb;
  transition: all .25s; text-decoration: none;
}
.fn-social-icon svg { width: 18px; height: 18px; }
.fn-social-icon:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

.footer-cols {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding: 36px 0 28px;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-cols { grid-template-columns: 1fr; gap: 24px; } }
.fc h5 {
  color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 16px;
  letter-spacing: .3px; position: relative; padding-bottom: 10px;
}
.fc h5::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--brand); border-radius: 2px;
}
.fc-logo { margin-bottom: 12px; background:#fff; border-radius:10px; padding:8px 14px; display:inline-block; }
.fc-logo img { height: 40px; width: auto; display:block; }
.fc-about p { font-size: 13px; line-height: 1.75; color: #999; margin: 0 0 18px; }
.fc-contact { display: flex; flex-direction: column; gap: 10px; }
.fc-contact-item {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.fc-contact-item svg { color: var(--brand); flex-shrink: 0; opacity: .8; }
.fc-contact-item span { color: #b0b0b0; }
.fc-contact-item a { color: #b0b0b0; text-decoration: none; transition: color .2s; }
.fc-contact-item a:hover { color: var(--brand); }
.fc-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.fc-links li a {
  color: #999; font-size: 13.5px; text-decoration: none;
  padding: 5px 0; display: inline-block; transition: all .2s;
  position: relative;
}
.fc-links li a::before {
  content: ''; position: absolute; bottom: 3px; left: 0;
  width: 0; height: 1px; background: var(--brand);
  transition: width .25s;
}
.fc-links li a:hover { color: var(--brand); padding-left: 4px; }
.fc-links li a:hover::before { width: 100%; }
.fc-payment-methods img { max-width: 200px; }
.fc-pm-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fc-pm-item {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  padding: 6px 11px; border-radius: 6px; font-size: 12px; font-weight: 500;
  color: #b0b0b0; white-space: nowrap;
}
.fc-pm-item svg { width: 18px; height: 18px; }
.fc-trust {
  display: flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 12.5px; color: #777;
}
.fc-trust svg { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0; margin-top: 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: #666;
}

/* ===== Floating WhatsApp Button ===== */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }
@media (max-width: 576px) {
  .wa-float { width: 48px; height: 48px; font-size: 24px; bottom: 76px; right: 14px; }
}

/* ===== Product detail (legacy grid — kept for backward compat) ===== */
.btn-buy {
  background: var(--brand); color: #fff; border: 0; padding: 13px 36px;
  border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: all .2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-buy:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,106,0,.3); }
.btn-buy:active { transform: translateY(0); }

.breadcrumb { font-size: 12.5px; color: var(--gray); padding: 12px 0; }
.breadcrumb a { color: var(--gray); }

/* ===== Cart / forms ===== */
.qty-input { width: 64px; padding: 6px; border: 1px solid var(--border); border-radius: 6px; text-align: center; }
.text-primary, .text-purple { color: var(--brand) !important; }

/* ===== WhatsApp float ===== */
/* ===== Color Variants (legacy — kept for backward compat) ===== */
.pd-variant-swatch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 8px; border: 2px solid var(--border); border-radius: 24px; background: #fff; cursor: pointer; font-size: 13px; color: #333; transition: all .15s; font-family: inherit; }
.pd-variant-swatch:hover { border-color: var(--brand); }
.pd-variant-swatch.active { border-color: var(--brand); background: var(--brand-soft); }
.pd-variant-dot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: var(--swatch, #ccc); border: 1px solid rgba(0,0,0,.1); flex-shrink: 0; }
.pd-variant-name { font-weight: 500; }

.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 999;
  background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ===== Checkout ===== */
.checkout-page .section-title { color: var(--dark); }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }

.co-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 18px; }
.co-title { font-size: 16px; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.co-step { width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.checkout-main label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 5px; }
.checkout-main .form-control { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; font-family: inherit; font-size: 14px; margin-bottom: 4px; }
.checkout-main textarea.form-control { min-height: 72px; resize: vertical; }
.req { color: #e11d48; }

/* delivery options */
.delivery-opts { display: flex; flex-direction: column; gap: 10px; }
.delivery-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; cursor: pointer; }
.delivery-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.delivery-opt input { accent-color: var(--brand); }
.do-main { flex: 1; display: flex; flex-direction: column; }
.do-label { font-weight: 600; color: var(--dark); }
.do-time { font-size: 12px; color: var(--gray); }
.do-fee { font-weight: 700; color: var(--brand); white-space: nowrap; }
.do-fee small { font-weight: 400; color: var(--gray); display: block; }

/* payment */
.pay-group { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.pay-group.off { opacity: .6; }
.pay-group-head { font-size: 13px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge-on { font-size: 11px; color: var(--brand-dark); background: var(--brand-soft); padding: 2px 8px; border-radius: 20px; }
.badge-off { font-size: 11px; color: #b45309; background: #fef3c7; padding: 2px 8px; border-radius: 20px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-methods.disabled { opacity: .5; pointer-events: none; }
.pay-method { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.pay-method:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.pay-method input { accent-color: var(--brand); }
.pay-method small { color: var(--gray); font-weight: 400; }
.pay-note { margin-top: 8px; font-size: 13px; color: var(--brand-dark); background: var(--brand-soft); padding: 8px 12px; border-radius: 6px; min-height: 1px; }
.consent .ck { font-size: 13px; color: #444; display: flex; align-items: center; gap: 8px; }
.consent a { color: var(--brand); }
.co-submit { width: 100%; margin-top: 4px; padding: 14px; font-size: 16px; }

/* summary */
.checkout-side { position: sticky; top: 16px; }
.summary .sum-items { max-height: 240px; overflow-y: auto; margin-bottom: 12px; }
.sum-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.sum-item img { width: 44px; height: 44px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; }
.si-info { flex: 1; min-width: 0; }
.si-name { display: block; font-size: 13px; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.si-meta { font-size: 12px; color: var(--gray); }
.si-total { font-weight: 600; font-size: 13px; }
.coupon-row { display: flex; gap: 8px; margin: 6px 0; }
.coupon-row input { flex: 1; padding: 9px 10px; border: 1px solid var(--border); border-radius: 7px; font-size: 13px; }
.btn-coupon { background: var(--dark); color: #fff; border: 0; padding: 0 16px; border-radius: 7px; font-size: 13px; cursor: pointer; }
.coupon-msg { font-size: 12.5px; margin-bottom: 6px; min-height: 14px; }
.coupon-msg.ok { color: #16a34a; }
.coupon-msg.err { color: #e11d48; }
.sum-lines { border-top: 1px solid var(--border); padding-top: 12px; }
.sl { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: #555; }
.sl.total { font-size: 18px; font-weight: 700; color: var(--dark); border-top: 1px dashed var(--border); padding-top: 10px; margin-top: 4px; }
.sl.discount { color: #16a34a; }

/* related */
.rel-products .rel-list { display: flex; flex-direction: column; gap: 10px; }
.rel-item { display: flex; align-items: center; gap: 10px; }
.rel-item img { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; }
.rel-info { flex: 1; min-width: 0; }
.rel-name { display: block; font-size: 13px; color: var(--dark); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rel-name:hover { color: var(--brand); }
.rel-price { font-size: 12.5px; color: var(--brand); font-weight: 600; }
.rel-add { width: 30px; height: 30px; border: 1px solid var(--brand); background: #fff; color: var(--brand); border-radius: 6px; cursor: pointer; font-size: 18px; line-height: 1; flex-shrink: 0; }
.rel-add:hover { background: var(--brand); color: #fff; }

/* ===== Header mobile menu toggle + whatsapp chat icon ===== */
.menu-toggle {
  display: none;
  background: none; border: 0; color: var(--dark);
  width: 40px; height: 40px; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
}
.menu-toggle svg { width: 26px; height: 26px; }

.wa-chat {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #25D366; color: #fff; flex-shrink: 0; margin-left: 8px;
  box-shadow: 0 2px 8px rgba(37,211,102,.4);
}
.wa-chat svg { width: 26px; height: 26px; }
.wa-chat:hover { color: #fff; transform: scale(1.06); }

/* ===== Responsive header & nav ===== */
@media (max-width: 992px) {
  .header .app_container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .menu-toggle { display: flex; order: 0; }
  .logo { order: 1; flex: 1; }
  .logo img { height: 55px; }
  .cart-icon { order: 2; margin-left: 0; }
  .wa-chat { order: 3; }
  .search-form { order: 4; flex-basis: 100%; max-width: none; }
  .header-link { display: none; }
  .header-quick-links { display: none; }
  .cat-links { display: none; flex-direction: column; width: 100%; background: var(--dark); margin-left: 0; }
  .cat-links.open { display: flex; }
  .cat-links a { line-height: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .all-cat-btn { display: none; }
  .catnav .app_container { height: auto; flex-wrap: wrap; }
}

@media (max-width: 576px) {
  .topbar { font-size: 11px; }
  .topbar .app_container { height: auto; padding: 6px 12px; flex-wrap: wrap; gap: 4px; }
  .topbar .app_container > span:last-child { display: flex; flex-wrap: wrap; gap: 4px; }
  .topbar .topbar-left span, .topbar .topbar-right span.sep { display:none; }
  .topbar .topbar-left a { display:none; }
}

/* ===== Product Detail (base) ===== */
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-stepper button {
  width: 42px; height: 42px; border: 0; background: #f7f7f7;
  font-size: 18px; cursor: pointer; transition: all .2s; color: #444;
}
.qty-stepper button:hover { background: var(--brand-soft); color: var(--brand); }
.qty-stepper input { width: 50px; border: 0; text-align: center; font-size: 16px; height: 42px; font-weight: 600; outline: none; }

/* tabs */
.pd-tabs { margin-top: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.pd-tab-heads { display: flex; border-bottom: 1px solid var(--border); flex-wrap: wrap; background: #fafafa; }
.pd-tab-btn {
  background: none; border: 0; padding: 14px 22px; font-size: 14px; font-weight: 600;
  color: #666; cursor: pointer; border-bottom: 2px solid transparent;
  transition: all .2s;
}
.pd-tab-btn:hover { color: var(--brand); background: rgba(255,106,0,.04); }
.pd-tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
.pd-tab-panel { display: none; padding: 24px; color: #555; line-height: 1.8; }
.pd-tab-panel.active { display: block; }
.pd-spec { width: 100%; border-collapse: collapse; }
.pd-spec td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.pd-spec td:first-child { color: #999; width: 160px; font-weight: 500; }
.pd-tab-panel img { max-width: 100%; border-radius: var(--radius-sm); }

/* related slider */
.rel-slider { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rel-slider .product-card { flex: 0 0 200px; scroll-snap-align: start; }

@media (max-width: 768px) {
  .pd-tabs { margin-top: 20px; }
  .rel-slider .product-card { flex-basis: 150px; }
}

/* send-money fields */
.send-money-fields { background: var(--brand-soft); border-radius: 8px; padding: 14px; }
.send-money-fields label { display: block; font-size: 13px; font-weight: 500; color: #444; margin-bottom: 5px; }
.send-money-fields .sm-input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; font-family: inherit; font-size: 14px; margin-bottom: 4px; }
.sm-hint { font-size: 12.5px; color: var(--brand-dark); margin: 6px 0 0; }

.bank-details { background: linear-gradient(135deg, #ffffff 0%, var(--brand-soft) 100%); border: 1px dashed var(--brand); border-radius: 10px; padding: 16px; box-shadow: 0 4px 16px rgba(255,106,0,.08); }
.bank-details .bd-title { font-weight: 700; color: var(--brand-dark); margin-bottom: 10px; }
.bank-details pre { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; font-family: 'Courier New', monospace; font-size: 13.5px; line-height: 1.6; color: #2b2b2b; white-space: pre-wrap; word-break: break-word; margin: 0 0 10px; }
.bank-details .sm-input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 7px; font-family: inherit; font-size: 14px; margin-bottom: 4px; }
.bank-details .sm-hint { color: var(--brand-dark); }
.bank-card-img { display: block; max-width: 100%; max-height: 170px; width: auto; margin: 0 0 12px; border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.bank-details .bd-holder { font-size: 14px; margin: 0 0 8px; color: #333; }

/* ===== Cart icon + dropdown / offcanvas ===== */
.cart-icon { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: var(--dark); padding: 4px 6px; border-radius: 8px; }
.cart-icon:hover { background: rgba(0,0,0,.06); }
.cart-icon svg { width: 26px; height: 26px; color: var(--dark); }
.cart-badge { position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--brand); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.cart-fixed-price { font-size: 11px; font-weight: 600; margin-top: 1px; color: var(--dark); }

/* Fixed add-to-cart bar (mobile) */
.fixed-add-to-cart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; display: flex; background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding: 8px 12px; gap: 10px; }
.fixed-add-to-cart .fac-link { position: relative; flex: 1; display: flex; align-items: center; gap: 6px; justify-content: center; padding: 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--dark); font-weight: 600; text-decoration: none; }
.fixed-add-to-cart .fac-link svg { width: 22px; height: 22px; }
.fixed-add-to-cart .fac-checkout { flex: 1.4; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.fixed-add-to-cart .fac-checkout strong { margin-left: 6px; }

@media (max-width: 768px) {
  .cart-fixed-price { display: none; }
  body { padding-bottom: 64px; }
}

/* ===== Admin text toolbar / editor ===== */
.text-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.text-toolbar button { background: #f4f4f4; border: 1px solid #ddd; border-radius: 6px; padding: 5px 10px; font-size: 13px; cursor: pointer; color: #333; }
.text-toolbar button:hover { background: var(--brand-soft); border-color: var(--brand); }
.text-editor { min-height: 160px; padding: 10px 12px; overflow-y: auto; background: #fff; }
.text-editor:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.text-editor img { max-width: 100%; }
.text-editor blockquote { border-left: 3px solid var(--brand); margin: 8px 0; padding: 4px 12px; color: #555; }

/* ===== User Account Page ===== */
.user-panel { background: #fff; border-radius: 14px; padding: 30px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.user-alert {
  border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; text-align: center;
}
.user-alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.user-alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.user-tab-active { background: var(--brand,#FF6A00); color: #fff; }
.user-menu-link {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #f9fafb; border-radius: 10px; text-decoration: none; color: #1f2937;
  font-weight: 500; border: 1px solid #e5e7eb; transition: all .15s;
}
.user-menu-link:hover { border-color: var(--brand); color: #1f2937; }
.user-menu-logout {
  background: #fef2f2; color: #dc2626; border-color: #fecaca;
  text-align: center; justify-content: center;
}
.user-menu-logout:hover { background: #fee2e2; border-color: #fca5a5; }
.user-field { margin-bottom: 14px; }
.user-label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 6px; }
.user-input {
  border: 1px solid #e5e7eb; border-radius: 10px; padding: 11px 14px;
  font-size: 14px; width: 100%;
}
.user-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); outline: none; }
.user-submit {
  width: 100%; padding: 12px; background: var(--brand,#FF6A00); color: #fff;
  border: none; border-radius: 10px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: background .2s; font-family: inherit;
}
.user-submit:hover { background: var(--brand-dark,#E85D00); }

/* ===== Mobile User Bar ===== */
.mobile-user-bar {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-user-bar .app_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mub-user { font-size: 13px; color: #374151; font-weight: 600; }
.mub-actions { display: flex; gap: 8px; }
.mub-btn {
  font-size: 12px; text-decoration: none; padding: 5px 12px;
  border-radius: 6px; font-weight: 500; display: inline-block;
}
.mub-orders { color: #374151; background: #f3f4f6; }
.mub-orders:hover { background: #e5e7eb; color: #374151; }
.mub-logout { color: #dc2626; background: #fee2e2; font-weight: 600; }
.mub-logout:hover { background: #fecaca; color: #dc2626; }

/* ===== Cart Sidebar removed — direct checkout flow ===== */

/* ========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN — All Devices
   ======================================================================== */

/* ===== Responsive Tables (cart, orders) ===== */
.responsive-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.responsive-table-wrap table { min-width: 600px; }

/* On very small screens, convert tables to cards */
@media (max-width: 576px) {
  .table-cart thead { display: none; }
  .table-cart tbody tr {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fff;
  }
  .table-cart tbody tr td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border: 0;
    gap: 8px;
  }
  .table-cart tbody tr td:first-child {
    flex-direction: row;
    gap: 10px;
  }
  .table-cart tbody tr td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 12px;
    color: var(--gray);
    white-space: nowrap;
  }
  .table-cart tbody tr td:last-child {
    border-top: 1px solid var(--border);
    margin-top: 6px;
    padding-top: 10px;
  }
}

/* ===== Order tables responsive ===== */
@media (max-width: 576px) {
  .table-orders thead { display: none; }
  .table-orders tbody tr {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    background: #fff;
    gap: 8px;
  }
  .table-orders tbody tr td {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border: 0;
    flex: 1 1 45%;
    font-size: 13px;
  }
  .table-orders tbody tr td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 12px;
    color: var(--gray);
    white-space: nowrap;
  }
}

/* ===== User account responsive ===== */
@media (max-width: 576px) {
  .user-panel { padding: 20px !important; }
  .user-avatar { width: 52px !important; height: 52px !important; font-size: 22px !important; }
  .user-tabs { flex-direction: column; }
  .user-tabs a { flex: none !important; width: 100%; }
}

/* ===== Order success responsive ===== */
@media (max-width: 576px) {
  .order-success-wrap { padding: 20px 16px !important; }
  .order-success-wrap .btn-wrap { display: flex; flex-direction: column; gap: 10px; }
  .order-success-wrap .btn-wrap a { margin: 0 !important; text-align: center; }
  .order-success-wrap .order-details { font-size: 13px; }
  .order-success-wrap .order-details br { display: none; }
  .order-success-wrap .order-details span { display: block; margin-bottom: 4px; }
}

/* ===== Checkout responsive enhancements ===== */
@media (max-width: 576px) {
  .checkout-page .co-card { padding: 16px !important; }
  .checkout-page .row.g-3 > [class*="col-"] { margin-bottom: 0; }
  .delivery-opt { padding: 10px 12px !important; flex-wrap: wrap; }
  .delivery-opt .do-fee { width: 100%; margin-top: 6px; }
  .pay-group { padding: 10px 12px !important; }
  .pay-group-head { flex-direction: column; align-items: flex-start !important; }
  .pay-methods { gap: 6px; }
  .pay-method { padding: 5px 10px !important; font-size: 12px !important; }
  .summary .sum-items { max-height: 180px; }
  .coupon-row { flex-direction: column; }
  .btn-coupon { padding: 10px !important; width: 100%; text-align: center; }
  .co-submit { font-size: 15px !important; padding: 14px !important; }
}

/* ===== Brand strip responsive ===== */
@media (max-width: 576px) {
  .brand-box { width: 100px !important; height: 56px !important; padding: 8px !important; }
  .brand-box img { max-height: 32px; }
  .brand-track-wrap::before,
  .brand-track-wrap::after { width: 30px !important; }
}

/* ===== Category tiles responsive ===== */
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-tile { padding: 10px 6px !important; }
  .cat-tile img { width: 48px; height: 48px; }
  .cat-tile .t { font-size: 11px; }
}

/* ===== Product card responsive ===== */
@media (max-width: 480px) {
  .card_container { gap: 8px; }
  .product-card { padding: 8px; }
  .product-card .img-wrap img { height: 130px; }
  .product-card .name { font-size: 12px; height: 34px; }
  .product-card .price { font-size: 13px; }
  .product-card .old { font-size: 11px; }
  .product-card .add-cart-btn { padding: 7px; font-size: 12px; }
  .product-card .discount { top: 6px; left: 6px; font-size: 10px; padding: 1px 5px; }
  .product-card .new-badge { top: 6px; right: 6px; font-size: 9px; padding: 1px 5px; }
}
@media (max-width: 380px) {
  .card_container { grid-template-columns: 1fr 1fr; gap: 6px; }
  .product-card { padding: 6px; border-radius: 6px; }
  .product-card .img-wrap img { height: 110px; }
  .product-card .name { font-size: 11px; height: 30px; }
  .product-card .price { font-size: 12px; }
  .product-card .add-cart-btn { padding: 6px; font-size: 11px; }
}

/* ===== Section spacing responsive ===== */
@media (max-width: 576px) {
  .section { padding: 16px 0; }
  .section-title { font-size: 16px; margin-bottom: 12px; gap: 8px; }
  .section-title .see-all { font-size: 11px; white-space: nowrap; }
  .section-title::before { height: 20px; }
}

/* ===== Hero / slider responsive ===== */
@media (max-width: 480px) {
  .swiper-slide img { height: 160px !important; }
  .swiper-dots button { width: 8px; height: 8px; }
  .swiper-dots button.active { width: 18px; }
}

/* ===== Services & Impact responsive ===== */
@media (max-width: 576px) {
  .service-card { padding: 14px 10px !important; }
  .service-card .ic { font-size: 28px !important; }
  .service-card .lbl { font-size: 12px !important; }
  .impact-card .num { font-size: 24px !important; }
  .impact-card .lbl { font-size: 12px !important; }
}

/* ===== Footer responsive ===== */
@media (max-width: 576px) {
  .footer { padding: 30px 0 14px !important; }
  .footer .cols { gap: 20px; }
  .footer .news { flex-direction: column; text-align: center; }
  .footer .stores img { height: 34px; }
  .footer .copy { flex-direction: column; text-align: center; }
  .fn-form input { width: 180px; }
  .fn-left p { max-width: 100%; }
  .footer-newsletter { flex-direction: column; text-align: center; }
  .fc-logo { margin-left: auto; margin-right: auto; }
}
@media (max-width: 400px) {
  .fn-form { flex-direction: column; }
  .fn-form input { width: 100%; }
  .fn-form button { width: 100%; }
}

/* ===== Product detail responsive ===== */
@media (max-width: 576px) {
  .pd-tab-btn { padding: 10px 14px !important; font-size: 12px !important; }
  .pd-tab-panel { padding: 14px !important; }
  .pd-spec td { font-size: 12px; padding: 8px 10px !important; }
  .pd-spec td:first-child { width: 100px; }
  .rel-slider .product-card { flex-basis: 130px; }
  .rel-slider .product-card .img-wrap img { height: 100px; }
  .rel-slider .product-card .name { font-size: 11px; }
}

/* ===== Header / nav responsive ===== */
@media (max-width: 576px) {
  .logo { font-size: 20px; }
  .logo img { height: 44px !important; }
  .search-form input { padding: 9px 12px !important; font-size: 13px !important; }
  .header .app_container { gap: 6px !important; padding-top: 8px !important; padding-bottom: 8px !important; }
  .cart-icon svg { width: 22px; height: 22px; }
  .wa-chat { width: 38px; height: 38px; margin-left: 4px !important; }
  .wa-chat svg { width: 22px; height: 22px; }
}

/* ===== Pagination ===== */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pagination .page-link {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: #555; font-size: 13.5px; font-weight: 500;
  background: #fff; transition: all .2s;
}
.pagination .page-link:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.pagination .active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 576px) {
  .pagination { gap: 4px; }
  .pagination .page-link { min-width: 32px; height: 32px; font-size: 12px; }
}

/* ===== Topbar responsive (very small) ===== */
@media (max-width: 400px) {
  .topbar .app_container > span:first-child { display: none; }
  .topbar .app_container { justify-content: center; font-size: 10px; }
  .topbar .sep { margin: 0 5px; }
}

/* ===== Fixed bottom bar responsive ===== */
@media (max-width: 576px) {
  .fixed-add-to-cart { padding: 6px 8px !important; gap: 6px; }
  .fixed-add-to-cart .fac-link { padding: 10px 8px !important; font-size: 12px; }
  .fixed-add-to-cart .fac-link svg { width: 18px; height: 18px; }
  .fixed-add-to-cart .fac-checkout { padding: 10px 8px !important; font-size: 13px; }
}

/* ===== WhatsApp float responsive ===== */
@media (max-width: 576px) {
  .wa-float { width: 48px; height: 48px; font-size: 24px; bottom: 76px; right: 14px; }
}

/* ===== General small text / spacing ===== */
@media (max-width: 576px) {
  body { font-size: 13px; }
  .breadcrumb { font-size: 11px; }
  .container, .app_container { padding-left: 10px; padding-right: 10px; }
  .banner-row { gap: 8px; }
}

/* ===== Track order responsive ===== */
@media (max-width: 576px) {
  .input-group { flex-direction: column; }
  .input-group .form-control { border-radius: 8px !important; margin-bottom: 8px; }
  .input-group .btn { border-radius: 8px !important; width: 100%; }
}

/* ===== Admin responsive enhancements ===== */
@media (max-width: 576px) {
  .admin-table thead { display: none; }
  .admin-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    background: #fff;
    gap: 6px;
  }
  .admin-table tbody tr td {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border: 0;
    flex: 1 1 45%;
    font-size: 12.5px;
  }
  .admin-table tbody tr td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 11px;
    color: var(--text-muted, #6b7280);
    white-space: nowrap;
    min-width: 70px;
  }
  .admin-table tbody tr td:last-child { flex: 1 1 100%; }
  .panel { padding: 16px !important; }
  .panel-header { flex-direction: column; align-items: flex-start !important; gap: 10px; }
  .panel-header .btn { width: 100%; text-align: center; }
  .stat-card { flex-direction: column; text-align: center; }
  .stat-body { text-align: center; }
  .topbar .title { font-size: 14px !important; }
  .topbar-date { display: none; }
  .topbar-right .avatar { width: 32px; height: 32px; font-size: 12px; }
  .form-control, .form-select { font-size: 16px !important; } /* prevent iOS zoom */
}

/* ===== Admin login responsive ===== */
@media (max-width: 576px) {
  .admin-login-card { padding: 24px 20px !important; }
}

/* ===== Header enhancements ===== */
.header-actions { display:flex; align-items:center; gap:10px; margin-left:auto; flex-shrink:0; }
.user-avatar-sm {
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--brand); color:#fff; font-size:13px; font-weight:700; flex-shrink:0;
}
.user-name-label { font-size:12.5px; font-weight:500; color:#444; white-space:nowrap; }
.user-dropdown { position:relative; }
.user-dropdown:hover .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }
.user-trigger {
  display:flex; align-items:center; gap:6px; padding:4px 10px 4px 4px; border-radius:50px;
  background:var(--brand-soft); cursor:pointer; transition:all .2s; text-decoration:none;
}
.user-trigger:hover { background:var(--brand); }
.user-trigger:hover .user-avatar-sm { background:#fff; color:var(--brand); }
.user-trigger:hover .user-name-label { color:#fff; }
.user-trigger:hover .dropdown-arrow { fill:#fff; }
.dropdown-arrow { transition:transform .2s; fill:#888; }
.user-dropdown:hover .dropdown-arrow { transform:rotate(180deg); }
.dropdown-menu {
  position:absolute; top:calc(100% + 8px); right:0; min-width:200px;
  background:#fff; border-radius:12px; box-shadow:0 8px 30px rgba(0,0,0,.12);
  padding:6px; opacity:0; visibility:hidden; transform:translateY(-6px);
  transition:all .25s ease; z-index:200; border:1px solid var(--border);
}
.dropdown-item {
  display:flex; align-items:center; gap:10px; padding:10px 14px;
  border-radius:8px; font-size:13.5px; color:#444; text-decoration:none; transition:all .15s;
}
.dropdown-item:hover { background:var(--brand-soft); color:var(--brand); }
.dropdown-item.logout-item:hover { background:#fee2e2; color:#dc2626; }
.di-icon { font-size:16px; line-height:1; }

.header-icon-link {
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border-radius:50%; color:#555; transition:all .2s; position:relative;
}
.header-icon-link svg { width:22px; height:22px; }
.header-icon-link:hover { background:var(--brand-soft); color:var(--brand); }

.cart-icon {
  display:flex; align-items:center; gap:4px; padding:6px 12px 6px 8px;
  border-radius:50px; background:var(--dark); color:#fff; position:relative;
  transition:all .2s; text-decoration:none;
}
.cart-icon svg { width:18px; height:18px; color:#fff; }
.cart-icon:hover { background:var(--brand); color:#fff; }
.cart-badge {
  background:var(--brand); color:#fff; font-size:10px; font-weight:700;
  min-width:18px; height:18px; border-radius:9px; display:inline-flex;
  align-items:center; justify-content:center; line-height:1; padding:0 4px;
}
.cart-fixed-price { font-size:13px; font-weight:600; white-space:nowrap; }

/* Hamburger */
.hamburger { display:none; width:36px; height:36px; flex-direction:column; align-items:center; justify-content:center; gap:4px; cursor:pointer; border-radius:8px; transition:background .2s; }
.hamburger:hover { background:#f5f5f5; }
.hamburger span { display:block; width:20px; height:2.5px; background:#444; border-radius:2px; transition:all .3s; }

/* Mobile menu */
.mobile-menu-overlay {
  display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:500;
  opacity:0; transition:opacity .3s;
}
.mobile-menu-overlay.show { display:block; opacity:1; }
.mobile-menu {
  position:fixed; top:0; right:-300px; width:300px; height:100vh;
  background:#fff; z-index:501; overflow-y:auto;
  transition:right .3s ease; box-shadow:-4px 0 20px rgba(0,0,0,.1);
}
.mobile-menu.open { right:0; }
.mobile-menu-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 18px; border-bottom:1px solid var(--border);
}
.mobile-menu-title { font-size:16px; font-weight:700; color:var(--dark); }
.mobile-menu-close {
  background:none; border:0; font-size:28px; cursor:pointer; color:#888; line-height:1; padding:0;
}
.mobile-menu-body { padding:12px 0; }
.mobile-search { padding:0 16px 16px; }
.mobile-search input {
  width:100%; padding:12px 16px; border:2px solid var(--border); border-radius:10px;
  font-size:15px; outline:none; font-family:inherit; background:#f9fafb;
}
.mobile-search input:focus { border-color:var(--brand); background:#fff; }
.mobile-user-card {
  display:flex; align-items:center; gap:12px; padding:14px 16px;
  background:var(--brand-soft); margin:0 12px 12px; border-radius:12px;
}
.muc-avatar {
  width:44px; height:44px; border-radius:50%; background:var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:700; flex-shrink:0;
}
.muc-name { font-weight:600; font-size:14px; color:var(--dark); }
.muc-email { font-size:12px; color:var(--gray); word-break:break-all; }
.mobile-nav-links { display:flex; flex-direction:column; }
.mobile-nav-links a {
  display:flex; align-items:center; gap:10px; padding:14px 16px;
  font-size:14px; color:#444; text-decoration:none; transition:all .15s; border-bottom:1px solid #f5f5f5;
}
.mobile-nav-links a:hover { background:var(--brand-soft); color:var(--brand); }

@media (max-width:768px) {
  .topbar .topbar-right a:not(:first-child), .topbar .sep { display:none; }
  .header .app_container { gap:6px; }
  .header .app_container .logo img { height: 40px; }
  .search-form input { padding:8px 12px; font-size:13px; }
  .search-form svg { width:18px; height:18px; margin-right:10px; }
  .user-dropdown { display:none; }
  .hamburger { display:flex; }
  .cart-icon { padding:4px 10px 4px 6px; }
  .cart-icon .cart-fixed-price { font-size:12px; }
  .dash-stats { grid-template-columns:repeat(2,1fr) !important; }
  .dash-info-grid { grid-template-columns:1fr !important; }
}
@media (max-width:576px) {
  .search-form input { padding:8px 12px; font-size:13px; }
}

/* ===== User Dashboard ===== */
.dashboard-section { padding:24px 0; }
.dash-hero {
  background:linear-gradient(135deg,var(--brand),var(--brand-dark));
  border-radius:16px; padding:28px 32px; display:flex; align-items:center; gap:20px;
  flex-wrap:wrap; margin-bottom:24px; color:#fff; position:relative; overflow:hidden;
}
.dash-hero::before {
  content:''; position:absolute; top:-50%; right:-20%; width:300px; height:300px;
  border-radius:50%; background:rgba(255,255,255,.06);
}
.dash-hero-avatar {
  width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; font-size:28px; font-weight:700;
  border:2px solid rgba(255,255,255,.3); flex-shrink:0;
}
.dash-hero-info h2 { margin:0; font-size:20px; font-weight:700; }
.dash-hero-info p { margin:2px 0 0; font-size:13px; opacity:.85; }
.dash-hero-badges { margin-left:auto; display:flex; gap:6px; flex-wrap:wrap; position:relative; z-index:1; }
.dash-badge {
  padding:4px 12px; border-radius:20px; font-size:11px; font-weight:600;
  background:rgba(255,255,255,.2); color:#fff;
}
.dash-badge-success { background:rgba(16,185,129,.3); }
.dash-badge-warn { background:rgba(245,158,11,.3); }

.dash-stats {
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px;
}
.dash-stat-card {
  background:#fff; border:1px solid var(--border); border-radius:14px;
  padding:18px 20px; display:flex; align-items:center; gap:14px;
  transition:all .2s;
}
.dash-stat-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.dash-stat-icon {
  width:48px; height:48px; border-radius:12px; display:flex; align-items:center;
  justify-content:center; font-size:22px; flex-shrink:0;
}
.dash-stat-body { min-width:0; }
.dash-stat-num { font-size:22px; font-weight:700; color:var(--dark); line-height:1.2; }
.dash-stat-label { font-size:12.5px; color:var(--gray); margin-top:2px; }

.dash-actions {
  display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:28px;
}
.dash-action-card {
  background:#fff; border:1px solid var(--border); border-radius:14px;
  padding:22px 16px; text-align:center; text-decoration:none;
  transition:all .2s; color:#444;
}
.dash-action-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:var(--brand); color:var(--brand); }
.dash-action-card.dash-action-logout:hover { border-color:#dc2626; color:#dc2626; }
.dash-action-icon { font-size:32px; display:block; margin-bottom:6px; }
.dash-action-label { font-size:13px; font-weight:500; }

.dash-section-head {
  display:flex; align-items:center; justify-content:space-between; margin-bottom:14px;
}
.dash-section-head h3 { font-size:17px; font-weight:700; color:var(--dark); margin:0; }
.dash-see-all { font-size:13px; font-weight:600; color:var(--brand); text-decoration:none; }
.dash-see-all:hover { text-decoration:underline; }

.dash-orders-table-wrap {
  background:#fff; border:1px solid var(--border); border-radius:14px; overflow:hidden;
}
.dash-orders-table {
  width:100%; border-collapse:collapse;
}
.dash-orders-table th {
  background:#f9fafb; font-size:12px; font-weight:600; color:var(--gray);
  text-transform:uppercase; letter-spacing:.5px; padding:12px 16px; text-align:left;
  border-bottom:1px solid var(--border);
}
.dash-orders-table td {
  padding:12px 16px; font-size:13.5px; border-bottom:1px solid #f5f5f5; color:#444;
}
.dash-orders-table tbody tr:last-child td { border-bottom:none; }
.dash-orders-table tbody tr:hover { background:#fafbfc; }
.dash-orders-table a { color:var(--brand); font-weight:500; text-decoration:none; }
.dash-orders-table a:hover { text-decoration:underline; }
.dash-price { font-weight:600; color:var(--dark); }
.dash-status {
  display:inline-block; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:600;
}
.dash-status-pending { background:#fef3c7; color:#92400e; }
.dash-status-confirmed { background:#dbeafe; color:#1e40af; }
.dash-status-processing { background:#ede9fe; color:#5b21b6; }
.dash-status-shipped { background:#e0e7ff; color:#3730a3; }
.dash-status-delivered { background:#d1fae5; color:#065f46; }
.dash-status-cancelled { background:#fee2e2; color:#991b1b; }
.dash-pay-status { font-size:12px; font-weight:500; }
.dash-pay-paid { color:#059669; }
.dash-pay-unpaid { color:#dc2626; }
.dash-pay-refunded { color:#6b7280; }

.dash-empty {
  background:#fff; border:1px solid var(--border); border-radius:14px;
  padding:40px 30px; text-align:center;
}
.dash-empty p { color:var(--gray); margin:0 0 16px; font-size:14px; }
.dash-btn-primary {
  display:inline-block; background:var(--brand); color:#fff; padding:12px 28px;
  border-radius:10px; font-size:14px; font-weight:600; text-decoration:none; transition:all .2s;
}
.dash-btn-primary:hover { background:var(--brand-dark); color:#fff; transform:translateY(-1px); }

.dash-info-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.dash-info-item {
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:16px 18px;
}
.dash-info-label { display:block; font-size:12px; color:var(--gray); margin-bottom:4px; font-weight:500; }
.dash-info-value { font-size:14px; color:var(--dark); font-weight:500; }

@media (max-width:576px) {
  .dash-hero { flex-direction:column; text-align:center; padding:24px 18px; }
  .dash-hero-badges { margin-left:0; justify-content:center; }
  .dash-stats { grid-template-columns:repeat(2,1fr) !important; }
  .dash-actions { grid-template-columns:repeat(2,1fr); }
  .dash-orders-table thead { display:none; }
  .dash-orders-table tr { display:block; padding:12px 14px; border-bottom:1px solid var(--border); }
  .dash-orders-table td { display:flex; padding:4px 0; border:none; justify-content:space-between; }
  .dash-orders-table td::before { content:attr(data-label); font-weight:600; color:var(--gray); font-size:12px; }
  .dash-info-grid { grid-template-columns:1fr !important; }
}

/* ===== Product Detail Grid ===== */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Gallery (left) */
.pd-gallery {
  position: sticky;
  top: 90px;
}
.pd-main-img {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.pd-main-img img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  image-rendering: auto;
}
.pd-disc-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(255,106,0,.3);
}

/* Thumbnail gallery */
.pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pd-thumbs::-webkit-scrollbar { height: 4px; }
.pd-thumbs::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.pd-thumbs::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
.pd-thumb {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  cursor: pointer;
  background: #fff;
  width: 80px;
  height: 80px;
  min-width: 80px;
  transition: all .2s;
  overflow: hidden;
  flex-shrink: 0;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}
.pd-thumb:hover { border-color: var(--brand); opacity: .85; }
.pd-thumb.active { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* Info (right) */
.pd-info {
  padding-top: 4px;
}
.pd-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 8px;
}
.pd-brand {
  font-size: 13.5px;
  color: var(--gray);
  margin-bottom: 4px;
}

/* Price block */
.pd-price-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin: 8px 0 12px;
}
.pd-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}
.pd-old-price {
  font-size: 17px;
  color: var(--gray);
  text-decoration: line-through;
}
.pd-disc-tag {
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.pd-short {
  color: #666;
  line-height: 1.7;
  margin: 8px 0;
  font-size: 14px;
}
.pd-stock {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

/* Flavor / Variant Pills */
.pd-flavor-section {
  margin-top: 16px;
  padding: 14px;
  background: #f9fafb;
  border-radius: var(--radius);
  border: 1px solid #f3f4f6;
}
.pd-flavor-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
}
.pd-flavor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-flavor-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 12px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: #fff;
  cursor: pointer;
  font-size: 13.5px;
  color: #444;
  font-weight: 500;
  transition: all .15s;
  font-family: inherit;
}
.pd-flavor-pill:hover { border-color: var(--brand); color: var(--brand); }
.pd-flavor-pill.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 600;
}
.pd-flavor-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
}

/* Buy section */
.pd-buy-section {
  margin-top: 20px;
}
.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pd-qty-label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  white-space: nowrap;
}
.pd-buy-section .qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.pd-buy-section .qty-stepper button {
  width: 42px;
  height: 42px;
  border: 0;
  background: #f7f7f7;
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
  color: #444;
}
.pd-buy-section .qty-stepper button:hover { background: var(--brand-soft); color: var(--brand); }
.pd-buy-section .qty-stepper input {
  width: 50px;
  border: 0;
  text-align: center;
  font-size: 16px;
  height: 42px;
  font-weight: 600;
  outline: none;
}

.pd-action-row {
  display: flex;
  gap: 10px;
}
.pd-btn-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.pd-btn-cart:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,106,0,.3); }
.pd-btn-cart svg { flex-shrink: 0; }
.pd-btn-buynow {
  flex: 1;
  padding: 14px 20px;
  background: var(--dark);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}
.pd-btn-buynow:hover { background: #000; transform: translateY(-1px); }

.pd-extra-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.pd-extra-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  transition: all .2s;
  text-decoration: none;
}
.pd-wa { background: #25D366; color: #fff !important; }
.pd-wa:hover { background: #1ebe5b; color: #fff !important; transform: translateY(-1px); }
.pd-call { background: #f3f4f6; color: var(--dark) !important; }
.pd-call:hover { background: #e5e7eb; color: var(--dark) !important; }

@media (max-width: 768px) {
  .pd-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pd-gallery {
    position: static;
  }
  .pd-main-img { padding: 14px; }
  .pd-main-img img { max-height: 350px; }
  .pd-thumbs { gap: 8px; }
  .pd-thumb { width: 65px; height: 65px; min-width: 65px; }
  .pd-title { font-size: 18px; }
  .pd-price { font-size: 24px; }
  .pd-old-price { font-size: 15px; }
  .pd-action-row { flex-direction: column; }
  .pd-btn-cart, .pd-btn-buynow { flex: none; width: 100%; }
  .pd-extra-actions { flex-direction: column; }
  .pd-extra-actions a { justify-content: center; }
}

/* ===== Print styles ===== */
@media print {
  .sidebar, .topbar, .sidebar-toggle, .sidebar-overlay,
  .wa-float, .wa-chat, .fixed-add-to-cart, #mobileUserBar { display: none !important; }
  .main { margin-left: 0 !important; }
  .page { padding: 0 !important; }
  body { background: #fff; }
}

