/*
 * Flareo Studio – WooCommerce Design Integration
 * Overrides WooCommerce default styles to match Flareo's aesthetic.
 */

/* ============================================================
   WC GLOBAL RESETS
   ============================================================ */
.woocommerce,
.woocommerce-page {
  color: var(--flr-fg);
}

.woocommerce *,
.woocommerce-page * {
  box-sizing: border-box;
}

/* Remove WC default asterisks, breadcrumb line, floats */
.woocommerce .woocommerce-breadcrumb { color: var(--flr-muted-fg); font-size: 0.8125rem; margin-bottom: 2rem; }
.woocommerce .woocommerce-breadcrumb a { color: var(--flr-muted-fg); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--flr-fg); }

/* ============================================================
   SHOP / ARCHIVE PAGE
   ============================================================ */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  color: var(--flr-muted-fg);
  font-size: 0.875rem;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border: 1px solid oklch(1 0 0 / 0.08);
  color: var(--flr-fg);
  border-radius: var(--flr-radius-full);
  padding: 0.5rem 2rem 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--flr-font);
  appearance: none;
  cursor: pointer;
}

/* Product grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.25rem !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

@media (min-width: 640px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Product card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--flr-radius-2xl) !important;
  overflow: hidden !important;
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5)) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border: 1px solid oklch(1 0 0 / 0.1) !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
}

/* Product image container */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  object-fit: cover !important;
  transition: transform 0.7s ease !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }

/* Product info */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  padding: 1rem 1rem 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--flr-fg) !important;
  font-family: var(--flr-font) !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  padding: 0.25rem 1rem !important;
  color: var(--flr-fg) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce-page ul.products li.product .price .woocommerce-Price-amount {
  background: linear-gradient(135deg, oklch(0.78 0.22 305), oklch(0.78 0.2 240));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del {
  color: var(--flr-muted-fg) !important;
  font-size: 0.8125rem !important;
}

/* Add to cart button on loop */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  display: block !important;
  margin: 0.75rem 1rem 1rem !important;
  text-align: center !important;
  width: calc(100% - 2rem) !important;
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary)) !important;
  color: var(--flr-primary-fg) !important;
  border-radius: var(--flr-radius-full) !important;
  padding: 0.6875rem 1rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 0 15px -4px oklch(0.62 0.27 305 / 0.4);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px -4px oklch(0.62 0.27 305 / 0.6);
}

/* Sale badge */
.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.woocommerce span.onsale {
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-neon-pink)) !important;
  color: white !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  border-radius: var(--flr-radius-full) !important;
  padding: 0.25rem 0.75rem !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.5 !important;
}

/* ============================================================
   SINGLE PRODUCT PAGE
   ============================================================ */

/*
 * div.product is NOT purely a 2-column container — WooCommerce core
 * outputs MORE than just the gallery + summary as direct children:
 * after .summary closes, woocommerce_after_single_product_summary
 * fires woocommerce_output_product_data_tabs (tabs), woocommerce_upsell_display
 * (upsells), and woocommerce_output_related_products (related products)
 * — all as additional direct-child siblings of div.product, AFTER
 * .summary. A plain `grid-template-columns: 1fr 1fr` with no explicit
 * placement lets the grid auto-flow algorithm continue dropping these
 * full-width sections into the 2-column track, visually breaking or
 * hiding them. Explicit grid-column assignments fix this.
 */
.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: max-content;
  gap: 3rem;
  align-items: start;
}

/* Row 1: gallery (col 1) + summary (col 2) */
.woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1 / 2;
  grid-row: 1;
}

.woocommerce div.product > .summary.entry-summary {
  grid-column: 2 / 3;
  grid-row: 1;
}

/* Row 2+: everything else WooCommerce core outputs as a direct child of
   div.product after the summary closes — tabs, upsells, related products,
   and any third-party plugin output hooked to woocommerce_after_single_product_summary —
   must span the FULL grid width, not collapse into column 1 or 2. */
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .upsells,
.woocommerce div.product > .related,
.woocommerce div.product > .woocommerce-message,
.woocommerce div.product > .woocommerce-Tabs-panel {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product > .summary.entry-summary {
    grid-column: 1 / -1;
  }
}

.woocommerce div.product .woocommerce-product-gallery {
  border-radius: var(--flr-radius-xl);
  overflow: hidden;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--flr-fg) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.woocommerce div.product p.price .woocommerce-Price-amount {
  background: linear-gradient(135deg, oklch(0.78 0.22 305), oklch(0.78 0.2 240));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--flr-muted-fg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ── ADD TO CART FORM (simple + variable products) ─────────── */
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.woocommerce div.product form.cart .quantity {
  margin: 0;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button[type="submit"] {
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary)) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--flr-radius-full) !important;
  padding: 0.875rem 2rem !important;
  font-family: var(--flr-font) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  box-shadow: 0 0 20px -4px oklch(0.62 0.27 305 / 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart button[type="submit"]:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px -2px oklch(0.62 0.27 305 / 0.6);
}

.woocommerce div.product form.cart .button.disabled,
.woocommerce div.product form.cart button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Variable product dropdowns */
.woocommerce div.product .variations {
  margin-bottom: 1.5rem;
  width: 100%;
}

.woocommerce div.product .variations td.label {
  color: var(--flr-fg);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 0.5rem;
}

.woocommerce div.product .variations select {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-md);
  color: var(--flr-fg);
  padding: 0.625rem 1rem;
  font-family: var(--flr-font);
  font-size: 0.875rem;
  width: 100%;
}

.woocommerce div.product .woocommerce-variation-price {
  margin-bottom: 1rem;
}

.woocommerce div.product .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Stock status */
.woocommerce div.product p.stock {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.woocommerce div.product p.stock.in-stock { color: #4ade80; }
.woocommerce div.product p.stock.out-of-stock { color: #f87171; }

/* ── PRODUCT META (SKU, categories, tags) ──────────────────── */
.woocommerce div.product .product_meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--flr-muted-fg);
}

.woocommerce div.product .product_meta > span {
  display: block;
}

.woocommerce div.product .product_meta strong.label {
  color: var(--flr-fg);
  font-weight: 600;
  margin-right: 0.375rem;
}

.woocommerce div.product .product_meta a {
  color: var(--flr-primary);
  text-decoration: none;
}

.woocommerce div.product .product_meta a:hover {
  text-decoration: underline;
}

/* ── PRODUCT RATING (stars) ─────────────────────────────────── */
.woocommerce div.product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.woocommerce div.product .star-rating {
  color: var(--flr-primary);
  font-size: 0.9375rem;
}

.woocommerce div.product .woocommerce-review-link {
  color: var(--flr-muted-fg);
  font-size: 0.8125rem;
}

/* Quantity input (general — cart, checkout, single product fallback) */
.woocommerce .quantity .qty {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-md);
  color: var(--flr-fg);
  padding: 0.75rem;
  font-family: var(--flr-font);
  font-size: 0.875rem;
  width: 5rem;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0.5rem;
  border: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-full);
  border-bottom: none;
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  color: var(--flr-muted-fg);
  font-family: var(--flr-font);
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  display: block;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  border-color: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: white;
}

.woocommerce div.product .woocommerce-Tabs-panel {
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-xl);
  padding: 1.5rem;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.03), oklch(1 0 0 / 0.01));
  color: var(--flr-muted-fg);
  line-height: 1.7;
}

.woocommerce div.product .woocommerce-Tabs-panel h2 {
  font-size: 1.125rem;
  color: var(--flr-fg);
  margin-bottom: 1rem;
}

/* Additional Information tab — attributes table */
.woocommerce div.product table.shop_attributes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.woocommerce div.product table.shop_attributes th,
.woocommerce div.product table.shop_attributes td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  text-align: left;
  font-size: 0.875rem;
}

.woocommerce div.product table.shop_attributes th {
  color: var(--flr-fg);
  font-weight: 600;
  width: 30%;
}

.woocommerce div.product table.shop_attributes td {
  color: var(--flr-muted-fg);
}

/* Reviews tab */
.woocommerce div.product #reviews .commentlist {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.woocommerce div.product #reviews .comment {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

.woocommerce div.product #reviews .comment img.avatar {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
}

.woocommerce div.product #reviews .comment-text {
  margin-top: 0.5rem;
}

.woocommerce div.product #reviews .woocommerce-review__author {
  color: var(--flr-fg);
  font-weight: 600;
  font-size: 0.875rem;
}

.woocommerce div.product #reviews .woocommerce-review__dash,
.woocommerce div.product #reviews .woocommerce-review__published-date {
  color: var(--flr-muted-fg);
  font-size: 0.8125rem;
}

.woocommerce div.product #reviews .star-rating { color: var(--flr-primary); }

.woocommerce div.product #reviews #respond {
  margin-top: 2rem;
}

.woocommerce div.product #reviews #respond .comment-form-rating select,
.woocommerce div.product #reviews #respond input[type="text"],
.woocommerce div.product #reviews #respond input[type="email"],
.woocommerce div.product #reviews #respond textarea {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-md);
  color: var(--flr-fg);
  padding: 0.625rem 0.875rem;
  font-family: var(--flr-font);
  font-size: 0.875rem;
  width: 100%;
  margin-top: 0.375rem;
}

.woocommerce div.product #reviews #respond textarea {
  border-radius: var(--flr-radius-lg);
  min-height: 6rem;
}

.woocommerce div.product #reviews #respond .form-submit input {
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: white;
  border: none;
  border-radius: var(--flr-radius-full);
  padding: 0.75rem 1.75rem;
  font-family: var(--flr-font);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
  cursor: pointer;
}

/* ── UPSELLS & RELATED PRODUCTS ─────────────────────────────── */
.woocommerce div.product .upsells.products,
.woocommerce div.product .related.products {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid oklch(1 0 0 / 0.08);
}

.woocommerce div.product .upsells.products > h2,
.woocommerce div.product .related.products > h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, oklch(0.78 0.22 305), oklch(0.78 0.2 240));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Upsells/Related reuse the same product loop grid rules as the shop archive
   (ul.products li.product) declared earlier in this file — no separate
   ruleset needed since they share identical markup. */

/* ── PRODUCT NAVIGATION (prev/next product) ─────────────────── */
.woocommerce nav.woocommerce-product-navigation {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  font-size: 0.875rem;
}

.woocommerce nav.woocommerce-product-navigation .woocommerce-product-navigation__prev,
.woocommerce nav.woocommerce-product-navigation .woocommerce-product-navigation__next {
  color: var(--flr-muted-fg);
  text-decoration: none;
  transition: color 0.2s;
}

.woocommerce nav.woocommerce-product-navigation .woocommerce-product-navigation__prev:hover,
.woocommerce nav.woocommerce-product-navigation .woocommerce-product-navigation__next:hover {
  color: var(--flr-primary);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.woocommerce table.shop_table {
  border-collapse: collapse;
  width: 100%;
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.4), oklch(0.1 0.02 280 / 0.3));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-xl);
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: oklch(1 0 0 / 0.04);
  color: var(--flr-fg);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}

.woocommerce table.shop_table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  color: var(--flr-fg);
  vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td { border-bottom: none; }

.woocommerce .cart-collaterals .cart_totals {
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.7), oklch(0.1 0.02 280 / 0.5));
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: var(--flr-radius-xl);
  padding: 1.5rem;
  float: none;
  width: 100%;
  max-width: 26rem;
  margin-left: auto;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.woocommerce-checkout #customer_details,
.woocommerce-checkout .woocommerce-checkout-review-order {
  border-radius: var(--flr-radius-xl);
  padding: 1.5rem;
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.4), oklch(0.1 0.02 280 / 0.3));
  border: 1px solid oklch(1 0 0 / 0.08);
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  float: none;
  width: 100%;
}

.woocommerce .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .woocommerce .col2-set { grid-template-columns: 1fr; }
}

.woocommerce form .form-row label {
  color: var(--flr-fg);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: linear-gradient(160deg, oklch(1 0 0 / 0.06), oklch(1 0 0 / 0.02));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-full);
  color: var(--flr-fg);
  padding: 0.75rem 1rem;
  font-family: var(--flr-font);
  font-size: 0.875rem;
  width: 100%;
  transition: box-shadow 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: none;
  box-shadow:
    inset 0 0 0 1px oklch(0.62 0.27 305 / 0.4),
    0 0 20px -4px oklch(0.62 0.27 305 / 0.6);
}

/* ============================================================
   MY ACCOUNT PAGE
   ============================================================ */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: var(--flr-radius-md);
  color: var(--flr-muted-fg);
  font-size: 0.875rem;
  transition: color 0.2s, background 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  color: var(--flr-fg);
  background: oklch(1 0 0 / 0.05);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: white;
}

.woocommerce-account .woocommerce-MyAccount-content {
  background: linear-gradient(160deg, oklch(0.18 0.03 280 / 0.4), oklch(0.1 0.02 280 / 0.3));
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: var(--flr-radius-xl);
  padding: 2rem;
}

/* ============================================================
   NOTICES / MESSAGES
   ============================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--flr-radius-xl) !important;
  padding: 1rem 1.5rem !important;
  font-size: 0.9rem;
  margin-bottom: 1.5rem !important;
}

.woocommerce-message {
  background: oklch(0.7 0.2 240 / 0.15) !important;
  border-top: 3px solid var(--flr-secondary) !important;
  color: var(--flr-fg) !important;
}

.woocommerce-info {
  background: oklch(0.62 0.27 305 / 0.15) !important;
  border-top: 3px solid var(--flr-primary) !important;
  color: var(--flr-fg) !important;
}

.woocommerce-error {
  background: oklch(0.5 0.2 30 / 0.2) !important;
  border-top: 3px solid oklch(0.65 0.2 30) !important;
  color: var(--flr-fg) !important;
}

/* ============================================================
   MINI CART
   ============================================================ */
.flr-mini-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flr-primary), var(--flr-secondary));
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
  position: absolute;
  top: -4px;
  right: -4px;
}

/* ============================================================
   STORE CARD — hover interactions matching store.html
   ============================================================ */
.flr-store-card-inner { transition: transform 0.3s ease; }
li.product:hover .flr-store-card-inner { transform: translateY(-4px); }
li.product:hover .flr-store-card-media img { transform: scale(1.06); }
li.product:hover .flr-store-card-quickview { opacity: 1; }
