/* ==========================================================================
   SOVENTI v2.0 — WooCommerce Overrides
   ========================================================================== */

/* ── Shop Page — Stanley Full Collection style ─────────── */
.shop-page {
  padding: calc(116px + var(--section-padding)) 0 var(--section-padding);
  background: #fff;
}
.shop-page__header {
  margin-bottom: var(--space-4);
}
.shop-page__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-family: "Inter", "Inter", "Roboto", -apple-system, sans-serif;
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0;
}

/* Toolbar — count left, filter+sort right (Stanley 1:1) */
.shop-page__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
  padding: 0;
  border: none;
}
.shop-page__count {
  font-size: 14px;
  color: var(--c-text-muted);
  margin: 0;
  font-weight: 400;
}
.shop-page__toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Filter & Sort buttons — matching site button style */
.shop-page__filter-btn,
.shop-page__sort {
  display: inline-flex;
  height: 44px;
  box-sizing: border-box;
  align-items: center;
  padding: 0 24px;
  border: 2px solid #101010;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #000000;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.shop-page__filter-btn:hover,
.shop-page__sort:hover {
  background: #101010;
  color: #fff;
}
.shop-page__sort:hover .shop-page__sort-label {
  color: rgba(255, 255, 255, 0.7);
}
.shop-page__sort:hover .shop-page__sort-select {
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
}

/* Filter button specifics */
.shop-page__filter-btn {
  gap: 8px;
}
.shop-page__filter-btn svg {
  width: 16px;
  height: 16px;
}

/* Sort dropdown specifics */
.shop-page__sort {
  gap: 0;
}
.shop-page__sort-label {
  font-weight: 600;
  color: #000000;
  margin-right: 6px;
  white-space: nowrap;
  text-transform: none;
}
.shop-page__sort-select,
.woocommerce .shop-page__sort-select {
  border: none !important;
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #000000 !important;
  font-family: var(--font-body) !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 20px 0 0 !important;
  margin: 0;
  width: auto !important;
  height: auto !important;
  line-height: 1;
  border-radius: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231A1A1A' stroke-width='1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
  outline: none;
  transition: color 0.2s;
}

/* Hide default WC toolbar elements */
.shop-page__toolbar .woocommerce-result-count,
.shop-page__toolbar .woocommerce-ordering {
  display: none;
}

/* Shop grid — 4 columns like Stanley */
.products-grid--shop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) {
  .products-grid--shop { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .products-grid--shop { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

/* Product card — Stanley style */
.products-grid--shop .product-card {
  border: none !important;
  border-radius: 0;
  padding: 0;
}
.products-grid--shop .product-card__image-wrap {
  background: #F5F5F5;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
}
.products-grid--shop .product-card__info {
  padding: 10px 0 0;
}
.product-card__meta {
  font-size: 12px;
  color: var(--c-text-muted);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

/* ── Popular Categories — Stanley style ──────────────── */
.popular-cats {
  margin-top: var(--space-16, 64px);
  padding-top: var(--space-12, 48px);
}
.popular-cats__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-family: "Inter", "Inter", "Roboto", -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.popular-cats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.popular-cats__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: #F5F5F5;
  border-radius: 12px;
  text-decoration: none;
  color: #000000;
  transition: background 0.2s;
}
.popular-cats__card:hover {
  background: #EBEBEB;
}
.popular-cats__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.popular-cats__thumbs {
  display: flex;
  gap: 8px;
  align-items: center;
}
.popular-cats__thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}
@media (max-width: 767px) {
  .popular-cats__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .popular-cats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Product card rating stars */
.product-card__rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.product-card__stars { position: relative; display: inline-block; width: 80px; height: 16px; font-size: 0; }
.product-card__stars::before, .product-card__stars::after { content: "★★★★★"; position: absolute; top: 0; left: 0; font-size: 14px; line-height: 16px; letter-spacing: 1px; }
.product-card__stars::before { color: #E0E0E0; }
.product-card__stars::after { color: #000000; overflow: hidden; width: calc(var(--rating) / 5 * 100%); }
.product-card__rating-text { font-size: 13px; font-weight: 600; color: #000000; line-height: 16px; }

.shop-page__pagination { margin-top: var(--space-12); text-align: center; }

@media (max-width: 767px) {
  .shop-page__toolbar { flex-wrap: wrap; gap: 12px; }
  .shop-page__count { width: 100%; }
  .shop-page__toolbar-right { width: 100%; justify-content: flex-end; }
  .shop-page__filter-btn,
  .shop-page__sort {
    height: 40px;
    padding: 0 18px;
    font-size: 12px;
  }
}

/* WC pagination */
.woocommerce-pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}
.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--duration-fast);
}
.woocommerce-pagination .page-numbers.current,
.woocommerce-pagination .page-numbers:hover {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}

/* ── Single Product ──────────────────────────────────────── */
/* ── Single Product — Stanley style ─────────────────────── */
/* ── Single Product — Stanley style ─────────────────────── */
.single-product { padding-top: 72px; }
.single-product .container { max-width: 1440px; }

/* Layout: gallery 60% left, info 40% right sticky */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 0 3rem;
}
@media (min-width: 768px) {
  .sp-layout {
    grid-template-columns: 55% 1fr;
    gap: 3rem;
    align-items: start;
  }
  .sp-info {
    position: sticky;
    top: 100px;
  }
}

/* Gallery — vertical stack like Stanley */
.sp-gallery__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.sp-gallery__item {
  background: #faf9f9;
  aspect-ratio: 1;
  overflow: hidden;
}
.sp-gallery__item:first-child {
  grid-column: 1 / -1;
}
.sp-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.sp-gallery__img:hover { opacity: 0.85; }

/* Info panel */
.sp-info__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 2.8vw, 2.375rem);
  font-weight: 500;
  color: #000000;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

/* Rating */
.sp-info__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 13px;
  color: #666;
}
.sp-stars {
  position: relative;
  display: inline-block;
  width: 90px; height: 18px;
  font-size: 0;
}
.sp-stars::before, .sp-stars::after {
  content: "\2605\2605\2605\2605\2605";
  position: absolute; top: 0; left: 0;
  font-size: 16px; line-height: 18px; letter-spacing: 1px;
}
.sp-stars::before { color: #ddd; }
.sp-stars::after { color: #000000; overflow: hidden; width: calc(var(--rating) / 5 * 100%); }

/* Price */
.sp-info__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.sp-info__price del { color: gray; text-decoration: line-through; font-size: 1rem; margin-right: 8px; }
.sp-info__price ins { text-decoration: none; }

/* Attributes */
.sp-info__attr {
  font-size: 15px;
  color: #000000;
  font-weight: 400;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.sp-info__sku {
  font-size: 13px;
  color: #888;
  margin: 0.75rem 0 1.5rem;
}

/* QTY row: QTY left, price right */
.sp-form__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.sp-form__qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sp-form__qty-label {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  letter-spacing: -0.01em;
}
.sp-form__qty-select {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px 4px;
}
.sp-form__total {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: #000000;
  letter-spacing: -0.02em;
}

/* Add to Cart — full width black button */
.sp-form__submit {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: #101010;
  color: #fff;
  border: 2px solid #101010;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.76, 0, 0.24, 1);
}
.sp-form__submit:hover {
  background: #fff;
  color: #000000;
}
.sp-form__unavailable {
  padding: 1rem;
  background: #f0f0f0;
  color: #6a6a6a;
  text-align: center;
  border-radius: 4px;
}

/* Trust signals */
.sp-trust {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 0 0;
  margin-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}
.sp-trust__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 13px;
  color: #666;
  letter-spacing: -0.01em;
}
.sp-trust__item svg { color: #000000; flex-shrink: 0; }

/* ── Details & Specifications — full width gray section ── */
.sp-details {
  background: #faf9f9;
  padding: 3rem 0;
  margin-top: 2rem;
}
.sp-details__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.02em;
}
.sp-details__chevron {
  transition: transform 0.3s;
  transform: rotate(180deg);
}
.sp-details__content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .sp-details__content { flex-direction: column; }
}
.sp-details__desc {
  flex: 2;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  letter-spacing: -0.01em;
}
.sp-details__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  font-size: 14px;
}
.sp-details__spec { color: #333; }
.sp-details__spec strong { color: #000000; }
.sp-details__image {
  flex: 1;
  max-width: 400px;
}
.sp-details__img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* ── You may also like — 4 col grid ───────────────────── */
.sp-related {
  padding: 3rem 0 4rem;
}
.sp-related__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}
.sp-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sp-related__grid { grid-template-columns: repeat(4, 1fr); }
}
.sp-related__card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.sp-related__card-img {
  background: #faf9f9;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.sp-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.sp-related__card:hover .sp-related__img { opacity: 0.75; }
.sp-related__card-name {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  margin: 0 0 0.25rem;
  letter-spacing: -0.01em;
}
.sp-related__card-price {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  margin: 0;
}

/* ── WooCommerce Messages ────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-6);
  border: 1px solid;
}
.woocommerce-message {
  background: rgba(45, 90, 61, 0.05);
  border-color: rgba(45, 90, 61, 0.2);
  color: var(--c-success);
}
.woocommerce-error {
  background: rgba(185, 28, 28, 0.05);
  border-color: rgba(185, 28, 28, 0.2);
  color: var(--c-error);
}
.woocommerce-info {
  background: rgba(184, 115, 51, 0.05);
  border-color: rgba(184, 115, 51, 0.2);
  color: var(--c-accent);
}

/* ── WooCommerce Forms (Cart, Checkout, Account) ─────────── */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce textarea,
.woocommerce select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--duration-fast);
}
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  border-color: var(--c-accent);
  outline: none;
}
.woocommerce label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--c-text);
}

.woocommerce button[type="submit"],
.woocommerce .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  border-radius: var(--radius-md);
  background: var(--c-black);
  color: var(--c-white);
  border: 2px solid var(--c-black);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-premium);
}
.woocommerce button[type="submit"]:hover,
.woocommerce .button:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateY(-2px);
}

/* Cart table */
.woocommerce-cart .shop_table {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart .shop_table th {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--c-text-muted);
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--c-border);
  text-align: left;
}
.woocommerce-cart .shop_table td {
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--c-border-light);
  font-size: var(--font-size-sm);
  vertical-align: middle;
}
.woocommerce-cart .product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Checkout */
.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr 1fr; }
}
#order_review_heading { margin-top: var(--space-10); }

/* Checkout (block) — order summary: tighten padding so cart items sit higher and further left */
.wc-block-checkout__sidebar { padding: 16px 24px !important; }
.wp-block-woocommerce-checkout-order-summary-cart-items-block,
.wc-block-components-order-summary { padding-left: 0 !important; padding-right: 0 !important; }
.wc-block-components-order-summary-item { padding-top: 0 !important; }
.wc-block-components-order-summary-item__image { margin-top: 0 !important; }


/* ── Filter Panel — slide-in drawer (Stanley style) ──── */
.filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  pointer-events: none;
  visibility: hidden;
}
.filter-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}

/* Overlay */
.filter-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  cursor: pointer;
}
.filter-panel.is-open .filter-panel__overlay {
  background: rgba(0, 0, 0, 0.4);
}

/* Drawer */
.filter-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}
.filter-panel.is-open .filter-panel__drawer {
  transform: translateX(0);
}

/* Header */
.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #E5E5E5;
  flex-shrink: 0;
}
.filter-panel__title {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0;
}
.filter-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  color: #000000;
  border-radius: 50%;
  transition: background 0.2s;
}
.filter-panel__close:hover {
  background: #F5F5F5;
}

/* Form body */
.filter-panel__form {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* Group */
.filter-panel__group {
  margin-bottom: 28px;
}
.filter-panel__group-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #000000;
  margin: 0 0 14px;
  font-family: var(--font-body);
}

/* Checkbox options */
.filter-panel__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-panel__checkbox.filter-panel__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #000000;
  line-height: 1.3;
}
.filter-panel__checkbox input[type="checkbox"] {
  display: none;
}
.filter-panel__checkmark {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1.5px solid #CCCCCC;
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}
.filter-panel__checkbox input:checked + .filter-panel__checkmark {
  display: inline-block;
  background: #101010;
  border-color: #000000;
}
.filter-panel__checkbox input:checked + .filter-panel__checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-panel__label-text {
  flex: 1;
}
.filter-panel__label-count {
  color: #999;
  font-size: 13px;
}

/* Price inputs */
.filter-panel__price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-panel__price-field {
  flex: 1;
  display: flex;
  align-items: center;
  border: 1.5px solid #E5E5E5;
  border-radius: 8px;
  padding: 0 12px;
  transition: border-color 0.2s;
}
.filter-panel__price-field:focus-within {
  border-color: #000000;
}
.filter-panel__price-currency {
  font-size: 13px;
  color: #999;
  margin-right: 4px;
  font-weight: 500;
}
.filter-panel__price-input {
  width: 100%;
  border: none;
  padding: 10px 0;
  font-size: 14px;
  font-family: var(--font-body);
  color: #000000;
  background: none;
  outline: none;
  -moz-appearance: textfield;
}
.filter-panel__price-input::-webkit-outer-spin-button,
.filter-panel__price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.filter-panel__price-sep {
  color: #CCC;
  font-size: 18px;
}

/* Actions */
.filter-panel__actions {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #E5E5E5;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.filter-panel__apply {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 24px;
  background: #101010;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s;
}
.filter-panel__apply:hover {
  background: #333;
}
.filter-panel__clear {
  display: block;
  width: 100%;
  padding: 12px 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.filter-panel__clear:hover {
  color: #000000;
}

/* Filter count badge on button */
.shop-page__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #101010;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
  line-height: 1;
  text-transform: none;
  letter-spacing: -0.01em;
}

/* ── Product Tabs — Hydro Flask style ────────────────────── */
.sp-tabs-section {
  padding: 0 0 3rem;
}
.sp-tabs-section .container {
  max-width: 1440px;
}
.sp-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #E0E0E0;
  margin-bottom: 0;
}
.sp-tabs__tab {
  position: relative;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}
.sp-tabs__tab:hover {
  color: #000;
}
.sp-tabs__tab.is-active {
  color: #000;
}
.sp-tabs__tab.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: #000;
}
.sp-tabs__panel {
  display: none;
}
.sp-tabs__panel.is-active {
  display: block;
}
.sp-tabs__content {
  max-width: 640px;
  padding: 2.5rem 0;
}
.sp-tabs__content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.sp-tabs__content p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
}
.sp-tabs__content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}
.sp-tabs__content ul li {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.15rem 0;
}
.sp-tabs__content .soventi-specs {
  width: 100%;
  border-collapse: collapse;
}
.sp-tabs__content .soventi-specs th,
.sp-tabs__content .soventi-specs td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E0E0E0;
  text-align: left;
  font-size: 0.95rem;
}
.sp-tabs__content .soventi-specs th {
  font-weight: 600;
  width: 40%;
  color: #000;
}

/* Hide old accordion */
.sp-details { display: none !important; }

@media (max-width: 767px) {
  .sp-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .sp-tabs__tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .sp-tabs__content {
    padding: 1.5rem 0;
  }
  .sp-tabs__content h2 {
    font-size: 1.5rem;
  }
}
