/*
Theme Name: ShopCo Figma Original
Theme URI: https://example.com/shopco-figma
Author: OpenAI
Author URI: https://openai.com
Description: Tema WordPress WooCommerce responsif berdasarkan desain SHOP.CO Figma, tanpa ilustrasi pengganti.
Version: 2.5.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: shopco-figma
Tags: e-commerce, woocommerce, responsive-layout, custom-logo, custom-menu, featured-images
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --shopco-black: #000;
  --shopco-white: #fff;
  --shopco-ink: #111;
  --shopco-muted: rgba(0, 0, 0, .58);
  --shopco-line: rgba(0, 0, 0, .10);
  --shopco-soft: #f0eeee;
  --shopco-soft-2: #f7f7f7;
  --shopco-star: #ffc633;
  --shopco-danger: #ff3333;
  --shopco-success: #01ab31;
  --shopco-radius: 20px;
  --shopco-radius-sm: 12px;
  --shopco-container: 1240px;
  --shopco-heading: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --shopco-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--shopco-ink);
  background: var(--shopco-white);
  font-family: var(--shopco-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .shopco-header { top: 32px; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button,
input,
select,
textarea { font: inherit; }

button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  cursor: pointer;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.shopco-container {
  width: min(calc(100% - 32px), var(--shopco-container));
  margin-inline: auto;
}

.shopco-section { padding: 68px 0; }

.shopco-section + .shopco-section { border-top: 1px solid var(--shopco-line); }

.shopco-section-title {
  margin: 0 0 42px;
  font-family: var(--shopco-heading);
  font-size: clamp(32px, 4vw, 48px);
  line-height: .98;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.shopco-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: 1px solid var(--shopco-black);
  border-radius: 999px;
  color: var(--shopco-white);
  background: var(--shopco-black);
  font-weight: 600;
  line-height: 1;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, color .2s ease;
}

.shopco-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wp-element-button:hover {
  color: var(--shopco-white);
  background: #222;
  transform: translateY(-1px);
}

.shopco-button--outline {
  color: var(--shopco-black);
  background: transparent;
  border-color: var(--shopco-line);
}

.shopco-button--outline:hover {
  color: var(--shopco-black);
  background: var(--shopco-soft-2);
}

.shopco-announcement-toggle,
.shopco-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.shopco-announcement {
  position: relative;
  z-index: 30;
  padding: 9px 48px;
  color: var(--shopco-white);
  background: var(--shopco-black);
  font-size: 13px;
  text-align: center;
}

.shopco-announcement a { text-decoration: underline; font-weight: 700; }

.shopco-announcement-close {
  position: absolute;
  top: 50%;
  right: max(18px, calc((100vw - var(--shopco-container)) / 2));
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  font-size: 22px;
  cursor: pointer;
}

.shopco-announcement-toggle:checked + .shopco-announcement { display: none; }

.shopco-header {
  position: sticky;
  top: 0;
  z-index: 25;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.shopco-header-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.shopco-brand {
  font-family: var(--shopco-heading);
  font-size: 32px;
  line-height: 1;
  letter-spacing: -2.3px;
}

.shopco-brand img,
.custom-logo {
  width: auto;
  max-height: 42px;
}

.shopco-nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shopco-nav li { position: relative; }

.shopco-nav a { font-size: 15px; white-space: nowrap; }

.shopco-nav .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 12px;
}

.shopco-nav .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: -18px;
  min-width: 190px;
  display: grid;
  gap: 0;
  padding: 10px;
  border: 1px solid var(--shopco-line);
  border-radius: 14px;
  background: var(--shopco-white);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}

.shopco-nav li:hover > .sub-menu,
.shopco-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shopco-nav .sub-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
}

.shopco-nav .sub-menu a:hover { background: var(--shopco-soft-2); }

.shopco-search {
  position: relative;
  display: flex;
  align-items: center;
}

.shopco-search svg {
  position: absolute;
  left: 17px;
  width: 20px;
  height: 20px;
  color: #777;
}

.shopco-search input[type="search"] {
  width: 100%;
  height: 48px;
  padding: 0 18px 0 48px;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: var(--shopco-soft);
  color: var(--shopco-black);
}

.shopco-search input[type="search"]:focus {
  box-shadow: 0 0 0 2px var(--shopco-black);
}

.shopco-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.shopco-icon-button {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.shopco-icon-button svg { width: 23px; height: 23px; }

.shopco-cart-count {
  position: absolute;
  top: -7px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  color: var(--shopco-white);
  background: var(--shopco-black);
  font-size: 10px;
  line-height: 1;
}

.shopco-mobile-menu-button {
  display: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.shopco-mobile-menu-button span,
.shopco-mobile-menu-button::before,
.shopco-mobile-menu-button::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: var(--shopco-black);
  transition: .2s ease;
}

.shopco-hero {
  overflow: hidden;
  background: #f2f0f1;
}

.shopco-hero-inner {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: stretch;
}

.shopco-hero-copy {
  position: relative;
  z-index: 2;
  padding: 84px 34px 64px 0;
}

.shopco-hero h1 {
  max-width: 660px;
  margin: 0;
  font-family: var(--shopco-heading);
  font-size: clamp(52px, 5vw, 68px);
  line-height: .94;
  letter-spacing: -4px;
  text-transform: uppercase;
}

.shopco-hero-description {
  max-width: 560px;
  margin: 28px 0 30px;
  color: var(--shopco-muted);
}

.shopco-hero .shopco-button { min-width: 210px; }

.shopco-stats {
  display: flex;
  margin-top: 48px;
}

.shopco-stat {
  min-width: 160px;
  padding: 0 30px;
  border-left: 1px solid var(--shopco-line);
}

.shopco-stat:first-child { padding-left: 0; border-left: 0; }

.shopco-stat strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -1px;
}

.shopco-stat span {
  display: block;
  margin-top: 7px;
  color: var(--shopco-muted);
  font-size: 14px;
}

.shopco-hero-art {
  position: relative;
  min-height: 600px;
  align-self: end;
}

.shopco-hero-art img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: contain;
  object-position: center bottom;
}

.shopco-sparkle {
  position: absolute;
  z-index: 3;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.08));
}

.shopco-sparkle::before,
.shopco-sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shopco-black);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.shopco-sparkle--large { top: 88px; right: 30px; }

.shopco-sparkle--small {
  top: 280px;
  left: 2px;
  width: 38px;
  height: 38px;
}

.shopco-brands {
  background: var(--shopco-black);
  color: var(--shopco-white);
}

.shopco-brand-row {
  min-height: 120px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: center;
}

.shopco-brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 38px);
  text-align: center;
  white-space: nowrap;
}

.shopco-brand-name:nth-child(2) { font-family: var(--shopco-heading); letter-spacing: -3px; }
.shopco-brand-name:nth-child(4) { font-weight: 700; letter-spacing: 3px; }
.shopco-brand-name:nth-child(5) { font-family: Arial, sans-serif; font-weight: 300; }

.shopco-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.shopco-product-card { min-width: 0; }

.shopco-product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--shopco-radius);
  background: var(--shopco-soft);
}

.shopco-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.shopco-product-card:hover .shopco-product-image img { transform: scale(1.035); }

.shopco-product-title {
  display: block;
  margin-top: 16px;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.25;
}

.shopco-rating {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.shopco-stars {
  color: var(--shopco-star);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
}

.shopco-rating-text { font-size: 13px; color: var(--shopco-muted); }

.shopco-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  font-size: 23px;
  font-weight: 800;
}

.shopco-price del { color: rgba(0,0,0,.38); font-weight: 700; }

.shopco-discount {
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--shopco-danger);
  background: rgba(255,51,51,.10);
  font-size: 12px;
}

.shopco-section-actions {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.shopco-section-actions .shopco-button--outline { min-width: 220px; }

.shopco-style-browser {
  padding: 56px 64px 64px;
  border-radius: 40px;
  background: var(--shopco-soft);
}

.shopco-style-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 20px;
}

.shopco-style-card {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  border-radius: var(--shopco-radius);
  background: var(--shopco-white);
}

.shopco-style-card:nth-child(3) { grid-column: span 1; }
.shopco-style-card:nth-child(4) { grid-column: span 1; }

.shopco-style-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopco-style-card span {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 2;
  font-family: var(--shopco-heading);
  font-size: 34px;
  line-height: 1;
}

.shopco-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.shopco-testimonial {
  padding: 28px 30px;
  border: 1px solid var(--shopco-line);
  border-radius: var(--shopco-radius);
}

.shopco-testimonial .shopco-stars { margin-bottom: 16px; }

.shopco-testimonial h3 {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 10px;
  font-size: 20px;
}

.shopco-verified {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--shopco-white);
  background: var(--shopco-success);
  font-size: 12px;
}

.shopco-testimonial p { margin: 0; color: var(--shopco-muted); }

.shopco-newsletter {
  position: relative;
  z-index: 3;
  margin-bottom: -90px;
}

.shopco-newsletter-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: center;
  padding: 38px 64px;
  border-radius: var(--shopco-radius);
  color: var(--shopco-white);
  background: var(--shopco-black);
}

.shopco-newsletter h2 {
  max-width: 620px;
  margin: 0;
  font-family: var(--shopco-heading);
  font-size: clamp(32px, 4vw, 45px);
  line-height: .98;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.shopco-newsletter-form {
  display: grid;
  gap: 12px;
}

.shopco-newsletter-field {
  position: relative;
}

.shopco-newsletter-field svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  transform: translateY(-50%);
  color: #777;
}

.shopco-newsletter input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0 20px 0 50px;
  border: 0;
  border-radius: 999px;
  outline: 0;
}

.shopco-newsletter button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--shopco-black);
  background: var(--shopco-white);
  font-weight: 700;
}

.shopco-footer {
  padding: 150px 0 28px;
  background: var(--shopco-soft);
}

.shopco-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 34px;
}

.shopco-footer-brand p {
  max-width: 280px;
  color: var(--shopco-muted);
  font-size: 14px;
}

.shopco-socials {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.shopco-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shopco-line);
  border-radius: 50%;
  background: var(--shopco-white);
  font-size: 12px;
  font-weight: 700;
}

.shopco-footer h3 {
  margin: 2px 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.shopco-footer ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--shopco-muted);
  font-size: 14px;
}

.shopco-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--shopco-line);
  color: var(--shopco-muted);
  font-size: 13px;
}

.shopco-payments { display: flex; gap: 8px; }

.shopco-payment {
  min-width: 52px;
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--shopco-black);
  background: var(--shopco-white);
  text-align: center;
  font-size: 10px;
  font-weight: 800;
}

.shopco-main { min-height: 55vh; }

.shopco-page-header { padding: 34px 0 14px; }

.shopco-page-title {
  margin: 0;
  font-family: var(--shopco-heading);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.shopco-content { padding: 44px 0 90px; }

.shopco-entry {
  max-width: 860px;
  margin: 0 auto;
}

.shopco-entry img { border-radius: var(--shopco-radius); }

.shopco-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 26px;
}

.shopco-post-card {
  overflow: hidden;
  border: 1px solid var(--shopco-line);
  border-radius: var(--shopco-radius);
}

.shopco-post-card-content { padding: 22px; }

.shopco-post-card h2 { margin: 0 0 10px; font-size: 22px; }

.shopco-post-card p { color: var(--shopco-muted); }

.shopco-breadcrumbs,
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 20px;
  color: var(--shopco-muted);
  font-size: 14px;
}

/* WooCommerce: category/archive */
.shopco-shop-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 30px;
  padding: 34px 0 90px;
}

.shopco-shop-sidebar {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--shopco-line);
  border-radius: var(--shopco-radius);
}

.shopco-shop-sidebar h2,
.shopco-shop-sidebar .widget-title {
  margin: 0 0 18px;
  font-size: 20px;
}

.shopco-shop-sidebar .widget {
  padding: 20px 0;
  border-top: 1px solid var(--shopco-line);
}

.shopco-shop-sidebar .widget:first-child { padding-top: 0; border-top: 0; }

.shopco-shop-sidebar ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--shopco-muted);
}

.woocommerce .woocommerce-result-count { color: var(--shopco-muted); }

.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--shopco-line);
  border-radius: 999px;
  background: var(--shopco-white);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 34px 20px;
  margin: 30px 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1/1;
  margin: 0 0 15px;
  padding: 12px;
  border-radius: var(--shopco-radius);
  background: var(--shopco-soft);
  object-fit: contain;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  font-size: 18px;
  font-weight: 750;
}

.woocommerce ul.products li.product .star-rating { margin: 9px 0; color: var(--shopco-star); }

.woocommerce ul.products li.product .price {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--shopco-black);
  font-size: 22px;
  font-weight: 800;
}

.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  top: 12px !important;
  left: 12px !important;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--shopco-danger);
  background: #ffe6e6;
  line-height: 1;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 7px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  color: var(--shopco-black);
  background: var(--shopco-soft);
}

/* WooCommerce: single product */
.woocommerce div.product {
  padding: 24px 0 90px;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  margin-bottom: 0;
}

.woocommerce div.product div.images { width: 48%; }

.woocommerce div.product div.summary { width: 48%; }

.woocommerce div.product .woocommerce-product-gallery__wrapper {
  border-radius: var(--shopco-radius);
  background: var(--shopco-soft);
}

.woocommerce div.product .woocommerce-product-gallery__image img {
  aspect-ratio: 1 / 1;
  padding: 20px;
  object-fit: contain;
}

.woocommerce div.product .product_title {
  margin: 0 0 12px;
  font-family: var(--shopco-heading);
  font-size: clamp(34px, 4vw, 48px);
  line-height: .95;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--shopco-black);
  font-size: 30px;
  font-weight: 800;
}

.woocommerce div.product .woocommerce-product-rating { margin-bottom: 15px; }

.woocommerce .star-rating { color: var(--shopco-star); }

.woocommerce div.product form.cart {
  display: flex;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--shopco-line);
}

.woocommerce .quantity .qty {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--shopco-soft);
}

.woocommerce div.product form.cart .button {
  flex: 1;
  min-height: 50px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--shopco-line); }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--shopco-black);
}

.woocommerce div.product .woocommerce-tabs .panel { padding: 22px 0; }

.woocommerce #reviews #comments ol.commentlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--shopco-line);
  border-radius: var(--shopco-radius);
}

.woocommerce #reviews #comments ol.commentlist li img.avatar { display: none; }

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  margin: 0;
  border: 0;
  padding: 0;
}

/* WooCommerce: cart and checkout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  padding: 34px 0 90px;
}

.woocommerce-cart-form {
  width: 65%;
  float: left;
  padding: 20px;
  border: 1px solid var(--shopco-line);
  border-radius: var(--shopco-radius);
}

.woocommerce table.shop_table {
  border: 0;
  border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: var(--shopco-line);
}

.woocommerce-cart table.cart img {
  width: 110px;
  padding: 8px;
  border-radius: var(--shopco-radius-sm);
  background: var(--shopco-soft);
}

.woocommerce-cart .cart-collaterals {
  width: 32%;
  float: right;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  padding: 24px;
  border: 1px solid var(--shopco-line);
  border-radius: var(--shopco-radius);
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  margin-top: 0;
  font-size: 24px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  margin: 0;
  font-size: 15px;
}

.woocommerce .coupon {
  display: flex;
  gap: 10px;
}

.woocommerce .coupon .input-text {
  min-width: 190px;
  min-height: 48px;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 999px;
  background: var(--shopco-soft);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--shopco-line);
  border-radius: 12px;
  background: var(--shopco-white);
}

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-top: 0;
  border-radius: 12px;
  background: var(--shopco-soft-2);
}

/* Gutenberg and utility */
.alignwide { width: min(100%, var(--shopco-container)); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--shopco-radius); }

@media (max-width: 1050px) {
  .shopco-header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .shopco-mobile-menu-button { display: block; order: -1; }

  .shopco-search { grid-column: 1 / -1; grid-row: 2; padding-bottom: 15px; }

  .shopco-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0 16px 18px;
    background: var(--shopco-white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .2s ease;
  }

  .shopco-nav ul {
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--shopco-line);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
  }

  .shopco-nav a { display: block; padding: 10px; }

  .shopco-nav .sub-menu {
    position: static;
    display: grid;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .shopco-nav-toggle:checked ~ .shopco-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .shopco-hero-inner { grid-template-columns: 1fr 1fr; }
  .shopco-hero h1 { font-size: clamp(48px, 6vw, 62px); }
  .shopco-stats { flex-wrap: wrap; gap: 25px 0; }
  .shopco-stat { min-width: 50%; }

  .shopco-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shopco-testimonials { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shopco-testimonial:last-child { display: none; }

  .shopco-footer-grid { grid-template-columns: 1.3fr repeat(2, 1fr); }
  .shopco-footer-col:nth-child(n+4) { margin-top: 12px; }

  .shopco-shop-layout { grid-template-columns: 230px minmax(0,1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .shopco-header { top: 46px; }

  .shopco-announcement { padding-inline: 34px; font-size: 11px; }
  .shopco-announcement-close { right: 10px; }

  .shopco-header-inner {
    min-height: 66px;
    grid-template-columns: auto auto 1fr;
    gap: 10px;
  }

  .shopco-brand { font-size: 27px; }

  .shopco-search {
    grid-column: 1 / -1;
    display: none;
  }

  .shopco-actions { justify-self: end; }

  .shopco-hero-inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .shopco-hero-copy {
    padding: 40px 0 10px;
  }

  .shopco-hero h1 {
    font-size: clamp(40px, 13.2vw, 58px);
    letter-spacing: -2.8px;
  }

  .shopco-hero-description {
    margin: 18px 0 22px;
    font-size: 14px;
  }

  .shopco-hero .shopco-button { width: 100%; }

  .shopco-stats {
    justify-content: center;
    margin-top: 28px;
    text-align: center;
  }

  .shopco-stat {
    min-width: 50%;
    padding: 0 10px;
  }

  .shopco-stat:nth-child(3) {
    min-width: 100%;
    border-left: 0;
  }

  .shopco-stat strong { font-size: 30px; }
  .shopco-stat span { font-size: 12px; }

  .shopco-hero-art,
  .shopco-hero-art img {
    min-height: 390px;
  }

  .shopco-sparkle--large { top: 45px; right: 4px; width: 55px; height: 55px; }
  .shopco-sparkle--small { top: 165px; left: 0; width: 32px; height: 32px; }

  .shopco-brand-row {
    min-height: 130px;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 20px 0;
  }

  .shopco-brand-name { font-size: 22px; }
  .shopco-brand-name:nth-child(4),
  .shopco-brand-name:nth-child(5) { grid-column: span 1; }

  .shopco-section { padding: 48px 0; }
  .shopco-section-title { margin-bottom: 30px; font-size: 34px; letter-spacing: -1.5px; }

  .shopco-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }

  .shopco-product-title { font-size: 15px; }
  .shopco-stars { font-size: 14px; }
  .shopco-price { font-size: 20px; }

  .shopco-style-browser { padding: 36px 20px 20px; border-radius: 22px; }
  .shopco-style-grid { grid-template-columns: 1fr; }
  .shopco-style-card { min-height: 190px; }
  .shopco-style-card span { top: 20px; left: 20px; font-size: 26px; }

  .shopco-testimonials { grid-template-columns: 1fr; }
  .shopco-testimonial:nth-child(n+2) { display: none; }

  .shopco-newsletter { margin-bottom: -120px; }
  .shopco-newsletter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 24px;
  }
  .shopco-newsletter h2 { font-size: 31px; }

  .shopco-footer { padding-top: 170px; }
  .shopco-footer-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px 18px;
  }

  .shopco-footer-brand { grid-column: 1 / -1; }
  .shopco-footer-bottom { align-items: flex-start; flex-direction: column; }
  .shopco-payments { flex-wrap: wrap; }

  .shopco-post-grid { grid-template-columns: 1fr; }

  .shopco-shop-layout {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .shopco-shop-sidebar {
    display: none;
  }

  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .woocommerce div.product {
    display: flex;
    flex-direction: column;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100%;
  }

  .woocommerce div.product .product_title { font-size: 30px; }
  .woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 24px; }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
  }

  .woocommerce #reviews #comments ol.commentlist { grid-template-columns: 1fr; }

  .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals {
    width: 100%;
    float: none;
  }

  .woocommerce-cart-form { padding: 10px; }

  .woocommerce-cart .cart-collaterals { margin-top: 18px; }

  .woocommerce table.shop_table_responsive tr td::before {
    font-weight: 700;
  }

  .woocommerce-cart table.cart img { width: 76px; }

  .woocommerce .coupon {
    display: grid;
    width: 100%;
  }

  .woocommerce .coupon .input-text { width: 100% !important; }
}

@media (max-width: 430px) {
  .shopco-container { width: min(calc(100% - 24px), var(--shopco-container)); }
  .shopco-brand-row { grid-template-columns: repeat(3, 1fr); }
  .shopco-brand-name { font-size: 18px; }
  .shopco-brand-name:nth-child(4),
  .shopco-brand-name:nth-child(5) { font-size: 20px; }

  .shopco-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shopco-product-image { border-radius: 14px; }
  .shopco-discount { display: none; }

  .woocommerce ul.products { gap: 24px 10px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
  .woocommerce ul.products li.product .price { font-size: 18px; }

  .shopco-footer h3 { letter-spacing: 2px; }
}


/* Version 2: uses actual uploaded/WooCommerce imagery instead of demo cartoons. */
.shopco-hero-art {
  overflow: hidden;
}

.shopco-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center bottom;
}

.shopco-hero-art--empty {
  background:
    radial-gradient(circle at 74% 24%, rgba(255,255,255,.88) 0 8%, transparent 8.5%),
    linear-gradient(135deg, #ece9ea 0%, #f6f4f5 48%, #e5e1e3 100%);
}

.shopco-hero-art--empty::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 6%;
  bottom: -12%;
  height: 42%;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  filter: blur(2px);
}

.shopco-media-required {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 38px;
  width: min(78%, 360px);
  transform: translateX(-50%);
  padding: 12px 16px;
  border: 1px dashed rgba(0,0,0,.22);
  border-radius: 12px;
  color: rgba(0,0,0,.58);
  background: rgba(255,255,255,.78);
  text-align: center;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.shopco-product-empty {
  grid-column: 1 / -1;
  padding: 46px 30px;
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: var(--shopco-radius);
  background: #fafafa;
  text-align: center;
}

.shopco-product-empty strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.shopco-product-empty span {
  color: var(--shopco-muted);
  font-size: 14px;
}

.shopco-style-card {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 25%, rgba(0,0,0,.05) 0 18%, transparent 18.5%),
    linear-gradient(135deg, #fff 0%, #f6f6f6 100%);
}

.shopco-style-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.48) 45%, rgba(255,255,255,0) 72%);
}

.shopco-style-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopco-style-card--empty::before {
  content: "";
  position: absolute;
  z-index: -2;
  right: 9%;
  bottom: -28%;
  width: 46%;
  aspect-ratio: .72;
  border-radius: 48% 48% 18% 18%;
  background: linear-gradient(155deg, #dedede, #a7a7a7);
  opacity: .55;
}

.shopco-style-card:nth-child(2).shopco-style-card--empty::before {
  background: linear-gradient(155deg, #242424, #777);
}

.shopco-style-card:nth-child(3).shopco-style-card--empty::before {
  background: linear-gradient(155deg, #8c456f, #d2a0bb);
}

.shopco-style-card:nth-child(4).shopco-style-card--empty::before {
  background: linear-gradient(155deg, #4a4a4a, #999);
}

.shopco-product-image img,
.woocommerce ul.products li.product a img,
.woocommerce div.product .woocommerce-product-gallery__image img {
  object-fit: contain;
}

.shopco-header .shopco-brand {
  flex-shrink: 0;
}

@media (min-width: 1060px) {
  .shopco-hero-copy {
    max-width: 650px;
  }

  .shopco-hero-art {
    margin-right: calc((100vw - min(100vw - 32px, var(--shopco-container))) / -2);
  }
}

@media (max-width: 782px) {
  .shopco-hero-art img {
    object-position: center bottom;
  }

  .shopco-media-required {
    bottom: 20px;
  }

  .shopco-style-card::after {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.32) 58%, rgba(255,255,255,0) 82%);
  }
}


/* ============================================================
   SHOP.CO 2.2 — Figma single-product layout and variation swatches
   ============================================================ */
body.single-product .shopco-shop-layout {
  display: block;
  padding-top: 18px;
  padding-bottom: 72px;
}

body.single-product .shopco-shop-content {
  width: 100%;
}

body.single-product .woocommerce-breadcrumb {
  margin: 0 0 28px;
  font-size: 13px;
}

body.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 44px;
  row-gap: 56px;
  align-items: start;
  padding: 0 0 36px;
}

body.single-product .woocommerce div.product div.images,
body.single-product .woocommerce div.product div.summary {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .woocommerce div.product div.images {
  grid-column: 1;
  position: relative;
}

body.single-product .woocommerce div.product div.summary {
  grid-column: 2;
  padding-top: 8px;
}

body.single-product .woocommerce div.product .woocommerce-tabs,
body.single-product .woocommerce div.product .related,
body.single-product .woocommerce div.product .upsells {
  grid-column: 1 / -1;
  width: 100%;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery {
  position: relative;
  min-width: 0;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery.shopco-gallery-has-thumbnails {
  padding-left: 105px;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  border-radius: 20px;
  background: #f0eeee;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery__image,
body.single-product .woocommerce div.product .woocommerce-product-gallery__image a {
  display: block;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 24px;
  border-radius: 20px;
  background: #f0eeee;
  object-fit: contain;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  display: grid;
  gap: 14px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs li {
  width: 88px !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img {
  width: 88px;
  height: 88px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f0eeee;
  object-fit: contain;
  opacity: 1;
  transition: border-color .2s ease, background .2s ease;
}

body.single-product .woocommerce div.product div.images .flex-control-thumbs img.flex-active,
body.single-product .woocommerce div.product div.images .flex-control-thumbs img:hover {
  border-color: #000;
  background: #fff;
}

body.single-product .woocommerce div.product .woocommerce-product-gallery__trigger {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

body.single-product .woocommerce div.product .product_title {
  max-width: 650px;
  margin: 0 0 12px;
  font-size: clamp(36px, 3.4vw, 48px);
  line-height: .98;
  letter-spacing: -2.4px;
}

body.single-product .woocommerce div.product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

body.single-product .woocommerce div.product .woocommerce-product-rating .star-rating {
  margin: 0;
}

body.single-product .woocommerce div.product .woocommerce-review-link {
  color: rgba(0,0,0,.62);
  font-size: 13px;
}

body.single-product .woocommerce div.product p.price,
body.single-product .woocommerce div.product span.price,
body.single-product .woocommerce div.product .single_variation .price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 18px;
  color: #000;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

body.single-product .woocommerce div.product p.price del,
body.single-product .woocommerce div.product span.price del {
  color: rgba(0,0,0,.38);
  opacity: 1;
  font-weight: 700;
}

body.single-product .woocommerce div.product p.price ins,
body.single-product .woocommerce div.product span.price ins {
  text-decoration: none;
}

body.single-product .shopco-sale-percent {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ff3333;
  background: rgba(255,51,51,.10);
  font-size: 12px;
  font-weight: 500;
}

body.single-product .woocommerce-product-details__short-description {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.60);
  font-size: 14px;
  line-height: 1.55;
}

body.single-product .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

body.single-product .woocommerce div.product p.stock,
body.single-product .woocommerce div.product .product_meta {
  display: none;
}

body.single-product .woocommerce div.product form.cart,
body.single-product .woocommerce div.product form.variations_form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(0,0,0,.10);
}

body.single-product .woocommerce div.product form.variations_form {
  display: block;
}

body.single-product .woocommerce div.product form.variations_form table.variations {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

body.single-product .woocommerce div.product form.variations_form table.variations tbody,
body.single-product .woocommerce div.product form.variations_form table.variations tr,
body.single-product .woocommerce div.product form.variations_form table.variations td {
  display: block;
  width: 100%;
}

body.single-product .woocommerce div.product form.variations_form table.variations tr {
  padding: 0 0 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

body.single-product .woocommerce div.product form.variations_form table.variations tr:last-child {
  margin-bottom: 0;
}

body.single-product .shopco-native-variation-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
}

body.single-product .shopco-variation-field__label {
  margin-bottom: 12px;
  color: rgba(0,0,0,.58);
  font-size: 13px;
}

body.single-product .shopco-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.single-product .shopco-swatch {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  outline: 0;
  box-shadow: none;
  cursor: pointer;
}

body.single-product .shopco-swatch--color {
  width: 38px;
  height: 38px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--shopco-swatch-color, #777);
  box-shadow: 0 0 0 1px rgba(0,0,0,.10);
}

body.single-product .shopco-swatch--color::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}

body.single-product .shopco-swatch--color.is-selected::after {
  opacity: 1;
}

body.single-product .shopco-swatch--color.is-selected {
  box-shadow: 0 0 0 2px #000;
}

body.single-product .shopco-swatch--text {
  min-width: 78px;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  color: rgba(0,0,0,.58);
  background: #f0eeee;
  font-size: 13px;
  line-height: 1;
}

body.single-product .shopco-swatch--text:hover,
body.single-product .shopco-swatch--text.is-selected {
  color: #fff;
  background: #000;
}

body.single-product .woocommerce div.product form.variations_form .reset_variations {
  display: inline-block;
  margin-top: 10px;
  color: rgba(0,0,0,.55);
  font-size: 12px;
}

body.single-product .woocommerce div.product .single_variation_wrap {
  width: 100%;
}

body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart,
body.single-product .woocommerce div.product form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
}

body.single-product .woocommerce div.product form.cart:not(.variations_form) {
  padding-top: 18px;
}

body.single-product .woocommerce div.product .shopco-quantity,
body.single-product .woocommerce div.product .quantity {
  width: 118px;
  height: 52px;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: #f0eeee;
}

body.single-product .woocommerce div.product .quantity .qty {
  width: 100%;
  min-height: 52px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}

body.single-product .woocommerce div.product .quantity .qty::-webkit-outer-spin-button,
body.single-product .woocommerce div.product .quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

body.single-product .shopco-qty-button {
  width: 36px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #000;
  background: transparent;
  font-size: 20px;
  line-height: 1;
}

body.single-product .woocommerce div.product button.single_add_to_cart_button,
body.single-product .woocommerce div.product .single_add_to_cart_button {
  width: 100%;
  min-height: 52px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #000 !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
}

body.single-product .woocommerce div.product button.single_add_to_cart_button:hover,
body.single-product .woocommerce div.product .single_add_to_cart_button:hover {
  background: #222 !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs {
  margin-top: 0;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 26px;
  padding: 0;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

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

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  width: 100%;
  display: block;
  padding: 16px 4px;
  color: rgba(0,0,0,.55);
  font-weight: 500;
  white-space: nowrap;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid #000;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #000;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 0 0 34px;
}

body.single-product .woocommerce-Tabs-panel--description > h2:first-child,
body.single-product .woocommerce-Tabs-panel--additional_information > h2:first-child {
  display: none;
}

body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Reviews-title {
  font-family: var(--shopco-body);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body.single-product .woocommerce #reviews #comments ol.commentlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

body.single-product .woocommerce #reviews #comments ol.commentlist li {
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
}

body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text {
  margin: 0;
  padding: 0;
}

body.single-product .woocommerce #reviews #comments ol.commentlist li .meta {
  color: rgba(0,0,0,.55);
}

body.single-product .woocommerce #review_form #respond {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
}

body.single-product .woocommerce #review_form #respond .form-submit input {
  border-radius: 999px;
  color: #fff;
  background: #000;
}

body.single-product .woocommerce div.product section.related > h2,
body.single-product .woocommerce div.product section.upsells > h2 {
  margin: 18px 0 36px;
  font-family: var(--shopco-heading);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -2px;
}

body.single-product .woocommerce div.product section.related ul.products,
body.single-product .woocommerce div.product section.upsells ul.products {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

@media (max-width: 900px) {
  body.single-product .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  body.single-product .woocommerce div.product div.images,
  body.single-product .woocommerce div.product div.summary,
  body.single-product .woocommerce div.product .woocommerce-tabs,
  body.single-product .woocommerce div.product .related,
  body.single-product .woocommerce div.product .upsells {
    grid-column: 1;
  }

  body.single-product .woocommerce div.product div.summary {
    padding-top: 0;
  }

  body.single-product .woocommerce div.product section.related ul.products,
  body.single-product .woocommerce div.product section.upsells ul.products {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 600px) {
  body.single-product .shopco-shop-layout {
    padding-top: 12px;
    padding-bottom: 42px;
  }

  body.single-product .woocommerce-breadcrumb {
    margin-bottom: 14px;
    font-size: 11px;
  }

  body.single-product .woocommerce div.product {
    row-gap: 24px;
  }

  body.single-product .woocommerce div.product .woocommerce-product-gallery.shopco-gallery-has-thumbnails {
    padding-left: 0;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs {
    position: static;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    margin-top: 8px !important;
  }

  body.single-product .woocommerce div.product div.images .flex-control-thumbs li,
  body.single-product .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100% !important;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  body.single-product .woocommerce div.product .woocommerce-product-gallery__image img {
    padding: 16px;
    border-radius: 18px;
  }

  body.single-product .woocommerce div.product .product_title {
    font-size: 30px;
    letter-spacing: -1.4px;
  }

  body.single-product .woocommerce div.product p.price,
  body.single-product .woocommerce div.product span.price,
  body.single-product .woocommerce div.product .single_variation .price {
    font-size: 25px;
  }

  body.single-product .shopco-swatch--text {
    min-width: 68px;
    min-height: 38px;
    padding: 9px 14px;
    font-size: 12px;
  }

  body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart,
  body.single-product .woocommerce div.product form.cart:not(.variations_form) {
    grid-template-columns: 92px minmax(0,1fr);
    gap: 8px;
  }

  body.single-product .woocommerce div.product .shopco-quantity,
  body.single-product .woocommerce div.product .quantity {
    width: 92px;
    height: 48px;
    grid-template-columns: 29px 1fr 29px;
  }

  body.single-product .woocommerce div.product .quantity .qty,
  body.single-product .shopco-qty-button,
  body.single-product .woocommerce div.product button.single_add_to_cart_button,
  body.single-product .woocommerce div.product .single_add_to_cart_button {
    min-height: 48px;
    height: 48px;
  }

  body.single-product .shopco-qty-button {
    width: 29px;
  }

  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
    padding: 0 4px;
  }

  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 13px 2px;
    font-size: 11px;
  }

  body.single-product .woocommerce #reviews #comments ol.commentlist {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   SHOP.CO 2.3 — deterministic single-product structure
   ============================================================ */

html body.single-product .woocommerce div.product.shopco-product-shell {
  display: block !important;
  width: 100% !important;
  padding: 0 0 40px !important;
}

html body.single-product .shopco-product-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 42px !important;
  align-items: start !important;
}

html body.single-product .shopco-product-media,
html body.single-product .shopco-product-summary,
html body.single-product .shopco-product-lower {
  min-width: 0 !important;
}

html body.single-product .shopco-product-media div.images,
html body.single-product .shopco-product-summary.summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

html body.single-product .shopco-product-summary.summary {
  padding: 6px 0 0 !important;
}

/* Gallery: vertical thumbnails appear even when FlexSlider initializes late. */
html body.single-product .woocommerce-product-gallery:has(.flex-control-thumbs),
html body.single-product .woocommerce-product-gallery.shopco-gallery-has-thumbnails {
  padding-left: 104px !important;
}

html body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 88px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: 88px !important;
  float: none !important;
  margin: 0 !important;
}

html body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 88px !important;
  height: 88px !important;
  display: block !important;
  padding: 7px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: #f0eeee !important;
  object-fit: contain !important;
  opacity: 1 !important;
}

html body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
  border-color: #000 !important;
  background: #fff !important;
}

html body.single-product .woocommerce-product-gallery__wrapper {
  overflow: hidden !important;
  border-radius: 20px !important;
  background: #f0eeee !important;
}

html body.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  padding: 22px !important;
  border-radius: 20px !important;
  background: #f0eeee !important;
  object-fit: contain !important;
}

/* Product information. */
html body.single-product .shopco-product-summary .product_title {
  max-width: 610px !important;
  margin: 0 0 12px !important;
  font-size: clamp(35px, 3.25vw, 48px) !important;
  line-height: .98 !important;
  letter-spacing: -2.2px !important;
}

html body.single-product .shopco-product-summary > .price {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 0 18px !important;
  color: #000 !important;
  font-size: 31px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}

html body.single-product .shopco-product-summary > .price del {
  color: rgba(0,0,0,.38) !important;
  opacity: 1 !important;
}

html body.single-product .shopco-product-summary > .price ins {
  text-decoration: none !important;
}

html body.single-product .woocommerce-product-details__short-description {
  display: block !important;
  margin: 0 0 20px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
  color: rgba(0,0,0,.60) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

html body.single-product .shopco-product-summary .product_meta,
html body.single-product .shopco-product-summary p.stock {
  display: none !important;
}

/* Variation rows always stay full-width. */
html body.single-product .shopco-product-summary form.cart,
html body.single-product .shopco-product-summary form.variations_form {
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.single-product .shopco-product-summary form.variations_form table.variations,
html body.single-product .shopco-product-summary form.variations_form table.variations tbody,
html body.single-product .shopco-product-summary form.variations_form table.variations tr,
html body.single-product .shopco-product-summary form.variations_form table.variations th,
html body.single-product .shopco-product-summary form.variations_form table.variations td {
  width: 100% !important;
  display: block !important;
  float: none !important;
}

html body.single-product .shopco-product-summary form.variations_form table.variations {
  margin: 0 !important;
  border: 0 !important;
}

html body.single-product .shopco-product-summary form.variations_form table.variations tr {
  margin: 0 0 18px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

html body.single-product .shopco-variation-field__label {
  margin: 0 0 12px !important;
  color: rgba(0,0,0,.58) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

html body.single-product .shopco-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

html body.single-product .shopco-swatch {
  transform: none !important;
}

html body.single-product .shopco-swatch.is-disabled {
  opacity: .28 !important;
  cursor: not-allowed !important;
}

html body.single-product .shopco-swatch--text {
  min-width: 76px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 17px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: rgba(0,0,0,.58) !important;
  background: #f0eeee !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

html body.single-product .shopco-swatch--text:hover,
html body.single-product .shopco-swatch--text.is-selected {
  color: #fff !important;
  background: #000 !important;
}

html body.single-product .shopco-swatch--color {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  background: var(--shopco-swatch-color, #777) !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.12) !important;
}

/* Selected variation price is copied to the main price. Hide duplicate output. */
html body.single-product .shopco-product-summary .single_variation_wrap {
  width: 100% !important;
  display: block !important;
  float: none !important;
  clear: both !important;
}

html body.single-product .shopco-product-summary .woocommerce-variation.single_variation {
  display: none !important;
}

/* Quantity and Add to Cart must remain in one horizontal row. */
html body.single-product .shopco-product-summary .woocommerce-variation-add-to-cart,
html body.single-product .shopco-product-summary form.cart:not(.variations_form) {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 118px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.single-product .shopco-product-summary .quantity,
html body.single-product .shopco-product-summary .shopco-quantity {
  width: 118px !important;
  height: 52px !important;
  min-height: 52px !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) 36px !important;
  grid-template-rows: 52px !important;
  align-items: center !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f0eeee !important;
}

html body.single-product .shopco-product-summary .quantity .qty {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

html body.single-product .shopco-product-summary .shopco-qty-button {
  width: 36px !important;
  height: 52px !important;
  min-height: 52px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #000 !important;
  background: transparent !important;
  font-size: 20px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

html body.single-product .shopco-product-summary .shopco-qty-minus {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

html body.single-product .shopco-product-summary .shopco-qty-plus {
  grid-column: 3 !important;
  grid-row: 1 !important;
}

html body.single-product .shopco-product-summary button.single_add_to_cart_button,
html body.single-product .shopco-product-summary .single_add_to_cart_button.button,
html body.single-product .shopco-product-summary .single_add_to_cart_button.button.alt {
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 1px solid #000 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #000 !important;
  background-image: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html body.single-product .shopco-product-summary button.single_add_to_cart_button:hover,
html body.single-product .shopco-product-summary .single_add_to_cart_button.button:hover {
  color: #fff !important;
  background: #222 !important;
}

/* Exactly three Figma tabs. */
html body.single-product .shopco-product-lower {
  margin-top: 42px !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs {
  width: 100% !important;
  margin: 0 !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 0 30px !important;
  padding: 0 !important;
  overflow: visible !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs li {
  width: auto !important;
  min-width: 0 !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs li a {
  width: 100% !important;
  display: block !important;
  padding: 16px 4px !important;
  color: rgba(0,0,0,.55) !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid #000 !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs li.active a {
  color: #000 !important;
}

html body.single-product .shopco-product-lower .woocommerce-tabs .panel {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 34px !important;
}

/* Reviews like the Figma cards. */
html body.single-product .shopco-product-lower #reviews #comments ol.commentlist {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
}

html body.single-product .shopco-product-lower #reviews #comments ol.commentlist li {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 18px !important;
}

html body.single-product .shopco-product-lower section.related,
html body.single-product .shopco-product-lower section.upsells {
  width: 100% !important;
  margin-top: 48px !important;
}

@media (max-width: 900px) {
  html body.single-product .shopco-product-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  html body.single-product .shopco-product-summary.summary {
    padding-top: 0 !important;
  }
}

@media (max-width: 600px) {
  html body.single-product .woocommerce-product-gallery:has(.flex-control-thumbs),
  html body.single-product .woocommerce-product-gallery.shopco-gallery-has-thumbnails {
    padding-left: 0 !important;
  }

  html body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    position: static !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  html body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
  html body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  html body.single-product .shopco-product-summary .product_title {
    font-size: 30px !important;
    letter-spacing: -1.4px !important;
  }

  html body.single-product .shopco-product-summary > .price {
    font-size: 25px !important;
  }

  html body.single-product .shopco-product-summary .woocommerce-variation-add-to-cart,
  html body.single-product .shopco-product-summary form.cart:not(.variations_form) {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  html body.single-product .shopco-product-summary .quantity,
  html body.single-product .shopco-product-summary .shopco-quantity {
    width: 96px !important;
    height: 48px !important;
    min-height: 48px !important;
    grid-template-columns: 29px minmax(0, 1fr) 29px !important;
    grid-template-rows: 48px !important;
  }

  html body.single-product .shopco-product-summary .quantity .qty,
  html body.single-product .shopco-product-summary .shopco-qty-button,
  html body.single-product .shopco-product-summary button.single_add_to_cart_button,
  html body.single-product .shopco-product-summary .single_add_to_cart_button.button {
    height: 48px !important;
    min-height: 48px !important;
  }

  html body.single-product .shopco-product-summary .shopco-qty-button {
    width: 29px !important;
  }

  html body.single-product .shopco-product-lower {
    margin-top: 30px !important;
  }

  html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs li {
    padding: 0 3px !important;
  }

  html body.single-product .shopco-product-lower .woocommerce-tabs ul.tabs li a {
    padding: 13px 2px !important;
    font-size: 11px !important;
  }

  html body.single-product .shopco-product-lower #reviews #comments ol.commentlist {
    grid-template-columns: 1fr !important;
  }
}


/* ================================================================
   SHOP.CO 2.4 — Figma single-product page
   ================================================================ */

body.single-product .shopco-shop-layout {
  display: block !important;
  padding-top: 16px !important;
}

body.single-product .shopco-v24-product {
  width: 100% !important;
  margin: 0 !important;
  padding: 16px 0 78px !important;
}

body.single-product .shopco-v24-product__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 40px !important;
  align-items: start !important;
}

body.single-product .shopco-v24-gallery,
body.single-product .shopco-v24-summary {
  min-width: 0 !important;
}

body.single-product .shopco-v24-gallery .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .shopco-v24-gallery .woocommerce-product-gallery:has(.flex-control-thumbs),
body.single-product .shopco-v24-gallery .woocommerce-product-gallery.shopco-v24-gallery-ready {
  padding-left: 112px !important;
}

body.single-product .shopco-v24-gallery .woocommerce-product-gallery__wrapper {
  overflow: hidden !important;
  border-radius: 20px !important;
  background: #f0eeee !important;
}

body.single-product .shopco-v24-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  padding: 18px !important;
  border-radius: 20px !important;
  background: #f0eeee !important;
  object-fit: contain !important;
}

body.single-product .shopco-v24-gallery .flex-control-thumbs {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 96px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .shopco-v24-gallery .flex-control-thumbs li {
  width: 96px !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .shopco-v24-gallery .flex-control-thumbs img {
  width: 96px !important;
  height: 96px !important;
  display: block !important;
  padding: 7px !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: #f0eeee !important;
  object-fit: contain !important;
  opacity: 1 !important;
}

body.single-product .shopco-v24-gallery .flex-control-thumbs img.flex-active {
  border-color: #000 !important;
  background: #fff !important;
}

body.single-product .shopco-v24-summary {
  padding: 6px 0 0 !important;
}

body.single-product .shopco-v24-title {
  max-width: 620px !important;
  margin: 0 0 13px !important;
  font-family: var(--shopco-heading) !important;
  font-size: clamp(35px, 3.25vw, 48px) !important;
  line-height: .97 !important;
  letter-spacing: -2.3px !important;
  text-transform: uppercase !important;
}

body.single-product .shopco-v24-rating {
  display: flex !important;
  gap: 9px !important;
  align-items: center !important;
  margin: 0 0 14px !important;
  font-size: 13px !important;
}

body.single-product .shopco-v24-rating a,
body.single-product .shopco-v24-rating__value {
  color: rgba(0,0,0,.62) !important;
}

body.single-product .shopco-v24-stars {
  display: inline-flex !important;
  gap: 3px !important;
  color: #ffc633 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

body.single-product .shopco-v24-stars .is-empty {
  color: #e7e7e7 !important;
}

body.single-product .shopco-v24-stars .is-half {
  background: linear-gradient(90deg, #ffc633 50%, #e7e7e7 50%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

body.single-product .shopco-v24-price {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin: 0 0 16px !important;
  color: #000 !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
}

body.single-product .shopco-v24-price del {
  color: rgba(0,0,0,.38) !important;
  opacity: 1 !important;
}

body.single-product .shopco-v24-price ins {
  text-decoration: none !important;
}

body.single-product .shopco-v24-price .shopco-sale-percent {
  padding: 6px 12px !important;
  border-radius: 999px !important;
  color: #ff3333 !important;
  background: rgba(255,51,51,.10) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

body.single-product .shopco-v24-intro {
  margin: 0 0 20px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
  color: rgba(0,0,0,.60) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

body.single-product .shopco-v24-intro p {
  margin: 0 !important;
}

body.single-product .shopco-v24-purchase form.cart {
  width: 100% !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product .shopco-v24-purchase .stock,
body.single-product .shopco-v24-purchase .product_meta,
body.single-product .shopco-v24-purchase .woocommerce-variation {
  display: none !important;
}

body.single-product .shopco-v24-options,
body.single-product .shopco-v24-variations {
  width: 100% !important;
}

body.single-product .shopco-v24-option {
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

body.single-product .shopco-v24-option__label {
  margin: 0 0 12px !important;
  color: rgba(0,0,0,.58) !important;
  font-size: 13px !important;
}

body.single-product .shopco-v24-swatches {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
}

body.single-product .shopco-v24-swatch {
  position: relative !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product .shopco-v24-swatch--color {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 3px solid #fff !important;
  border-radius: 50% !important;
  color: transparent !important;
  background: var(--swatch-color, #777) !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.14) !important;
}

body.single-product .shopco-v24-swatch--color > span {
  color: transparent !important;
  font-size: 14px !important;
}

body.single-product .shopco-v24-swatch--color.is-selected > span {
  color: #fff !important;
}

body.single-product .shopco-v24-swatch--text {
  min-width: 78px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 17px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: rgba(0,0,0,.58) !important;
  background: #f0eeee !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

body.single-product .shopco-v24-swatch--text:hover,
body.single-product .shopco-v24-swatch--text.is-selected {
  color: #fff !important;
  background: #000 !important;
}

body.single-product .shopco-v24-swatch.is-disabled {
  opacity: .28 !important;
  cursor: not-allowed !important;
}

body.single-product .shopco-v24-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
}

body.single-product .shopco-v24-reset {
  display: inline-block !important;
  margin: -8px 0 18px !important;
  color: rgba(0,0,0,.55) !important;
  font-size: 12px !important;
  text-decoration: underline !important;
}

body.single-product .shopco-v24-buy-row {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 125px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .shopco-v24-quantity {
  width: 125px !important;
  height: 52px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) 38px !important;
  align-items: center !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #f0eeee !important;
}

body.single-product .shopco-v24-quantity .quantity {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .shopco-v24-quantity input.qty {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  text-align: center !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  appearance: textfield !important;
}

body.single-product .shopco-v24-quantity input.qty::-webkit-inner-spin-button,
body.single-product .shopco-v24-quantity input.qty::-webkit-outer-spin-button {
  margin: 0 !important;
  appearance: none !important;
}

body.single-product .shopco-v24-qty-minus,
body.single-product .shopco-v24-qty-plus {
  width: 38px !important;
  height: 52px !important;
  min-height: 52px !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #000 !important;
  background: transparent !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

body.single-product .shopco-v24-buy-row .single_add_to_cart_button,
body.single-product .shopco-v24-buy-row .single_add_to_cart_button.button,
body.single-product .shopco-v24-buy-row .single_add_to_cart_button.button.alt {
  width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 1px solid #000 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #000 !important;
  background-image: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

body.single-product .shopco-v24-buy-row .single_add_to_cart_button:hover {
  color: #fff !important;
  background: #222 !important;
}

body.single-product .shopco-v24-buy-row .single_add_to_cart_button.disabled {
  opacity: .45 !important;
}

/* Product tabs: always exactly three columns. */
body.single-product .shopco-v24-tabs {
  width: 100% !important;
  margin: 42px 0 0 !important;
}

body.single-product .shopco-v24-tabs__nav {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

body.single-product .shopco-v24-tabs__nav button {
  min-height: 56px !important;
  margin: 0 !important;
  padding: 13px 10px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: rgba(0,0,0,.55) !important;
  background: transparent !important;
  font-weight: 500 !important;
}

body.single-product .shopco-v24-tabs__nav button.is-active {
  color: #000 !important;
  border-bottom-color: #000 !important;
}

body.single-product .shopco-v24-tabs__panel {
  width: 100% !important;
  padding: 24px 0 20px !important;
}

body.single-product .shopco-v24-tabs__panel[hidden] {
  display: none !important;
}

body.single-product .shopco-v24-description {
  max-width: 980px !important;
  margin: 0 auto !important;
  color: rgba(0,0,0,.72) !important;
  line-height: 1.65 !important;
}

body.single-product .shopco-v24-description h2,
body.single-product .shopco-v24-description h3 {
  font-family: var(--shopco-heading) !important;
  text-transform: uppercase !important;
}

/* Reviews */
body.single-product .shopco-v24-reviews-head {
  display: flex !important;
  justify-content: space-between !important;
  gap: 20px !important;
  align-items: center !important;
  margin-bottom: 18px !important;
}

body.single-product .shopco-v24-reviews-head h2 {
  margin: 0 !important;
  font-size: 20px !important;
}

body.single-product .shopco-v24-reviews-head h2 small {
  color: rgba(0,0,0,.48) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

body.single-product .shopco-v24-reviews-actions {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

body.single-product .shopco-v24-filter,
body.single-product .shopco-v24-reviews-actions select,
body.single-product .shopco-v24-write-review {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 999px !important;
}

body.single-product .shopco-v24-filter {
  width: 42px !important;
  padding: 0 !important;
  color: #000 !important;
  background: #f0eeee !important;
}

body.single-product .shopco-v24-reviews-actions select {
  padding: 0 40px 0 17px !important;
  background: #f0eeee !important;
}

body.single-product .shopco-v24-write-review {
  padding: 0 22px !important;
  color: #fff !important;
  background: #000 !important;
  font-weight: 600 !important;
}

body.single-product .shopco-v24-review-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 18px !important;
}

body.single-product .shopco-v24-review-card {
  min-width: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 18px !important;
}

body.single-product .shopco-v24-review-card__top {
  display: flex !important;
  justify-content: space-between !important;
  gap: 18px !important;
  align-items: center !important;
}

body.single-product .shopco-v24-review-card h3 {
  display: flex !important;
  gap: 7px !important;
  align-items: center !important;
  margin: 14px 0 9px !important;
  font-size: 17px !important;
}

body.single-product .shopco-v24-verified {
  width: 17px !important;
  height: 17px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: #01ab31 !important;
  font-size: 11px !important;
}

body.single-product .shopco-v24-review-card__text {
  color: rgba(0,0,0,.60) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body.single-product .shopco-v24-review-card time {
  display: block !important;
  margin-top: 16px !important;
  color: rgba(0,0,0,.55) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

body.single-product .shopco-v24-empty-reviews {
  display: grid !important;
  gap: 6px !important;
  place-items: center !important;
  min-height: 150px !important;
  padding: 28px !important;
  border: 1px dashed rgba(0,0,0,.16) !important;
  border-radius: 18px !important;
  color: rgba(0,0,0,.58) !important;
  text-align: center !important;
}

body.single-product .shopco-v24-review-form {
  margin-top: 24px !important;
  padding: 24px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  border-radius: 18px !important;
  background: #fafafa !important;
}

body.single-product .shopco-v24-review-form[hidden] {
  display: none !important;
}

body.single-product .shopco-v24-review-form input,
body.single-product .shopco-v24-review-form select,
body.single-product .shopco-v24-review-form textarea {
  width: 100% !important;
  min-height: 46px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.single-product .shopco-v24-review-form textarea {
  min-height: 130px !important;
}

body.single-product .shopco-v24-review-form .submit {
  min-height: 48px !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #000 !important;
}

/* FAQ */
body.single-product .shopco-v24-faq {
  max-width: 900px !important;
  margin: 0 auto !important;
}

body.single-product .shopco-v24-faq details {
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(0,0,0,.10) !important;
}

body.single-product .shopco-v24-faq summary {
  cursor: pointer !important;
  font-weight: 700 !important;
}

/* Related products */
body.single-product .shopco-v24-related {
  margin-top: 58px !important;
  padding-top: 18px !important;
}

body.single-product .shopco-v24-related > h2 {
  margin: 0 0 38px !important;
  font-family: var(--shopco-heading) !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1 !important;
  letter-spacing: -1.7px !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

body.single-product .shopco-v24-related__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 20px !important;
}

/* Hide legacy/default tabs and product summary fragments if a plugin re-adds them. */
body.single-product .shopco-v24-product .woocommerce-tabs,
body.single-product .shopco-v24-product .shopco-product-lower,
body.single-product .shopco-v24-product .product_meta,
body.single-product .shopco-v24-product .woocommerce-variation-price,
body.single-product .shopco-v24-product .woocommerce-variation-availability {
  display: none !important;
}

/* Our custom tab region must remain visible. */
body.single-product .shopco-v24-product .shopco-v24-tabs {
  display: block !important;
}

@media (max-width: 900px) {
  body.single-product .shopco-v24-product__top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  body.single-product .shopco-v24-related__grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 600px) {
  body.single-product .shopco-v24-product {
    padding-top: 4px !important;
  }

  body.single-product .shopco-v24-gallery .woocommerce-product-gallery:has(.flex-control-thumbs),
  body.single-product .shopco-v24-gallery .woocommerce-product-gallery.shopco-v24-gallery-ready {
    padding-left: 0 !important;
  }

  body.single-product .shopco-v24-gallery .flex-control-thumbs {
    position: static !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  body.single-product .shopco-v24-gallery .flex-control-thumbs li {
    width: 100% !important;
  }

  body.single-product .shopco-v24-gallery .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.single-product .shopco-v24-title {
    font-size: 29px !important;
    letter-spacing: -1.3px !important;
  }

  body.single-product .shopco-v24-price {
    font-size: 25px !important;
  }

  body.single-product .shopco-v24-buy-row {
    grid-template-columns: 104px minmax(0,1fr) !important;
    gap: 8px !important;
  }

  body.single-product .shopco-v24-quantity {
    width: 104px !important;
    height: 48px !important;
    grid-template-columns: 31px minmax(0,1fr) 31px !important;
  }

  body.single-product .shopco-v24-quantity input.qty,
  body.single-product .shopco-v24-qty-minus,
  body.single-product .shopco-v24-qty-plus,
  body.single-product .shopco-v24-buy-row .single_add_to_cart_button {
    height: 48px !important;
    min-height: 48px !important;
  }

  body.single-product .shopco-v24-qty-minus,
  body.single-product .shopco-v24-qty-plus {
    width: 31px !important;
  }

  body.single-product .shopco-v24-tabs {
    margin-top: 30px !important;
  }

  body.single-product .shopco-v24-tabs__nav button {
    min-height: 48px !important;
    padding: 10px 2px !important;
    font-size: 11px !important;
  }

  body.single-product .shopco-v24-reviews-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body.single-product .shopco-v24-reviews-actions {
    width: 100% !important;
  }

  body.single-product .shopco-v24-reviews-actions select {
    flex: 1 !important;
    min-width: 0 !important;
  }

  body.single-product .shopco-v24-write-review {
    padding-inline: 14px !important;
    font-size: 12px !important;
  }

  body.single-product .shopco-v24-review-grid {
    grid-template-columns: 1fr !important;
  }

  body.single-product .shopco-v24-related__grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
  }
}


/* ================================================================
   SHOP.CO 2.5 — alignment and first-load fixes
   ================================================================ */

body.single-product .shopco-v24-gallery .woocommerce-product-gallery {
  position: relative !important;
  min-height: 520px !important;
}

body.single-product .shopco-v24-product__top {
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr) !important;
  gap: 44px !important;
}

body.single-product .shopco-v24-gallery .woocommerce-product-gallery:has(.flex-control-thumbs),
body.single-product .shopco-v24-gallery .woocommerce-product-gallery.shopco-v24-gallery-ready {
  padding-left: 108px !important;
}

body.single-product .shopco-v24-gallery .flex-control-thumbs {
  left: 0 !important;
  z-index: 3 !important;
}

body.single-product .shopco-v24-gallery .woocommerce-product-gallery__trigger {
  top: 16px !important;
  right: 16px !important;
  z-index: 5 !important;
}

body.single-product .shopco-v24-title {
  font-size: clamp(34px, 3vw, 44px) !important;
  line-height: .99 !important;
  letter-spacing: -2px !important;
}

body.single-product .shopco-v24-intro {
  max-width: 590px !important;
}

body.single-product .shopco-v24-options {
  display: flex !important;
  flex-direction: column !important;
}

body.single-product .shopco-v24-option--color {
  order: 1 !important;
}

body.single-product .shopco-v24-option:not(.shopco-v24-option--color) {
  order: 2 !important;
}

body.single-product .shopco-v24-reset {
  order: 3 !important;
  display: none !important;
}

body.single-product .shopco-v24-buy-row .single_add_to_cart_button,
body.single-product .shopco-v24-buy-row .single_add_to_cart_button.button,
body.single-product .shopco-v24-buy-row .single_add_to_cart_button.button.alt,
body.single-product .shopco-v24-buy-row .single_add_to_cart_button.disabled {
  color: #fff !important;
  background: #000 !important;
  border-color: #000 !important;
}

body.single-product .shopco-v24-buy-row .single_add_to_cart_button.disabled {
  opacity: .46 !important;
}

body.single-product .shopco-v24-tabs__nav button[data-shopco-tab="reviews"].is-active {
  color: #000 !important;
  border-bottom-color: #000 !important;
}

body.single-product .shopco-v24-tabs__panel[data-shopco-panel="reviews"].is-active {
  display: block !important;
}

body.single-product .shopco-v24-tabs__panel[data-shopco-panel="details"][hidden],
body.single-product .shopco-v24-tabs__panel[data-shopco-panel="faq"][hidden] {
  display: none !important;
}

body.single-product .shopco-v24-related {
  clear: both !important;
  display: block !important;
  width: 100% !important;
  margin-top: 52px !important;
}

body.single-product .shopco-v24-related__grid {
  min-height: 320px !important;
}

body.single-product .shopco-v24-empty-reviews {
  min-height: 190px !important;
}

body.single-product .shopco-v24-tabs {
  margin-top: 36px !important;
}

@media (max-width: 900px) {
  body.single-product .shopco-v24-gallery .woocommerce-product-gallery {
    min-height: 0 !important;
  }
}

@media (max-width: 600px) {
  body.single-product .shopco-v24-product__top {
    gap: 22px !important;
  }

  body.single-product .shopco-v24-gallery .woocommerce-product-gallery:has(.flex-control-thumbs),
  body.single-product .shopco-v24-gallery .woocommerce-product-gallery.shopco-v24-gallery-ready {
    padding-left: 0 !important;
  }

  body.single-product .shopco-v24-title {
    font-size: 29px !important;
  }
}
