/* ==========================================================================
   Slowmile — WooCommerce Styles
   All WooCommerce styling from scratch — no default WC styles loaded.
   ========================================================================== */

/* --- Single product --- */
.single-product-section {
  padding-top: 120px;
}

.product-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.product-layout__gallery {
  min-width: 0;
  position: sticky;
  top: 100px;
}

.product-layout__image {
  width: 100%;
  height: auto;
  display: block;
  background: var(--off-black);
}

/* Thumbnail carousel */
.sm-thumb-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.sm-thumb-track-wrap {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.sm-thumb-track {
  display: flex;
  gap: 6px;
  transition: transform 0.3s ease;
}

img.product-layout__gallery-thumb {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  opacity: 0.45;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s;
}

img.product-layout__gallery-thumb:hover {
  opacity: 1;
}

img.product-layout__gallery-thumb.active {
  opacity: 1;
  border-color: #F8CD02;
}

.sm-thumb-prev,
.sm-thumb-next {
  background: none;
  border: none;
  color: #56564e;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 2px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.sm-thumb-prev:hover,
.sm-thumb-next:hover {
  color: #F8CD02;
}

.sm-thumb-prev:disabled,
.sm-thumb-next:disabled {
  opacity: 0.15;
  cursor: default;
}

/* Fallback if JS hasn't loaded or ≤5 thumbs */
.product-layout__thumbs {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-layout__thumbs::-webkit-scrollbar {
  display: none;
}

.product-layout__gallery .product-layout__short-desc {
  margin-top: 16px;
}

.product-layout__topline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-layout__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-layout__price {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 24px;
  color: var(--yellow);
  margin-bottom: 28px;
}

.product-layout__price del {
  color: var(--muted);
  margin-right: 8px;
}

.product-layout__price ins {
  text-decoration: none;
  color: var(--yellow);
}

.product-layout__short-desc,
.product-layout__short-desc p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone);
  max-width: none;
}

.product-layout__short-desc {
  margin-bottom: 24px;
}

.product-layout__short-desc p {
  margin-bottom: 12px;
}

.product-layout__description {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone);
  margin-bottom: 0;
}

.product-layout__description p {
  margin-bottom: 12px;
  max-width: none;
  font-size: 15px;
  color: var(--bone);
}

/* Collapsible product details */
.product-details-toggle {
  margin-top: 24px;
  border-top: 1px solid var(--charcoal);
}

.product-details-toggle summary {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--white);
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-details-toggle summary::-webkit-details-marker {
  display: none;
}

.product-details-toggle summary::after {
  content: '+';
  font-size: 20px;
  color: var(--muted);
}

.product-details-toggle[open] summary::after {
  content: '−';
  color: var(--yellow);
}

.product-details-toggle .product-layout__description {
  padding-bottom: 16px;
}

.product-layout__sku {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
}

/* Printful Size Guide link */
a[onclick*="SizeGuide"],
.printful-size-guide-link,
.product-layout__details a[href*="size"],
.woocommerce-variation-add-to-cart a,
.variations_form a {
  color: var(--yellow) !important;
}

/* Quantity input with +/- buttons */
.quantity {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
}

.quantity .qty {
  width: 100%;
  text-align: center;
  background: var(--dark);
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  border-left: none;
  border-right: none;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 8px;
  -moz-appearance: textfield;
}

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

.qty-btn {
  background: var(--dark);
  border: 1px solid var(--charcoal);
  color: var(--bone);
  font-size: 18px;
  width: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
}

.qty-btn:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.product-layout__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.product-layout__form .btn--add-to-cart {
  width: 100%;
}

.product-layout__qty-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-layout__qty-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.quantity .qty:focus {
  outline: none;
  border-color: var(--yellow);
}

/* Variable product */
.variations {
  width: 100%;
  margin-bottom: 24px;
}

.variations td,
.variations th {
  padding: 8px 0;
  border: none;
  vertical-align: middle;
}

.variations .label label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.variations select {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--charcoal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  appearance: none;
  cursor: pointer;
}

.variations select:focus {
  outline: none;
  border-color: var(--yellow);
}

.single_variation_wrap .single_add_to_cart_button {
  display: block;
  width: 100%;
  background: var(--black);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.single_variation_wrap .single_add_to_cart_button:hover {
  background: var(--yellow);
  color: var(--black);
}

.woocommerce-variation-price .price {
  font-size: 24px;
  color: var(--yellow);
  font-family: var(--font-body);
  margin-bottom: 16px;
  display: block;
}

.reset_variations {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  display: inline-block;
}

/* Hide "added to cart" notice on cart page */
.woocommerce-cart .woocommerce-message {
  display: none;
}

/* Hide default WooCommerce cart thumbnails (we use custom) */
.woocommerce table.cart td.product-thumbnail,
.woocommerce table.cart th.product-thumbnail {
  display: none !important;
}

/* --- WooCommerce default cart table --- */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  border-radius: 0;
}

.woocommerce table.shop_table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 16px;
  border-bottom: 1px solid var(--charcoal);
  text-align: left;
}

.woocommerce table.shop_table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--charcoal);
  vertical-align: middle;
  color: var(--bone);
  font-size: 14px;
}

.woocommerce table.cart td.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  max-width: 300px;
  word-wrap: break-word;
}

.woocommerce table.cart td.product-name a {
  color: var(--white);
  text-decoration: none;
}

.woocommerce table.cart td.product-name a:hover {
  color: var(--yellow);
}

.woocommerce table.cart td.product-name dl.variation {
  margin-top: 4px;
}

.woocommerce table.cart td.product-name dl.variation dt,
.woocommerce table.cart td.product-name dl.variation dd {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  display: inline;
  margin: 0;
}

.woocommerce table.cart td.product-name dl.variation dd {
  margin-right: 12px;
}

.woocommerce table.cart td.product-price,
.woocommerce table.cart td.product-subtotal {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--yellow);
}

.woocommerce table.cart td.product-quantity .qty {
  width: 56px;
  text-align: center;
  background: var(--dark);
  border: 1px solid var(--charcoal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px;
}

.woocommerce table.cart td.product-quantity .qty:focus {
  outline: none;
  border-color: var(--yellow);
}

.woocommerce table.cart td.product-remove a {
  font-size: 20px;
  color: var(--muted);
  text-decoration: none;
}

.woocommerce table.cart td.product-remove a:hover {
  color: var(--yellow);
}

/* Cart actions row */
.woocommerce table.cart td.actions {
  padding: 24px 16px;
  border-bottom: none;
}

.woocommerce table.cart td.actions .coupon {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.woocommerce table.cart td.actions .coupon input[type="text"] {
  background: var(--dark);
  border: 1px solid var(--charcoal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
}

.woocommerce table.cart td.actions .coupon button,
.woocommerce table.cart td.actions .coupon input[type="submit"] {
  background: var(--charcoal);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
}

.woocommerce table.cart td.actions > button,
.woocommerce table.cart td.actions > input[type="submit"] {
  float: right;
  background: var(--charcoal);
  color: var(--bone);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  padding: 14px 24px;
  cursor: pointer;
}

/* Cart totals */
.woocommerce .cart-collaterals .cart_totals {
  max-width: 400px;
  margin-left: auto;
  margin-top: 40px;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.woocommerce .cart-collaterals .cart_totals table th {
  color: var(--muted);
  font-weight: 500;
  padding: 12px 16px 12px 0;
}

.woocommerce .cart-collaterals .cart_totals table td {
  text-align: right;
  padding: 12px 0;
}

.woocommerce .cart-collaterals .cart_totals .order-total td {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--yellow);
}

/* Checkout button */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  background: #F8CD02;
  color: #0c0c0b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  padding: 18px 40px;
  text-align: center;
  text-decoration: none;
  margin-top: 16px;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: #C9A230;
}

/* --- Cart layout --- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.cart-items {
  margin-bottom: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--charcoal);
}

.cart-item:first-child {
  border-top: 1px solid var(--charcoal);
}

.cart-item__image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--charcoal);
}

.cart-item__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cart-item__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.cart-item__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cart-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cart-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}

.cart-item__name a {
  color: var(--white);
  text-decoration: none;
}

.cart-item__name a:hover {
  color: var(--yellow);
}

.cart-item__meta {
  font-size: 12px;
  color: var(--muted);
}

.cart-item__meta dt,
.cart-item__meta dd {
  display: inline;
  margin: 0;
  font-weight: 300;
}

.cart-item__meta dd {
  margin-right: 10px;
}

.cart-item__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-item__quantity .quantity {
  display: flex;
  align-items: stretch;
}

.cart-item__quantity .qty {
  width: 40px;
  text-align: center;
  background: var(--dark);
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  border-left: none;
  border-right: none;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 6px 2px;
  -moz-appearance: textfield;
}

.cart-item__quantity .qty::-webkit-inner-spin-button,
.cart-item__quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.cart-item__quantity .qty-btn {
  width: 32px;
  padding: 6px;
  font-size: 13px;
}

.cart-item__subtotal {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--yellow);
  letter-spacing: 0.03em;
}

.remove-link {
  font-size: 18px;
  color: var(--muted);
  transition: color 0.15s;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.remove-link:hover {
  color: var(--yellow);
}

.cart-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

/* Order summary sidebar */
.cart-summary {
  background: var(--off-black);
  border: 1px solid var(--charcoal);
  padding: 32px;
  position: sticky;
  top: 100px;
}

.cart-summary__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cart-summary__rows {
  margin-bottom: 16px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--charcoal);
  font-size: 14px;
  color: var(--bone);
}

.cart-summary__total {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  border-bottom: 1px solid var(--charcoal);
}

.cart-summary__checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding: 18px 40px;
}

.cart-summary a {
  color: var(--yellow);
}

.cart-summary .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}

.cart-summary .woocommerce-shipping-methods li {
  padding: 4px 0;
  font-size: 14px;
  color: var(--bone);
}

.cart-summary .woocommerce-shipping-methods li label {
  cursor: pointer;
}

.cart-summary__trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.cart-summary__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.cart-summary__trust-item svg {
  color: var(--muted);
  flex-shrink: 0;
}

/* --- Checkout --- */
.checkout-columns {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.checkout-section {
  margin-bottom: 32px;
}

.checkout-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.checkout-order__sticky {
  position: sticky;
  top: 100px;
  background: var(--off-black);
  border: 1px solid var(--charcoal);
  padding: 32px;
}

.checkout-order__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Checkout form fields */
.woo-checkout label,
.checkout label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.woo-checkout input[type="text"],
.woo-checkout input[type="email"],
.woo-checkout input[type="tel"],
.woo-checkout input[type="number"],
.woo-checkout input[type="password"],
.woo-checkout select,
.woo-checkout textarea,
.checkout input[type="text"],
.checkout input[type="email"],
.checkout input[type="tel"],
.checkout input[type="number"],
.checkout input[type="password"],
.checkout select,
.checkout textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--charcoal);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.woo-checkout input:focus,
.woo-checkout select:focus,
.woo-checkout textarea:focus,
.checkout input:focus,
.checkout select:focus,
.checkout textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.woo-checkout select,
.checkout select {
  appearance: none;
  cursor: pointer;
}

/* Select2 dropdown (country, state) */
.select2-container--default .select2-selection--single {
  background: var(--dark) !important;
  border: 1px solid var(--charcoal) !important;
  border-radius: 0 !important;
  height: 48px !important;
  padding: 12px 16px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--bone) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
  right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: var(--muted) transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent var(--muted) transparent !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--muted) !important;
}

.select2-dropdown {
  background: var(--dark) !important;
  border: 1px solid var(--charcoal) !important;
  border-radius: 0 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background: var(--black) !important;
  border: 1px solid var(--charcoal) !important;
  color: var(--bone) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  padding: 10px 12px !important;
  outline: none !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: var(--yellow) !important;
}

.select2-container--default .select2-results__option {
  color: var(--bone) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  padding: 10px 16px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: var(--charcoal) !important;
  color: var(--yellow) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
  background: var(--off-black) !important;
  color: var(--yellow) !important;
}

.select2-results__options {
  scrollbar-width: thin;
  scrollbar-color: var(--charcoal) var(--dark);
}

/* Order review table */
.checkout-order-review table {
  width: 100%;
  border-collapse: collapse;
}

.checkout-order-review th,
.checkout-order-review td {
  padding: 12px 0;
  border-bottom: 1px solid var(--charcoal);
  font-size: 14px;
  color: var(--bone);
  text-align: left;
}

.checkout-order-review th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.checkout-order-review tfoot .order-total td {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--yellow);
}

.checkout-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}

.checkout-trust svg {
  flex-shrink: 0;
}

/* Place order button */
#place_order {
  display: block;
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  padding: 18px 40px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 24px;
}

#place_order:hover {
  background: var(--yellow-dark);
}

/* Payment methods */
.wc_payment_methods {
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
  margin-top: 0;
}

.wc_payment_method {
  padding: 16px 0;
  border-bottom: 1px solid var(--charcoal);
}

.wc_payment_method label {
  font-size: 14px;
  color: var(--bone);
  cursor: pointer;
}

.payment_box {
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--charcoal);
  background: var(--dark);
  font-size: 14px;
  color: var(--bone);
}

.woocommerce-message {
  border-left: 3px solid var(--yellow);
}

.woocommerce-error {
  border-left: 3px solid #c44;
  color: #f88;
}

.woocommerce-error li {
  list-style: none;
}

.woocommerce-info {
  border-left: 3px solid var(--muted);
}

/* Sale badge */
.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

/* --- Product funding callout --- */
.product-funding {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--dark);
  border: 1px solid var(--charcoal);
  border-left: 3px solid var(--yellow);
  padding: 20px;
  margin-top: 24px;
}

.product-funding__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.product-funding__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-funding__text strong {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--white);
}

.product-funding__text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* --- Product features strip --- */
.product-features {
  background: var(--off-black);
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding: 80px 0;
}

.product-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.product-features__num {
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 12px;
}

.product-features__title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--yellow);
  margin-bottom: 10px;
}

.product-features__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  max-width: none;
}

/* --- Product story section --- */
.product-story {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
}

.pull-quote--center {
  border-left: none;
  padding-left: 0;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
  font-size: clamp(24px, 3vw, 36px);
}

.product-story__text {
  font-size: 15px;
  color: var(--light);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: center;
}

/* --- Project follow CTA (about page) --- */
.project-follow-cta {
  font-size: 15px;
  color: #84847a;
  font-style: italic;
  border-left: 2px solid #F8CD02;
  padding-left: 20px;
  margin: 40px 0;
  max-width: 560px;
}

.project-follow-cta a {
  color: #F8CD02;
  text-decoration: none;
}

.project-follow-cta a:hover {
  text-decoration: underline;
}

/* --- Cart project note --- */
.cart-project-note {
  padding: 20px 0;
  border-top: 1px solid #2a2a28;
  border-bottom: 1px solid #2a2a28;
  margin: 24px 0;
}

.cart-project-note p {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: #eae6de;
  margin-bottom: 6px;
  max-width: none;
}

.cart-project-note span {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #56564e;
}

.cart-project-note span a {
  color: #F8CD02;
  text-decoration: none;
}

.cart-project-note span a:hover {
  text-decoration: underline;
}

/* --- Checkout note --- */
.checkout-note {
  font-style: italic;
  font-size: 15px;
  color: #56564e;
  text-align: center;
  margin-bottom: 16px;
  max-width: none;
}

/* --- Thank you page --- */
.thankyou-project {
  margin: 48px 0;
  padding: 40px;
  border: 1px solid #2a2a28;
  background: #111110;
}

.thankyou-headline {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: #eae6de;
  margin-bottom: 12px;
  max-width: none;
}

.thankyou-body {
  font-size: 15px;
  color: #84847a;
  margin-bottom: 28px;
  max-width: 480px;
}

.thankyou-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.thankyou-social-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0c0b;
  background: #F8CD02;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.2s;
}

.thankyou-social-btn:hover {
  background: #e0b800;
  color: #0c0c0b;
}

/* --- Shop follow line --- */
.shop-follow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #56564e;
  text-align: center;
  padding: 40px 0;
  max-width: none;
}

.shop-follow a {
  color: #F8CD02;
  text-decoration: none;
}

.shop-follow a:hover {
  text-decoration: underline;
}

/* --- Sticky mobile add to cart --- */
.sticky-atc {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .single-product-section {
    padding-top: 80px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-layout__gallery {
    position: static;
  }

  .product-layout__thumbs {
    gap: 6px;
    margin-top: 8px;
  }

  .product-layout__gallery-thumb {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px;
  }

  .product-layout__title {
    font-size: 36px;
  }

  .product-features__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cart-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .cart-item__image {
    width: 64px !important;
    height: 64px !important;
  }

  .cart-item__image img {
    width: 64px !important;
    height: 64px !important;
  }

  .cart-item__name {
    font-size: 12px;
  }

  .cart-summary {
    position: static;
  }

  .checkout-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-order__sticky {
    position: static;
  }

  /* Sticky add to cart on mobile */
  .sticky-atc {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--black);
    border-top: 1px solid var(--charcoal);
    padding: 12px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .sticky-atc.visible {
    transform: translateY(0);
  }

  .sticky-atc__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .sticky-atc__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .sticky-atc__name {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.03em;
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-atc__price {
    font-size: 14px;
    color: var(--yellow);
  }

  .sticky-atc__btn {
    background: var(--yellow);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.15em;
    padding: 14px 24px;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
  }
}

/* ======================================
   WooCommerce star rating (global)
   Since default WC styles are dequeued
   ====================================== */

.star-rating {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  width: 5em;
  height: 1em;
  overflow: hidden;
  font-family: inherit;
  letter-spacing: 0;
}

.star-rating::before {
  content: '\2605\2605\2605\2605\2605';
  color: #2a2a28;
  position: absolute;
  top: 0;
  left: 0;
  letter-spacing: 0;
}

.star-rating span {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 1.5em;
  letter-spacing: 0;
}

.star-rating span::before {
  content: '\2605\2605\2605\2605\2605';
  position: absolute;
  top: 0;
  left: 0;
  color: #F8CD02;
  letter-spacing: 0;
}

/* Star rating on product title area */
.product-layout__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.product-layout__rating .star-rating {
  font-size: 16px;
}

.product-layout__rating .review-count {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #56564e;
  text-transform: uppercase;
}

/* Star rating on shop/archive cards */
.product-card .star-rating {
  font-size: 12px;
  margin-top: 6px;
}

/* ======================================
   Reviews section
   ====================================== */

.slowmile-reviews {
  padding: 64px 0 80px;
  border-top: 1px solid #2a2a28;
  margin-top: 0;
}

.sr-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #56564e;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sr-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: #56564e;
}

.sr-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #eae6de;
  margin-bottom: 48px;
}

/* Hide default "X reviews for product" heading */
.slowmile-reviews .woocommerce-Reviews-title {
  display: none;
}

/* Hide comment list bullets/padding */
.slowmile-reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Hide avatar images */
.slowmile-reviews .avatar,
.slowmile-reviews .comment-form .avatar {
  display: none !important;
}

/* Individual review */
.slowmile-reviews .comment,
.slowmile-reviews .review,
.woocommerce-Reviews .comment {
  border-bottom: 1px solid #2a2a28;
  padding: 28px 0;
  list-style: none;
}

.slowmile-reviews .comment:last-child,
.slowmile-reviews .review:last-child {
  border-bottom: none;
}

/* Star rating in reviews */
.slowmile-reviews .star-rating,
.woocommerce-Reviews .star-rating {
  font-size: 14px;
  margin-bottom: 10px;
}

/* Review text */
.slowmile-reviews .comment-text p,
.slowmile-reviews .description p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: #eae6de;
  margin-bottom: 12px;
  max-width: 640px;
}

/* Reviewer name */
.slowmile-reviews .woocommerce-review__author {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #F8CD02;
  text-transform: uppercase;
}

/* Review date */
.slowmile-reviews .woocommerce-review__published-date {
  font-size: 11px;
  color: #56564e;
  margin-left: 8px;
}

/* Verified badge */
.slowmile-reviews .woocommerce-review__verified {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #56564e;
  margin-left: 8px;
}

/* Empty state */
.slowmile-reviews .woocommerce-noreviews {
  font-size: 14px;
  color: #56564e;
  font-style: italic;
  padding: 20px 0;
}

/* Review form title */
.sr-form-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #eae6de;
  margin: 48px 0 24px;
  border-top: 1px solid #2a2a28;
  padding-top: 48px;
}

/* Form fields */
.slowmile-reviews .comment-form label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #56564e;
  display: block;
  margin-bottom: 8px;
}

.slowmile-reviews .comment-form input,
.slowmile-reviews .comment-form textarea {
  width: 100%;
  max-width: 560px;
  background: #111110;
  border: 1px solid #2a2a28;
  color: #eae6de;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 0;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.slowmile-reviews .comment-form input:focus,
.slowmile-reviews .comment-form textarea:focus {
  outline: none;
  border-color: #F8CD02;
}

/* Star rating input in form */
.slowmile-reviews .comment-form-rating label {
  color: #56564e;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.slowmile-reviews .stars {
  margin-bottom: 16px;
}

.slowmile-reviews .stars a {
  color: #2a2a28;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.15s;
}

.slowmile-reviews .stars a:hover,
.slowmile-reviews .stars a.active,
.slowmile-reviews .stars.selected a.active {
  color: #F8CD02;
}

/* Submit button */
.sr-submit,
.slowmile-reviews .form-submit .submit {
  background: transparent;
  border: 1.5px solid #F8CD02;
  color: #F8CD02;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border-radius: 0;
}

.sr-submit:hover,
.slowmile-reviews .form-submit .submit:hover {
  background: #F8CD02;
  color: #0c0c0b;
}

/* "Must be logged in" / "Only verified owners" notice */
.slowmile-reviews .woocommerce-verification-required {
  font-size: 12px;
  color: #56564e;
  font-style: italic;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .sr-title { font-size: 36px; }
  .slowmile-reviews { padding: 48px 0 60px; }
}
