/* Amar Kashimpur Commerce Widgets — public only when widget is used */
.akm-cat-slider {
  position: relative;
  max-width: 100%;
  --akm-gap: 12px;
  --akm-per: 2;
}
.akm-cs-viewport {
  overflow: hidden;
  width: 100%;
}
.akm-cs-track {
  display: flex;
  gap: var(--akm-gap);
  transition: transform 0.35s ease;
  will-change: transform;
}
.akm-cat-card {
  flex: 0 0 calc((100% - var(--akm-gap) * (var(--akm-per) - 1)) / var(--akm-per));
  max-width: calc((100% - var(--akm-gap) * (var(--akm-per) - 1)) / var(--akm-per));
  box-sizing: border-box;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid #DDE9E6;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
  color: #17312D;
  box-shadow: 0 2px 8px rgba(23,49,45,.05);
  transition: border-color .2s, box-shadow .2s;
}
.akm-cat-card:hover {
  border-color: #0A7C6E;
  box-shadow: 0 4px 14px rgba(10,124,110,.12);
}
.akm-cat-media {
  width: 64px; height: 64px; margin: 0 auto 10px;
  border-radius: 14px; overflow: hidden;
  background: #F4F8F7;
  display: flex; align-items: center; justify-content: center;
}
.akm-cat-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.akm-cat-fallback { font-size: 28px; line-height: 1; }
.akm-cat-name { font-weight: 700; font-size: 0.95rem; }
.akm-cs-prev, .akm-cs-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #DDE9E6; background: #fff; color: #0A7C6E;
  font-size: 20px; cursor: pointer; line-height: 1;
}
.akm-cs-prev { left: 0; }
.akm-cs-next { right: 0; }
.akm-cs-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.akm-cs-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0;
  background: #DDE9E6; padding: 0; cursor: pointer;
}
.akm-cs-dots button.is-active { background: #0A7C6E; }

/* ============================================================
   Product Category / Shop Archive — premium food marketplace
   ============================================================ */
.akm-arc {
  --arc-p: #0A7C6E;
  --arc-ph: #08695E;
  --arc-accent: #F59E0B;
  --arc-bg: #F7F9F8;
  --arc-card: #fff;
  --arc-text: #17312D;
  --arc-muted: #6B7F7A;
  --arc-border: #DDE9E6;
  font-family: "Noto Sans Bengali", system-ui, -apple-system, sans-serif;
  color: var(--arc-text);
  background: var(--arc-bg);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px 24px;
  -webkit-font-smoothing: antialiased;
}
.akm-arc *, .akm-arc *::before, .akm-arc *::after { box-sizing: border-box; }

/* Compact header */
.akm-arc-top {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 4px 8px;
}
.akm-arc-back {
  width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 12px;
  background: var(--arc-card); color: var(--arc-text); border: 1px solid var(--arc-border);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.akm-arc-title {
  margin: 0 0 2px; font-size: 1.25rem; font-weight: 800; color: var(--arc-text); line-height: 1.25;
}
.akm-arc-desc {
  margin: 0; font-size: .8rem; color: var(--arc-muted); line-height: 1.4;
}

/* Search */
.akm-arc-search {
  display: flex; align-items: center; gap: 8px;
  margin: 4px 0 12px; padding: 0 12px;
  height: 48px; background: var(--arc-card);
  border: 1.5px solid var(--arc-border); border-radius: 14px;
}
.akm-arc-search:focus-within { border-color: var(--arc-p); }
.akm-arc-search-ico { font-size: 1rem; opacity: .7; }
.akm-arc-search input {
  flex: 1; border: 0; outline: none; background: transparent;
  font: inherit; font-size: .95rem; color: var(--arc-text); min-width: 0;
}

/* Category chips */
.akm-arc-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 2px 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.akm-arc-chips::-webkit-scrollbar { display: none; }
.akm-arc-chip {
  flex-shrink: 0; padding: 8px 14px; border-radius: 999px;
  background: var(--arc-card); border: 1.5px solid var(--arc-border);
  color: var(--arc-text); font-size: .82rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.akm-arc-chip.is-active,
.akm-arc-chip:hover {
  background: var(--arc-p); border-color: var(--arc-p); color: #fff;
}

/* Toolbar */
.akm-arc-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px; padding: 0 2px;
}
.akm-arc-count strong {
  display: block; font-size: .95rem; font-weight: 800; color: var(--arc-text);
}
.akm-arc-count span { font-size: .78rem; color: var(--arc-muted); }
.akm-arc-sort-wrap { display: flex; align-items: center; gap: 6px; }
.akm-arc-sort-label {
  font-size: .78rem; font-weight: 700; color: var(--arc-muted);
}
.akm-arc-sort {
  appearance: none; border: 1.5px solid var(--arc-border); border-radius: 10px;
  padding: 8px 28px 8px 10px; background: var(--arc-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7F7A' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--arc-text); cursor: pointer;
}

/* Grid */
.akm-arc-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.akm-arc-grid.akm-m-1 { grid-template-columns: 1fr; }
.akm-arc-grid.akm-m-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .akm-arc-grid.akm-t-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .akm-arc-grid.akm-t-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .akm-arc { padding-left: 20px; padding-right: 20px; }
  .akm-arc-grid.akm-d-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .akm-arc-grid.akm-d-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .akm-arc-grid.akm-d-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .akm-arc-grid.akm-d-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .akm-arc-title { font-size: 1.5rem; }
}

/* Product card */
.akm-arc-card {
  background: var(--arc-card); border: 1px solid var(--arc-border);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(23,49,45,.04);
  transition: box-shadow .2s, transform .15s;
}
.akm-arc-card:active { transform: scale(.98); }
@media (hover: hover) {
  .akm-arc-card:hover { box-shadow: 0 6px 20px rgba(10,124,110,.1); }
}
.akm-arc-card-media {
  display: block; position: relative; aspect-ratio: 1 / 1;
  background: #EEF3F1; overflow: hidden;
}
.akm-arc-card-media img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block;
}
.akm-arc-badge-sale {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--arc-accent); color: #1a1a1a;
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px;
}
.akm-arc-badge-oos {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,49,45,.45); color: #fff;
  font-size: .85rem; font-weight: 800;
}
.akm-arc-card-body {
  padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1;
}
.akm-arc-card-cat {
  display: inline-block; align-self: flex-start;
  font-size: 10px; font-weight: 700; color: var(--arc-p);
  background: #E6F4F1; padding: 2px 8px; border-radius: 999px;
}
.akm-arc-card-vendor {
  font-size: 11px; color: var(--arc-p); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.akm-arc-card-title {
  margin: 0; font-size: .88rem; font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.akm-arc-card-title a { color: var(--arc-text); text-decoration: none; }
.akm-arc-card-price {
  font-weight: 800; color: var(--arc-p); font-size: .95rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px;
}
.akm-arc-card-price del {
  color: var(--arc-muted); font-weight: 500; font-size: .78rem;
}
.akm-arc-card-price ins { text-decoration: none; color: var(--arc-p); }
.akm-arc-btn {
  margin-top: auto; display: flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 10px; border-radius: 12px;
  background: var(--arc-p); color: #fff !important; font-weight: 700; font-size: .8rem;
  text-decoration: none !important; border: 0; cursor: pointer;
  transition: background .15s;
}
.akm-arc-btn:hover { background: var(--arc-ph); color: #fff !important; }
.akm-arc-btn.is-disabled,
.akm-arc-btn.disabled {
  background: #cbd5e1; color: #64748b !important; pointer-events: none; cursor: not-allowed;
}
.akm-arc-btn.loading { opacity: .7; pointer-events: none; }

/* Empty */
.akm-arc-empty {
  text-align: center; padding: 40px 20px; margin: 12px 0;
  background: var(--arc-card); border: 1px dashed var(--arc-border); border-radius: 18px;
}
.akm-arc-empty-ico {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px;
  background: #E6F4F1; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.akm-arc-empty strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.akm-arc-empty p { margin: 0 0 12px; color: var(--arc-muted); font-size: .88rem; }
.akm-arc-empty-link {
  color: var(--arc-p); font-weight: 700; text-decoration: none; font-size: .9rem;
}

/* Pagination */
.akm-arc-pager { margin-top: 20px; text-align: center; }
.akm-arc-pager ul {
  list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center;
}
.akm-arc-pager a, .akm-arc-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 12px; border: 1.5px solid var(--arc-border);
  background: var(--arc-card); color: var(--arc-text); text-decoration: none;
  font-weight: 700; font-size: .9rem;
}
.akm-arc-pager .current {
  background: var(--arc-p); color: #fff; border-color: var(--arc-p);
}

/* Toast */
.akm-arc-toast {
  position: fixed; left: 50%; z-index: 10080;
  bottom: calc(var(--ak-mnav-total-height, 56px) + 16px);
  transform: translateX(-50%) translateY(10px);
  max-width: min(320px, calc(100% - 24px));
  padding: 12px 18px; border-radius: 14px;
  background: #17312D; color: #fff; font-size: .88rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.akm-arc-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.akm-arc-toast[hidden] { display: none; }

/* Legacy class aliases (older markup) */
.akm-archive { max-width: 1280px; margin: 0 auto; }
.akm-prod-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.akm-prod-grid.akm-d-4 { }
@media (min-width: 960px) {
  .akm-prod-grid.akm-d-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.akm-prod-card {
  background: #fff; border: 1px solid #DDE9E6; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(23,49,45,.04);
}
.akm-prod-media { display: block; position: relative; background: #F4F8F7; aspect-ratio: 1; }
.akm-prod-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.akm-badge-sale {
  position: absolute; top: 8px; left: 8px;
  background: #F59E0B; color: #1a1a1a; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 999px;
}
.akm-prod-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.akm-prod-vendor { font-size: 11px; color: #0A7C6E; font-weight: 600; }
.akm-prod-title { margin: 0; font-size: 0.9rem; line-height: 1.3; }
.akm-prod-title a { color: #17312D; text-decoration: none; }
.akm-prod-price { font-weight: 700; color: #0A7C6E; font-size: 0.95rem; }
.akm-prod-price del { color: #6B7F7A; font-weight: 500; margin-right: 4px; }
.akm-btn-buy {
  margin-top: auto; display: block; text-align: center; text-decoration: none !important;
  background: #0A7C6E; color: #fff !important; font-weight: 600; font-size: 0.85rem;
  padding: 8px; border-radius: 10px;
}
.akm-pagination { margin-top: 20px; text-align: center; }
.akm-pagination ul { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 6px; }
.akm-pagination a, .akm-pagination span {
  display: inline-block; min-width: 36px; padding: 6px 10px;
  border-radius: 8px; border: 1px solid #DDE9E6; background: #fff; color: #17312D; text-decoration: none;
}
.akm-pagination .current { background: #0A7C6E; color: #fff; border-color: #0A7C6E; }

/* Default WooCommerce archive polish (when theme loop is used) */
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_tag .woocommerce-products-header {
  margin-bottom: 12px !important; padding: 12px 0 !important;
}
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title {
  font-size: 1.35rem !important; font-weight: 800 !important; color: #17312D !important;
  font-family: "Noto Sans Bengali", system-ui, sans-serif !important;
}
body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count {
  font-size: .85rem !important; color: #6B7F7A !important; margin: 0 0 8px !important;
}
body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
  margin: 0 0 12px !important;
}
body.tax-product_cat .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select {
  border: 1.5px solid #DDE9E6 !important; border-radius: 10px !important;
  padding: 8px 12px !important; background: #fff !important;
  font-family: "Noto Sans Bengali", system-ui, sans-serif !important;
}
body.tax-product_cat ul.products,
body.post-type-archive-product ul.products,
body.tax-product_tag ul.products {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important; margin: 0 !important; padding: 0 0 16px !important;
  list-style: none !important;
}
@media (min-width: 600px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 960px) {
  body.tax-product_cat ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    max-width: 1280px; margin-left: auto !important; margin-right: auto !important;
  }
}
body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product {
  width: 100% !important; margin: 0 !important; float: none !important;
  background: #fff; border: 1px solid #DDE9E6; border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(23,49,45,.04); padding: 0 !important;
}
body.tax-product_cat ul.products li.product a img,
body.post-type-archive-product ul.products li.product a img {
  width: 100% !important; height: auto !important; aspect-ratio: 1 / 1;
  object-fit: cover !important; margin: 0 !important; border-radius: 0 !important;
}
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
  font-size: .88rem !important; font-weight: 700 !important; padding: 8px 10px 0 !important;
  color: #17312D !important; font-family: "Noto Sans Bengali", system-ui, sans-serif !important;
}
body.tax-product_cat ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price {
  font-weight: 800 !important; color: #0A7C6E !important; padding: 4px 10px !important;
  font-size: .95rem !important;
}
body.tax-product_cat ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product a.button,
body.post-type-archive-product ul.products li.product a.button {
  background: #0A7C6E !important; color: #fff !important; border: none !important;
  border-radius: 12px !important; margin: 8px 10px 12px !important;
  font-weight: 700 !important; font-size: .8rem !important;
  display: block !important; text-align: center !important;
  padding: 10px 8px !important;
}
body.tax-product_cat ul.products li.product .button:hover,
body.post-type-archive-product ul.products li.product .button:hover {
  background: #08695E !important;
}
body.tax-product_cat .woocommerce-pagination,
body.post-type-archive-product .woocommerce-pagination {
  margin: 20px 0 !important; text-align: center !important;
}
body.tax-product_cat .woocommerce-pagination .page-numbers,
body.post-type-archive-product .woocommerce-pagination .page-numbers {
  display: inline-flex !important; gap: 6px !important; list-style: none !important;
  margin: 0 !important; padding: 0 !important; justify-content: center !important;
}
body.tax-product_cat .woocommerce-pagination .page-numbers li,
body.post-type-archive-product .woocommerce-pagination .page-numbers li {
  margin: 0 !important;
}
body.tax-product_cat .woocommerce-pagination .page-numbers a,
body.tax-product_cat .woocommerce-pagination .page-numbers span,
body.post-type-archive-product .woocommerce-pagination .page-numbers a,
body.post-type-archive-product .woocommerce-pagination .page-numbers span {
  display: inline-flex !important; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; border-radius: 12px;
  border: 1.5px solid #DDE9E6; background: #fff; color: #17312D;
  text-decoration: none; font-weight: 700;
}
body.tax-product_cat .woocommerce-pagination .page-numbers .current,
body.post-type-archive-product .woocommerce-pagination .page-numbers .current {
  background: #0A7C6E !important; color: #fff !important; border-color: #0A7C6E !important;
}

/* ============================================================
   Single Product — premium food marketplace (mobile-first)
   ============================================================ */
.akm-pd {
  --pd-p: #0A7C6E;
  --pd-ph: #08695E;
  --pd-accent: #F59E0B;
  --pd-bg: #F7F9F8;
  --pd-card: #fff;
  --pd-text: #17312D;
  --pd-muted: #6B7F7A;
  --pd-border: #DDE9E6;
  --pd-radius: 16px;
  --pd-sticky-h: 72px;
  font-family: "Noto Sans Bengali", system-ui, -apple-system, sans-serif;
  color: var(--pd-text);
  background: var(--pd-bg);
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: calc(var(--pd-sticky-h) + 12px); /* nav clearance via #akc-mnav-spacer */
  -webkit-font-smoothing: antialiased;
}
.akm-pd *, .akm-pd *::before, .akm-pd *::after { box-sizing: border-box; }

/* Hide heavy Elementor/theme product headers on product pages when AKM widget present */
body.single-product .akm-pd ~ *,
body.single-product .elementor-page-title,
body.single-product .page-header .entry-title,
body.single-product .woocommerce-products-header {
  /* do not force-hide global theme; scoped overrides below */
}
body.single-product:has(.akm-pd) .entry-header,
body.single-product:has(.akm-pd) .page-header {
  display: none !important;
}

/* Top bar */
.akm-pd-topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 12px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pd-border);
}
.akm-pd-back, .akm-pd-cart-link {
  width: 40px; height: 40px; border: 0; border-radius: 12px;
  background: var(--pd-bg); color: var(--pd-text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none; position: relative;
}
.akm-pd-top-title { font-weight: 700; font-size: .95rem; color: var(--pd-text); }
.akm-pd-cart-badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px;
  background: var(--pd-accent); color: #1a1a1a; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.akm-pd-body { padding: 0 0 16px; }

/* Gallery */
.akm-pd-gallery { padding: 12px 16px 0; }
.akm-pd-main-wrap {
  position: relative; aspect-ratio: 1 / 1; width: 100%;
  border-radius: 20px; overflow: hidden;
  background: #EEF3F1; border: 1px solid var(--pd-border);
}
.akm-pd-main-img,
.akm-pd-main-wrap img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; display: block; border-radius: 0 !important;
}
.akm-pd-sale-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--pd-accent); color: #1a1a1a;
  font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px;
}
.akm-pd-thumbs {
  display: flex; gap: 8px; margin-top: 10px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.akm-pd-thumb {
  width: 56px !important; height: 56px !important; flex-shrink: 0;
  object-fit: cover !important; border-radius: 12px !important;
  border: 2px solid transparent !important; cursor: pointer;
  opacity: .75; transition: opacity .15s, border-color .15s;
}
.akm-pd-thumb.is-active { border-color: var(--pd-p) !important; opacity: 1; }

/* Summary */
.akm-pd-summary { padding: 14px 16px 0; }
.akm-pd-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.akm-pd-cat {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: #E6F4F1; color: var(--pd-p); text-decoration: none;
}
.akm-pd-title {
  margin: 0 0 8px; font-size: 1.35rem; font-weight: 800;
  line-height: 1.3; color: var(--pd-text); letter-spacing: -0.01em;
}
.akm-pd-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px;
}
.akm-pd-rating { display: flex; align-items: center; gap: 4px; font-size: .85rem; }
.akm-pd-rating .star-rating { float: none; margin: 0; }
.akm-pd-rating-count { color: var(--pd-muted); font-size: .78rem; }
.akm-pd-stock {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.akm-pd-stock.is-in { background: #d1fae5; color: #065f46; }
.akm-pd-stock.is-out { background: #fee2e2; color: #991b1b; }

.akm-pd-price {
  margin: 0 0 14px; font-size: 1.6rem; font-weight: 800; color: var(--pd-p);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.akm-pd-price del {
  font-size: 1rem; font-weight: 500; color: var(--pd-muted);
}
.akm-pd-price ins { text-decoration: none; color: var(--pd-p); }

.akm-pd-sec-label {
  margin: 0 0 6px; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--pd-p);
}
.akm-pd-short { font-size: .9rem; color: var(--pd-muted); line-height: 1.55; }
.akm-pd-short.is-clamp {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.akm-pd-short.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.akm-pd-more {
  border: 0; background: none; color: var(--pd-p); font: inherit;
  font-size: .82rem; font-weight: 700; padding: 6px 0; cursor: pointer;
}

/* Trust row */
.akm-pd-trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 14px 0; padding: 12px; background: var(--pd-card);
  border: 1px solid var(--pd-border); border-radius: var(--pd-radius);
}
.akm-pd-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; color: var(--pd-text);
}
.akm-pd-trust-ico { font-size: 1rem; }

/* Store */
.akm-pd-store {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; margin: 0 0 14px;
  background: var(--pd-card); border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
}
.akm-pd-store-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--pd-p); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.akm-pd-store-label { display: block; font-size: 11px; color: var(--pd-muted); }
.akm-pd-store-name { font-size: .95rem; color: var(--pd-text); }
.akm-pd-store-link {
  margin-left: auto; font-size: .82rem; font-weight: 700;
  color: var(--pd-p); text-decoration: none; white-space: nowrap;
}

/* Inline cart (desktop / form) */
.akm-pd-cart-inline {
  margin: 0 0 16px; padding: 14px;
  background: var(--pd-card); border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
}
.akm-pd-cart-inline form.cart {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.akm-pd-cart-inline .quantity {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--pd-border); border-radius: 999px;
  overflow: hidden; background: #fff; margin: 0 !important;
}
.akm-pd-cart-inline .quantity .qty {
  width: 48px !important; min-height: 44px; border: 0 !important;
  text-align: center; font-weight: 700; font-size: 1rem;
  background: transparent; box-shadow: none !important;
  -moz-appearance: textfield;
}
.akm-pd-cart-inline .quantity .qty::-webkit-outer-spin-button,
.akm-pd-cart-inline .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.akm-pd-cart-inline .single_add_to_cart_button,
.akm-pd-cart-inline button.button.alt,
.akm-pd-cart-inline button.button {
  flex: 1; min-height: 48px !important;
  background: var(--pd-p) !important; color: #fff !important;
  border: none !important; border-radius: 14px !important;
  font-weight: 700 !important; font-size: .95rem !important;
  padding: 12px 20px !important; cursor: pointer;
}
.akm-pd-cart-inline .single_add_to_cart_button:hover {
  background: var(--pd-ph) !important;
}
/* Hide WC default +/- if theme adds them awkwardly */
.akm-pd-cart-inline .minus, .akm-pd-cart-inline .plus {
  width: 40px; height: 44px; border: 0; background: var(--pd-bg);
  font-size: 1.1rem; font-weight: 700; color: var(--pd-p); cursor: pointer;
}

/* Accordion */
.akm-pd-acc {
  background: var(--pd-card); border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius); margin-bottom: 10px; overflow: hidden;
}
.akm-pd-acc summary {
  list-style: none; cursor: pointer; padding: 14px 16px;
  font-weight: 700; font-size: .9rem; color: var(--pd-text);
  display: flex; align-items: center; justify-content: space-between;
}
.akm-pd-acc summary::-webkit-details-marker { display: none; }
.akm-pd-acc summary::after {
  content: '⌄'; font-size: 1rem; color: var(--pd-muted);
  transition: transform .2s;
}
.akm-pd-acc[open] summary::after { transform: rotate(180deg); }
.akm-pd-acc-body { padding: 0 16px 14px; font-size: .88rem; color: var(--pd-muted); line-height: 1.55; }
.akm-pd-dl { margin: 0; }
.akm-pd-dl-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--pd-border);
}
.akm-pd-dl-row:last-child { border-bottom: 0; }
.akm-pd-dl-row dt { color: var(--pd-muted); font-weight: 500; }
.akm-pd-dl-row dd { margin: 0; color: var(--pd-text); font-weight: 600; text-align: right; }
.akm-pd-desc p:first-child { margin-top: 0; }

/* Related */
.akm-pd-related { padding: 8px 16px 24px; }
.akm-pd-related-title {
  margin: 8px 0 12px; font-size: 1.05rem; font-weight: 800; color: var(--pd-text);
}
.akm-pd-related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.akm-pd-rel-card {
  background: var(--pd-card); border: 1px solid var(--pd-border);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(23,49,45,.04);
}
.akm-pd-rel-media {
  display: block; aspect-ratio: 1 / 1; background: #EEF3F1; overflow: hidden;
}
.akm-pd-rel-media img {
  width: 100% !important; height: 100% !important; object-fit: cover !important; display: block;
}
.akm-pd-rel-body { padding: 10px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.akm-pd-rel-name { margin: 0; font-size: .82rem; line-height: 1.3; font-weight: 700; }
.akm-pd-rel-name a { color: var(--pd-text); text-decoration: none; }
.akm-pd-rel-price { font-weight: 800; color: var(--pd-p); font-size: .88rem; }
.akm-pd-rel-price del { color: var(--pd-muted); font-weight: 500; font-size: .75rem; }
.akm-pd-rel-btn {
  margin-top: auto; display: block; text-align: center; text-decoration: none !important;
  background: var(--pd-p); color: #fff !important; font-weight: 700; font-size: .78rem;
  padding: 8px; border-radius: 10px;
}

/* Sticky purchase bar (mobile) */
.akm-pd-sticky {
  position: fixed; left: 0; right: 0; z-index: 10030;
  bottom: var(--ak-mnav-total-height, 0px);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--pd-border);
  box-shadow: 0 -6px 24px rgba(0,0,0,.06);
  max-width: 1200px; margin: 0 auto;
}
.akm-pd-sticky-price {
  font-weight: 800; color: var(--pd-p); font-size: 1rem; white-space: nowrap;
  min-width: 0; flex-shrink: 1;
}
.akm-pd-sticky-price del { display: none; }
.akm-pd-sticky-qty {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--pd-border); border-radius: 999px; overflow: hidden;
  flex-shrink: 0;
}
.akm-pd-qty-btn {
  width: 36px; height: 36px; border: 0; background: var(--pd-bg);
  color: var(--pd-p); font-size: 1.15rem; font-weight: 700; cursor: pointer;
}
.akm-pd-qty-val {
  min-width: 28px; text-align: center; font-weight: 700; font-size: .95rem;
}
.akm-pd-sticky-atc {
  flex: 1; min-height: 48px; border: 0; border-radius: 14px;
  background: var(--pd-p); color: #fff; font: inherit; font-weight: 800;
  font-size: .88rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap; padding: 0 12px;
}
.akm-pd-sticky-atc:active { transform: scale(.98); }
.akm-pd-sticky-atc:disabled { opacity: .6; }

/* Toast */
.akm-pd-toast {
  position: fixed; left: 50%; z-index: 10080;
  bottom: calc(var(--ak-mnav-total-height, 0px) + var(--pd-sticky-h) + 12px);
  transform: translateX(-50%) translateY(10px);
  max-width: min(340px, calc(100% - 24px));
  padding: 12px 18px; border-radius: 14px;
  background: #17312D; color: #fff; font-size: .88rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.akm-pd-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.akm-pd-toast[hidden] { display: none; }

.akm-empty {
  padding: 16px; text-align: center; color: #6B7F7A;
  background: #F4F8F7; border-radius: 12px;
}

/* Desktop */
@media (min-width: 900px) {
  .akm-pd {
    padding: 0 20px 40px;
    padding-bottom: 40px;
  }
  .akm-pd-topbar {
    border-radius: 0 0 12px 12px; margin-bottom: 8px;
  }
  .akm-pd-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px 32px;
    align-items: start;
    padding: 12px 0 0;
  }
  .akm-pd-gallery { padding: 0; position: sticky; top: 64px; }
  .akm-pd-main-wrap { border-radius: 24px; }
  .akm-pd-summary { padding: 0; }
  .akm-pd-title { font-size: 1.75rem; }
  .akm-pd-price { font-size: 1.85rem; }
  .akm-pd-related { grid-column: 1 / -1; padding: 8px 0 0; }
  .akm-pd-related-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .akm-pd-sticky { display: none; }
  .akm-pd-cart-inline { display: block; }
}
@media (max-width: 899px) {
  /* On mobile, primary CTA is sticky bar — soften duplicate inline form */
  .akm-pd-cart-inline {
    opacity: .95;
  }
  .akm-pd-cart-inline .single_add_to_cart_button {
    /* keep form functional for variations etc. */
  }
}
@media (min-width: 600px) and (max-width: 899px) {
  .akm-pd-related-grid { grid-template-columns: repeat(3, 1fr); }
}
