/**
 * WooCommerce — Serene Aesthetics theme overrides
 *
 * @package Strevinas
 */

/* -------------------------------------------------------------------------
   Shop archive — toolbar (ordering, count)
   ------------------------------------------------------------------------- */
.strevinas-shop__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid hsl(var(--border));
}

.strevinas-shop__toolbar .woocommerce-result-count,
.strevinas-shop__toolbar .woocommerce-ordering {
  margin: 0;
  float: none;
}

.strevinas-shop__toolbar .woocommerce-result-count {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop__toolbar .woocommerce-ordering select {
  appearance: none;
  min-width: 12rem;
  padding: 0.65rem 2.25rem 0.65rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  background-color: hsl(var(--card) / 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  border: 1px solid hsl(var(--border));
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}

.strevinas-shop__toolbar .woocommerce-ordering select:hover,
.strevinas-shop__toolbar .woocommerce-ordering select:focus {
  border-color: hsl(var(--foreground) / 0.35);
  background-color: hsl(var(--card));
  outline: none;
}

/* -------------------------------------------------------------------------
   Product cards — price & sale badge
   ------------------------------------------------------------------------- */
.strevinas-shop-grid .popular-card.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.strevinas-shop-grid .popular-card.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Shop product titles — μικρότερο type scale & καθαρό wrapping
   ώστε μακριά ονόματα προϊόντων να μην σπάνε σε άσχημες γραμμές. */
.strevinas-shop-grid .popular-card__title {
  font-size: clamp(1.125rem, 1.55vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* Title row — αρκετός χώρος για 3 γραμμές με το νέο μικρότερο font-size,
   χωρίς να αλλάζει το υπόλοιπο layout (desc / price / cta). */
.strevinas-shop-grid.strevinas-hub-grid .popular-card__body {
  grid-template-rows: 4.4rem 4.2rem 1fr auto;
}

@media (min-width: 768px) {
  .strevinas-shop-grid.strevinas-hub-grid .popular-card__body {
    grid-template-rows: 4.7rem 4.2rem 1fr auto;
  }
}

@media (min-width: 1100px) {
  .strevinas-shop-grid.strevinas-hub-grid .popular-card__body {
    grid-template-rows: 5.4rem 4.2rem 1fr auto;
  }
}

.popular-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
}

.popular-card__badge--sale {
  color: hsl(var(--background));
  background: hsl(var(--bone));
  border-color: hsl(var(--silver) / 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.strevinas-shop-card__price-wrap {
  margin: 0 0 0.75rem;
}

.strevinas-shop-card__price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop-card__price del {
  opacity: 0.55;
  margin-right: 0.35rem;
}

.strevinas-shop-card__price ins {
  text-decoration: none;
  color: hsl(var(--foreground));
}

/* Εύρος τιμών — «από X€» */
.strevinas-shop-card__price--range {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: hsl(var(--foreground));
}

.strevinas-shop-card__price--range .strevinas-shop-card__price-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop-card__price--range .strevinas-shop-card__price-value,
.strevinas-shop-card__price--range .woocommerce-Price-amount {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: hsl(var(--foreground));
}

.strevinas-shop-card__price--range .woocommerce-Price-currencySymbol {
  font-weight: 500;
}

/* Reset default WC product list styles inside our grid */
.strevinas-shop-grid.products {
  margin: 0;
  padding: 0;
}

.strevinas-shop-grid.products::before,
.strevinas-shop-grid.products::after {
  display: none;
}

.strevinas-shop-grid li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
}

/* -------------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------------- */
.strevinas-shop__pagination {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid hsl(var(--border));
}

.strevinas-shop__pagination .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.strevinas-shop__pagination .woocommerce-pagination ul li {
  margin: 0;
  padding: 0;
  border: none;
}

.strevinas-shop__pagination .woocommerce-pagination ul li a,
.strevinas-shop__pagination .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  background: transparent;
  border: 1px solid hsl(var(--border));
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.strevinas-shop__pagination .woocommerce-pagination ul li a:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--foreground) / 0.4);
}

.strevinas-shop__pagination .woocommerce-pagination ul li span.current {
  color: hsl(var(--background));
  background: hsl(var(--foreground));
  border-color: hsl(var(--foreground));
}

/* -------------------------------------------------------------------------
   Notices
   ------------------------------------------------------------------------- */
.strevinas-shop .woocommerce-notices-wrapper {
  margin-bottom: 1.5rem;
}

.strevinas-shop .woocommerce-message,
.strevinas-shop .woocommerce-info,
.strevinas-shop .woocommerce-error {
  margin: 0 0 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  list-style: none;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.55);
  color: hsl(var(--foreground));
}

.strevinas-wc-notice {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.strevinas-wc-notice__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.strevinas-wc-notice__action {
  flex-shrink: 0;
  margin: 0;
}

.strevinas-wc-notice__action .button.wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.65rem 1.15rem;
  font-family: Inter, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: hsl(var(--background)) !important;
  background: hsl(var(--foreground)) !important;
  border: 1px solid hsl(var(--foreground));
  border-radius: 0;
  transition: opacity 0.35s ease;
}

.strevinas-wc-notice__action .button.wc-forward:hover {
  opacity: 0.88;
}

.strevinas-shop .woocommerce-error {
  border-color: hsl(var(--destructive) / 0.45);
  color: hsl(var(--destructive-foreground, var(--foreground)));
}

.strevinas-shop .woocommerce-message::before,
.strevinas-shop .woocommerce-info::before,
.strevinas-shop .woocommerce-error::before {
  display: none;
}

/* Checkout — minimal errors */
.strevinas-checkout-errors {
  margin-bottom: 1.25rem;
}

.strevinas-checkout-errors__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid hsl(var(--destructive) / 0.35);
  background: hsl(var(--destructive) / 0.06);
}

.strevinas-checkout-errors__summary {
  padding: 0.9rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--destructive) / 0.2);
}

.strevinas-checkout-errors__list:has(.strevinas-checkout-errors__item:not(.strevinas-checkout-errors__item--field)) .strevinas-checkout-errors__summary {
  border-bottom: 1px solid hsl(var(--destructive) / 0.2);
}

.strevinas-checkout-errors__item {
  padding: 0.75rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
  border-top: 1px solid hsl(var(--destructive) / 0.15);
}

.strevinas-checkout-errors__item:first-child {
  border-top: 0;
}

.strevinas-checkout-errors__item--field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.strevinas-checkout .checkout-inline-error-message,
.strevinas-checkout-errors__inline {
  display: block;
  margin: 0.4rem 0 0;
  padding: 0;
  font-family: Inter, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: hsl(var(--destructive, 0 84% 60%));
}

.strevinas-checkout .form-row.woocommerce-invalid .input-text,
.strevinas-checkout .form-row.woocommerce-invalid select,
.strevinas-checkout .form-row.woocommerce-invalid textarea,
.strevinas-checkout .form-row.woocommerce-invalid .select2-container--default .select2-selection--single {
  border-color: hsl(var(--destructive) / 0.55) !important;
}

.strevinas-checkout .strevinas-checkout__terms-row.woocommerce-invalid .strevinas-checkout__terms-accept {
  border-color: hsl(var(--destructive) / 0.55);
  background: hsl(var(--destructive) / 0.06);
}

.strevinas-checkout .strevinas-checkout__terms-row.woocommerce-invalid .checkout-inline-error-message {
  margin-top: 0.65rem;
  padding: 0 0.15rem;
}

/* -------------------------------------------------------------------------
   Single product
   ------------------------------------------------------------------------- */
.strevinas-shop--single .strevinas-shop-product {
  max-width: 72rem;
  margin: 0 auto;
}

.strevinas-shop--single div.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 900px) {
  .strevinas-shop--single div.product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.strevinas-shop--single div.product .woocommerce-product-gallery {
  margin: 0;
}

.strevinas-shop--single div.product .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid hsl(var(--border));
}

.strevinas-shop--single div.product .summary {
  margin: 0;
  float: none;
  width: auto;
}

.strevinas-shop--single div.product .product_title {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: hsl(var(--foreground));
}

.strevinas-shop--single div.product p.price {
  margin: 0 0 1.5rem;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop--single div.product p.price ins {
  text-decoration: none;
  color: hsl(var(--foreground));
}

.strevinas-shop--single div.product .woocommerce-product-details__short-description {
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop--single div.product form.cart {
  margin-bottom: 2rem;
}

.strevinas-shop--single div.product form.cart .quantity .qty {
  width: 4.5rem;
  padding: 0.65rem 0.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border));
}

.strevinas-shop--single div.product form.cart .button,
.strevinas-shop--single div.product .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: Inter, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(var(--background));
  background: hsl(var(--foreground));
  border: 1px solid hsl(var(--foreground));
  border-radius: 0;
  cursor: pointer;
  transition: background 0.45s ease, color 0.45s ease, border-color 0.45s ease;
}

.strevinas-shop--single div.product form.cart .button:hover,
.strevinas-shop--single div.product .single_add_to_cart_button:hover {
  color: hsl(var(--foreground));
  background: transparent;
}

.strevinas-shop--single div.product .product_meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop--single div.product .product_meta a {
  color: hsl(var(--foreground));
  text-decoration: none;
}

.strevinas-shop--single div.product .product_meta a:hover {
  text-decoration: underline;
}

.strevinas-shop--single div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid hsl(var(--border));
}

.strevinas-shop--single div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.strevinas-shop--single div.product .woocommerce-tabs ul.tabs::before,
.strevinas-shop--single div.product .woocommerce-tabs ul.tabs::after {
  display: none;
}

.strevinas-shop--single div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.strevinas-shop--single div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 0.25rem 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  background: none;
  border: none;
  box-shadow: none;
}

.strevinas-shop--single div.product .woocommerce-tabs ul.tabs li.active a {
  color: hsl(var(--foreground));
}

.strevinas-shop--single div.product .woocommerce-Tabs-panel {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop--single div.product .woocommerce-Tabs-panel h2 {
  display: none;
}

.strevinas-shop--single div.product table.variations {
  margin-bottom: 1rem;
}

.strevinas-shop--single div.product table.variations td,
.strevinas-shop--single div.product table.variations th {
  padding: 0.35rem 0;
  vertical-align: middle;
  border: none;
}

.strevinas-shop--single div.product table.variations label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-shop--single div.product table.variations select {
  min-width: 12rem;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  font-size: 0.8125rem;
  color: hsl(var(--foreground));
  background-color: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border));
}

.strevinas-shop--single .related.products {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid hsl(var(--border));
}

.strevinas-shop--single .related.products > h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: hsl(var(--foreground));
}

.strevinas-shop--single .related.products ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .strevinas-shop--single .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .strevinas-shop--single .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hide default WC page title on shop (we use custom hero) */
.strevinas-shop-archive .woocommerce-products-header {
  display: none;
}

/* -------------------------------------------------------------------------
   Single product — hub layout & animations (.strevinas-product)
   ------------------------------------------------------------------------- */
.strevinas-product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.strevinas-product__back {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.35s ease;
}

.strevinas-product__back:hover {
  color: hsl(var(--foreground));
}

.strevinas-product__meta-sep {
  color: hsl(var(--border));
}

.strevinas-product__sale-label {
  color: hsl(var(--bone));
  letter-spacing: 0.18em;
}

.strevinas-product__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .strevinas-product__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

/* WooCommerce product gallery — default slider + thumbnails + zoom */
.strevinas-product__gallery-wrap {
  position: relative;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery {
  position: relative;
  margin: 0;
  width: 100%;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__image {
  margin: 0;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__image a {
  display: block;
  outline: none;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  text-indent: -9999px;
  overflow: hidden;
  background: hsl(var(--background) / 0.78);
  border: 1px solid hsl(var(--border));
  border-radius: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.35s ease, background 0.35s ease;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__trigger::before {
  text-indent: 0;
  color: hsl(var(--foreground));
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery__trigger:hover {
  border-color: hsl(var(--foreground) / 0.35);
  background: hsl(var(--card));
}

.strevinas-product__gallery-wrap .flex-viewport {
  border-bottom: 1px solid hsl(var(--border));
}

.strevinas-product__gallery-wrap ol.flex-control-nav.flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.75rem;
  width: 100% !important;
}

.strevinas-product__gallery-wrap ol.flex-control-nav.flex-control-thumbs li {
  float: none !important;
  width: calc(25% - 0.375rem) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.strevinas-product__gallery-wrap ol.flex-control-nav.flex-control-thumbs li img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.55;
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}

.strevinas-product__gallery-wrap ol.flex-control-nav.flex-control-thumbs li img.flex-active,
.strevinas-product__gallery-wrap ol.flex-control-nav.flex-control-thumbs li img:hover {
  opacity: 1;
  border-color: hsl(var(--foreground) / 0.45);
}

.strevinas-product__gallery-wrap .flex-direction-nav a {
  width: 2.25rem;
  height: 2.25rem;
  margin: -1.125rem 0 0;
  text-indent: -9999px;
  overflow: hidden;
  background: hsl(var(--background) / 0.75);
  border: 1px solid hsl(var(--border));
  opacity: 0;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}

.strevinas-product__gallery-wrap .woocommerce-product-gallery:hover .flex-direction-nav a {
  opacity: 1;
}

.strevinas-product__gallery-wrap .flex-direction-nav a:hover {
  border-color: hsl(var(--foreground) / 0.35);
}

.strevinas-product__gallery-wrap .onsale {
  display: none;
}

.strevinas-product__summary {
  position: sticky;
  top: 6.5rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.strevinas-product__price-wrap {
  margin-bottom: 1.25rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.strevinas-product__price-wrap.is-updating {
  opacity: 0.35;
  transform: translateY(6px);
}

.strevinas-product__price,
.strevinas-product .strevinas-product__price-wrap .price {
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
  color: hsl(var(--foreground));
}

.strevinas-product__price--range .strevinas-product__price-label {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-product__price--range .strevinas-product__price-value,
.strevinas-product__price--selected .woocommerce-Price-amount {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.strevinas-product__price del {
  opacity: 0.5;
  margin-right: 0.35rem;
  font-size: 0.9em;
}

.strevinas-product__price ins {
  text-decoration: none;
}

.strevinas-product__short-desc {
  margin-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

.strevinas-product__short-desc p:last-child {
  margin-bottom: 0;
}

/* Purchase panel — variations, qty, add to cart */
.strevinas-product__purchase-form {
  margin: 0;
}

.strevinas-product form.cart .quantity {
  display: none !important;
}

.strevinas-product__purchase {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid hsl(var(--border));
}

.strevinas-product__options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.strevinas-product__option-label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: Inter, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-product__option-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.strevinas-product__option-control select,
.strevinas-product form.cart .variations select {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background) / 0.65);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  border: 1px solid hsl(var(--border));
  appearance: none;
  cursor: pointer;
  transition: border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.strevinas-product__option-control select:hover,
.strevinas-product__option-control select:focus {
  outline: none;
  border-color: hsl(var(--foreground) / 0.35);
  background-color: hsl(var(--card));
  box-shadow: 0 0 0 1px hsl(var(--foreground) / 0.08);
}

.strevinas-product .reset_variations {
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.35s ease;
}

.strevinas-product .reset_variations:hover {
  color: hsl(var(--foreground));
}

.strevinas-product__variation-wrap {
  margin-top: 0.25rem;
}

.strevinas-product .single_variation_wrap .woocommerce-variation.single_variation {
  margin: 0;
  padding: 0;
}

.strevinas-product .single_variation_wrap .woocommerce-variation-price {
  margin: 0.85rem 0 1rem;
  padding: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.strevinas-product .single_variation_wrap .woocommerce-variation-price.is-updating {
  opacity: 0.35;
  transform: translateY(4px);
}

.strevinas-product .single_variation_wrap .woocommerce-variation-price .price {
  margin: 0;
  padding: 0;
  font-family: Inter, sans-serif;
  color: hsl(var(--foreground));
}

.strevinas-product .single_variation_wrap .woocommerce-variation-price .woocommerce-Price-amount {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.strevinas-product .single_variation_wrap .woocommerce-variation-price del {
  opacity: 0.5;
  margin-right: 0.35rem;
  font-size: 0.9em;
}

.strevinas-product .single_variation_wrap .woocommerce-variation-price ins {
  text-decoration: none;
}

.strevinas-product .single_variation_wrap .woocommerce-variation-description:empty,
.strevinas-product .single_variation_wrap .woocommerce-variation-availability:empty {
  display: none;
}

.strevinas-product__cart-actions {
  display: block;
}

.strevinas-product__submit {
  width: 100%;
}

.strevinas-product__submit .single_add_to_cart_button,
.strevinas-product form.cart .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9rem 1.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: hsl(var(--background));
  background: hsl(var(--foreground));
  border: 1px solid hsl(var(--foreground));
  border-radius: 0;
  cursor: pointer;
  transition: background 0.45s ease, color 0.45s ease, transform 0.35s ease, opacity 0.35s ease;
}

.strevinas-product__submit .single_add_to_cart_button:hover,
.strevinas-product form.cart .button:hover {
  color: hsl(var(--foreground));
  background: transparent;
}

.strevinas-product__submit .single_add_to_cart_button:active,
.strevinas-product form.cart .button:active {
  transform: scale(0.98);
}

.strevinas-product__submit .single_add_to_cart_button:disabled,
.strevinas-product__cart-actions.is-disabled .single_add_to_cart_button {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.strevinas-product__cart-actions.is-ready {
  animation: strevinas-cart-actions-in 0.55s var(--ease-silk, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

@keyframes strevinas-cart-actions-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .strevinas-product__gallery-wrap ol.flex-control-nav.flex-control-thumbs li {
    width: calc(33.333% - 0.334rem) !important;
  }
}

.strevinas-product__below {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.strevinas-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.strevinas-product .woocommerce-tabs ul.tabs::before,
.strevinas-product .woocommerce-tabs ul.tabs::after {
  display: none;
}

.strevinas-product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.strevinas-product .woocommerce-tabs ul.tabs li a {
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  transition: color 0.35s ease;
}

.strevinas-product .woocommerce-tabs ul.tabs li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-silk, cubic-bezier(0.22, 1, 0.36, 1));
}

.strevinas-product .woocommerce-tabs ul.tabs li.active a {
  color: hsl(var(--foreground));
}

.strevinas-product .woocommerce-tabs ul.tabs li.active a::after {
  transform: scaleX(1);
}

.strevinas-product .woocommerce-Tabs-panel {
  font-size: 1rem;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
  animation: strevinas-tab-in 0.65s var(--ease-silk, cubic-bezier(0.22, 1, 0.36, 1)) both;
  animation-delay: var(--panel-delay, 0ms);
}

.strevinas-product .woocommerce-Tabs-panel h2 {
  display: none;
}

@keyframes strevinas-tab-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.strevinas-product .related.products {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid hsl(var(--border));
}

.strevinas-product .related.products > h2 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.14;
  color: hsl(var(--foreground));
}

.strevinas-product .related.products ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .strevinas-product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .strevinas-product .related.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.strevinas-product .related.products .popular-card.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.strevinas-product .related.products .popular-card.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .strevinas-product__gallery-wrap .woocommerce-product-gallery__image img,
  .strevinas-product__price-wrap,
  .strevinas-product .woocommerce-Tabs-panel {
    transition: none !important;
    animation: none !important;
  }
}

/* -------------------------------------------------------------------------
   Cart page
   ------------------------------------------------------------------------- */
.strevinas-cart__content > .woocommerce {
  margin: 0;
}

.strevinas-cart__woocommerce {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .strevinas-cart__woocommerce {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }

  .strevinas-cart__form {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .strevinas-cart__collaterals {
    grid-column: 2;
    grid-row: 1;
  }
}

.strevinas-cart__table-wrap {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
}

.strevinas-cart__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border: 0;
}

.strevinas-cart__table thead th {
  padding: 0.85rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5);
}

.strevinas-cart__table tbody tr.cart_item {
  border-bottom: 1px solid hsl(var(--border));
}

.strevinas-cart__table tbody tr.cart_item:last-of-type {
  border-bottom: 0;
}

.strevinas-cart__table td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.strevinas-cart__table .product-thumbnail {
  width: 5.5rem;
}

.strevinas-cart__table .product-thumbnail img {
  width: 4.5rem;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid hsl(var(--border));
}

.strevinas-cart__product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: opacity 0.35s ease;
}

.strevinas-cart__product-name:hover {
  opacity: 0.75;
}

.strevinas-cart__table .variation,
.strevinas-cart__table dl.variation {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.strevinas-cart__table .product-price,
.strevinas-cart__table .product-subtotal {
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.strevinas-cart__table .product-price del,
.strevinas-cart__table .product-subtotal del {
  opacity: 0.5;
  margin-right: 0.35rem;
}

.strevinas-cart__table .product-price ins,
.strevinas-cart__table .product-subtotal ins {
  text-decoration: none;
}

.strevinas-cart__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 1.35rem;
  line-height: 1;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  border: 1px solid hsl(var(--border));
  transition: color 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.strevinas-cart__remove:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--foreground) / 0.35);
  background: hsl(var(--card));
}

.strevinas-cart__table .product-quantity .qty {
  width: 3.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  text-align: center;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 0;
}

.strevinas-cart__actions {
  padding: 1.25rem 1rem 1.5rem !important;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.25);
}

.strevinas-cart__coupon {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.strevinas-cart__coupon-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-cart__coupon-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.strevinas-cart__coupon-fields .input-text {
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 0;
}

.strevinas-cart__coupon-fields .input-text:focus {
  outline: none;
  border-color: hsl(var(--foreground) / 0.35);
  background: hsl(var(--card));
}

.strevinas-cart__coupon-fields .button,
.strevinas-cart__update {
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  font-family: Inter, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  background: transparent;
  border: 1px solid hsl(var(--border));
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.35s ease, background-color 0.35s ease, opacity 0.35s ease;
}

.strevinas-cart__coupon-fields .button:hover,
.strevinas-cart__update:hover {
  border-color: hsl(var(--foreground) / 0.35);
  background: hsl(var(--card) / 0.65);
}

.strevinas-cart__update:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.strevinas-cart__totals {
  padding: 1.5rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.45);
}

.strevinas-cart__totals-title {
  margin: 0 0 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: hsl(var(--foreground));
}

.strevinas-cart__totals-table {
  width: 100%;
  margin: 0 0 1.25rem;
  border-collapse: collapse;
}

.strevinas-cart__totals-table th,
.strevinas-cart__totals-table td {
  padding: 0.65rem 0;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  border-top: 1px solid hsl(var(--border));
  vertical-align: top;
}

.strevinas-cart__totals-table th {
  font-weight: 400;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  text-align: left;
  padding-right: 1rem;
}

.strevinas-cart__totals-table td {
  text-align: right;
  color: hsl(var(--foreground));
}

.strevinas-cart__totals-table tr:first-child th,
.strevinas-cart__totals-table tr:first-child td {
  border-top: 0;
}

.strevinas-cart__totals-table .order-total th,
.strevinas-cart__totals-table .order-total td {
  padding-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.strevinas-cart__totals-table .order-total td .includes_tax {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.strevinas-cart__totals-table .order-total td .includes_tax .woocommerce-Price-amount {
  display: inline;
}

.strevinas-cart__checkout {
  margin: 0;
}

.strevinas-cart__checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.9rem 1.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: hsl(var(--background)) !important;
  background: hsl(var(--foreground)) !important;
  border: 1px solid hsl(var(--foreground));
  border-radius: 0;
  transition: opacity 0.35s ease;
}

.strevinas-cart__checkout-btn:hover {
  opacity: 0.88;
  color: hsl(var(--background)) !important;
  background: hsl(var(--foreground)) !important;
}

.strevinas-cart__empty {
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
}

.strevinas-cart__empty-cta {
  display: inline-flex;
}

.strevinas-cart .cross-sells {
  grid-column: 1 / -1;
  margin-top: clamp(1rem, 2vw, 2rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid hsl(var(--border));
}

.strevinas-cart .cross-sells > h2 {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: hsl(var(--foreground));
}

@media (max-width: 768px) {
  .strevinas-cart__table thead {
    display: none;
  }

  .strevinas-cart__table tbody tr.cart_item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      'remove thumb name'
      'remove thumb price'
      'remove thumb qty'
      'remove thumb subtotal';
    gap: 0.35rem 0.85rem;
    padding: 1.25rem 1rem;
  }

  .strevinas-cart__table tbody tr.cart_item td {
    padding: 0;
    border: 0;
  }

  .strevinas-cart__table .product-remove {
    grid-area: remove;
    align-self: start;
  }

  .strevinas-cart__table .product-thumbnail {
    grid-area: thumb;
    width: auto;
  }

  .strevinas-cart__table .product-name {
    grid-area: name;
  }

  .strevinas-cart__table .product-price {
    grid-area: price;
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
  }

  .strevinas-cart__table .product-price::before {
    content: attr(data-title) ': ';
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.625rem;
  }

  .strevinas-cart__table .product-quantity {
    grid-area: qty;
  }

  .strevinas-cart__table .product-subtotal {
    grid-area: subtotal;
    font-weight: 600;
  }

  .strevinas-cart__table .product-subtotal::before {
    content: attr(data-title) ': ';
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.625rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
  }

  .strevinas-cart__actions-row td {
    display: block;
    padding: 1.25rem 1rem !important;
  }
}

/* -------------------------------------------------------------------------
   Checkout page
   ------------------------------------------------------------------------- */
.strevinas-checkout__content > .woocommerce {
  margin: 0;
}

.strevinas-checkout__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 1100px) {
  .strevinas-checkout__layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
}

.strevinas-checkout__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.strevinas-checkout__customer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 0;
}

.strevinas-checkout__customer .col-1,
.strevinas-checkout__customer .col-2 {
  width: 100%;
  float: none;
  margin: 0;
}

.strevinas-checkout__billing-fields,
.strevinas-checkout__shipping-fields,
.strevinas-checkout__additional-fields {
  padding: 1.5rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
}

.strevinas-checkout__section-title {
  margin: 0 0 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: hsl(var(--foreground));
}

.strevinas-checkout__section-title--checkbox {
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.strevinas-checkout__section-title--checkbox span {
  color: hsl(var(--muted-foreground));
}

.strevinas-checkout__fields .form-row {
  margin-bottom: 1rem;
}

.strevinas-checkout__fields label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: Inter, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.strevinas-checkout__fields .input-text,
.strevinas-checkout__fields select,
.strevinas-checkout__fields textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  background: hsl(var(--card) / 0.5);
  border: 1px solid hsl(var(--border));
  border-radius: 0;
  box-shadow: none;
}

.strevinas-checkout__fields .input-text:focus,
.strevinas-checkout__fields select:focus,
.strevinas-checkout__fields textarea:focus {
  outline: none;
  border-color: hsl(var(--foreground) / 0.35);
  background: hsl(var(--card));
}

.strevinas-checkout__fields textarea {
  min-height: 6rem;
  resize: vertical;
}

/* Native & Select2 dropdowns — dark theme */
.strevinas-checkout select {
  appearance: none;
  padding-right: 2.5rem;
  background-color: hsl(var(--card) / 0.55) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a3a3a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.strevinas-checkout .select2-container {
  width: 100% !important;
  max-width: 100%;
}

.strevinas-checkout .select2-container--default .select2-selection--single {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  height: auto;
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  color: hsl(var(--foreground)) !important;
  background: hsl(var(--card) / 0.55) !important;
  border: 1px solid hsl(var(--border)) !important;
  border-radius: 0;
  box-shadow: none !important;
}

.strevinas-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: hsl(var(--foreground));
}

.strevinas-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 0.75rem;
  height: 100%;
}

.strevinas-checkout .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: hsl(var(--muted-foreground)) transparent transparent transparent;
}

.strevinas-checkout .select2-dropdown {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
}

.strevinas-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
.strevinas-checkout .select2-container--default .select2-results__option--highlighted[data-selected] {
  background: hsl(var(--foreground) / 0.12);
  color: hsl(var(--foreground));
}

.strevinas-checkout__sidebar {
  position: sticky;
  top: 7rem;
}

.strevinas-checkout__order-review {
  padding: 1.5rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.45);
}

.strevinas-checkout__order-heading {
  margin: 0 0 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: hsl(var(--foreground));
}

.strevinas-checkout__review-table {
  width: 100%;
  margin: 0 0 1.25rem;
  border-collapse: collapse;
  table-layout: fixed;
}

.strevinas-checkout__review-table thead th {
  padding: 0 0 0.75rem;
  font-family: Inter, sans-serif;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
}

.strevinas-checkout__review-table thead th.product-name,
.strevinas-checkout__review-table tbody td.product-name,
.strevinas-checkout__review-table tfoot th {
  width: 58%;
  text-align: left;
  padding-right: 1rem;
}

.strevinas-checkout__review-table thead th.product-total,
.strevinas-checkout__review-table tbody td.product-total,
.strevinas-checkout__review-table tfoot td {
  width: 42%;
  text-align: right;
}

.strevinas-checkout__review-table tbody td {
  padding: 0.85rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: top;
}

.strevinas-checkout__review-table .product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  line-height: 1.25;
  color: hsl(var(--foreground));
}

.strevinas-checkout__review-table .product-total {
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
}

.strevinas-checkout__review-table tfoot th,
.strevinas-checkout__review-table tfoot td {
  padding: 0.55rem 0;
  font-size: 0.8125rem;
  border-top: 1px solid hsl(var(--border));
}

.strevinas-checkout__review-table tfoot th {
  font-weight: 400;
  text-align: left;
  color: hsl(var(--muted-foreground));
}

.strevinas-checkout__review-table tfoot td {
  text-align: right;
  color: hsl(var(--foreground));
}

.strevinas-checkout__review-table .order-total td .includes_tax {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.strevinas-checkout__review-table .order-total td .includes_tax .woocommerce-Price-amount {
  display: inline;
}

.strevinas-checkout__review-table .order-total th,
.strevinas-checkout__review-table .order-total td {
  padding-top: 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.strevinas-checkout__payment {
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
}

.strevinas-checkout__payment-methods {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.strevinas-checkout__payment-methods li {
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
}

.strevinas-checkout__payment-methods li label {
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  cursor: pointer;
}

.strevinas-checkout__payment-methods .payment_box {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  border-top: 1px solid hsl(var(--border));
}

.strevinas-checkout__place-order {
  margin: 0;
  padding: 0;
}

.strevinas-checkout__place-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.5rem;
  font-family: Inter, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--background)) !important;
  background: hsl(var(--foreground)) !important;
  border: 1px solid hsl(var(--foreground));
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.35s ease;
}

.strevinas-checkout__place-order-btn:hover {
  opacity: 0.88;
}

.strevinas-checkout__coupon-toggle {
  margin-bottom: 1.25rem;
}

.strevinas-checkout__coupon-toggle .woocommerce-info,
.strevinas-checkout__coupon-toggle .woocommerce-message {
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
}

.strevinas-checkout__coupon-toggle a.showcoupon {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.strevinas-checkout__coupon-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.25);
}

.strevinas-checkout__coupon-form .form-row {
  margin: 0;
  flex: 1 1 auto;
}

.strevinas-checkout__coupon-form .input-text {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5);
  color: hsl(var(--foreground));
}

.strevinas-checkout__coupon-form .button {
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  background: transparent;
  border: 1px solid hsl(var(--border));
}

.strevinas-checkout__terms {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--border));
}

.strevinas-checkout .woocommerce-privacy-policy-text {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  font-family: Inter, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card) / 0.25);
  border: 1px solid hsl(var(--border));
}

.strevinas-checkout .woocommerce-privacy-policy-text a {
  color: hsl(var(--foreground));
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.strevinas-checkout .woocommerce-terms-and-conditions {
  display: none !important;
}

.strevinas-checkout__terms-accept {
  padding: 1rem 1.15rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.strevinas-checkout__terms-accept:has(#terms:checked) {
  border-color: hsl(var(--foreground) / 0.35);
  background: hsl(var(--card) / 0.55);
}

.strevinas-checkout__terms-row {
  margin: 0 !important;
  padding: 0;
}

.strevinas-checkout__terms-label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  cursor: pointer;
}

.strevinas-checkout__terms-checkbox {
  flex-shrink: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.1rem 0 0;
  accent-color: hsl(var(--foreground));
  cursor: pointer;
}

.strevinas-checkout__terms-label-text {
  flex: 1;
  min-width: 0;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: none;
  color: hsl(var(--foreground));
}

.strevinas-checkout__terms-label-text .required {
  margin-left: 0.15rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.strevinas-checkout__terms-label-text a {
  color: hsl(var(--foreground));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.strevinas-checkout__terms-label-text a:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .strevinas-checkout__sidebar {
    position: static;
  }
}

/* -------------------------------------------------------------------------
   Checkout / cart loading — Serene blockUI (αντί λευκού wash)
   ------------------------------------------------------------------------- */
@keyframes strevinas-wc-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes strevinas-wc-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

:is(.strevinas-checkout-page, .strevinas-cart-page) .blockUI.blockOverlay,
:is(.strevinas-checkout-page, .strevinas-cart-page) .strevinas-wc-blockOverlay {
  background: hsl(var(--background) / 0.78) !important;
  opacity: 1 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.35s var(--ease-silk);
}

:is(.strevinas-checkout-page, .strevinas-cart-page) .blockUI.blockOverlay::before,
:is(.strevinas-checkout-page, .strevinas-cart-page) .strevinas-wc-blockOverlay::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  border-radius: 50%;
  border: 1px solid hsl(var(--foreground) / 0.12);
  border-top-color: hsl(var(--foreground) / 0.85);
  animation: strevinas-wc-spin 0.95s var(--ease-silk) infinite;
  pointer-events: none;
}

:is(.strevinas-checkout-page, .strevinas-cart-page) .blockUI.blockOverlay::after,
:is(.strevinas-checkout-page, .strevinas-cart-page) .strevinas-wc-blockOverlay::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border-radius: 50%;
  border: 1px solid transparent;
  border-right-color: hsl(var(--silver) / 0.35);
  animation: strevinas-wc-spin 1.6s linear infinite reverse;
  pointer-events: none;
}

/* Processing state — ήπιο fade στο περιεχόμενο κάτω από overlay */
:is(.strevinas-checkout, .strevinas-cart) .processing {
  position: relative;
}

:is(.strevinas-checkout, .strevinas-cart) form.processing .strevinas-checkout__layout,
:is(.strevinas-checkout, .strevinas-cart) .cart-collaterals.processing,
:is(.strevinas-checkout, .strevinas-cart) form.cart.processing {
  transition: filter 0.35s var(--ease-silk);
}

@media (prefers-reduced-motion: reduce) {
  :is(.strevinas-checkout-page, .strevinas-cart-page) .blockUI.blockOverlay::before,
  :is(.strevinas-checkout-page, .strevinas-cart-page) .blockUI.blockOverlay::after,
  :is(.strevinas-checkout-page, .strevinas-cart-page) .strevinas-wc-blockOverlay::before,
  :is(.strevinas-checkout-page, .strevinas-cart-page) .strevinas-wc-blockOverlay::after {
    animation: strevinas-wc-pulse 1.4s ease-in-out infinite;
    border: none;
    width: 0.5rem;
    height: 0.5rem;
    margin: -0.25rem 0 0 -0.25rem;
    background: hsl(var(--foreground) / 0.7);
    border-radius: 50%;
  }

  :is(.strevinas-checkout-page, .strevinas-cart-page) .blockUI.blockOverlay::after,
  :is(.strevinas-checkout-page, .strevinas-cart-page) .strevinas-wc-blockOverlay::after {
    display: none;
  }
}
