:root {
  --edpg-green: #0c8f2e;
  --edpg-green-dark: #087525;
  --edpg-green-soft: #effbef;
  --edpg-blue: #2878e8;
  --edpg-ink: #111827;
  --edpg-muted: #64748b;
  --edpg-line: #e5e7eb;
  --edpg-soft: #f8fafc;
  --edpg-white: #ffffff;
  --edpg-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

body.edpg-product-grid-active,
body.edpg-product-grid-active button,
body.edpg-product-grid-active input {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.edpg-product-grid-active {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.edpg-product-grid-active .hero-section,
body.edpg-product-grid-active .ct-page-title {
  display: none !important;
}

body.edpg-product-grid-active .woocommerce-result-count {
  display: none !important;
}

body.edpg-product-grid-active .woo-listing-top {
  flex-wrap: wrap;
}

body.edpg-product-grid-active .woocommerce-ordering {
  margin: 0 !important;
}

body.edpg-product-grid-active #main,
body.edpg-product-grid-active .site-main {
  padding-top: 0 !important;
}

body.edpg-product-grid-active .site-main > article,
body.edpg-product-grid-active .site-main > .ct-container-full,
body.edpg-product-grid-active .site-main > .ct-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.edpg-compact-category-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  flex: 0 0 100%;
  gap: 13px;
  width: 100%;
  margin: 12px 0 6px;
  padding: 10px 12px;
  border: 1px solid var(--edpg-line);
  border-radius: 14px;
  background: var(--edpg-white);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.edpg-category-back {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  color: var(--edpg-ink);
  background: var(--edpg-soft);
  text-decoration: none !important;
}

.edpg-category-back:hover {
  border-color: #a7d9ad;
  color: var(--edpg-green);
  background: var(--edpg-green-soft);
}

.edpg-category-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.edpg-category-heading-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.edpg-compact-breadcrumb {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 6px;
  color: #94a3b8;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.edpg-compact-breadcrumb a,
.edpg-compact-breadcrumb strong {
  overflow: hidden;
  color: var(--edpg-muted);
  text-decoration: none !important;
  text-overflow: ellipsis;
  font-weight: 600;
}

.edpg-compact-breadcrumb a:hover {
  color: var(--edpg-green);
}

.edpg-compact-category-header h1 {
  overflow: hidden;
  margin: 0 !important;
  color: var(--edpg-ink);
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.edpg-category-product-count {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--edpg-green-dark);
  background: var(--edpg-green-soft);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.edpg-category-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.edpg-category-ordering,
.edpg-category-ordering .woocommerce-ordering {
  float: none !important;
  width: auto !important;
}

.edpg-category-ordering select {
  width: 164px;
  height: 36px;
  margin: 0 !important;
  padding: 0 32px 0 11px;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  color: var(--edpg-ink);
  background-color: var(--edpg-white);
  font-size: 11px;
  font-weight: 650;
}

.edpg-grid-layout,
.edpg-grid-layout * ,
.edpg-cart-bar,
.edpg-cart-bar *,
.edpg-options-sheet,
.edpg-options-sheet *,
.edpg-toast {
  box-sizing: border-box;
}

.edpg-grid-layout {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  clear: both;
  width: 100%;
  margin-top: 16px;
}

.edpg-category-rail {
  position: sticky;
  top: 18px;
  display: grid;
  align-content: start;
  gap: 7px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--edpg-line);
  border-radius: 16px;
  background: var(--edpg-white);
  scrollbar-width: thin;
}

.admin-bar .edpg-category-rail {
  top: 50px;
  max-height: calc(100vh - 68px);
}

.edpg-category-tile {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #475569;
  background: var(--edpg-white);
  text-decoration: none !important;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.edpg-category-tile:hover,
.edpg-category-tile.is-active {
  border-color: #a7d9ad;
  color: var(--edpg-green-dark);
  background: var(--edpg-green-soft);
}

.edpg-category-tile.is-active {
  box-shadow: inset 3px 0 0 var(--edpg-green);
}

.edpg-category-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: var(--edpg-green);
  background: var(--edpg-soft);
}

.edpg-category-thumb img {
  width: 100%;
  height: 100%;
  padding: 3px;
  object-fit: contain;
}

.edpg-category-thumb svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.edpg-category-thumb b {
  font-size: 18px;
  font-weight: 850;
}

.edpg-category-tile > strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.edpg-product-grid-active .edpg-grid-layout ul.products,
body.edpg-product-grid-active .woocommerce .edpg-grid-layout ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: stretch;
  gap: 13px !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.edpg-product-grid-active ul.products::before,
body.edpg-product-grid-active ul.products::after {
  display: none !important;
}

body.edpg-product-grid-active ul.products li.product,
body.edpg-product-grid-active .woocommerce ul.products li.product {
  position: relative;
  display: flex !important;
  flex-direction: column;
  float: none !important;
  overflow: hidden;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 8px 8px 10px !important;
  border: 1px solid #e7ebf0;
  border-radius: 13px;
  background: var(--edpg-white);
  box-shadow: 0 2px 9px rgba(15, 23, 42, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

body.edpg-product-grid-active ul.products li.product:hover {
  border-color: #cad3df;
  box-shadow: var(--edpg-shadow);
  transform: translateY(-2px);
}

body.edpg-product-grid-active ul.products li.product .product-entry-wrapper {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  gap: 0 !important;
}

body.edpg-product-grid-active ul.products li.product > .woocommerce-loop-product__link {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  color: var(--edpg-ink);
  text-decoration: none !important;
}

body.edpg-product-grid-active ul.products li.product img,
body.edpg-product-grid-active ul.products li.product .ct-media-container img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 0 7px !important;
  border-radius: 11px;
  background: var(--edpg-soft);
  object-fit: contain;
  transform: scale(1.08);
  transform-origin: center;
}

body.edpg-product-grid-active ul.products li.product .ct-media-container {
  overflow: hidden;
  width: 100%;
  margin-bottom: 7px;
  border-radius: 11px;
  background: var(--edpg-soft);
}

.edpg-delivery-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 3px;
  margin: 0 0 5px;
  padding: 3px 5px;
  border-radius: 5px;
  color: #334155;
  background: #f1f5f9;
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.15px;
}

.edpg-delivery-badge svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__title,
body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__link h2 {
  display: block;
  overflow: visible;
  min-height: 0;
  margin: 0 0 5px !important;
  padding: 0 !important;
  color: var(--edpg-ink);
  font-size: 13px !important;
  font-weight: 720 !important;
  line-height: 1.34 !important;
  letter-spacing: -0.1px;
  -webkit-box-orient: initial;
  -webkit-line-clamp: initial;
}

body.edpg-product-grid-active ul.products li.product .star-rating {
  display: none !important;
}

body.edpg-product-grid-active ul.products li.product .product-categories,
body.edpg-product-grid-active ul.products li.product .ct-product-categories,
body.edpg-product-grid-active ul.products li.product .product-category,
body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__category,
body.edpg-product-grid-active ul.products li.product .product-brands,
body.edpg-product-grid-active ul.products li.product .entry-meta,
body.edpg-product-grid-active ul.products li.product .product-short-description,
body.edpg-product-grid-active ul.products li.product .woocommerce-product-details__short-description,
body.edpg-product-grid-active ul.products li.product .out-of-stock-badge,
body.edpg-product-grid-active ul.products li.product [class*="out-of-stock-badge"],
body.edpg-product-grid-active ul.products li.product .ct-out-of-stock,
body.edpg-product-grid-active ul.products li.product .stock-out,
body.edpg-product-grid-active ul.products li.product .soldout,
body.edpg-product-grid-active ul.products li.product .sold-out,
body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__link .out-of-stock {
  display: none !important;
}

body.edpg-product-grid-active ul.products li.product .price {
  display: block !important;
  min-height: 39px;
  margin: 5px 0 0 !important;
  padding: 6px 102px 0 0;
  color: var(--edpg-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.25;
}

body.edpg-product-grid-active ul.products li.product .price del {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
  opacity: 1;
}

body.edpg-product-grid-active ul.products li.product .price ins {
  color: var(--edpg-ink);
  text-decoration: none;
}

.edpg-sale-badge,
body.edpg-product-grid-active ul.products li.product .onsale.edpg-sale-badge {
  position: absolute !important;
  top: 9px !important;
  right: auto !important;
  left: 9px !important;
  z-index: 4;
  display: grid !important;
  place-items: center;
  min-width: 36px !important;
  min-height: 39px !important;
  margin: 0 !important;
  padding: 4px 5px !important;
  border: 0 !important;
  border-radius: 7px 7px 7px 2px !important;
  color: var(--edpg-white) !important;
  background: var(--edpg-blue) !important;
  box-shadow: 0 4px 12px rgba(40, 120, 232, 0.25);
  line-height: 1 !important;
}

.edpg-sale-badge strong {
  font-size: 11px;
  font-weight: 900;
}

.edpg-sale-badge small {
  font-size: 8px;
  font-weight: 850;
}

.edpg-purchase-control,
.edpg-view-product {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 5;
  width: 94px;
}

.edpg-add-button,
.edpg-view-product {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 5px 8px;
  border: 1.5px solid var(--edpg-green) !important;
  border-radius: 8px !important;
  color: var(--edpg-green) !important;
  background: var(--edpg-white) !important;
  box-shadow: none !important;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  transition: color 0.14s ease, background 0.14s ease;
}

.edpg-add-button:hover,
.edpg-view-product:hover {
  color: var(--edpg-white) !important;
  background: var(--edpg-green) !important;
}

.edpg-add-button:disabled {
  border-color: #cbd5e1 !important;
  color: #94a3b8 !important;
  background: #f8fafc !important;
  cursor: not-allowed;
}

.edpg-purchase-control.is-disabled {
  width: 94px;
}

.edpg-purchase-control.is-disabled .edpg-add-button {
  font-size: 9px !important;
}

.edpg-purchase-control.is-variable .edpg-add-button {
  display: grid;
  gap: 2px;
}

.edpg-purchase-control.is-variable .edpg-add-button small {
  color: inherit;
  font-size: 8px;
  font-weight: 650;
}

.edpg-quantity-stepper {
  display: none;
  grid-template-columns: 31px minmax(25px, 1fr) 31px;
  align-items: center;
  overflow: hidden;
  min-height: 38px;
  border-radius: 8px;
  color: var(--edpg-white);
  background: var(--edpg-green);
  box-shadow: 0 5px 13px rgba(12, 143, 46, 0.22);
}

.edpg-purchase-control.has-quantity .edpg-add-button {
  display: none;
}

.edpg-purchase-control.has-quantity .edpg-quantity-stepper {
  display: grid;
}

.edpg-quantity-stepper button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 38px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--edpg-white) !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer;
  font-size: 21px !important;
  font-weight: 500 !important;
}

.edpg-quantity-stepper button:hover {
  background: rgba(255, 255, 255, 0.13) !important;
}

.edpg-quantity-stepper button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.edpg-quantity-stepper strong {
  text-align: center;
  font-size: 12px;
  font-weight: 850;
}

.edpg-purchase-control.is-loading {
  pointer-events: none;
  opacity: 0.65;
}

.edpg-cart-bar {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 11950;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  visibility: hidden;
  width: min(390px, calc(100% - 28px));
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  opacity: 0;
  color: var(--edpg-white);
  background: var(--edpg-green);
  box-shadow: 0 16px 38px rgba(3, 78, 30, 0.3);
  transform: translateY(18px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.edpg-cart-bar.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.edpg-cart-bar-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.17);
}

.edpg-cart-bar-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.edpg-cart-bar-copy {
  display: grid;
  gap: 2px;
}

.edpg-cart-bar-copy strong {
  color: var(--edpg-white);
  font-size: 12px;
  font-weight: 800;
}

.edpg-cart-bar-copy small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
}

.edpg-cart-bar-copy small .woocommerce-Price-amount {
  color: inherit;
}

.edpg-cart-bar > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--edpg-white) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.edpg-cart-bar > a span {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.edpg-options-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(3px);
}

.edpg-options-overlay[hidden],
.edpg-options-sheet[hidden],
.edpg-toast[hidden] {
  display: none !important;
}

.edpg-options-sheet {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 12010;
  overflow: hidden;
  width: min(550px, calc(100% - 28px));
  max-height: min(720px, calc(100dvh - 30px));
  border-radius: 20px;
  background: var(--edpg-soft);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
  transform: translate(-50%, -50%);
}

.edpg-options-sheet > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--edpg-line);
  background: var(--edpg-white);
}

.edpg-options-sheet header small {
  color: var(--edpg-green);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.edpg-options-sheet header h2 {
  margin: 3px 0 0;
  color: var(--edpg-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.edpg-options-sheet header > button {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--edpg-white);
  background: #1f2937;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.edpg-options-list {
  display: grid;
  gap: 9px;
  max-height: calc(min(720px, 100dvh - 30px) - 94px);
  overflow-y: auto;
  padding: 12px;
}

.edpg-options-loading,
.edpg-options-error {
  padding: 24px 12px;
  color: var(--edpg-muted);
  text-align: center;
  font-size: 13px;
}

.edpg-option-row {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 94px;
  align-items: center;
  gap: 11px;
  min-height: 82px;
  padding: 8px;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  background: var(--edpg-white);
}

.edpg-option-row > img {
  width: 66px;
  height: 66px;
  border-radius: 10px;
  background: var(--edpg-soft);
  object-fit: contain;
}

.edpg-option-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.edpg-option-copy strong {
  color: var(--edpg-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.edpg-option-copy span {
  color: var(--edpg-ink);
  font-size: 12px;
  font-weight: 800;
}

.edpg-option-copy span del {
  color: #94a3b8;
  font-size: 10px;
}

.edpg-option-row .edpg-purchase-control {
  position: static;
  width: 94px;
}

.edpg-toast {
  position: fixed;
  bottom: 98px;
  left: 50%;
  z-index: 12050;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--edpg-white);
  background: #172033;
  box-shadow: var(--edpg-shadow);
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

body.edpg-options-open {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .edpg-grid-layout {
    grid-template-columns: 165px minmax(0, 1fr);
    gap: 13px;
  }

  body.edpg-product-grid-active .edpg-grid-layout ul.products,
  body.edpg-product-grid-active .woocommerce .edpg-grid-layout ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 850px) {
  .edpg-grid-layout {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 10px;
  }

  .edpg-category-tile {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
    min-height: 52px;
  }

  .edpg-category-thumb {
    width: 40px;
    height: 40px;
  }

  .edpg-category-tile > strong {
    font-size: 10px;
  }

  body.edpg-product-grid-active .edpg-grid-layout ul.products,
  body.edpg-product-grid-active .woocommerce .edpg-grid-layout ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
}

@media (max-width: 700px) {
  body.edpg-product-grid-active .edpg-grid-layout ul.products,
  body.edpg-product-grid-active .woocommerce .edpg-grid-layout ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  body.edpg-product-grid-active.edpg-has-cart {
    padding-bottom: 140px;
  }

  .edpg-compact-category-header {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    margin: 5px 0 3px;
    padding: 7px 8px;
    border-radius: 11px;
  }

  .edpg-category-back {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .edpg-compact-breadcrumb {
    display: none;
  }

  .edpg-compact-category-header h1 {
    font-size: 16px !important;
    letter-spacing: -0.2px;
  }

  .edpg-category-product-count {
    display: none;
  }

  .edpg-category-header-actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .edpg-category-ordering,
  .edpg-category-ordering .woocommerce-ordering,
  .edpg-category-ordering select {
    width: 100% !important;
  }

  .edpg-category-ordering select {
    height: 34px;
    font-size: 10px;
  }

  .edpg-grid-layout {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 6px;
    margin-top: 7px;
  }

  .edpg-category-rail {
    top: 6px;
    gap: 5px;
    max-height: calc(100dvh - 82px);
    padding: 4px;
    border: 0;
    border-right: 1px solid var(--edpg-line);
    border-radius: 0;
    background: #fbfcfd;
  }

  .admin-bar .edpg-category-rail {
    top: 6px;
    max-height: calc(100dvh - 82px);
  }

  .edpg-category-tile {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    min-height: 70px;
    padding: 4px 2px;
    border-radius: 9px;
    text-align: center;
  }

  .edpg-category-tile.is-active {
    box-shadow: inset 3px 0 0 var(--edpg-green);
  }

  .edpg-category-thumb {
    width: 44px;
    height: 44px;
    border-radius: 9px;
  }

  .edpg-category-tile > strong {
    width: 100%;
    font-size: 9px;
    line-height: 1.2;
  }

  body.edpg-product-grid-active .edpg-grid-layout ul.products,
  body.edpg-product-grid-active .woocommerce .edpg-grid-layout ul.products {
    gap: 7px !important;
  }

  body.edpg-product-grid-active ul.products li.product,
  body.edpg-product-grid-active .woocommerce ul.products li.product {
    padding: 6px 6px 8px !important;
    border-radius: 10px;
  }

  body.edpg-product-grid-active ul.products li.product:hover {
    transform: none;
  }

  body.edpg-product-grid-active ul.products li.product img,
  body.edpg-product-grid-active ul.products li.product .ct-media-container img {
    border-radius: 8px;
    transform: scale(1.12);
  }

  body.edpg-product-grid-active ul.products li.product .ct-media-container {
    border-radius: 8px;
  }

  .edpg-delivery-badge {
    margin-bottom: 5px;
    padding: 3px 4px;
    font-size: 7px;
  }

  body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__title,
  body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__link h2 {
    min-height: 0;
    margin-bottom: 4px !important;
    font-size: 11px !important;
    line-height: 1.32 !important;
  }

  body.edpg-product-grid-active ul.products li.product .price {
    min-height: 36px;
    margin-top: 4px !important;
    padding: 5px 72px 0 0;
    font-size: 12px !important;
  }

  body.edpg-product-grid-active ul.products li.product .price del {
    font-size: 8px;
  }

  .edpg-purchase-control,
  .edpg-view-product {
    right: 6px;
    bottom: 8px;
    width: 68px;
  }

  .edpg-purchase-control.is-disabled {
    width: 68px;
  }

  .edpg-add-button,
  .edpg-view-product {
    min-height: 34px;
    padding: 4px;
    border-radius: 7px !important;
    font-size: 10px !important;
  }

  .edpg-purchase-control.is-disabled .edpg-add-button {
    font-size: 7px !important;
  }

  .edpg-purchase-control.is-variable .edpg-add-button small {
    font-size: 7px;
  }

  .edpg-quantity-stepper {
    grid-template-columns: 22px minmax(22px, 1fr) 22px;
    min-height: 34px;
    border-radius: 7px;
  }

  .edpg-quantity-stepper button {
    height: 34px;
    font-size: 17px !important;
  }

  .edpg-quantity-stepper strong {
    font-size: 10px;
  }

  .edpg-sale-badge,
  body.edpg-product-grid-active ul.products li.product .onsale.edpg-sale-badge {
    top: 6px !important;
    left: 6px !important;
    min-width: 31px !important;
    min-height: 34px !important;
    padding: 3px 4px !important;
  }

  .edpg-sale-badge strong {
    font-size: 9px;
  }

  .edpg-sale-badge small {
    font-size: 7px;
  }

  .edpg-cart-bar {
    right: 9px;
    bottom: 76px;
    left: 9px;
    width: auto;
    min-height: 58px;
    padding: 7px 9px;
    border-radius: 13px;
  }

  .edpg-cart-bar-icon {
    width: 40px;
    height: 40px;
  }

  .edpg-cart-bar-copy strong,
  .edpg-cart-bar-copy small {
    font-size: 11px;
  }

  .edpg-cart-bar > a {
    font-size: 13px;
  }

  .edpg-options-sheet {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(82dvh, 760px);
    border-radius: 20px 20px 0 0;
    transform: none;
  }

  .edpg-options-sheet > header {
    padding: 15px;
  }

  .edpg-options-sheet header h2 {
    font-size: 16px;
  }

  .edpg-options-list {
    max-height: calc(min(82dvh, 760px) - 82px);
    padding: 9px;
  }

  .edpg-option-row {
    grid-template-columns: 58px minmax(0, 1fr) 82px;
    min-height: 76px;
    gap: 8px;
    padding: 7px;
  }

  .edpg-option-row > img {
    width: 58px;
    height: 58px;
  }

  .edpg-option-row .edpg-purchase-control {
    width: 82px;
  }

  .edpg-option-copy strong,
  .edpg-option-copy span {
    font-size: 11px;
  }

  .edpg-toast {
    bottom: 145px;
  }
}

@media (max-width: 380px) {
  .edpg-grid-layout {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 5px;
  }

  .edpg-category-thumb {
    width: 44px;
    height: 44px;
  }

  .edpg-category-tile {
    min-height: 72px;
  }

  body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__title,
  body.edpg-product-grid-active ul.products li.product .woocommerce-loop-product__link h2 {
    font-size: 10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edpg-category-tile,
  body.edpg-product-grid-active ul.products li.product,
  .edpg-add-button,
  .edpg-cart-bar {
    transition: none;
  }
}
