/* ========================================
   WOOCOMMERCE PRODUCT CARD STYLES
   Version: 2.0 - Enhanced Cart, Checkout & Account Pages
   ========================================

   This file controls ALL styling for product cards, cart, checkout, and account pages.

   MAIN SECTIONS:
   1. Shop Page Layout (lines 1-86) - Grid layout, sidebar positioning
   2. Product Grid System (lines 92-197) - 3-column responsive grid
   3. Product Card Appearance (lines 199-220) - Borders, shadows, hover effects
   4. Product Image (lines 222-244) - Image container styling
   5. Card Body/Content (lines 246-249) - Padding around card content
   6. Product Title (lines 251-262) - Title text styling
   7. Color Swatches (lines 264-290) - Circular color indicators
   8. Star Ratings (lines 292-308) - Review stars and count
   9. Price Display (lines 310-332) - Price text styling
   10. Add to Cart Button (lines 334-377) - Button appearance

   ======================================== */

/* ========================================
   SECTION 1: SHOP PAGE LAYOUT
   ========================================
   Controls the overall page grid: sidebar + product area
   ======================================== */

/* Shop overrides: narrower sidebar + wider product grid */

/*
 * CRITICAL: The shop page has sidebar FIRST, main content SECOND in HTML.
 * But components.css .post-layout expects main FIRST, sidebar SECOND.
 * These rules MUST override components.css to fix the layout.
 */

/* Desktop: sidebar (160px) on left + product grid on right */
@media (min-width: 980px) {
  /* Use body class for highest specificity to override components.css */
  body.woocommerce section.archive .post-layout,
  body.post-type-archive-product section.archive .post-layout {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  /* Constrain sidebar width */
  body.woocommerce section.archive .post-layout .shop-filters,
  body.post-type-archive-product section.archive .post-layout .shop-filters {
    max-width: 160px;
    width: 160px;
    min-width: 160px;
  }

  /* Ensure shop-main takes remaining space */
  body.woocommerce section.archive .post-layout .shop-main,
  body.post-type-archive-product section.archive .post-layout .shop-main {
    min-width: 0;
    width: 100%;
  }

  /* Product grid: 3 columns */
  body.woocommerce section.archive .shop-main ul.products,
  body.post-type-archive-product section.archive .shop-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 34px !important;
  }

  /* CRITICAL: Override WooCommerce product card float/width - simplified selector */
  section.archive .shop-main ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }
}

/* Medium screens: main content + sidebar on right */
@media (min-width: 760px) and (max-width: 979px) {
  body.woocommerce section.archive .post-layout,
  body.post-type-archive-product section.archive .post-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 160px !important;
    gap: 24px !important;
  }

  /* On medium screens, reorder so sidebar appears on right */
  body.woocommerce section.archive .post-layout .shop-filters,
  body.post-type-archive-product section.archive .post-layout .shop-filters {
    order: 2;
  }

  body.woocommerce section.archive .post-layout .shop-main,
  body.post-type-archive-product section.archive .post-layout .shop-main {
    order: 1;
  }

  body.woocommerce section.archive .shop-main ul.products,
  body.post-type-archive-product section.archive .shop-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
  }
}

/* Reduce left padding on shop filters sidebar to center the text */
body.woocommerce .shop-filters .side-card,
body.post-type-archive-product .shop-filters .side-card {
  padding-left: 8px;
}

/* Reduce padding on filter widget lists (categories, attributes, etc.) */
.shop-filters ul {
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.shop-filters ul li {
  padding-left: 0 !important;
  margin-left: 0 !important;
  list-style: none !important;
}

.shop-filters ul li a {
  padding-left: 0;
  display: inline;
}

/* Mobile: convert sidebar to dropdown menu */
@media (max-width: 759px) {
  body.woocommerce .post-layout .shop-filters,
  body.post-type-archive-product .post-layout .shop-filters {
    order: -1;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
  }

  /* Hide all filter widgets by default on mobile */
  body.woocommerce .shop-filters .side-card,
  body.post-type-archive-product .shop-filters .side-card {
    display: none;
  }

  /* Toggle button styling */
  body.woocommerce .shop-filters-toggle,
  body.post-type-archive-product .shop-filters-toggle {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: var(--cat-products-bg);
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    border: var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    user-select: none;
    text-align: center;
    font-size: 0.95rem;
    transition: all var(--ease);
    margin-bottom: 0;
  }

  body.woocommerce .shop-filters-toggle:hover,
  body.post-type-archive-product .shop-filters-toggle:hover {
    background: var(--overlay-light);
    border-color: rgba(207,92,54,.35);
  }

  /* When filter section is open */
  body.woocommerce .shop-filters.filters-open .side-card,
  body.post-type-archive-product .shop-filters.filters-open .side-card {
    display: block;
    margin-top: 8px;
  }
}

/* Hide toggle button on desktop */
@media (min-width: 760px) {
  body.woocommerce .shop-filters-toggle,
  body.post-type-archive-product .shop-filters-toggle {
    display: none !important;
  }
}

/* ========================================
   SECTION 2: PRODUCT GRID SYSTEM
   ========================================
   Sets up the responsive grid for product cards
   - Mobile: 1 column
   - Tablet (760px+): 2 columns
   - Desktop (980px+): 3 columns
   ======================================== */

/* ==========================================
   PRODUCT GRID - NOW USING MASONRY LAYOUT
   ==========================================
   Shop products now use .masonry class (handled by components.css)
   Old ul.products grid styles commented out below
   ========================================== */

/* DEPRECATED: Old ul.products grid rules (no longer used)
.woocommerce ul.products,
.woocommerce-page ul.products,
body.post-type-archive-product ul.products {
  list-style: none !important;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 34px !important;
}

@media (min-width: 760px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr;
  }
}

@media (min-width: 980px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  body.post-type-archive-product ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 1fr;
  }
}

.woocommerce ul.products.columns-1,
.woocommerce ul.products.columns-2,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-5,
.woocommerce ul.products.columns-6,
.woocommerce-page ul.products.columns-1,
.woocommerce-page ul.products.columns-2,
.woocommerce-page ul.products.columns-3,
.woocommerce-page ul.products.columns-4,
.woocommerce-page ul.products.columns-5,
.woocommerce-page ul.products.columns-6 {
  display: grid !important;
}
END DEPRECATED */

/* ========================================
   SECTION 3: PRODUCT CARD APPEARANCE
   ========================================
   Base card styling: borders, shadows, hover effects
   Edit these to change the overall card look
   ======================================== */

/* Product card item - now uses .card class from components.css */
/* Product cards now inherit styling from .card (components.css) */
/* Old li.product rules commented out below */

/* DEPRECATED: Old li.product card styling (no longer used)
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
body.post-type-archive-product ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  list-style: none !important;
  border-radius: var(--radius);
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transform-origin: 45% 22%;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
  will-change: transform;
}

.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last {
  clear: none !important;
  margin-right: 0 !important;
}

.woocommerce ul.products.columns-1 li.product,
.woocommerce ul.products.columns-2 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-5 li.product,
.woocommerce ul.products.columns-6 li.product,
.woocommerce-page ul.products.columns-1 li.product,
.woocommerce-page ul.products.columns-2 li.product,
.woocommerce-page ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-5 li.product,
.woocommerce-page ul.products.columns-6 li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}
END DEPRECATED */

/* ========================================
   MASONRY TILT EFFECT
   ========================================
   Slight rotation on each card for visual interest
   Delete this section to remove the tilt effect
   ======================================== */

/* Masonry tilt effect */
.woocommerce ul.products li.product:nth-child(6n+1),
.woocommerce-page ul.products li.product:nth-child(6n+1) { transform: rotate(-0.2deg) translateY(1px); }
.woocommerce ul.products li.product:nth-child(6n+2),
.woocommerce-page ul.products li.product:nth-child(6n+2) { transform: rotate(-0.3deg) translateY(1px); }
.woocommerce ul.products li.product:nth-child(6n+3),
.woocommerce-page ul.products li.product:nth-child(6n+3) { transform: rotate(-0.7deg) translateY(2px); }
.woocommerce ul.products li.product:nth-child(6n+4),
.woocommerce-page ul.products li.product:nth-child(6n+4) { transform: rotate(0.3deg) translateY(1px); }
.woocommerce ul.products li.product:nth-child(6n+5),
.woocommerce-page ul.products li.product:nth-child(6n+5) { transform: rotate(-0.4deg) translateY(1px); }
.woocommerce ul.products li.product:nth-child(6n+6),
.woocommerce-page ul.products li.product:nth-child(6n+6) { transform: rotate(0.8deg) translateY(1px); }

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-8px) rotate(0.25deg);
  box-shadow: var(--shadow2);
  border-color: rgba(207,92,54,.35);
  background: var(--overlay-light);
  z-index: 30;
}

/* ========================================
   SECTION 4: PRODUCT IMAGE
   ========================================
   Controls the product image container at top of card
   - Height: 220px (edit line 245 to change)
   - Zoom effect on hover (line 257-259)
   ======================================== */

/* Product image */
ul.products li.product .woocommerce-loop-product__link {
  display: block;
  position: relative;
  overflow: hidden;
}

ul.products li.product .mini-hero {
  height: 220px;
  border-bottom: 1px solid var(--text-border-soft);
}

ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

ul.products li.product:hover img {
  transform: scale(1.05);
}

/* ========================================
   SECTION 5: CARD BODY CONTAINER
   ========================================
   Padding around all card content below the image
   ======================================== */

/* Product card body */
ul.products li.product .card-body {
  padding: 16px 18px 3px 18px;
}

/* ========================================
   SECTION 5b: PRODUCT CARD META
   ========================================
   Blue background section for product title
   - Background: blue (cat-products token)
   - Styling matches article cards
   ======================================== */

/* Product card meta (title section) */
ul.products li.product .card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 14px;
  margin-bottom: 0;
  border-bottom: var(--border-soft);
  background: var(--cat-products-bg);
  color: var(--cat-products-fg, var(--text-primary));
}

/* ========================================
   SECTION 6: PRODUCT TITLE
   ========================================
   The product name heading
   - Font size: 1rem (edit line 269 to change)
   - Max 2 lines, then truncates (lines 274-277)
   ======================================== */

/* Product title (in card-meta) */
ul.products li.product .card-meta .product-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   SECTION 7: COLOR SWATCHES
   ========================================
   Circular color indicators for variable products
   - Swatch size: 24px × 24px (edit line 293 to change)
   - Gap between swatches: 8px (edit line 285)
   - To hide swatches completely, delete lines 64-73 in content-product.php
   ======================================== */

/* Color swatches */
ul.products li.product .product-swatches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 12px 0;
  margin-bottom: 12px;
  min-height: auto;
  border-bottom: 1px solid var(--text-border-soft);
}

ul.products li.product .swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(24,22,22,.12);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  cursor: pointer;
  transition: transform var(--ease), border-color var(--ease);
  flex-shrink: 0;
}

ul.products li.product .swatch:hover {
  transform: scale(1.15);
  border-color: var(--spicy-paprika);
}

/* ========================================
   SECTION 8: STAR RATINGS
   ========================================
   Star rating display with review count
   - Star size: 0.9rem (edit line 317)
   - Review count size: 0.85rem (edit line 322)
   - To hide ratings, delete lines 121-128 in content-product.php
   ======================================== */

/* Product rating */
ul.products li.product .product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
}

ul.products li.product .product-rating .star-rating {
  font-size: .9rem;
}

ul.products li.product .product-rating .review-count {
  font-size: .85rem;
  color: rgba(24,22,22,.58);
  font-weight: var(--font-weight-medium);
}

/* ========================================
   SECTION 9: PRODUCT PRICE
   ========================================
   Price display styling
   - Color: spicy-paprika (orange-red)
   - Font size: 1.1rem (edit line 331)
   - Font weight: black/900 (edit line 330)
   ======================================== */

/* Product price */
ul.products li.product .price {
  margin: 0 0 8px;
  color: var(--spicy-paprika);
  font-weight: var(--font-weight-black);
  font-size: 1.1rem;
}

ul.products li.product .price ins {
  background: none;
  text-decoration: none;
  color: var(--spicy-paprika);
}

ul.products li.product .price del {
  opacity: 0.6;
  color: rgba(24,22,22,.62);
  font-size: 0.9em;
}

ul.products li.product .product-price-wrap {
  margin: 0 0 12px;
}

/* ========================================
   SECTION 9b: FREE SHIPPING BADGE
   ========================================
   Badge that appears below price when "Free Shipping" is enabled
   ======================================== */

/* Free shipping badge */
ul.products li.product .free-shipping-badge {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--celadon);
  background: rgba(184, 213, 184, 0.25);
  border: 1px solid var(--celadon);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Invisible placeholder maintains consistent card heights */
ul.products li.product .free-shipping-badge-placeholder {
  display: block;
  height: 30px;
  margin: 0 0 8px;
  visibility: hidden;
}

/* ========================================
   SECTION 10: ADD TO CART BUTTON (Text Link)
   ========================================
   Styled as simple text link instead of button
   - Color: text-primary
   - Underline on hover
   ======================================== */

/* Add to cart button */
ul.products li.product .woocommerce-loop-add-to-cart-link {
  position: absolute;
  bottom: 3px;
  left: 16px;
  right: 16px;
  width: calc(100% - 32px);
  display: block;
  margin: 0;
}

ul.products li.product .button {
  display: inline;
  align-items: auto;
  justify-content: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  border: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: none;
  transition: text-decoration var(--ease), color var(--ease);
  text-align: center;
  user-select: none;
  width: auto;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
}

ul.products li.product .button:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
  text-decoration: underline;
}

ul.products li.product a.button {
  background: transparent !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

ul.products li.product a.button:hover {
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: underline;
}

/* ========================================
   CART PAGE LAYOUT & STYLING
   ======================================== */

/* Main cart container - two column layout on desktop */
.woocommerce-cart-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 20px 0;
}

@media (min-width: 980px) {
  .woocommerce-cart-layout {
    grid-template-columns: 1fr 360px;
  }
}

/* Cart items list - the main content area */
.woocommerce-cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Container for all cart item cards */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Individual cart item card */
.cart-item-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: all var(--ease);
}

.cart-item-card:hover {
  border-color: rgba(207,92,54,.35);
  box-shadow: var(--shadow2);
  background: var(--overlay-light);
}

@media (min-width: 760px) {
  .cart-item-card {
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 20px;
  }
}

/* Product image in cart */
.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--overlay-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image a {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 760px) {
  .cart-item-image {
    width: 120px;
    height: 120px;
  }
}

/* Content wrapper for cart item details */
.cart-item-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header: product name + remove button */
.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

/* Product info section */
.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text-primary);
}

.cart-item-name a {
  color: var(--spicy-paprika);
  text-decoration: none;
  transition: color var(--ease);
}

.cart-item-name a:hover {
  text-decoration: underline;
}

/* Meta details (variations, etc) */
.cart-item-meta-details {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.cart-item-meta-details dl {
  margin: 0;
  display: grid;
  gap: 4px;
}

.cart-item-meta-details dt {
  font-weight: var(--font-weight-medium);
  display: inline;
}

.cart-item-meta-details dt::after {
  content: ': ';
}

.cart-item-meta-details dd {
  display: inline;
  margin: 0;
}

/* Remove button */
.cart-item-remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--ease);
}

.cart-item-remove:hover {
  background: rgba(207,92,54,.1);
  color: var(--spicy-paprika);
}

.icon-remove {
  display: block;
  width: 20px;
  height: 20px;
}

/* Backorder notification */
.backorder-notification {
  margin: 8px 0 0;
  padding: 8px;
  font-size: 0.875rem;
  color: #c67c4e;
  background: rgba(198,124,78,.1);
  border-radius: var(--radius);
  border-left: 3px solid #c67c4e;
}

/* Footer: quantity and pricing */
.cart-item-footer {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: var(--border-soft);
  flex-wrap: wrap;
  align-items: flex-end;
}

/* Quantity controls */
.cart-item-quantity-section {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.cart-item-quantity-section label {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.quantity-display {
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
}

/* Quantity input wrapper */
.cart-item-quantity-section .quantity {
  display: flex;
  align-items: center;
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-item-quantity-section .quantity input {
  width: 50px;
  border: none;
  text-align: center;
  font-weight: var(--font-weight-medium);
  padding: 6px 0;
}

.cart-item-quantity-section .quantity button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--ease);
}

.cart-item-quantity-section .quantity button:hover {
  background: var(--overlay-subtle);
  color: var(--text-primary);
}

/* Pricing section */
.cart-item-pricing {
  display: flex;
  gap: 24px;
  margin-left: auto;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .cart-item-pricing {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 16px;
  }
}

.cart-item-price,
.cart-item-subtotal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.price-label,
.subtotal-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount,
.subtotal-amount {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: var(--spicy-paprika);
}

/* Coupon section */
.cart-coupon-section {
  padding: 16px;
  border: var(--border);
  border-radius: var(--radius);
  background: rgba(184,213,184,.05);
}

.coupon-heading {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-coupon {
  flex-shrink: 0;
  color: var(--celadon);
}

.coupon-form-wrapper {
  display: flex;
  gap: 8px;
}

.coupon-form-wrapper input {
  flex: 1;
  padding: 8px 12px;
  border: var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: border-color var(--ease);
}

.coupon-form-wrapper input:focus {
  outline: none;
  border-color: var(--celadon);
  background: var(--overlay-light);
}

.button-coupon {
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius);
  background: var(--celadon);
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}

.button-coupon:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

/* Update cart section */
.cart-actions-section {
  padding-top: 12px;
}

.button-update {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: var(--text-primary);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--ease);
}

.button-update:hover {
  opacity: 0.9;
  box-shadow: var(--shadow);
}

.icon-refresh {
  display: block;
  flex-shrink: 0;
}

/* Cart summary sidebar */
.cart-summary-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 979px) {
  .cart-summary-sidebar {
    grid-column: 1 / -1;
  }
}

/* Progress indicator */
.cart-progress-indicator {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.progress-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-border);
  color: white;
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
  transition: all var(--ease);
}

.progress-step.active .progress-number {
  background: var(--celadon);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(184,213,184,.2);
}

.progress-label {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.progress-step.active .progress-label {
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
}

.progress-line {
  height: 2px;
  background: var(--text-border-soft);
  margin: 0 0 0 16px;
}

.progress-step.active ~ .progress-line {
  background: var(--celadon);
}

/* Cart summary content area */
.cart-summary-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cart totals section - WooCommerce hook content */
.woocommerce-cart-form .cart_totals {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 16px;
}

.woocommerce-cart-form .cart_totals h2 {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: var(--border-soft);
  color: var(--text-primary);
}

.woocommerce-cart-form .cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-cart-form .cart_totals tr {
  border-bottom: var(--border-soft);
}

.woocommerce-cart-form .cart_totals tr:last-child {
  border-bottom: none;
}

.woocommerce-cart-form .cart_totals th,
.woocommerce-cart-form .cart_totals td {
  padding: 12px 0;
  text-align: right;
  font-size: 0.9rem;
}

.woocommerce-cart-form .cart_totals th {
  font-weight: var(--font-weight-medium);
  color: var(--text-secondary);
  text-align: left;
}

.woocommerce-cart-form .cart_totals tr.order-total td {
  padding: 16px 0;
  border-top: 2px solid var(--text-border-soft);
  border-bottom: none;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: var(--spicy-paprika);
}

/* Proceed to checkout button */
.woocommerce-cart-form .wc-proceed-to-checkout a,
.woocommerce-cart-form .wc-proceed-to-checkout .button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 16px;
  border: none;
  border-radius: var(--radius);
  background: var(--spicy-paprika);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--ease);
}

.woocommerce-cart-form .wc-proceed-to-checkout a:hover,
.woocommerce-cart-form .wc-proceed-to-checkout .button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Cross-sell products section */
.cross-sells {
  margin-top: 32px;
  padding-top: 32px;
  border-top: var(--border);
}

.cross-sells h2 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cross-sells ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

@media (min-width: 760px) {
  .cross-sells ul {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* Empty cart message */
.woocommerce-notice--info {
  padding: 16px;
  border-left: 4px solid var(--celadon);
  background: rgba(184,213,184,.1);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

/* ========================================
   CHECKOUT PAGE LAYOUT & STYLING
   ======================================== */

.woocommerce-checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Checkout progress indicator */
.checkout-progress-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.checkout-progress-indicator .progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.85rem;
}

.checkout-progress-indicator .progress-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-border);
  color: white;
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
  transition: all var(--ease);
}

.checkout-progress-indicator .progress-step.active .progress-number {
  background: var(--celadon);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(184,213,184,.2);
}

.checkout-progress-indicator .progress-label {
  color: var(--text-secondary);
  font-weight: var(--font-weight-medium);
}

.checkout-progress-indicator .progress-step.active .progress-label {
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
}

.checkout-progress-indicator .progress-line {
  width: 20px;
  height: 2px;
  background: var(--text-border-soft);
  flex-shrink: 0;
  margin: 0 4px;
}

.checkout-progress-indicator .progress-line.active {
  background: var(--celadon);
}

/* Checkout form wrapper */
.woocommerce-checkout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Checkout details grid */
.woocommerce-checkout-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 760px) {
  .woocommerce-checkout-details {
    grid-template-columns: 1fr 1fr;
  }
}

/* Individual checkout section */
.checkout-section {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--ease);
}

.checkout-section:hover {
  border-color: rgba(207,92,54,.35);
  box-shadow: var(--shadow2);
}

/* Section header with icon */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: var(--border-soft);
  background: linear-gradient(135deg, rgba(184,213,184,.05), rgba(207,92,54,.02));
}

.section-icon {
  color: var(--celadon);
  flex-shrink: 0;
}

.section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  flex: 1;
}

/* Section content with form fields */
.section-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Full width for review section */
@media (min-width: 760px) {
  .review-section {
    grid-column: 1 / -1;
  }
}

/* Form row */
.woocommerce-checkout .woocommerce-form-row {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.woocommerce-checkout .woocommerce-form-row--wide {
  width: 100%;
}

.woocommerce-checkout .form-row {
  margin-bottom: 12px;
}

.woocommerce-checkout .form-row:last-child {
  margin-bottom: 0;
}

/* Form labels */
.woocommerce-checkout .woocommerce-form-row label,
.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.woocommerce-checkout .woocommerce-form-row label abbr,
.woocommerce-checkout .form-row label abbr {
  color: var(--spicy-paprika);
  border: none;
}

/* Form inputs and selects */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  width: 100%;
  padding: 10px 12px;
  border: var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--overlay-light);
  transition: all var(--ease);
  font-family: inherit;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="number"]:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  outline: none;
  border-color: var(--celadon);
  background: var(--overlay-light);
  box-shadow: 0 0 0 3px rgba(184,213,184,.1);
}

/* Shipping methods */
.woocommerce-checkout .shipping-method-container {
  padding: 12px;
  background: var(--overlay-subtle);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.woocommerce-checkout .shipping-method-container:last-child {
  margin-bottom: 0;
}

.woocommerce-checkout .shipping-method-container label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}

.woocommerce-checkout .shipping-method-container input[type="radio"] {
  width: auto;
  margin: 0;
  cursor: pointer;
}

/* Order review section */
.woocommerce-checkout-review-order {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.woocommerce-checkout .order-review th,
.woocommerce-checkout .order-review td {
  padding: 12px 0;
  text-align: right;
  border-bottom: var(--border-soft);
  font-size: 0.9rem;
}

.woocommerce-checkout .order-review th {
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  text-align: left;
}

.woocommerce-checkout .order-review td {
  color: var(--text-secondary);
}

.woocommerce-checkout .order-review tr:last-child td {
  border-bottom: none;
}

.woocommerce-checkout .order-review tr.order-total th,
.woocommerce-checkout .order-review tr.order-total td {
  padding: 16px 0;
  border-top: 2px solid var(--text-border-soft);
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
}

.woocommerce-checkout .order-review tr.order-total td {
  color: var(--spicy-paprika);
}

/* Place order section */
.woocommerce-checkout #place_order_wrapper {
  margin-top: 24px;
}

.woocommerce-checkout .woocommerce-notice--info {
  padding: 12px;
  border-left: 4px solid var(--celadon);
  background: rgba(184,213,184,.08);
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

/* Place order button */
.woocommerce-checkout #place_order {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--spicy-paprika);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--ease);
}

.woocommerce-checkout #place_order:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}

.woocommerce-checkout #place_order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Terms and conditions */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  padding: 16px;
  border: var(--border-soft);
  border-radius: var(--radius);
  background: var(--overlay-subtle);
  margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions {
  max-height: 150px;
  overflow-y: auto;
  padding: 12px 0;
  margin-bottom: 12px;
}

.woocommerce-checkout .woocommerce-form-row--wide label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.woocommerce-checkout .woocommerce-form-row--wide input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  cursor: pointer;
}

/* Notices and messages */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
  border-left: 4px solid;
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.woocommerce .woocommerce-message {
  border-left-color: var(--celadon);
  background: rgba(184,213,184,.1);
  color: var(--text-primary);
}

.woocommerce .woocommerce-error {
  border-left-color: #c67c4e;
  background: rgba(198,124,78,.1);
  color: #c67c4e;
}

/* ========================================
   MY ACCOUNT PAGE LAYOUT & STYLING
   ======================================== */

.woocommerce-account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 20px 0;
}

@media (min-width: 760px) {
  .woocommerce-account-layout {
    grid-template-columns: 200px 1fr;
  }
}

/* Account navigation sidebar */
.woocommerce-account-nav-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.account-nav-card {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.account-nav-title {
  margin: 0;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  border-bottom: var(--border-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(184,213,184,.05), rgba(207,92,54,.02));
}

.icon-account {
  color: var(--celadon);
  flex-shrink: 0;
}

/* Navigation list styling */
.woocommerce-MyAccount-navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation li {
  margin: 0;
  padding: 0;
  border-bottom: var(--border-soft);
}

.woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  transition: all var(--ease);
  position: relative;
}

.woocommerce-MyAccount-navigation a:hover {
  color: var(--spicy-paprika);
  background: var(--overlay-subtle);
  padding-left: 20px;
}

.woocommerce-MyAccount-navigation a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--celadon);
  opacity: 0;
  transition: opacity var(--ease);
}

.woocommerce-MyAccount-navigation li.is-active a {
  color: var(--text-primary);
  background: var(--overlay-light);
  font-weight: var(--font-weight-bold);
}

.woocommerce-MyAccount-navigation li.is-active a::before {
  opacity: 1;
}

/* Main account content area */
.woocommerce-account-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.woocommerce-MyAccount-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Account section styling */
.woocommerce-Address {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: all var(--ease);
}

.woocommerce-Address:hover {
  border-color: rgba(207,92,54,.35);
  box-shadow: var(--shadow2);
}

.woocommerce-Address-title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: var(--border-soft);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.woocommerce-Address-title::before {
  content: '📍';
  margin-right: 8px;
}

.woocommerce-Address-title .edit {
  margin-left: auto;
}

.woocommerce-Address-title a {
  font-size: 0.85rem;
  color: var(--celadon);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  transition: all var(--ease);
}

.woocommerce-Address-title a:hover {
  color: var(--spicy-paprika);
}

.woocommerce-Address-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Orders section */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.woocommerce-orders-table th {
  padding: 14px;
  background: linear-gradient(135deg, rgba(184,213,184,.05), rgba(207,92,54,.02));
  border-bottom: var(--border-soft);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  text-align: left;
  font-size: 0.9rem;
}

.woocommerce-orders-table td {
  padding: 14px;
  border-bottom: var(--border-soft);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.woocommerce-orders-table tr:last-child td {
  border-bottom: none;
}

.woocommerce-orders-table tbody tr:hover {
  background: var(--overlay-subtle);
}

/* Order status badges */
.order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.order-status.pending {
  background: rgba(207,92,54,.15);
  color: #c67c4e;
}

.order-status.processing {
  background: rgba(94,101,114,.15);
  color: var(--blue-slate);
}

.order-status.completed {
  background: rgba(184,213,184,.15);
  color: #5a7d5a;
}

.order-status.cancelled {
  background: rgba(207,92,54,.2);
  color: #a83c2f;
}

/* Order table links */
.woocommerce-orders-table a {
  color: var(--celadon);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--ease);
}

.woocommerce-orders-table a:hover {
  color: var(--spicy-paprika);
  text-decoration: underline;
}

/* Forms styling in account */
.woocommerce-account-main .form-row {
  margin-bottom: 12px;
}

.woocommerce-account-main .form-row:last-child {
  margin-bottom: 0;
}

.woocommerce-account-main label {
  display: block;
  margin-bottom: 6px;
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  font-size: 0.9rem;
}

.woocommerce-account-main input[type="text"],
.woocommerce-account-main input[type="email"],
.woocommerce-account-main input[type="password"],
.woocommerce-account-main input[type="tel"],
.woocommerce-account-main select,
.woocommerce-account-main textarea {
  width: 100%;
  padding: 10px 12px;
  border: var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--overlay-light);
  transition: all var(--ease);
  font-family: inherit;
}

.woocommerce-account-main input[type="text"]:focus,
.woocommerce-account-main input[type="email"]:focus,
.woocommerce-account-main input[type="password"]:focus,
.woocommerce-account-main input[type="tel"]:focus,
.woocommerce-account-main select:focus,
.woocommerce-account-main textarea:focus {
  outline: none;
  border-color: var(--celadon);
  background: var(--overlay-light);
  box-shadow: 0 0 0 3px rgba(184,213,184,.1);
}

/* Account section wrapper */
.woocommerce-account-section {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: all var(--ease);
}

.woocommerce-account-section:hover {
  border-color: rgba(207,92,54,.35);
  box-shadow: var(--shadow2);
}

.woocommerce-account-section h2 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: var(--border-soft);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
}

/* Edit account button styling */
.woocommerce-Button {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  background: var(--celadon);
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  display: inline-block;
}

.woocommerce-Button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.woocommerce-Button.button-primary {
  background: var(--spicy-paprika);
  color: white;
}

.woocommerce-Button.button-primary:hover {
  background: #b84a2f;
}

/* Lost password and register button styling */
.woocommerce-form-row .button {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  background: var(--celadon);
  color: var(--text-primary);
  font-weight: var(--font-weight-bold);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--ease);
}

.woocommerce-form-row .button:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Save address notice */
.woocommerce-save-address-nonce {
  display: flex;
  gap: 12px;
  align-items: center;
}

.woocommerce-save-address-nonce input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}

.woocommerce-save-address-nonce label {
  margin: 0;
  cursor: pointer;
  flex: 1;
}

/* Account message styles */
.woocommerce-account-main .woocommerce-message {
  border-left: 4px solid var(--celadon);
  background: rgba(184,213,184,.1);
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.woocommerce-account-main .woocommerce-error {
  border-left: 4px solid #c67c4e;
  background: rgba(198,124,78,.1);
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: #c67c4e;
}

/* ========================================
   PRODUCT CARD META: "Shop" Category Label
   ======================================== */

ul.products li.product .card-meta .cat-label {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  padding: 4px 10px;
  background: rgba(94, 101, 114, 0.1);
  color: var(--text-primary);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: inline-block;
}

/* ========================================
   SINGLE PRODUCT PAGE LAYOUT
   ========================================
   Two-column layout: images on left, info on right

   IMPORTANT: All selectors use body.single-product to scope styles
   ONLY to single product pages. This prevents conflicts with:
   - Shop archive product cards
   - Related products section
   - Upsells section

   HTML structure (from single-product.php):
   <body class="single-product">
     <div id="product-123" class="single-product product">
       <div class="product-images-wrapper">...</div>
       <div class="product-info-wrapper">...</div>
       <div class="woocommerce-tabs">...</div>
       <div class="related products">...</div>
     </div>
   </body>
   ======================================== */

/* Single product page container
   Use body.single-product.woocommerce to ensure we're on a single product page
   Then target .about-card > div.product to get only the main product, not cards */
body.single-product.woocommerce .about-card > div.product {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 140px;
}

/* Two-column grid layout - ONLY on single product pages */
@media (min-width: 768px) {
  body.single-product.woocommerce .about-card > div.product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 32px;
  }

  /* Images go in first column */
  body.single-product.woocommerce .about-card > div.product > .product-images-wrapper {
    grid-column: 1;
    grid-row: 1;
  }

  /* Summary goes in second column */
  body.single-product.woocommerce .about-card > div.product > .product-info-wrapper {
    grid-column: 2;
    grid-row: 1;
  }

  /* Everything else (description, additional info, related, upsells, reviews) spans full width */
  body.single-product.woocommerce .about-card > div.product > .product-description,
  body.single-product.woocommerce .about-card > div.product > .product-additional-info,
  body.single-product.woocommerce .about-card > div.product > .related.products,
  body.single-product.woocommerce .about-card > div.product > .upsells.products,
  body.single-product.woocommerce .about-card > div.product > #reviews,
  body.single-product.woocommerce .about-card > div.product > .clear {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  body.single-product.woocommerce .about-card > div.product {
    grid-template-columns: 50% 1fr;
    gap: 48px;
  }
}

/* Product images wrapper - constrain size */
body.single-product.woocommerce .about-card > div.product > .product-images-wrapper {
  width: 100%;
  max-width: 100%;
}

/* Main product image - reasonable size */
body.single-product.woocommerce .about-card > div.product > .product-images-wrapper img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

/* Product info wrapper */
body.single-product.woocommerce .about-card > div.product > .product-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Product description, additional info, related products, and reviews section spacing */
body.single-product.woocommerce .about-card > div.product > .product-description,
body.single-product.woocommerce .about-card > div.product > .product-additional-info,
body.single-product.woocommerce .about-card > div.product > .related.products,
body.single-product.woocommerce .about-card > div.product > .upsells.products,
body.single-product.woocommerce .about-card > div.product > #reviews {
  margin-top: 32px;
  width: 100%;
}

/* Product description section */
body.single-product.woocommerce .about-card > div.product > .product-description h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Collapsible additional information section */
body.single-product.woocommerce .about-card > div.product > .product-additional-info {
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 4px;
  padding: 0;
}

body.single-product.woocommerce .about-card > div.product > .product-additional-info summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 1.25rem;
  font-weight: 600;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hide default marker */
body.single-product.woocommerce .about-card > div.product > .product-additional-info summary::-webkit-details-marker {
  display: none;
}

/* Add custom chevron icon */
body.single-product.woocommerce .about-card > div.product > .product-additional-info summary::after {
  content: '▼';
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

/* Rotate chevron when open */
body.single-product.woocommerce .about-card > div.product > .product-additional-info[open] summary::after {
  transform: rotate(-180deg);
}

body.single-product.woocommerce .about-card > div.product > .product-additional-info .additional-info-content {
  padding: 0 20px 20px 20px;
}

/* Reviews section spacing */
body.single-product.woocommerce .about-card > div.product > #reviews h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Free shipping badge on single product page */
body.single-product .free-shipping-badge {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--celadon);
  background: rgba(184, 213, 184, 0.25);
  border: 1px solid var(--celadon);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Thumbnails - horizontal scrolling carousel wrapper */
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-wrapper {
  position: relative;
  margin-top: 16px;
}

/* Thumbnails - horizontal scrolling container */
body.single-product.woocommerce .about-card > div.product .product-images-wrapper .flex-control-thumbs,
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 48px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar for cleaner look */
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container::-webkit-scrollbar {
  display: none;
}

body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Thumbnail list items (for default WooCommerce gallery) */
body.single-product.woocommerce .about-card > div.product .product-images-wrapper .flex-control-thumbs li {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  list-style: none;
  margin: 0;
  scroll-snap-align: start;
}

/* Thumbnail links in custom scroll container */
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container a {
  flex: 0 0 auto;
  width: 100px !important;
  height: 100px !important;
  display: block;
  scroll-snap-align: start;
}

/* Thumbnail images */
body.single-product.woocommerce .about-card > div.product .product-images-wrapper .flex-control-thumbs li img,
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius, 4px);
  transition: border-color var(--ease, 0.2s);
}

/* Hover and active states */
body.single-product.woocommerce .about-card > div.product .product-images-wrapper .flex-control-thumbs li img:hover,
body.single-product.woocommerce .about-card > div.product .product-images-wrapper .flex-control-thumbs li img.flex-active,
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container img:hover,
body.single-product.woocommerce .about-card > div.product .product-thumbnails-scroll-container img.flex-active {
  border-color: var(--spicy-paprika, #cf5c36);
}

/* Navigation arrow buttons */
body.single-product.woocommerce .about-card > div.product .thumbnail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--charcoal-grey, #5E6572);
}

body.single-product.woocommerce .about-card > div.product .thumbnail-nav:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: var(--spicy-paprika, #cf5c36);
}

body.single-product.woocommerce .about-card > div.product .thumbnail-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

body.single-product.woocommerce .about-card > div.product .thumbnail-nav-prev {
  left: 0;
}

body.single-product.woocommerce .about-card > div.product .thumbnail-nav-next {
  right: 0;
}

body.single-product.woocommerce .about-card > div.product .thumbnail-nav svg {
  width: 20px;
  height: 20px;
}
