/* ===== Temavariabler: följer temat (--primary, --text, --border-radius-smort, typsnitt) med reservvärden.
   Inställningen "Följ temats färger: Nej" skriver över --smort-cart-* från inställningarna. ===== */
:root {
  --smort-cart-accent: var(--primary, #b5e030);
  --smort-cart-accent-text: var(--primary-foreground, #171916);
  --smort-cart-accent-soft: color-mix(in srgb, var(--smort-cart-accent) 35%, #fff);
  --smort-cart-text: var(--text, #171916);
  --smort-cart-muted: var(--text-muted, #6b7166);
  --smort-cart-bg: var(--white, #ffffff);
  --smort-cart-surface: var(--background, #f4f5f0);
  --smort-cart-border: var(--border-light, #e3e3e0);
  --smort-cart-link: var(--secondary, #007cba);
  --smort-cart-error: var(--error, #e74c3c);
  --smort-cart-warning: var(--warning, #ff9800);
  --smort-cart-success: var(--success-strong, #1e5631);
  --smort-cart-radius: var(--border-radius-smort, 6px);
  --smort-cart-font: var(--font-body, inherit);
  --smort-cart-heading-font: var(--font-heading, inherit);
  --smort-cart-header-bg: var(--white, #ffffff);
  --smort-cart-header-text: var(--text, #171916);
  --smort-cart-button-bg: var(--secondary, #171916);
  --smort-cart-button-text: var(--text-light, #ffffff);
  --smort-cart-button-radius: var(--smort-cart-radius);
  --smort-cart-badge-bg: var(--smort-cart-accent);
  --smort-cart-badge-text: var(--smort-cart-accent-text);
  --smort-cart-badge-ring: var(--header-background, #ffffff);
  --smort-cart-badge-font: var(--smort-cart-heading-font);
  --accentColor: var(--smort-cart-accent);
}

#smort-cart-container {
  position: relative;
  display: inline-block;
}

.smort-cart-icon {
  color: inherit;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  margin-right: 5px;
  margin-left: 5px;
}

.cart-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
}
.cart-icon--svg {
  color: currentColor;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--smort-cart-badge-bg);
  color: var(--smort-cart-badge-text);
  box-shadow: 0 0 0 2px var(--smort-cart-badge-ring);
  font-family: var(--smort-cart-badge-font);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Drawer shell (same structure desktop + mobile) ===== */
.smort-cart-content {
  font-family: var(--smort-cart-font);
  position: fixed;
  top: 0;
  right: -110%;
  width: min(500px, 92vw);
  height: 100vh;
  height: 100dvh;
  background-color: var(--smort-cart-surface);
  color: var(--smort-cart-text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: right 0.3s ease;
  z-index: 10000;
  box-shadow: -8px 0 32px rgba(23, 25, 22, 0.18);
}

.smort-cart-content.active {
  right: 0;
}

.cart-header {
  background: var(--smort-cart-header-bg);
  color: var(--smort-cart-header-text);
  flex: 0 0 auto;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cart-header h3 {
  font-family: var(--smort-cart-heading-font);
  color: inherit;
  margin: 0;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.header-logo {
  max-width: 180px;
  max-height: 44px;
  display: flex;
  align-items: center;
}

.header-logo img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
}

.close-cart {
  background: var(--smort-cart-button-bg);
  cursor: pointer;
  font-size: 22px;
  color: var(--smort-cart-button-text);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.close-cart:hover {
  opacity: 0.88;
}

.close-cart:focus-visible {
  outline: 2px solid var(--smort-cart-accent);
  outline-offset: 2px;
}

.cart-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.cart-items {
  text-align: left;
  padding: 12px 12px 8px;
}

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  color: var(--smort-cart-muted);
  gap: 8px;
}

.cart-empty-icon {
  color: var(--smort-cart-muted);
  margin-bottom: 8px;
  opacity: 0.85;
}

.cart-empty-title {
  margin: 0;
  font-size: 18px !important;
  font-weight: 650;
  color: var(--smort-cart-text);
}

.cart-empty-text {
  margin: 0;
  font-size: 14px !important;
  color: var(--smort-cart-muted);
  max-width: 240px;
}

.cart-item {
  background: var(--smort-cart-bg);
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  gap: 10px;
  padding: 10px 10px;
  border-bottom: 1px solid var(--smort-cart-border);
  align-items: flex-start;
  position: relative;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.cart-item.is-updating {
  opacity: 0.55;
  pointer-events: none;
}

.item-image {
  margin-right: 0;
}

.item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  display: block;
  background: var(--smort-cart-surface);
}

.item-details {
  flex-grow: 1;
  text-align: left;
  color: var(--smort-cart-text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 60px;
  min-width: 0;
  padding-right: 0;
  gap: 6px;
}

.item-details h4 {
  margin: 0;
  font-size: 14px;
  color: var(--smort-cart-text);
  line-height: 1.3;
  font-weight: 600;
}

.item-category {
  color: var(--smort-cart-muted);
  margin: 2px 0 0 0;
  font-size: 11px;
  font-weight: normal;
  line-height: 1.3;
}

.smort-konfigurator-item {
  background: var(--smort-cart-bg);
}

.smort-konfigurator-package-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: var(--smort-cart-radius, 999px);
  background: var(--smort-cart-accent);
  color: var(--smort-cart-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.smort-konfigurator-meta {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--smort-cart-surface);
  border: 1px solid var(--smort-cart-border);
  border-radius: var(--smort-cart-radius, 8px);
  display: grid;
  gap: 6px;
}

.smort-konfigurator-meta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.smort-konfigurator-meta-key {
  color: var(--smort-cart-muted);
  font-weight: 600;
}

.smort-konfigurator-meta-value {
  color: var(--smort-cart-text);
}

.item-remove {
  position: static;
  top: auto;
  right: auto;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0;
}

.item-remove--placeholder {
  width: 28px;
  height: 28px;
}

.item-remove .remove-item,
.item-remove a.remove-item,
button.remove.remove-item {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--smort-cart-muted);
  text-decoration: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.item-remove .remove-item .remove-x {
  display: none;
}

.item-remove .remove-item:hover,
.item-remove .remove-item:focus-visible {
  background: var(--smort-cart-text);
  color: var(--smort-cart-bg);
  outline: none;
}

.item-remove .remove-item:focus-visible {
  box-shadow: 0 0 0 2px var(--smort-cart-bg), 0 0 0 4px var(--smort-cart-accent);
}

.item-remove .remove-item:active {
  transform: scale(0.95);
}

.item-remove .remove-item.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.item-quantity-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0;
  width: 100%;
  flex-wrap: nowrap;
}

.item-qty-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 0 1 auto;
}

.quantity-price-per-item-container {
  font-size: 11px;
  color: var(--smort-cart-muted);
  white-space: nowrap;
  line-height: 1.25;
}

.quantity-price-per-item-container .sale-price,
.quantity-price-per-item-container .current-price {
  font-size: 11px;
  font-weight: 500;
  color: var(--smort-cart-muted);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--smort-cart-border);
  border-radius: min(6px, var(--smort-cart-radius, 6px));
  overflow: hidden;
  background-color: var(--smort-cart-bg);
  flex: 0 0 auto;
  height: 30px;
}

.quantity-controls button.plus,
.quantity-controls button.minus {
  font-size: 14px;
}

.quantity-btn {
  width: 28px;
  height: 30px;
  min-width: 28px;
  min-height: 30px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--smort-cart-text);
  transition: background-color 0.2s ease, color 0.2s ease;
  padding: 0;
  line-height: 1;
}

.quantity-btn:hover:not(:disabled) {
  background-color: var(--smort-cart-border);
}

.quantity-btn:focus-visible {
  outline: 2px solid var(--smort-cart-accent);
  outline-offset: -2px;
  z-index: 1;
}

.quantity-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.quantity-input {
  width: 32px;
  height: 30px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--smort-cart-border);
  border-right: 1px solid var(--smort-cart-border);
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  appearance: textfield;
  -moz-appearance: textfield;
  padding: 0;
  margin: 0;
  line-height: 30px;
  background: var(--smort-cart-bg);
  color: var(--smort-cart-text);
}

.quantity-input:focus {
  outline: 2px solid var(--smort-cart-accent);
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}

.quantity-input:disabled {
  opacity: 0.55;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-display {
  text-align: center;
  padding: 4px 10px;
  color: var(--smort-cart-muted);
  font-size: 12px;
  background: var(--smort-cart-surface);
  border-radius: min(6px, var(--smort-cart-radius, 6px));
  line-height: 1.3;
}

.item-price {
  font-weight: bold;
  margin: 0;
  text-align: right;
}

.item-price-container {
  min-width: 0;
  flex: 1 1 140px;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  color: var(--smort-cart-text);
  overflow: visible;
}

.item-info {
  min-width: 0;
}

.item-title-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.item-title-link:hover {
  color: var(--smort-cart-text);
}

.item-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

.item-unit-price {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 3px 4px;
  font-size: 11px;
  color: var(--smort-cart-muted);
  line-height: 1.25;
  max-width: 100%;
}

.item-unit-label {
  flex: 0 0 auto;
  color: var(--smort-cart-muted);
}

.item-line-total,
.item-price-current {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 3px 6px;
  font-weight: 700;
  line-height: 1.2;
  font-size: 15px;
  max-width: 100%;
  white-space: normal;
}

.item-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  white-space: normal;
}

.smort-price-pair {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 6px;
  min-width: 0;
  white-space: normal;
}

.smort-price-pair .woocommerce-Price-amount,
.item-price-block .woocommerce-Price-amount {
  white-space: nowrap;
}

.item-bundle-note {
  line-height: 1.35;
  font-size: 12px;
  color: var(--smort-cart-muted);
  font-style: italic;
}

.promo-secondary-free-note,
.global-upsell-discount {
  line-height: 1.45;
}

.price-calculation {
  white-space: nowrap;
  font-size: 12px;
  color: var(--smort-cart-muted);
}

.cart-footer {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
  background: var(--smort-cart-bg);
  border-top: 1px solid var(--smort-cart-border);
  box-shadow: 0 -6px 20px rgba(23, 25, 22, 0.06);
  position: relative;
  z-index: 2;
}

/* Streamline SAC pill sits bottom-right; keep checkout CTA clear of it */
body:has(.shop-as-customer-bar) .smort-cart-content .cart-footer {
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}

body:has(.shop-as-customer-bar) .smort-cart-content.active {
  /* Ensure drawer stacks above SAC bar (9999) while leaving footer room */
  z-index: 10001;
}

.cart-total {
  background-color: var(--smort-cart-surface);
  padding: 12px 14px;
  margin: 0;
  border-radius: var(--smort-cart-radius, 10px);
}

.cart-footer a.checkout-btn {
  background: var(--smort-cart-button-bg);
  color: var(--smort-cart-button-text);
  border-radius: var(--smort-cart-button-radius);
  font-family: var(--smort-cart-heading-font);
  padding: 14px 16px;
  text-decoration: none;
  width: 100%;
  text-align: center;
  transition: all 0.25s ease;
  display: block;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
  line-height: 1.2;
}

.cart-footer a.checkout-btn:hover {
  opacity: 0.92;
}

.cart-footer a.checkout-btn:focus-visible {
  outline: 2px solid var(--smort-cart-accent);
  outline-offset: 2px;
}

.view-cart-btn {
  background-color: var(--smort-cart-surface);
  color: var(--smort-cart-text);
}

.checkout-btn {
  display: inline-block;
}

.smort-cart-backdrop,
body > .smort-cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 25, 22, 0.48);
  z-index: 9990;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.smort-cart-backdrop.active {
  display: block;
  opacity: 1;
}

body.cart-open,
body.smort-cart-open {
  overflow: hidden;
}

/* Upsell products — sit between cart items (above) and totals/footer actions */
.cart-upsells {
  border-bottom: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  max-height: min(42vh, 280px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-upsells[data-empty="1"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.cart-upsells h4 {
  margin: 0 0 8px 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--smort-cart-text);
  text-align: left;
}

.upsell-products {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.upsell-product {
  flex: 0 0 auto;
  background: var(--smort-cart-surface);
  border: 1px solid var(--smort-cart-border);
  border-radius: var(--smort-cart-radius, 10px);
  padding: 8px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.upsell-product:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 25, 22, 0.08);
}

.upsell-product-info {
  display: flex;
  align-items: center;
  flex: 1;
  text-align: left;
  overflow: hidden;
  width: auto;
  max-width: 70%;
}

.upsell-product-details {
  margin-left: 10px;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 40%;
}

.upsell-product-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  width: auto;
}

.upsell-product a {
  text-decoration: none;
  color: inherit;
}

.upsell-product-info > a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 5px;
}

.upsell-product img {
  width: 40px;
  height: 40px;
  border-radius: min(6px, var(--smort-cart-radius, 6px));
  object-fit: cover;
}

.upsell-product h5 {
  margin: 0 0 2px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--smort-cart-text);
  line-height: 1.2;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  text-align: left;
}

.upsell-product h5 a {
  display: inline;
  text-align: left;
}

.upsell-product .price {
  display: block;
  margin: 0;
  font-weight: bold;
  font-size: 12px;
  color: var(--smort-cart-text);
  white-space: nowrap;
  text-align: left;
}

.add-to-cart-btn {
  background: var(--smort-cart-accent);
  color: var(--smort-cart-accent-text);
  border: none;
  padding: 8px 10px;
  border-radius: min(6px, var(--smort-cart-radius, 6px));
  cursor: pointer;
  font-size: 12px;
  min-width: 72px;
  min-height: 36px;
  font-weight: 600;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  width: auto;
}

.add-to-cart-btn:hover {
  opacity: 0.9;
}

/* Highlight animation for newly added items */
@keyframes highlight-pulse {
  0% { background-color: transparent; }
  50% { background-color: rgba(226, 250, 179, 0.45); }
  100% { background-color: transparent; }
}

.highlight-item {
  animation: highlight-pulse 1s ease-in-out 2;
}

/* ===== Theme variants (same layout, distinct character) ===== */

/* Classic — B2B, sharp edges, clear type */
.theme-classic .smort-cart-content {
  background: var(--smort-cart-surface);
}

.theme-classic .cart-header {
  border-bottom: 2px solid var(--smort-cart-accent);
}

.theme-classic .cart-header h3 {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.theme-classic .cart-items {
  padding: 0;
}

.theme-classic .cart-item {
  border: none;
  border-bottom: 1px solid var(--smort-cart-border);
  border-radius: var(--smort-cart-radius, 0px);
  margin: 0;
  padding: 12px 12px;
  background: var(--smort-cart-bg);
  box-shadow: none;
}

.theme-classic .item-details h4 {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.theme-classic .item-image img {
  border-radius: var(--smort-cart-radius, 0px);
  border: 1px solid var(--smort-cart-border);
}

.theme-classic .quantity-controls {
  border: 1px solid var(--smort-cart-border);
  border-radius: var(--smort-cart-radius, 0px);
  background: var(--smort-cart-bg);
}

.theme-classic .quantity-btn {
  border-radius: var(--smort-cart-radius, 0px);
  background: var(--smort-cart-surface);
  font-weight: 700;
}

.theme-classic .quantity-input {
  border-radius: var(--smort-cart-radius, 0px);
}

.theme-classic .quantity-display {
  border-radius: var(--smort-cart-radius, 0px);
}

.theme-classic .item-remove .remove-item {
  border-radius: var(--smort-cart-radius, 0px);
  background: transparent;
  color: var(--smort-cart-muted);
}

.theme-classic .item-remove .remove-item:hover,
.theme-classic .item-remove .remove-item:focus-visible {
  background: var(--smort-cart-text);
  color: var(--smort-cart-bg);
}

.theme-classic .cart-footer {
  border-radius: var(--smort-cart-radius, 0px);
  border-top: 2px solid var(--smort-cart-text);
}

.theme-classic .cart-total {
  border-radius: var(--smort-cart-radius, 0px);
  background: var(--smort-cart-surface);
}

.theme-classic .checkout-btn {
  border-radius: var(--smort-cart-radius, 0px) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 750;
  font-size: 13px;
}

.theme-classic .cart-empty-state {
  border-top: 1px solid var(--smort-cart-border);
}

.theme-classic .cart-item.bundle-parent {
  border-left: 3px solid var(--smort-cart-accent);
}

.theme-classic .cart-item.bundle-child {
  border-left: 3px solid var(--smort-cart-border);
  background: var(--smort-cart-surface);
}

.theme-classic .upsell-product {
  border-radius: var(--smort-cart-radius, 0px);
}

/* Soft — default, rounded & airy lifestyle */
.theme-soft .smort-cart-content {
  background: var(--smort-cart-accent-soft);
}

.theme-soft .cart-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.theme-soft .cart-items {
  padding: 10px 10px 6px;
}

.theme-soft .cart-item {
  border: none;
  border-radius: var(--smort-cart-radius, 14px);
  margin: 0 0 8px;
  padding: 10px 12px;
  background: var(--smort-cart-bg);
  box-shadow: 0 4px 18px rgba(23, 25, 22, 0.07);
}

.theme-soft .cart-item:hover {
  box-shadow: 0 8px 24px rgba(23, 25, 22, 0.1);
}

.theme-soft .item-details h4 {
  font-size: 15px;
  font-weight: 550;
}

.theme-soft .item-image img {
  border-radius: var(--smort-cart-radius, 12px);
}

.theme-soft .quantity-controls {
  border: 1px solid var(--smort-cart-border);
  border-radius: var(--smort-cart-radius, 999px);
  background: var(--smort-cart-surface);
  overflow: hidden;
}

.theme-soft .quantity-btn {
  background: transparent;
  border: none;
  font-weight: 600;
}

.theme-soft .quantity-btn:hover:not(:disabled) {
  background: rgba(181, 224, 48, 0.25);
}

.theme-soft .quantity-input {
  border-color: transparent;
  background: transparent;
}

.theme-soft .quantity-display {
  border-radius: var(--smort-cart-radius, 999px);
}

.theme-soft .item-remove .remove-item {
  background: transparent;
  color: var(--smort-cart-muted);
}

.theme-soft .item-remove .remove-item:hover,
.theme-soft .item-remove .remove-item:focus-visible {
  background: var(--smort-cart-text);
  color: var(--smort-cart-accent-soft);
}

.theme-soft .cart-footer {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-top: none;
}

.theme-soft .cart-total {
  border-radius: var(--smort-cart-radius, 14px);
  background: var(--smort-cart-bg);
  box-shadow: 0 2px 10px rgba(23, 25, 22, 0.05);
}

.theme-soft .checkout-btn {
  border-radius: var(--smort-cart-radius, 999px) !important;
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 14px;
}

.theme-soft .cart-item.bundle-parent {
  box-shadow: 0 4px 18px rgba(181, 224, 48, 0.2);
}

.theme-soft .cart-item.bundle-child {
  margin-left: 10px;
  background: var(--smort-cart-surface);
  box-shadow: none;
  border: 1px solid var(--smort-cart-border);
}

.theme-soft .upsell-product {
  border-radius: var(--smort-cart-radius, 14px);
  background: var(--smort-cart-bg);
}

/* Bold — high contrast, strong CTA hierarchy */
.theme-bold .smort-cart-content {
  background: var(--smort-cart-surface);
}

.theme-bold .cart-header {
  background: linear-gradient(135deg, var(--smort-cart-text) 0%, var(--smort-cart-text) 100%) !important;
  border-bottom: 3px solid var(--smort-cart-accent);
}

.theme-bold .cart-header h3 {
  font-weight: 850;
  letter-spacing: 0.02em;
}

.theme-bold .cart-items {
  padding: 12px 10px 8px;
}

.theme-bold .cart-item {
  border: 2px solid var(--smort-cart-text);
  border-radius: min(6px, var(--smort-cart-radius, 6px));
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--smort-cart-bg);
  box-shadow: 3px 3px 0 var(--smort-cart-text);
}

.theme-bold .item-details h4 {
  font-size: 15px;
  font-weight: 850;
}

.theme-bold .item-image img {
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  box-shadow: 2px 2px 0 rgba(23, 25, 22, 0.2);
}

.theme-bold .quantity-controls {
  border: 1px solid var(--smort-cart-text);
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  background: var(--smort-cart-bg);
}

.theme-bold .quantity-btn {
  background: var(--smort-cart-accent);
  color: var(--smort-cart-text);
  font-weight: 750;
  border-radius: 0;
}

.theme-bold .quantity-btn:hover:not(:disabled) {
  filter: brightness(0.95);
}

.theme-bold .item-remove .remove-item {
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  background: transparent;
  color: var(--smort-cart-muted);
}

.theme-bold .item-remove .remove-item:hover,
.theme-bold .item-remove .remove-item:focus-visible {
  background: var(--smort-cart-text);
  color: var(--smort-cart-accent-soft);
}

.theme-bold .cart-footer {
  border-top: 3px solid var(--smort-cart-text);
}

.theme-bold .cart-total {
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  border: 2px solid var(--smort-cart-text);
  background: var(--smort-cart-bg);
}

.theme-bold .checkout-btn {
  border-radius: min(4px, var(--smort-cart-radius, 4px)) !important;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.1em;
  font-size: 14px;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-bold .checkout-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.theme-bold .cart-item.bundle-parent {
  border-color: var(--smort-cart-accent);
  box-shadow: 4px 4px 0 var(--smort-cart-accent);
}

.theme-bold .cart-item.bundle-child {
  border-style: dashed;
  box-shadow: none;
  background: var(--smort-cart-surface);
}

.theme-bold .upsell-product {
  border: 2px solid var(--smort-cart-text);
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  box-shadow: 2px 2px 0 var(--smort-cart-text);
}

/* ===== Responsive: scale spacing only (same components) ===== */
@media (max-width: 768px) {
  .smort-cart-content {
    width: 100%;
    max-width: 100vw;
  }

  .cart-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 16px;
  }

  .cart-items {
    padding: 12px 12px 16px;
  }

  .theme-classic .cart-items {
    padding: 0;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr) 28px;
    gap: 10px;
  }

  .item-image img {
    width: 56px;
    height: 56px;
  }

  .item-details {
    min-height: 56px;
  }

  .quantity-btn {
    width: 30px;
    height: 32px;
    min-width: 30px;
    min-height: 32px;
  }

  .quantity-controls {
    height: 32px;
  }

  .quantity-input {
    width: 34px;
    height: 32px;
    line-height: 32px;
  }

  .item-remove .remove-item {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .item-price-current {
    font-size: 15px;
  }

  .cart-footer {
    padding: 12px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  body:has(.shop-as-customer-bar) .smort-cart-content .cart-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .item-line-total,
  .item-price-current {
    font-size: 15px;
  }

  .item-unit-price {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .cart-header {
    padding: 12px 14px;
  }

  .cart-header h3 {
    font-size: 16px;
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr) 26px;
    gap: 8px;
    padding: 10px 8px;
  }

  .theme-soft .cart-item {
    padding: 10px;
    border-radius: var(--smort-cart-radius, 12px);
  }

  .item-image img {
    width: 56px;
    height: 56px;
  }

  .item-details {
    min-height: 56px;
    padding-right: 0;
  }

  .item-details h4 {
    font-size: 14px;
  }

  .item-quantity-price {
    gap: 8px;
  }

  .item-price-current {
    font-size: 15px;
  }

  .quantity-price-per-item-container {
    white-space: normal;
  }
}

.woocommerce-message a.button.wc-forward {
  display: none;
}

/* Keep drawer remove controls independent of WooCommerce cart-page .remove rules */
.smort-cart-content .item-remove .remove-item,
.smort-cart-content button.remove.remove-item {
  font-size: 0 !important;
  text-indent: 0 !important;
  background-image: none !important;
}
.smort-cart-content .item-remove .remove-item .remove-icon {
  display: block;
  width: 14px;
  height: 14px;
}
.smort-cart-content .item-remove .remove-item::before {
  content: none !important;
}


/* WooCommerce checkout remove buttons - use plugin variable colors */
.woocommerce-checkout .woocommerce-cart-form .product-remove a,
.woocommerce-checkout .shop_table .product-remove a,
.woocommerce-cart .woocommerce-cart-form .product-remove a,
.woocommerce-cart .shop_table .product-remove a,
.woocommerce .cart_item .product-remove a,
.woocommerce-checkout .cart_item .product-remove a {
  background-color: var(--accentColor, var(--smort-cart-text)) !important;
  color: white !important;
  text-decoration: none !important;
  font-size: 12px !important;
  border-radius: 50% !important;
  width: 18px !important;
  height: 18px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  line-height: 1 !important;
  cursor: pointer !important;
  z-index: 11 !important;
  position: relative !important;
  transition: opacity 0.2s ease !important;
  border: none !important;
  box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-cart-form .product-remove a:hover,
.woocommerce-checkout .shop_table .product-remove a:hover,
.woocommerce-cart .woocommerce-cart-form .product-remove a:hover,
.woocommerce-cart .shop_table .product-remove a:hover,
.woocommerce .cart_item .product-remove a:hover,
.woocommerce-checkout .cart_item .product-remove a:hover {
  opacity: 0.8 !important;
  background-color: var(--accentColor, var(--smort-cart-text)) !important;
  color: white !important;
}

.woocommerce-checkout .woocommerce-cart-form .product-remove a:active,
.woocommerce-checkout .shop_table .product-remove a:active,
.woocommerce-cart .woocommerce-cart-form .product-remove a:active,
.woocommerce-cart .shop_table .product-remove a:active,
.woocommerce .cart_item .product-remove a:active,
.woocommerce-checkout .cart_item .product-remove a:active {
  transform: scale(0.95) !important;
}

/* Bundle Product Styles */

/* Bundle parent product styling */
.cart-item.bundle-parent {
  border-left: 4px solid var(--smort-cart-link);
  background-color: rgba(0, 124, 186, 0.05);
}

.cart-item.bundle-parent .item-details h4::before {
  content: "📦 ";
  margin-right: 5px;
}

/* Bundle child product styling */
.cart-item.bundle-child {
  margin-left: 20px;
  border-left: 2px solid var(--smort-cart-border);
  background-color: rgba(0, 0, 0, 0.02);
  position: relative;
}

.cart-item.bundle-child::before {
  content: "└─";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--smort-cart-muted);
  font-size: 12px;
}

.cart-item.bundle-child .item-details h4 {
  font-size: 14px;
  color: var(--smort-cart-muted);
}

/* Bundle child specific styling for quantity display and price */
.cart-item.bundle-child .quantity-display {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  font-style: italic;
}

.cart-item.bundle-child .item-price-container {
  opacity: 0.8;
}

/* Bundle product general styling */
.cart-item.bundle-product {
  transition: all 0.3s ease;
}

.cart-item.bundle-product:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Theme-specific bundle styles */

/* Modern Theme Bundle Styles */



/* Clean Theme Bundle Styles */


/* Futuristic Theme Bundle Styles */


/* Grouped Product Styles */
.cart-item.grouped-product {
  border-left: 4px solid var(--smort-cart-success);
  background-color: rgba(139, 195, 74, 0.05);
}

.cart-item.grouped-product .item-details h4::before {
  content: "📋 ";
  margin-right: 5px;
}

/* Composite Product Styles */
.cart-item.composite-parent {
  border-left: 4px solid var(--smort-cart-warning);
  background-color: rgba(255, 152, 0, 0.05);
}

.cart-item.composite-parent .item-details h4::before {
  content: "🔧 ";
  margin-right: 5px;
}

.cart-item.composite-child {
  margin-left: 20px;
  border-left: 2px solid var(--smort-cart-warning);
  background-color: rgba(255, 152, 0, 0.02);
  position: relative;
}

.cart-item.composite-child::before {
  content: "└─";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--smort-cart-warning);
  font-size: 12px;
}

/* Responsive adjustments for bundle products */
@media (max-width: 768px) {
  .cart-item.bundle-child,
  .cart-item.composite-child {
    margin-left: 10px;
  }

  .cart-item.bundle-child::before,
  .cart-item.composite-child::before {
    left: -10px;
  }
}
.item-price-container .tax-label {
  display: block;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  color: var(--smort-cart-muted);
  line-height: 1.2;
  margin-top: 0;
}

/* Sale / tiered price styling for cart items */
.item-price-container .regular-price-strikethrough,
.item-price-container .regular-price-strikethrough del {
  text-decoration: line-through;
  color: var(--smort-cart-muted);
  font-size: 0.85em;
  font-weight: 500;
}

.item-price-container .regular-price-strikethrough {
  margin-right: 0;
}

.item-unit-price .regular-price-strikethrough,
.item-unit-price .regular-price-strikethrough del {
  display: none; /* strike only on line total */
}

.item-price-container .sale-price {
  color: var(--smort-cart-error);
  font-weight: 700;
}

.item-price-container .current-price {
  color: inherit;
  font-weight: inherit;
}

.item-line-total .sale-price {
  font-size: 1em;
}

.item-unit-price .sale-price,
.item-unit-price .current-price {
  color: var(--smort-cart-muted);
  font-size: 11px;
  font-weight: 500;
}

.item-line-total .smort-price-pair {
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.item-line-total .regular-price-strikethrough,
.item-line-total .regular-price-strikethrough del {
  font-size: 11px;
  font-weight: 500;
  color: var(--smort-cart-muted);
}


/* Price block shared across classic / soft / bold themes */
.theme-classic .item-price-block,
.theme-soft .item-price-block,
.theme-bold .item-price-block {
  align-items: flex-end;
}

.theme-classic .item-line-total .sale-price,
.theme-soft .item-line-total .sale-price,
.theme-bold .item-line-total .sale-price {
  color: var(--smort-cart-error);
}

/* Global upsells styles for checkout page */
.global-upsell-products-container {
  position: relative;
  margin-top: 15px;
}

.global-upsell-products {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 5px 0 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--accentColor, var(--smort-cart-link)) rgba(0, 0, 0, 0.1);
}

.global-upsell-products::-webkit-scrollbar {
  height: 8px;
}

.global-upsell-products::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  margin: 0 5px;
}

.global-upsell-products::-webkit-scrollbar-thumb {
  background: var(--accentColor, var(--smort-cart-link));
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.global-upsell-products::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accentColor, var(--smort-cart-link)) 85%, black);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.global-upsell-products::-webkit-scrollbar-thumb:active {
  background: color-mix(in srgb, var(--accentColor, var(--smort-cart-link)) 70%, black);
}

/* Desktop: visa 3 produkter */
.global-upsell-product {
  flex: 0 0 calc(33.333% - 7px);
  min-width: 180px;
}

.global-upsell-product {
  background: var(--smort-cart-surface);
  border: 1px solid var(--smort-cart-border);
  border-radius: min(6px, var(--smort-cart-radius, 6px));
  padding: 8px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.global-upsell-product:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--smort-cart-border);
}

.global-upsell-product-image {
  margin-bottom: 6px;
}

.global-upsell-product-image a {
  display: block;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.global-upsell-product-image a:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.global-upsell-product-image img {
  max-width: 45px;
  height: auto;
  border-radius: min(3px, var(--smort-cart-radius, 3px));
  cursor: pointer;
}

.global-upsell-product-details h4 {
  margin: 0 0 4px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--smort-cart-text);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.global-upsell-product-details h4 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.global-upsell-product-details h4 a:hover {
  color: var(--accentColor, var(--smort-cart-link));
  text-decoration: underline;
}

.global-upsell-product-price {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.global-upsell-product-price .original-price {
  text-decoration: line-through;
  color: var(--smort-cart-muted);
  font-size: 14px;
  margin-right: 8px;
}

.global-upsell-product-price .discounted-price {
  color: var(--accentColor2, var(--smort-cart-warning));
  font-size: 18px;
  font-weight: 700;
}

.global-upsell-product-price .price {
  color: var(--smort-cart-text);
  font-size: 16px;
}

.discount-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: var(--accentColor2, var(--smort-cart-error));
  color: var(--smort-cart-bg) !important;
  border-radius: min(3px, var(--smort-cart-radius, 3px));
  width: 50px;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  text-align: center;
  font-style: oblique;
  font-family: var(--smort-cart-heading-font);
  text-transform: uppercase;
}

.global-upsell-form {
  width: 100%;
  margin: 0;
}

.add-global-upsell-to-cart {
  background: var(--smort-cart-text);
  color: var(--smort-cart-button-text);
  border: none;
  padding: 6px 12px;
  border-radius: min(3px, var(--smort-cart-radius, 3px));
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.add-global-upsell-to-cart:hover {
  background: var(--smort-cart-muted);
  transform: translateY(-1px);
}

.add-global-upsell-to-cart:disabled {
  background: var(--smort-cart-border);
  cursor: not-allowed;
  transform: none;
}

.global-upsell-success {
  animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global upsell discount styling */
.global-upsell-discount {
  color: var(--smort-cart-success) !important;
  font-size: 9px !important;
  font-weight: normal !important;
  margin: 1px 0 0 0 !important;
}

/* Scroll-indikator för att visa att det finns fler produkter */
/* .global-upsell-products-container::after {
  content: "→ Scrolla för fler erbjudanden";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0.95));
  padding: 5px 10px 5px 20px;
  font-size: 10px;
  color: var(--accentColor, var(--smort-cart-link));
  font-weight: 600;
  pointer-events: none;
  border-radius: var(--smort-cart-radius, 15px);
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
} */

/* Dölj scroll-indikator när man scrollat till slutet eller när scroll inte behövs */
.global-upsell-products-container.scrolled-to-end::after,
.global-upsell-products-container.no-scroll-needed::after {
  opacity: 0;
}

/* Column layout styles */
.smort-global-upsells.layout-column {
  max-width: 100%;
}

.global-upsell-products-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.layout-column .global-upsell-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--smort-cart-bg);
  border: 1px solid var(--smort-cart-border);
  border-radius: var(--smort-cart-radius, 8px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  flex: none;
  width: 100%;
  min-width: auto;
}

.layout-column .global-upsell-product:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.layout-column .global-upsell-product-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin: 0;
}

.layout-column .global-upsell-product-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: min(6px, var(--smort-cart-radius, 6px));
}

.layout-column .global-upsell-product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.layout-column .global-upsell-product-details h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.layout-column .global-upsell-product-price {
  margin: 0;
}

.layout-column .global-upsell-product-actions {
  flex-shrink: 0;
  margin: 0;
}

.layout-column .add-global-upsell-to-cart {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Responsive design för global upsells */
@media (max-width: 768px) {
  /* Mobil: visa 2 produkter för box layout */
  .layout-box .global-upsell-product {
    flex: 0 0 calc(50% - 5px);
    min-width: 140px;
  }

  /* Column layout på mobil */
  .layout-column .global-upsell-product {
    gap: 10px;
    padding: 10px;
  }

  .layout-column .global-upsell-product-image {
    width: 50px;
    height: 50px;
  }

  .layout-column .global-upsell-product-image img {
    width: 50px;
    height: 50px;
  }

  .layout-column .global-upsell-product-details h4 {
    font-size: 12px;
  }

  .layout-column .add-global-upsell-to-cart {
    padding: 6px 12px;
    font-size: 11px;
  }

  .smort-global-upsells {
    margin: 12px 0;
  }

  .layout-box .global-upsell-product {
    padding: 6px;
  }

  .layout-box .global-upsell-product-details h4 {
    font-size: 11px;
  }

  .layout-box .global-upsell-product-image img {
    max-width: 35px;
  }

  .layout-box .add-global-upsell-to-cart {
    padding: 5px 8px;
    font-size: 9px;
  }

  /* Tydligare scroll-indikator på mobil för box layout */
  .layout-box .global-upsell-products-container::after {
    content: "→ Fler";
    font-size: 9px;
    padding: 3px 8px 3px 15px;
  }
}

@media (max-width: 480px) {
  .global-upsells-header h3 {
    font-size: 18px;
  }

  .global-upsell-product {
    min-width: 120px;
  }

  .global-upsell-product-image img {
    max-width: 30px;
  }
}

/* Free Shipping Indicator Styles */
.free-shipping-indicator {
  font-family: inherit;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.free-shipping-indicator:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Progress bar animation */
.free-shipping-indicator .progress-bar {
  transition: width 0.5s ease-in-out;
}

/* Mobile responsiveness for free shipping indicator */
@media (max-width: 768px) {
  .free-shipping-indicator {
    padding: 10px;
    font-size: 13px;
  }

  .free-shipping-indicator span {
    font-size: 13px !important;
  }

  .free-shipping-indicator .progress-bar {
    height: 4px !important;
  }
}

/* Theme-specific adjustments */
.theme-classic .free-shipping-indicator {
  border-radius: var(--smort-cart-radius, 0px);
  border: 1px solid var(--smort-cart-border);
}

.theme-soft .free-shipping-indicator {
  border-radius: var(--smort-cart-radius, 16px);
  border: none;
  box-shadow: 0 2px 10px rgba(23, 25, 22, 0.06);
}

.theme-bold .free-shipping-indicator {
  border-radius: min(4px, var(--smort-cart-radius, 4px));
  border: 2px solid var(--smort-cart-text);
  box-shadow: 3px 3px 0 var(--smort-cart-text);
  font-weight: 700;
}

.theme-minimal .free-shipping-indicator {
  border-radius: 0;
}



/* -------------------------------------------------------------------------
   Theme (smort-child / header-sleek) coexistence
   ------------------------------------------------------------------------- */
body.smort-cart-open {
  overflow: hidden;
}
.header-sleek #smort-cart-container {
  position: relative;
  display: flex;
  align-items: center;
}
.header-sleek .smort-cart-content.active {
  visibility: visible !important;
}
/* Avoid double mini-cart widgets fighting the drawer */
.widget_shopping_cart,
.site-header-cart .widget_shopping_cart {
  /* Keep WC widget usable on cart page; drawer remains primary in header */
}
