/* RELECTA 1.1 — keep the native WooCommerce gallery and purchase forms. */
body.relecta-store {
  --r-blue: #1769d2;
  --r-hover: #1153ae;
  --r-ink: #0f172a;
  --r-text: #475569;
  --r-line: #e2e8f0;
  --theme-button-background-initial-color: #1769d2;
  --theme-button-background-hover-color: #1153ae;
  --theme-button-text-initial-color: #fff;
  --theme-button-text-hover-color: #fff;
  background: #fff;
  color: var(--r-text);
}
.relecta-store main { background: #fff; }
.relecta-store main > [class*="ct-container"] {
  --theme-container-width: min(1180px, calc(100% - 64px));
  padding-block: 40px 76px;
}
.relecta-store .ct-breadcrumbs,
.relecta-store .woocommerce-breadcrumb {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  color: #64748b;
  overflow-wrap: anywhere;
}
.relecta-store .ct-breadcrumbs a,
.relecta-store .woocommerce-breadcrumb a { color: var(--r-blue); }
.relecta-store .ct-breadcrumbs { margin-bottom: 28px; }
.relecta-store.single-product .product-entry-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 4.5vw, 64px);
}
.relecta-store.single-product .product-entry-wrapper > .woocommerce-product-gallery,
.relecta-store.single-product .product-entry-wrapper > .entry-summary {
  float: none;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}
.relecta-store.single-product .woocommerce-product-gallery {
  padding: 14px;
  background: #f6f8fc;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  overflow: hidden;
  --thumbs-spacing: 10px;
  --thumbs-width: 76px;
}
.relecta-store.single-product .woocommerce-product-gallery .ct-media-container {
  aspect-ratio: 1 / 1 !important;
  --aspect-ratio: 1 / 1 !important;
  border-radius: 12px;
  background: #fff;
}
.relecta-store.single-product .woocommerce-product-gallery .ct-media-container img,
.relecta-store.single-product .woocommerce-product-gallery__image img {
  object-fit: contain !important;
  object-position: center;
  background: #fff;
}
.relecta-store.single-product .woocommerce-product-gallery__image > a {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 12px;
}
.relecta-store.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
}
.relecta-store.single-product .woocommerce-product-gallery .flexy-pills ol { margin-top: 2px; }
.relecta-store.single-product .woocommerce-product-gallery .flexy-pills li { --thumbs-width: 20%; }
.relecta-store.single-product .woocommerce-product-gallery .flexy-pills li.active .ct-media-container::after {
  border: 2px solid var(--r-blue);
  border-radius: 12px;
}
.relecta-store.single-product .woocommerce-product-gallery__trigger {
  top: 12px;
  inset-inline-end: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid #dbe5f2;
  border-radius: 50%;
  background: #fff;
  color: var(--r-ink);
  box-shadow: 0 3px 10px #0f172a0a;
  z-index: 3;
}
.relecta-store .relecta-gallery-open { display: grid; place-items: center; position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border: 1px solid #dbe5f2; border-radius: 50%; background: #fff; color: #0f172a; z-index: 5; box-shadow: 0 3px 10px #0f172a0a; }
.relecta-lightbox { width: min(94vw, 1050px); height: min(94vh, 960px); max-width: none; max-height: none; padding: 48px 20px 16px; border: 0; border-radius: 15px; background: #fff; color: #0f172a; overflow: hidden; }
.relecta-lightbox::backdrop { background: #0f172ade; }
.relecta-lightbox[open] { display: flex; flex-direction: column; }
.relecta-lightbox-photo { display: block; width: 100%; min-height: 0; flex: 1; object-fit: contain; background: #fff; }
.relecta-lightbox-close { position: absolute; inset-inline-end: 12px; top: 8px; min-width: 36px; min-height: 36px; padding: 0; border: 0; border-radius: 50%; font-size: 30px; line-height: 1; background: #f1f5f9; color: #0f172a; cursor: pointer; }
.relecta-lightbox-navigation { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 10px; min-height: 42px; }
.relecta-lightbox-navigation p { margin: 0; font-size: 13px; color: #475569; }
.relecta-lightbox-navigation button { min-width: 42px; min-height: 42px; padding: 0; border: 1px solid #e2e8f0; border-radius: 9px; font-size: 26px; line-height: 1; background: #fff; color: #1769d2; cursor: pointer; }
.relecta-lightbox-navigation button[hidden] { display: none; }
.relecta-lightbox button:focus-visible { outline: 3px solid #1769d2; outline-offset: 3px; }
.relecta-store.single-product .ct-woo-badges { inset-block-start: 12px; inset-inline-start: 12px; }
.relecta-store.single-product .entry-summary { padding-block: 4px; }
.relecta-store.single-product .entry-summary .product_title {
  margin: 0 0 16px;
  color: var(--r-ink);
  font-size: clamp(27px, 2.6vw, 36px);
  font-weight: 750;
  line-height: 1.18;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.relecta-store.single-product .entry-summary > .price {
  margin: 0 0 8px;
  color: var(--r-ink);
  font-size: 30px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.relecta-store.single-product .entry-summary > .price del { color: #64748b; font-size: 20px; }
.relecta-store.single-product .entry-summary > .price ins { color: var(--r-blue); text-decoration: none; }
.relecta-store .relecta-pack-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3a5d83;
  font-size: 13px;
  font-weight: 550;
  margin: 0 0 22px;
}
.relecta-store .relecta-pack-note span { color: var(--r-blue); font-weight: 750; }
.relecta-store .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--r-text);
  margin-bottom: 24px;
}
.relecta-store .woocommerce-product-details__short-description p { margin: 0 0 14px; }
.relecta-store .woocommerce-product-details__short-description ul {
  padding-inline-start: 20px;
  margin: 0;
}
.relecta-store .woocommerce-product-details__short-description li { padding-inline-start: 3px; margin-bottom: 5px; }
.relecta-store .woocommerce-product-details__short-description li::marker { color: var(--r-blue); }
.relecta-store .entry-summary .ct-product-divider { margin: 22px 0; border-color: var(--r-line); }
.relecta-store .ct-product-add-to-cart { margin-bottom: 22px; }
.relecta-store form.cart { gap: 10px; margin: 14px 0 0; }
.relecta-store form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: 52px;
  padding-inline: 24px;
  background: var(--r-blue);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}
.relecta-store form.cart .single_add_to_cart_button:hover { background: var(--r-hover); }
.relecta-store form.cart .quantity { min-height: 52px; border-radius: 10px; }
.relecta-store .entry-summary .stock { font-size: 13px; font-weight: 650; margin-block: 0 10px; }
.relecta-store .entry-summary .out-of-stock {
  display: inline-flex;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 7px;
  color: #475569;
}
.relecta-store .relecta-selection-help {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 17px;
  background: #f1f6ff;
  border: 1px solid #dfebfd;
  border-radius: 12px;
}
.relecta-store .relecta-help-icon {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #d4e3f8;
  border-radius: 10px;
  background: #fff;
  color: var(--r-blue);
}
.relecta-store .relecta-selection-help strong { display: block; color: var(--r-ink); font-size: 14px; line-height: 1.5; margin-bottom: 3px; }
.relecta-store .relecta-selection-help p { color: #475569; font-size: 13px; line-height: 1.65; margin: 0 0 6px; }
.relecta-store .relecta-selection-help a { font-size: 13px; font-weight: 650; color: #1153ae; text-underline-offset: 3px; }
.relecta-store .entry-summary .product_meta {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.9;
  color: #64748b;
  letter-spacing: .035em;
}
.relecta-store .woocommerce-tabs { margin-top: 60px; }
.relecta-store .woocommerce-tabs .wc-tabs {
  justify-content: flex-start;
  gap: 30px;
  border-bottom: 1px solid var(--r-line);
}
.relecta-store .woocommerce-tabs .wc-tabs li { margin: 0; }
.relecta-store .woocommerce-tabs .wc-tabs li a { font-size: 15px; font-weight: 650; padding-block: 14px; color: #64748b; }
.relecta-store .woocommerce-tabs .wc-tabs li.active a { color: var(--r-blue); }
.relecta-store .woocommerce-tabs .woocommerce-Tabs-panel { padding-top: 30px; font-size: 15px; line-height: 1.85; }
.relecta-store .woocommerce-tabs .woocommerce-Tabs-panel--description { max-width: 850px; }
.relecta-store .woocommerce-tabs h2 { font-size: 26px; line-height: 1.3; letter-spacing: -.025em; color: var(--r-ink); margin: 0 0 20px; }
.relecta-store .woocommerce-tabs h3 { font-size: 19px; line-height: 1.4; color: var(--r-ink); margin: 30px 0 10px; letter-spacing: -.015em; }
.relecta-store .woocommerce-tabs p { margin-bottom: 18px; }
.relecta-store .woocommerce-product-attributes { border: 1px solid var(--r-line); border-radius: 10px; overflow: hidden; }
.relecta-store .woocommerce-product-attributes th { background: #f8fafc; color: var(--r-ink); }
.relecta-store .woocommerce-product-attributes th,
.relecta-store .woocommerce-product-attributes td { padding: 14px 20px; font-size: 14px; border-color: var(--r-line); }
.relecta-store .products .product { --theme-border-radius: 14px; }
.relecta-store .products .product .ct-media-container { aspect-ratio: 1 / 1; background: #f8fafc; border: 1px solid #edf1f7; border-radius: 14px; }
.relecta-store .products .product .ct-media-container img { object-fit: contain; background: #fff; }
.relecta-store .products .product .woocommerce-loop-product__title { color: var(--r-ink); font-size: 17px; line-height: 1.4; letter-spacing: -.015em; }
.relecta-store .products .product .price { color: var(--r-ink); font-size: 17px; font-weight: 700; }
.relecta-store a:focus-visible,
.relecta-store button:focus-visible { outline: 3px solid var(--r-blue); outline-offset: 4px; }
@media (max-width: 979px) {
  .relecta-store main > [class*="ct-container"] { --theme-container-width: calc(100% - 40px); padding-block: 28px 54px; }
  .relecta-store.single-product .product-entry-wrapper { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .relecta-store.single-product .woocommerce-product-gallery { width: min(100%, 620px) !important; justify-self: center; }
  .relecta-store.single-product .entry-summary { max-width: 720px; justify-self: center; }
  .relecta-store .woocommerce-tabs { margin-top: 40px; }
}
@media (max-width: 479px) {
  .relecta-store main > [class*="ct-container"] { --theme-container-width: calc(100% - 32px); padding-top: 22px; }
  .relecta-store .ct-breadcrumbs { font-size: 11px; margin-bottom: 20px; }
  .relecta-store.single-product .woocommerce-product-gallery { padding: 9px; border-radius: 14px; }
  .relecta-store.single-product .entry-summary .product_title { font-size: 27px; }
  .relecta-store.single-product .entry-summary > .price { font-size: 28px; }
  .relecta-store form.cart .single_add_to_cart_button { min-width: 0; padding-inline: 14px; }
  .relecta-store .woocommerce-tabs .wc-tabs { gap: 20px; flex-wrap: wrap; }
  .relecta-store .woocommerce-tabs .wc-tabs li a { font-size: 14px; }
  .relecta-store .woocommerce-tabs h2 { font-size: 23px; }
  .relecta-store .relecta-selection-help { padding: 14px; }
}
