/* ============================================================
   CMSHOP.PK — Landing Page Styles
   FILE: style.css
   NOTE: Static markup only — no cart/filter functionality wired up.
   ============================================================ */

:root {
  --green-primary: #ffa500;      /* primary brand accent — buttons, active states, links, badges */
  --green-primary-dark: #e08e00; /* hover/pressed shade of the accent */
  --green-dark: #241a10;         /* deep warm charcoal — footer background */
  --green-darker: #17110a;       /* footer bottom bar / deepest shade */
  --green-pale: #fff6ea;         /* warm off-white page background */
  --maroon: #8a4a00;             /* announcement bar — burnt-orange, on-theme */
  --red-badge: #e2432e;          /* discount badges — warm red, distinct from accent */
  --price-red: #e2432e;
  --text-dark: #1a1a1a;
  --text-muted: #6b6f6c;
  --border-soft: #efe3d2;
  --white: #ffffff;
  --star-gold: #f2a900;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 10px rgba(60, 40, 10, 0.07);
  --shadow-card-hover: 0 14px 30px rgba(60, 40, 10, 0.16);
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-accent: var(--green-primary);       /* header search button + category nav bar */
  --nav-accent-dark: var(--green-primary-dark);
  --logo-purple: #5b2a9e;
  --logo-purple-light: #7b3fc4;
  --whatsapp-green: #25d366;      /* WhatsApp's real brand green — used for all WhatsApp buttons */
  --whatsapp-green-dark: #1da851;
  --thumb-grad-1: #eef3ef;        /* product thumbnail placeholder gradient */
  --thumb-grad-2: #e4ece6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--green-pale);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement Marquee Bar ---------- */
.announce-bar {
  background: var(--maroon);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.announce-track {
  display: inline-flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  padding: 9px 0;
}
.announce-track span {
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: .2px;
  border-right: 1px solid rgba(255,255,255,.25);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
}

/* ---------- Brand Strip ---------- */
.brand-strip {
  background: var(--green-pale);
  padding: 36px 0 24px;
}
.brand-strip .container {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}
.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: var(--radius-lg);
  transition: transform 0.18s ease;
}
.brand-item:hover { transform: translateY(-3px); }
.brand-badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-item:hover .brand-badge { box-shadow: var(--shadow-card-hover); }
.brand-item.is-active .brand-badge {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.18), var(--shadow-card-hover);
}
.brand-item span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  max-width: 88px;
}
.brand-item.is-active span { color: var(--green-primary-dark); }

/* ---------- Shop Toolbar ---------- */
.shop-toolbar {
  background: #f4f7f5;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 14px 0;
}
.shop-toolbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb .current { color: var(--green-primary); font-weight: 600; }
.result-count {
  font-size: 13px;
  color: var(--text-muted);
}
.sort-select {
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  font-size: 13px;
  color: var(--text-dark);
}

/* ---------- Shop Layout ---------- */
.shop-layout {
  padding: 36px 0 60px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar */
.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
}
.sidebar-box h3 {
  font-size: 15px;
  margin: 0 0 14px;
  font-weight: 700;
}
.category-list li {
  display: block;
  font-size: 13.5px;
  color: var(--text-dark);
  cursor: pointer;
}
.category-list li.active {
  font-weight: 600;
}
.category-list li span { color: inherit; opacity: .7; font-size: 12.5px; }
.price-filter-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.price-filter-inputs input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 13px;
}
.btn-apply,
.btn-whatsapp,
.btn-shop-now {
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-apply {
  width: 100%;
  background: var(--green-primary);
  color: #1a1200;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13.5px;
}
.whatsapp-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 14px;
}
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--whatsapp-green);
  color: var(--white);
  border: none;
  padding: 11px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 13.5px;
}

/* Product Grid */
ul.product-grid.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}
.product-card,
.featured-row-card,
.featured-promo-card {
  opacity: 0;
  transform: translateY(18px);
}
.product-card.cmshop-in-view,
.featured-row-card.cmshop-in-view,
.featured-promo-card.cmshop-in-view {
  animation: cmshopCardIn .55s ease forwards;
}
@keyframes cmshopCardIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .product-card { opacity: 1; transform: none; animation: none; }
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}
.product-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--thumb-grad-1), var(--thumb-grad-2));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-thumb img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  transition: transform .5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.08); }

/* Diagonal light-shine sweep on hover — a subtle "cool" polish touch */
.product-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  transition: left .65s ease;
  pointer-events: none;
  z-index: 3;
}
.product-card:hover .product-thumb::after { left: 130%; }

.thumb-placeholder {
  font-size: 12px;
  color: #9aa39c;
  text-align: center;
  font-weight: 600;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red-badge);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 4;
  animation: cmshopBadgePulse 2.2s ease-in-out infinite;
}
@keyframes cmshopBadgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .badge { animation: none; }
}
.badge-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green-primary);
  color: #1a1200;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 4;
}
.product-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  min-height: 38px;
  color: var(--text-dark);
}
.product-rating {
  color: var(--star-gold);
  font-size: 12px;
  letter-spacing: 1px;
}
.product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--price-red);
}
.product-price .old {
  color: #a3a8a4;
  font-weight: 500;
  text-decoration: line-through;
  margin-right: 6px;
  font-size: 13px;
}
.btn-add {
  margin-top: auto;
  width: 100%;
  background: var(--green-primary);
  color: #1a1200;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}
.btn-add.outline {
  background: var(--white);
  color: var(--green-primary);
  border: 1px solid var(--green-primary);
}

.grid-loader {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 30px 0 6px;
}
.spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #d9e4dd;
  border-top-color: var(--green-primary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-shop-now {
  align-self: flex-start;
  background: #fff;
  color: #1a1a1a;
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13px;
}

/* ---------- Section Heading (shared, e.g. New Arrivals, Testimonials) ---------- */
.section-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}
.section-heading h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
  color: var(--text-dark);
}
.section-heading p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Top Categories ---------- */
.top-categories-section { background: var(--white); padding: 50px 0 30px; }
.top-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-pill:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.cat-pill-img {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 700px;
}
.cat-pill-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform .6s ease;
}
/* "Flip left to right" hover: a full horizontal spin back to the
   same face — reads as a coin-flip without needing a second image. */
.cat-pill:hover .cat-pill-img img { transform: rotateY(360deg); }
.cat-pill-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .top-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .top-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-pill { padding: 20px 10px 20px; }
  .cat-pill-img { width: 76px; height: 76px; }
}

/* ---------- Featured Products ---------- */
.featured-section { background: var(--white); padding: 55px 0 60px; }
.featured-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Horizontal "list" product card */
.featured-row-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, border-width .2s ease;
}
.featured-row-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border: 2px solid var(--green-primary);
  padding: 13px;
}
.fr-thumb { position: relative; flex: 0 0 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--white); }
.fr-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.featured-row-card:hover .fr-thumb img { transform: scale(1.1); }
.fr-wishlist {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--green-primary);
  color: var(--green-primary);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.featured-row-card:hover .fr-wishlist { background: var(--green-primary); color: #fff; transform: scale(1.15); }
.fr-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.fr-rating { display: flex; align-items: center; gap: 5px; }
.fr-stars { color: var(--star-gold); font-size: 12px; letter-spacing: 1px; }
.fr-count { font-size: 11px; color: var(--text-muted); }
.fr-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s ease;
}
.featured-row-card:hover .fr-title { color: var(--green-primary-dark); }
.fr-price { font-size: 12.5px; }
.fr-price del { color: #a3a8a4; font-weight: 500; margin-right: 6px; }
.fr-price strong { color: var(--green-primary-dark); font-size: 14px; }

/* Stacked promo banners */
.featured-promos { display: flex; flex-direction: column; gap: 16px; }
.featured-promo-card {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 1;
  min-height: 150px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-pale);
  border: 1px solid var(--border-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, border-width .2s ease;
}
.featured-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border: 2px solid var(--green-primary);
}
.featured-promo-card img {
  flex: 0 0 42%;
  width: 42%;
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-promo-card:hover img { transform: scale(1.08); }
.fp-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.fp-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--green-primary-dark); }
.fp-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-sub { font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; }
.fp-btn {
  display: inline-flex;
  width: fit-content;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--green-primary);
  color: #1a1200;
  font-size: 12.5px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.featured-promo-card:hover .fp-btn { background: var(--green-primary-dark); color: #fff; transform: translateX(3px); }

@media (max-width: 900px) {
  .featured-layout { grid-template-columns: 1fr; }
  .featured-promos { flex-direction: row; }
}
@media (max-width: 640px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-promos { flex-direction: column; }
  .featured-row-card { padding: 10px; }
  .featured-promo-card { flex-direction: column; }
  .featured-promo-card img { flex: 0 0 140px; width: 100%; height: 140px; }
}

/* ---------- New Arrivals: stunning real-product carousel ---------- */
.new-arrivals-section {
  background: var(--green-pale);
  padding: 50px 0 60px;
}
.new-arrivals-wrap {
  position: relative;
  overflow: hidden;
  /* Fade the track out at both edges so cards don't look cut off
     mid-loop — a small but professional carousel touch. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.new-arrivals-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: newArrivalsScroll 34s linear infinite;
}
/* Pause the loop so it's easy to read a card and click through —
   :focus-within covers keyboard users tabbing onto a (visible) card. */
.new-arrivals-track:hover,
.new-arrivals-track:focus-within {
  animation-play-state: paused;
}
@keyframes newArrivalsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .new-arrivals-track { animation: none; overflow-x: auto; }
}
.new-arrival-card {
  flex: 0 0 178px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
}
.new-arrival-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green-primary);
}
.new-arrival-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--green-pale);
}
.new-arrival-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.new-arrival-card:hover .new-arrival-thumb img { transform: scale(1.08); }
.new-arrival-info {
  padding: 11px 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.new-arrival-info .tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.new-arrival-info .title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.new-arrival-info .price { font-size: 13px; margin-top: 2px; }

@media (max-width: 640px) {
  .new-arrival-card { flex: 0 0 148px; }
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  background: var(--white);
  padding: 55px 0 60px;
}
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.rating-summary .stars { color: var(--star-gold); font-size: 16px; letter-spacing: 2px; }
.rating-summary .score { font-weight: 700; font-size: 14px; }
.rating-summary .count { font-size: 13px; color: var(--text-muted); }
.testimonial-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}
.testimonial-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: testimonialScroll 42s linear infinite;
}
.testimonial-track:hover,
.testimonial-track:focus-within {
  animation-play-state: paused;
}
@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; }
  .testimonial-wrap { overflow-x: auto; }
}
.testimonial-card {
  flex: 0 0 260px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--white);
}
.t-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.t-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-primary);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 700; }
.t-date { font-size: 11px; color: var(--text-muted); }
.t-stars { color: var(--star-gold); font-size: 11px; margin-bottom: 6px; }
.t-text {
  font-size: 12.5px;
  color: #4c504d;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .testimonial-card { flex: 0 0 220px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-dark);
  color: #d9e5df;
  padding-top: 44px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-mark {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand .logo-sub {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 16px;
}
.footer-search {
  display: flex;
  max-width: 340px;
}
.footer-search input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 20px 0 0 20px;
  font-size: 13px;
}
.footer-search button {
  background: var(--green-primary);
  border: none;
  color: #1a1200;
  padding: 0 18px;
  border-radius: 0 20px 20px 0;
}
.footer-icons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  font-size: 15px;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul li {
  font-size: 13px;
  margin-bottom: 10px;
  color: #b9c8bf;
}
.footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-nav a { color: #cfe0d7; }
.btn-order {
  background: var(--green-primary);
  color: #1a1200;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 26px;
  font-size: 12px;
  color: #9db3a6;
}
.footer-bottom .payments { display: flex; gap: 14px; letter-spacing: .3px; }
/* Astra's own built-in "Scroll to Top" feature renders alongside our
   custom .back-to-top button below, causing a duplicate — hidden so
   only our themed one shows. */
#scroll-top, .ast-scroll-top-icon { display: none !important; }

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 84px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-card-hover);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  font-size: 16px;
  z-index: 40;
  border: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.back-to-top:hover { background: var(--green-primary); color: #fff; transform: translateY(-3px); }
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-card-hover);
  z-index: 40;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
.cmshop-filter-toggle,
.cmshop-filter-overlay,
.cmshop-filter-close { display: none; }

@media (max-width: 860px) {
  .shop-grid { grid-template-columns: 1fr; }

  .cmshop-filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    left: 16px;
    bottom: 24px;
    z-index: 60;
    background: var(--green-primary);
    color: #1a1200;
    border: none;
    padding: 11px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow-card-hover);
  }
  .cmshop-filter-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(20, 14, 4, .45);
    z-index: 998;
  }
  .cmshop-filter-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    font-size: 18px;
    color: var(--text-dark);
  }
  .shop-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(300px, 85vw);
    z-index: 999;
    overflow-y: auto;
    background: var(--green-pale);
    padding: 20px 16px;
    transform: translateX(-100%);
    transition: transform .28s ease;
  }
  .shop-sidebar.is-open { transform: translateX(0); }
}
@media (max-width: 640px) {
  .brand-strip { padding: 18px 0; }
  .brand-strip .container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px;
  }
  .brand-strip .container::-webkit-scrollbar { display: none; }
  .brand-item { flex-shrink: 0; }
  .brand-badge { width: 52px; height: 52px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .product-grid { gap: 12px; }
}

/* ---------- WooCommerce class aliases (live data now) ----------
   These style WooCommerce's own real markup: the loop add-to-cart
   button/link, sale price <ins>/<del>, and product links — since
   the page now renders live WooCommerce products instead of static
   placeholders. */
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products li.product { list-style: none; }
.price { display: block; font-size: 14px; font-weight: 700; color: var(--price-red); }
.price ins { text-decoration: none; }
.price del { color: #a3a8a4; font-weight: 500; margin-right: 6px; font-size: 13px; }

.product-thumb-link { display: block; }
.product-title { display: block; color: var(--text-dark); }
a.product-title:hover { color: var(--green-primary); }

.cmshop-cta { margin-top: auto; }
.cmshop-cta a.button,
.cmshop-cta a.add_to_cart_button {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--green-primary);
  color: #1a1200 !important;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cmshop-cta a.button:hover {
  background: var(--green-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 165, 0, 0.32);
}
.cmshop-cta a.button:active { transform: translateY(0) scale(.97); }
.cmshop-cta a.product_type_variable,
.cmshop-cta a.product_type_external {
  background: var(--white);
  color: var(--green-primary) !important;
  border: 1px solid var(--green-primary);
}
.cmshop-cta a.added_to_cart {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  color: var(--green-primary);
  text-decoration: underline;
}
.cmshop-cta a.button.loading {
  opacity: .6;
  pointer-events: none;
}

/* Sort form (wraps the select so it can GET-submit) */
.sort-form { display: inline-flex; }

/* Real price-filter form inside sidebar */
.price-filter-form input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 13px;
}
.price-filter-form .price-filter-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }

/* Category list as real links */
.category-list {
  display: block;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--green-primary) var(--green-pale);
}
.category-list::-webkit-scrollbar { width: 6px; }
.category-list::-webkit-scrollbar-track { background: var(--green-pale); border-radius: 999px; }
.category-list::-webkit-scrollbar-thumb { background: var(--green-primary); border-radius: 999px; }
.category-list li + li { margin-top: 2px; }
.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-dark);
  transition: background .15s ease, color .15s ease;
}
.category-list li:not(.active) a:hover {
  background: #fff3e0;
  color: var(--green-primary-dark);
}
.category-list li.active a {
  background: var(--green-primary);
  color: #1a1200;
  font-weight: 600;
}
.category-list li a .cat-count {
  min-width: 24px;
  text-align: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--green-pale);
  color: var(--text-muted);
}
.category-list li.active a .cat-count {
  background: rgba(26, 18, 0, 0.15);
  color: #1a1200;
}

.product-grid-wrap { min-width: 0; }

.no-products {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.no-products p { margin: 0 0 16px; }

.cmshop-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.cmshop-pagination a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.cmshop-pagination a.active {
  background: var(--green-primary);
  color: #1a1200;
  border-color: var(--green-primary);
}


/* ---------- Astra theme-compatibility overrides ----------
   Astra reserves layout space for its sidebar/grid container by
   default, even on custom page templates. These rules (scoped to
   just this page via the body class WordPress adds automatically
   for this template) force the content area back to a normal,
   full-width, top-to-bottom block layout. Safe: only applies here. */
body.page-template-page-shop-landing-php #primary,
body.page-template-page-shop-landing-php #main,
body.page-template-page-shop-landing-php .ast-container,
body.page-template-page-shop-landing-php .site-content,
body.page-template-page-shop-landing-php .ast-separate-container,
body.page-template-page-shop-landing-php .content-area,
body.single-product #primary,
body.single-product #main,
body.single-product .ast-container,
body.single-product .site-content,
body.single-product .ast-separate-container,
body.single-product .content-area,
body.woocommerce-shop #primary,
body.woocommerce-shop #main,
body.woocommerce-shop .ast-container,
body.woocommerce-shop .site-content,
body.woocommerce-shop .ast-separate-container,
body.woocommerce-shop .content-area,
body.tax-product_cat #primary,
body.tax-product_cat #main,
body.tax-product_cat .ast-container,
body.tax-product_cat .site-content,
body.tax-product_cat .ast-separate-container,
body.tax-product_cat .content-area,
body.tax-product_tag #primary,
body.tax-product_tag #main,
body.tax-product_tag .ast-container,
body.tax-product_tag .site-content,
body.tax-product_tag .ast-separate-container,
body.tax-product_tag .content-area,
body.search #primary,
body.search #main,
body.search .ast-container,
body.search .site-content,
body.search .ast-separate-container,
body.search .content-area,
body.woocommerce-cart #primary,
body.woocommerce-checkout #primary,
body.woocommerce-cart #main,
body.woocommerce-checkout #main,
body.woocommerce-cart .ast-container,
body.woocommerce-checkout .ast-container,
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content,
body.woocommerce-cart .ast-separate-container,
body.woocommerce-checkout .ast-separate-container,
body.woocommerce-cart .content-area,
body.woocommerce-checkout .content-area,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.page-template-page-shop-landing-php #secondary,
body.page-template-page-shop-landing-php .widget-area,
body.single-product #secondary,
body.single-product .widget-area,
body.woocommerce-shop #secondary,
body.woocommerce-shop .widget-area,
body.tax-product_cat #secondary,
body.tax-product_cat .widget-area,
body.tax-product_tag #secondary,
body.tax-product_tag .widget-area,
body.search #secondary,
body.search .widget-area,
body.woocommerce-cart #secondary,
body.woocommerce-checkout #secondary,
body.woocommerce-cart .widget-area,
body.woocommerce-checkout .widget-area {
  display: none !important;
}
body.page-template-page-shop-landing-php .entry-header,
body.page-template-page-shop-landing-php .page-header,
body.page-template-page-shop-landing-php .entry-title,
body.single-product .entry-header,
body.single-product .page-header,
body.single-product .entry-title,
body.woocommerce-shop .page-header,
body.tax-product_cat .page-header,
body.tax-product_tag .page-header,
body.search .page-header,
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-checkout .page-header,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  display: none !important;
}
/* Astra's default header (logo/menu built via Customizer or the
   Astra header builder). #masthead is Astra's standard header ID;
   if your site uses the Astra Pro header builder with a custom
   layout, check its wrapper ID/class in the browser inspector and
   add it here too. */
body.page-template-page-shop-landing-php #masthead,
body.page-template-page-shop-landing-php .site-header,
body.single-product #masthead,
body.single-product .site-header,
body.woocommerce-shop #masthead,
body.woocommerce-shop .site-header,
body.tax-product_cat #masthead,
body.tax-product_cat .site-header,
body.tax-product_tag #masthead,
body.tax-product_tag .site-header,
body.search #masthead,
body.search .site-header,
body.woocommerce-cart #masthead,
body.woocommerce-checkout #masthead,
body.woocommerce-cart .site-header,
body.woocommerce-checkout .site-header {
  display: none !important;
}
body.woocommerce-cart #colophon,
body.woocommerce-checkout #colophon,
body.woocommerce-cart footer.site-footer,
body.woocommerce-checkout footer.site-footer {
  display: none !important;
}

/* ============================================================
   Custom Header
   ============================================================ */
.cmshop-header { position: sticky; top: 0; z-index: 950; }

.cmshop-header-top { background: var(--white); border-bottom: 1px solid var(--border-soft); }
.cmshop-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.cmshop-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--logo-purple); }
.cmshop-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--logo-purple) 0%, var(--logo-purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cmshop-logo-dot { background: none; -webkit-text-fill-color: var(--green-primary); color: var(--green-primary); }

.cmshop-search-form {
  flex: 1;
  max-width: 640px;
  display: flex;
  border: 1.5px solid var(--nav-accent);
  border-radius: 999px;
  overflow: hidden;
}
.cmshop-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 18px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  min-width: 0;
}
.cmshop-search-submit {
  border: none;
  background: var(--nav-accent);
  color: var(--white);
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmshop-search-submit:hover { background: var(--nav-accent-dark); }

.cmshop-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cmshop-nav-toggle {
  display: none;
  border: none;
  background: none;
  color: var(--text-dark);
  padding: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cmshop-search-toggle {
  display: none;
  border: none;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}
.cmshop-header-nav { background: var(--nav-accent); }
.cmshop-header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cmshop-header-nav-inner::-webkit-scrollbar { display: none; }
.cmshop-nav-categories {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-shrink: 0;
}
.cmshop-nav-categories li a {
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.92;
}
.cmshop-nav-categories li a:hover,
.cmshop-nav-categories li.is-active a { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.cmshop-nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.cmshop-social-links { display: flex; align-items: center; gap: 10px; }
.cmshop-social-icon {
  color: var(--white);
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmshop-social-icon:hover { opacity: 1; }

.btn-order-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--whatsapp-green);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.btn-order-whatsapp:hover { background: var(--whatsapp-green-dark); }

/* ---------- Header: responsive ---------- */
@media (max-width: 1080px) {
  .cmshop-search-form { max-width: 460px; }
  .cmshop-nav-categories { gap: 18px; }
}
@media (max-width: 860px) {
  .cmshop-header-top-inner { position: relative; gap: 14px; }
  .cmshop-search-form { display: none; }
  .cmshop-search-form.is-open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-width: none;
    margin-top: 8px;
    background: var(--white);
    box-shadow: var(--shadow-card-hover);
    z-index: 5;
  }
  .cmshop-search-toggle { display: flex; }
  .cmshop-nav-toggle { display: flex; }

  /* Proper mobile menu panel — was just un-hiding the same
     horizontal desktop bar before, which is why it looked like it
     "repeated" the header instead of behaving like a real menu. */
  .cmshop-header-nav { display: none; }
  .cmshop-header-nav.is-open { display: block; }
  .cmshop-header-nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0 16px;
    overflow-x: visible;
  }
  .cmshop-nav-categories {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .cmshop-nav-categories li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .cmshop-nav-categories li a { display: block; padding: 14px 20px; }

  /* Parent items with children (a real WP menu can add these) —
     expand/collapse in place instead of a hover flyout. */
  .cmshop-nav-categories .sub-menu { display: none; list-style: none; margin: 0; padding: 0 0 6px; background: rgba(0, 0, 0, .08); }
  .cmshop-nav-categories li.menu-item-has-children.is-expanded > .sub-menu { display: block; }
  .cmshop-nav-categories .sub-menu li { border-bottom: none; }
  .cmshop-nav-categories .sub-menu li a { padding: 10px 20px 10px 34px; font-size: 13px; }
  .cmshop-submenu-toggle {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cmshop-nav-categories li.menu-item-has-children { position: relative; }
  .cmshop-nav-categories li.is-expanded .cmshop-submenu-toggle svg { transform: rotate(180deg); }

  .cmshop-nav-right { flex-direction: column; align-items: flex-start; gap: 14px; padding: 14px 20px 4px; }
}
@media (max-width: 640px) {
  .cmshop-logo-text { font-size: 19px; }
  .cmshop-header-top-inner { gap: 10px; }
  .cmshop-header-actions { gap: 10px; }
  .btn-order-whatsapp span { display: none; }
  .btn-order-whatsapp { padding: 9px 12px; }
  .cmshop-social-links { gap: 7px; }
  .cmshop-nav-categories li a { font-size: 13px; }
}
@media (max-width: 420px) {
  .cmshop-logo svg { width: 24px; height: 24px; }
  .cmshop-logo-text { font-size: 16px; }
  .cmshop-header-top-inner { padding: 10px 0; }
  .cmshop-nav-categories li a { font-size: 12.5px; }
  .cmshop-social-links { gap: 6px; }
}

/* ============================================================
   Mini-Cart Drawer
   ============================================================ */

/* Cart icon now lives inline in the header (not fixed) — the
   drawer panel itself stays fixed/overlaying regardless. */
.cmshop-cart-trigger {
  position: relative;
  border: none;
  background: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmshop-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--nav-accent);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}

.cmshop-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 4, 0.45);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cmshop-cart-overlay.is-visible { opacity: 1; }

.cmshop-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 92vw);
  background: var(--green-pale);
  z-index: 1000;
  box-shadow: -8px 0 30px rgba(20, 14, 4, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.cmshop-cart-drawer.is-open { transform: translateX(0); }
body.cmshop-drawer-open { overflow: hidden; }

.cmshop-cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--white);
}
.cmshop-cart-drawer-head h3 { margin: 0; font-size: 17px; color: var(--text-dark); }
.cmshop-cart-close {
  border: none;
  background: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}

#cmshop-cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cmshop-cart-empty { text-align: center; padding: 40px 10px; color: var(--text-muted); }
.cmshop-cart-empty p { margin: 0 0 16px; }

.cmshop-cart-items { list-style: none; margin: 0; padding: 0; }
.cmshop-cart-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: opacity 0.15s ease;
}
.cmshop-cart-item.is-updating { opacity: 0.5; pointer-events: none; }
.cmshop-cart-item-thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  display: block;
}
.cmshop-cart-item-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  margin-bottom: 6px;
  line-height: 1.3;
}
.cmshop-cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cmshop-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cmshop-qty-value { font-size: 13px; font-weight: 600; min-width: 16px; text-align: center; }
.cmshop-cart-item-price { font-size: 13px; font-weight: 700; color: var(--price-red); }
.cmshop-cart-item-remove {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.cmshop-cart-item-remove:hover { color: var(--red-badge); }

.cmshop-cart-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-soft);
  background: var(--white);
}
.cmshop-cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 12px;
}
.cmshop-cart-subtotal strong { color: var(--text-dark); font-size: 16px; }
.btn-view-cart, .btn-checkout {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
}
.btn-view-cart {
  background: var(--white);
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
}
.btn-checkout {
  background: var(--green-primary);
  border: 1px solid var(--green-primary);
  color: #1a1200;
  margin-bottom: 0;
}
.btn-checkout:hover { background: var(--green-primary-dark); }

/* Accessible focus states */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}
