/*
 * WP Moz — woocommerce.css
 * ─────────────────────────────────────────────────────────────
 * Page-specific styles auto-enqueued by functions.php when the
 * corresponding page template is active.
 *
 * HOW TO USE:
 *   Copy the <style> block from your original HTML file
 *   (the section AFTER the shared styles) and paste it here.
 *
 *   Example — from your contact.html:
 *   The CSS inside the <style> tag specific to the contact page
 *   goes here. The global styles (navbar, footer, buttons, tokens)
 *   are already loaded by main.css — do NOT duplicate them.
 * ─────────────────────────────────────────────────────────────
 */

/*
 * ── PASTE PAGE-SPECIFIC CSS FROM YOUR HTML FILE BELOW ──
 */

/* ════════════════════════════════════════════════════════════════
   WP MOZ — WOOCOMMERCE STYLESHEET  (assets/css/woocommerce.css)
   Matches the WP Moz design system from main.css exactly.
   Loaded only when WooCommerce is active (see functions.php).

   TABLE OF CONTENTS:
   1.  Wrapper / Layout Reset
   2.  WooCommerce Notices & Messages
   3.  Buttons
   4.  Form Inputs, Selects, Textareas
   5.  Shop — Archive / Product Grid
   6.  Single Product Page
   7.  Product Tabs (Description, Reviews, etc.)
   8.  Reviews / Comments
   9.  Cart Page
   10. Checkout Page
   11. Order Received / Thank You
   12. My Account — Shell
   13. My Account — Dashboard
   14. My Account — Orders Table
   15. My Account — Downloads
   16. My Account — Addresses
   17. My Account — Account Details
   18. Login & Register Forms
   19. WooCommerce Pagination
   20. WooCommerce Breadcrumb
   21. Product Badges (Sale, Featured)
   22. Price & Rating
   23. Related / Upsell Products
   24. Empty States
   25. Dark Mode Overrides
   26. Responsive
════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   1. WRAPPER / LAYOUT RESET
═══════════════════════════════════════════════════════════════ */

.woocommerce,
.woocommerce-page {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
}

.woocommerce .container,
.woocommerce-page .container {
  max-width: 1240px !important;
  margin: 0 auto;
  padding: 0 28px;
}

/* Give WC pages proper top padding below fixed navbar */
.woocommerce-shop .site-main,
.woocommerce-page .site-main,
.woocommerce .site-main {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
}

/* ═══════════════════════════════════════════════════════════════
   2. WOOCOMMERCE NOTICES & MESSAGES
═══════════════════════════════════════════════════════════════ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notice {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-sm);
  border: none;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.woocommerce-message::before {
  content: "✓";
  position: absolute;
  left: 16px;
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-info::before {
  content: "ℹ";
  position: absolute;
  left: 16px;
  font-size: 16px;
}

.woocommerce-error::before {
  content: "✕";
  position: absolute;
  left: 16px;
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-message {
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  color: #166534;
}

.woocommerce-message::before {
  color: var(--green);
}

.woocommerce-info {
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  color: #1e40af;
}

.woocommerce-info::before {
  color: var(--blue);
}

.woocommerce-error {
  background: #fef2f2;
  border-left: 3px solid #ef4444;
  color: #991b1b;
}

.woocommerce-error::before {
  color: #ef4444;
}

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

/* Notice links */
.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
  font-size: 12px;
  padding: 6px 16px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   3. BUTTONS
═══════════════════════════════════════════════════════════════ */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff !important;
  box-shadow: var(--shadow-orange);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
  color: #fff !important;
}

/* Alt / ghost buttons */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--surface);
  color: var(--text) !important;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* Disabled */
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled,
.woocommerce a.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Proceed to checkout — green */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  box-shadow: var(--shadow-green);
  font-size: 15px;
  padding: 15px 28px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
}

/* Place order — green */
.woocommerce #payment #place_order {
  width: 100%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  box-shadow: var(--shadow-green);
  font-size: 15px;
  padding: 16px 28px;
  margin-top: 16px;
}

.woocommerce #payment #place_order:hover {
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   4. FORM INPUTS, SELECTS, TEXTAREAS
═══════════════════════════════════════════════════════════════ */

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="password"],
.woocommerce input[type="search"],
.woocommerce input[type="url"],
.woocommerce textarea,
.woocommerce select,
.woocommerce .input-text,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="number"],
.woocommerce-page input[type="password"],
.woocommerce-page textarea,
.woocommerce-page select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  box-sizing: border-box;
  appearance: auto;
  -webkit-appearance: auto;
}

.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="number"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.woocommerce .input-text:focus,
.woocommerce-page input[type="text"]:focus,
.woocommerce-page input[type="email"]:focus,
.woocommerce-page input[type="tel"]:focus,
.woocommerce-page input[type="password"]:focus,
.woocommerce-page textarea:focus,
.woocommerce-page select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
  background: var(--surface);
}

.woocommerce input::placeholder,
.woocommerce textarea::placeholder,
.woocommerce-page input::placeholder,
.woocommerce-page textarea::placeholder {
  color: var(--text3);
}

/* Labels */
.woocommerce label,
.woocommerce-page label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 7px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Required asterisk */
.woocommerce .required,
.woocommerce-page .required {
  color: var(--orange);
  font-weight: 700;
}

/* Form row */
.woocommerce .form-row,
.woocommerce-page .form-row {
  margin-bottom: 18px;
}

.woocommerce .form-row.form-row-first,
.woocommerce .form-row.form-row-last,
.woocommerce-page .form-row.form-row-first,
.woocommerce-page .form-row.form-row-last {
  display: inline-block;
  width: calc(50% - 10px);
  vertical-align: top;
}

.woocommerce .form-row.form-row-first,
.woocommerce-page .form-row.form-row-first {
  margin-right: 10px;
}

.woocommerce .form-row.form-row-wide,
.woocommerce-page .form-row.form-row-wide {
  width: 100%;
  display: block;
}

/* Inline form row errors */
.woocommerce .form-row .woocommerce-input-wrapper .description {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}

.woocommerce .form-row.woocommerce-invalid input,
.woocommerce .form-row.woocommerce-invalid select {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.woocommerce .form-row.woocommerce-validated input,
.woocommerce .form-row.woocommerce-validated select {
  border-color: var(--green);
}

/* Checkbox & radio */
.woocommerce input[type="checkbox"],
.woocommerce input[type="radio"],
.woocommerce-page input[type="checkbox"],
.woocommerce-page input[type="radio"] {
  width: auto;
  accent-color: var(--orange);
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   5. SHOP — ARCHIVE / PRODUCT GRID
═══════════════════════════════════════════════════════════════ */

/* Archive header */
.woocommerce-products-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-products-header__title.page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

/* Toolbar — ordering + results count */
.woocommerce-ordering,
.woocommerce-result-count {
  font-size: 13px;
  color: var(--text2);
  font-family: var(--font-body);
}

.woocommerce-ordering select {
  width: auto;
  padding: 9px 14px;
  font-size: 13px;
}

/* Product grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border2);
}

/* Product image */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Product info area */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  padding: 20px 20px 0;
  display: block;
  flex: 1;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}

.woocommerce ul.products li.product .price del {
  color: var(--text3);
  font-size: 12px;
  margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
  color: var(--orange);
}

/* Add to cart on grid */
.woocommerce ul.products li.product .button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  text-align: center;
  justify-content: center;
}

/* Star rating on grid */
.woocommerce ul.products li.product .star-rating {
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   6. SINGLE PRODUCT PAGE
═══════════════════════════════════════════════════════════════ */

.woocommerce div.product {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
}

/* Breadcrumb above product */
.woocommerce .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 32px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--text2);
  transition: color 0.2s;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--orange);
}

/* Product layout */
.woocommerce div.product .woocommerce-product-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.woocommerce div.product .woocommerce-product-gallery img {
  border-radius: 0;
}

/* Product summary */
.woocommerce div.product .summary {
  padding-left: 48px;
}

/* Product title */
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Product price */
.woocommerce div.product .price {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}

.woocommerce div.product .price del {
  color: var(--text3);
  font-size: 18px;
  margin-right: 8px;
}

.woocommerce div.product .price ins {
  text-decoration: none;
  color: var(--orange);
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
  margin-bottom: 24px;
  border-left: 3px solid var(--orange-cream);
  padding-left: 16px;
}

/* Quantity */
.woocommerce div.product form.cart .quantity input[type="number"] {
  width: 72px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 12px 10px;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Product meta (SKU, categories) */
.woocommerce div.product .product_meta {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
  line-height: 2;
}

.woocommerce div.product .product_meta a {
  color: var(--orange);
  transition: opacity 0.2s;
}

.woocommerce div.product .product_meta a:hover {
  opacity: 0.75;
}

/* ═══════════════════════════════════════════════════════════════
   7. PRODUCT TABS
═══════════════════════════════════════════════════════════════ */

.woocommerce div.product .woocommerce-tabs {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px;
  border-bottom: 1px solid var(--border);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  margin-bottom: -1px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

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

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 32px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   8. REVIEWS / COMMENTS
═══════════════════════════════════════════════════════════════ */

.woocommerce #reviews #comments ol.commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.woocommerce #reviews #comments ol.commentlist li {
  padding: 0;
  margin-bottom: 24px;
}

.woocommerce #reviews #comments ol.commentlist li .comment_container {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  flex: 1;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 10px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text .description p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text2);
}

/* Review form */
.woocommerce #review_form #respond {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 32px;
}

.woocommerce #review_form #respond .comment-reply-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.woocommerce #review_form #respond p {
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   9. CART PAGE
═══════════════════════════════════════════════════════════════ */

.woocommerce-cart .site-main {
  margin: 0;
  padding-left: 28px;
  padding-right: 28px;
  background: var(--surface);
}

/* Cart table */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  font-size: 14px;
}

.woocommerce table.shop_table th,
.woocommerce-page table.shop_table th {
  background: var(--bg2);
  color: var(--text2);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce table.shop_table td,
.woocommerce-page table.shop_table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

.woocommerce table.shop_table tr:last-child td,
.woocommerce-page table.shop_table tr:last-child td {
  border-bottom: none;
}

.woocommerce table.shop_table tbody tr:hover td,
.woocommerce-page table.shop_table tbody tr:hover td {
  background: var(--bg2);
}

/* Cart product thumbnail */
.woocommerce table.cart td.product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* Cart product name */
.woocommerce table.cart td.product-name a {
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s;
}

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

/* Cart quantity */
.woocommerce table.cart td.product-quantity input[type="number"] {
  width: 72px;
  text-align: center;
}

/* Remove item × */
.woocommerce table.cart td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef2f2;
  color: #ef4444 !important;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.woocommerce table.cart td.product-remove a.remove:hover {
  background: #ef4444;
  color: #fff !important;
  transform: scale(1.1);
}

/* Cart actions */
.woocommerce .cart_totals,
.woocommerce-page .cart_totals {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.woocommerce .cart_totals h2,
.woocommerce-page .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.woocommerce .cart_totals table.shop_table {
  border: none;
  border-radius: 0;
  margin-bottom: 20px;
}

.woocommerce .cart_totals table.shop_table th,
.woocommerce .cart_totals table.shop_table td {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  border-bottom: none;
}

.woocommerce .cart_totals .order-total .amount {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 20px;
}

/* Coupon */
.woocommerce .coupon {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.woocommerce .coupon input[type="text"] {
  flex: 1;
  min-width: 160px;
}

/* ═══════════════════════════════════════════════════════════════
   10. CHECKOUT PAGE
═══════════════════════════════════════════════════════════════ */

.woocommerce-checkout .site-main {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout h3#ship-to-different-address,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* Order review table */
.woocommerce-checkout-review-order table.shop_table {
  margin-bottom: 0;
}

/* Payment methods */
.woocommerce #payment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.woocommerce #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.woocommerce #payment ul.payment_methods li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.woocommerce #payment ul.payment_methods li label {
  text-transform: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  cursor: pointer;
}

.woocommerce #payment div.payment_box {
  background: var(--bg2);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 13px;
  color: var(--text2);
  margin-top: 10px;
  border: 1px solid var(--border);
}

/* Checkout section card style */
#customer_details,
#order_review_heading,
#order_review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   11. ORDER RECEIVED / THANK YOU
═══════════════════════════════════════════════════════════════ */

.woocommerce-order {
  max-width: 760px;
  margin: 0 auto;
}

.woocommerce-order .woocommerce-thankyou-order-received {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.woocommerce-order ul.order_details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.woocommerce-order ul.order_details li {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text3);
  font-family: var(--font-display);
  padding: 0;
  border: none;
}

.woocommerce-order ul.order_details li strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
  text-transform: none;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.woocommerce-order section.woocommerce-order-details,
.woocommerce-order section.woocommerce-customer-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.woocommerce-order section.woocommerce-order-details h2,
.woocommerce-order section.woocommerce-customer-details h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   12. MY ACCOUNT — SHELL
═══════════════════════════════════════════════════════════════ */

/* WC default my-account layout (when NOT using custom template) */
.woocommerce-account .woocommerce {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 28px 80px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* Nav */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--orange);
  border-left-color: var(--orange);
  background: var(--orange-soft);
}

/* Content */
.woocommerce-account .woocommerce-MyAccount-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   13. MY ACCOUNT — ORDERS TABLE
═══════════════════════════════════════════════════════════════ */

.woocommerce-account .woocommerce-orders-table,
.woocommerce table.woocommerce-orders-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  font-size: 14px;
}

.woocommerce table.woocommerce-orders-table th {
  background: var(--bg2);
  color: var(--text2);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.woocommerce table.woocommerce-orders-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

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

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

/* Order status badges */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status mark,
.woocommerce-account mark.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: none;
  color: var(--text);
}

mark.order-status.status-completed {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-cream);
}
mark.order-status.status-processing {
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid var(--orange-cream);
}
mark.order-status.status-on-hold {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1px solid var(--blue-cream);
}
mark.order-status.status-pending {
  background: var(--bg2);
  color: var(--text2);
  border: 1px solid var(--border);
}
mark.order-status.status-cancelled,
mark.order-status.status-refunded,
mark.order-status.status-failed {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   14. MY ACCOUNT — DOWNLOADS
═══════════════════════════════════════════════════════════════ */

.woocommerce table.woocommerce-MyAccount-downloads {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.woocommerce table.woocommerce-MyAccount-downloads th {
  background: var(--bg2);
  color: var(--text2);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

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

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

.woocommerce
  table.woocommerce-MyAccount-downloads
  td
  .woocommerce-MyAccount-downloads-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid var(--orange-cream);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.woocommerce
  table.woocommerce-MyAccount-downloads
  td
  .woocommerce-MyAccount-downloads-file:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* ═══════════════════════════════════════════════════════════════
   15. MY ACCOUNT — ADDRESSES
═══════════════════════════════════════════════════════════════ */

.woocommerce-account .woocommerce-Addresses,
.woocommerce .woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.woocommerce-account .woocommerce-Address,
.woocommerce .woocommerce-Address {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.woocommerce-account .woocommerce-Address header,
.woocommerce .woocommerce-Address header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-Address header h3,
.woocommerce .woocommerce-Address header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.woocommerce-account .woocommerce-Address header a,
.woocommerce .woocommerce-Address header a {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  border: 1px solid var(--orange-cream);
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--orange-soft);
  transition: var(--transition);
  text-decoration: none;
}

.woocommerce-account .woocommerce-Address header a:hover,
.woocommerce .woocommerce-Address header a:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.woocommerce-account address,
.woocommerce address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text2);
}

/* ═══════════════════════════════════════════════════════════════
   16. MY ACCOUNT — ACCOUNT DETAILS FORM
═══════════════════════════════════════════════════════════════ */

.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce .woocommerce-EditAccountForm {
  max-width: 640px;
}

.woocommerce-account fieldset,
.woocommerce fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.woocommerce-account fieldset legend,
.woocommerce fieldset legend {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  padding: 0 12px;
  background: var(--bg);
}

/* Password strength meter */
.woocommerce-password-strength {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  margin-top: 8px;
}

.woocommerce-password-strength.strong {
  background: var(--green-soft);
  color: var(--green);
}
.woocommerce-password-strength.good {
  background: var(--blue-soft);
  color: var(--blue);
}
.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
  background: #fef2f2;
  color: #ef4444;
}

.woocommerce-password-hint {
  font-size: 11px;
  color: var(--text3);
  margin-top: 6px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   17. LOGIN & REGISTER FORMS
═══════════════════════════════════════════════════════════════ */

.woocommerce-account:not(.logged-in) .woocommerce {
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Lost password link */
.woocommerce-account .lost_password a {
  font-size: 13px;
  color: var(--text3);
  transition: color 0.2s;
  text-decoration: none;
}

.woocommerce-account .lost_password a:hover {
  color: var(--orange);
}

/* Lost password / reset page */
.woocommerce-ResetPassword,
.woocommerce-LostPassword {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.woocommerce-ResetPassword p,
.woocommerce-LostPassword p {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 20px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════
   18. STAR RATING
═══════════════════════════════════════════════════════════════ */

.woocommerce .star-rating {
  display: inline-flex;
  font-size: 14px;
  color: var(--text3);
  position: relative;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  font-family: var(--font-mono);
}

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

.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  content: "★★★★★";
  letter-spacing: 2px;
}

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

.woocommerce .star-rating span::before {
  color: #f59e0b;
}

/* ═══════════════════════════════════════════════════════════════
   19. PRICE
═══════════════════════════════════════════════════════════════ */

.woocommerce .price {
  font-family: var(--font-mono);
  color: var(--orange);
  font-weight: 700;
}

.woocommerce .price del {
  color: var(--text3);
  opacity: 0.8;
}

.woocommerce .price ins {
  text-decoration: none;
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════════════════
   20. PRODUCT BADGES — SALE / FEATURED
═══════════════════════════════════════════════════════════════ */

.woocommerce span.onsale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  box-shadow: var(--shadow-orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════
   21. RELATED / UPSELL PRODUCTS
═══════════════════════════════════════════════════════════════ */

.related.products,
.upsells.products,
.cross-sells {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.related.products > h2,
.upsells.products > h2,
.cross-sells > h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 32px;
}

.related.products ul.products {
  grid-template-columns: repeat(3, 1fr);
}

/* ═══════════════════════════════════════════════════════════════
   22. WOOCOMMERCE PAGINATION
═══════════════════════════════════════════════════════════════ */

.woocommerce nav.woocommerce-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text2);
  border: 1.5px solid var(--border);
  background: var(--surface);
  transition: var(--transition);
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border-color: var(--orange);
  box-shadow: var(--shadow-orange);
}

/* ═══════════════════════════════════════════════════════════════
   23. BREADCRUMB
═══════════════════════════════════════════════════════════════ */

.woocommerce .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 28px;
  font-family: var(--font-body);
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════════════════
   24. EMPTY STATES
═══════════════════════════════════════════════════════════════ */

.woocommerce-cart-empty,
.woocommerce .woocommerce-info.woocommerce-no-products-found {
  text-align: center;
  padding: 64px 28px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.woocommerce .cart-empty {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
  text-align: center;
}

.woocommerce-account .woocommerce-MyAccount-content p:first-child {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
}

/* ═══════════════════════════════════════════════════════════════
   25. SHIPPING / MISC TABLES
═══════════════════════════════════════════════════════════════ */

.woocommerce table.shop_table.woocommerce-shipping-calculator {
  font-size: 14px;
}

/* Shipping methods */
.woocommerce .shipping-calculator-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 12px;
}

.woocommerce ul#shipping_method {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce ul#shipping_method li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.woocommerce ul#shipping_method li:last-child {
  border-bottom: none;
}

.woocommerce ul#shipping_method li label {
  margin: 0;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   26. DARK MODE OVERRIDES
═══════════════════════════════════════════════════════════════ */

[data-dark] .woocommerce table.shop_table th,
[data-dark] .woocommerce-page table.shop_table th,
[data-dark] .woocommerce table.woocommerce-orders-table th,
[data-dark] .woocommerce table.woocommerce-MyAccount-downloads th {
  background: var(--bg2);
}

[data-dark] .woocommerce table.shop_table tbody tr:hover td,
[data-dark] .woocommerce table.woocommerce-orders-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

[data-dark] .woocommerce input[type="text"],
[data-dark] .woocommerce input[type="email"],
[data-dark] .woocommerce input[type="tel"],
[data-dark] .woocommerce input[type="number"],
[data-dark] .woocommerce input[type="password"],
[data-dark] .woocommerce textarea,
[data-dark] .woocommerce select {
  background: var(--bg2);
  border-color: var(--border);
  color: var(--text);
}

[data-dark] .woocommerce input[type="text"]:focus,
[data-dark] .woocommerce input[type="email"]:focus,
[data-dark] .woocommerce input[type="password"]:focus {
  background: var(--surface);
}

[data-dark] .woocommerce-message {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border-left-color: var(--green);
}

[data-dark] .woocommerce-error {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border-left-color: #ef4444;
}

[data-dark] .woocommerce-info {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-left-color: var(--blue);
}

[data-dark] mark.order-status.status-completed {
  background: rgba(34, 197, 94, 0.12);
}
[data-dark] mark.order-status.status-processing {
  background: rgba(249, 115, 22, 0.12);
}
[data-dark] mark.order-status.status-on-hold {
  background: rgba(59, 130, 246, 0.12);
}
[data-dark] mark.order-status.status-cancelled,
[data-dark] mark.order-status.status-failed {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

[data-dark] .woocommerce #payment {
  background: var(--surface);
}

[data-dark] .woocommerce #payment div.payment_box {
  background: var(--bg2);
}

[data-dark] .woocommerce-account fieldset legend {
  background: var(--bg);
}

/* ═══════════════════════════════════════════════════════════════
   27. RESPONSIVE
═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce div.product .summary {
    padding-left: 32px;
  }

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

  .woocommerce-account .woocommerce {
    grid-template-columns: 200px 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  /* Stack product grid */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Stack single product */
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary {
    width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
  }

  .woocommerce div.product .summary {
    margin-top: 28px;
  }

  /* Stack my account */
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    display: flex;
    overflow-x: auto;
    border-radius: var(--radius-sm);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: row;
    min-width: max-content;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 12px 16px;
    white-space: nowrap;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
  .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    border-left: none;
    border-bottom-color: var(--orange);
  }

  /* Stack addresses */
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  /* Cart table scroll */
  .woocommerce table.shop_table,
  .woocommerce-page table.shop_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Form rows full width on mobile */
  .woocommerce .form-row.form-row-first,
  .woocommerce .form-row.form-row-last,
  .woocommerce-page .form-row.form-row-first,
  .woocommerce-page .form-row.form-row-last {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  /* Login two-col → stack */
  .woocommerce-account:not(.logged-in) .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .u-column1,
  .woocommerce-account .u-column2 {
    padding: 24px;
  }

  /* Checkout */
  #customer_details,
  #order_review_heading,
  #order_review {
    padding: 20px;
  }

  /* Related */
  .related.products ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pagination */
  .woocommerce nav.woocommerce-pagination ul li a,
  .woocommerce nav.woocommerce-pagination ul li span {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  /* Order details list */
  .woocommerce-order ul.order_details {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce div.product .product_title {
    font-size: 22px;
  }

  .woocommerce div.product .price {
    font-size: 22px;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px;
  }

  .woocommerce .cart_totals,
  .woocommerce-page .cart_totals {
    padding: 20px;
  }

  .woocommerce-order ul.order_details {
    grid-template-columns: 1fr;
  }

  .related.products ul.products,
  .upsells.products ul.products {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   SINGLE PRODUCT STYLES (from the new CSS file)
───────────────────────────────────────────── */

/* Page shell */
.wc-product-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 28px 100px;
}

/* Breadcrumb */
.wc-breadcrumb {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text3);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wc-breadcrumb a {
  color: var(--text2);
  transition: color 0.2s;
}
.wc-breadcrumb a:hover {
  color: var(--orange);
}

/* Grid */
.wc-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  align-items: start;
}

/* Gallery */
.wc-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  /* position: sticky; */
  top: calc(var(--nav-h) + 24px);
}
.wc-gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg2);
}
.wc-gallery:hover .wc-gallery-main {
  transform: scale(1.03);
}

.wc-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.wc-gallery-thumbs img {
  flex: 1;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.wc-gallery-thumbs img.active,
.wc-gallery-thumbs img:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* Summary */
.wc-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wc-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-cream);
  margin-bottom: 16px;
  width: fit-content;
}

.wc-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.wc-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.wc-stars {
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 2px;
}
.wc-review-count {
  font-size: 12px;
  color: var(--text3);
  font-family: var(--font-mono);
}

/* Price block */
.wc-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--orange-soft);
  border: 1px solid var(--orange-cream);
  border-radius: var(--radius);
}
.wc-price-now {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.wc-price-was {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text3);
  text-decoration: line-through;
}
.wc-sale-pill {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: var(--shadow-orange);
  white-space: nowrap;
}

/* Stock */
.wc-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid var(--green-cream);
}
.wc-stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* Short desc */
.wc-short-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text2);
  margin-bottom: 28px;
}

/* Trust pills */
.wc-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.wc-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
}
.wc-trust-pill .ti {
  color: var(--green);
}

/* Cart row */
.wc-cart-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.wc-qty {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  background: var(--surface);
  height: 50px;
  transition: border-color 0.2s;
}
.wc-qty:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}
.wc-qty-btn {
  width: 44px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s,
    background 0.2s;
  line-height: 1;
}
.wc-qty-btn:hover {
  color: var(--orange);
  background: var(--orange-soft);
}
.wc-qty-input {
  width: 48px;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.wc-qty-input::-webkit-inner-spin-button,
.wc-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.wc-atc {
  flex: 1;
  min-width: 160px;
  height: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  border-radius: 100px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  box-shadow: var(--shadow-orange);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.wc-atc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.wc-atc:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.4);
}
.wc-atc:hover::after {
  opacity: 1;
}
.wc-atc:active {
  transform: translateY(0);
}

.wc-wish-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text2);
}
.wc-wish-btn:hover {
  border-color: #ef4444;
  color: #ef4444;
  transform: scale(1.08);
}

/* Meta */
.wc-meta {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.6;
}
.wc-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wc-meta-label {
  color: var(--text2);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 90px;
}
.wc-meta-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
}
.wc-meta a {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  transition: opacity 0.2s;
}
.wc-meta a:hover {
  opacity: 0.7;
}

/* Share */
.wc-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.wc-share-label {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
}
.wc-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
}
.wc-share-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── TABS ── */
.wc-tabs-section {
  margin-top: 72px;
  grid-column: 1 / -1;
}

.wc-tab-pills {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 4px;
  margin: 0 0 32px;
  background: var(--bg2);
  border-radius: 100px;
  width: fit-content;
  border: 1px solid var(--border);
}
.wc-tab-pill a {
  display: block;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  border-radius: 100px;
  transition: var(--transition);
}
.wc-tab-pill.active a {
  background: var(--surface);
  color: var(--orange);
  box-shadow: var(--shadow);
}
.wc-tab-pill a:hover {
  color: var(--orange);
}

.wc-tab-panel {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text2);
  max-width: 820px;
  display: none;
}
.wc-tab-panel.active {
  display: block;
}
.wc-tab-panel h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}
.wc-tab-panel p {
  margin-bottom: 16px;
}

/* Attributes table */
.wc-attr-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 14px;
}
.wc-attr-table th {
  background: var(--bg2);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  width: 200px;
  text-align: left;
}
.wc-attr-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.wc-attr-table tr:last-child th,
.wc-attr-table tr:last-child td {
  border-bottom: none;
}

/* ── REVIEWS ── */
.wc-reviews {
  margin-top: 28px;
}
.wc-reviews h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
}
.wc-review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.wc-review-card {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.wc-review-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border2);
}
.wc-review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--orange-cream);
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--orange);
}
.wc-review-body {
  flex: 1;
}
.wc-review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 12px;
}
.wc-review-meta strong {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-display);
}
.wc-review-stars {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 1px;
}
.wc-review-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text2);
}

/* Review form card */
.wc-review-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.wc-review-form-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

/* ── RELATED PRODUCTS ── */
.wc-related {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  grid-column: 1 / -1;
}
.wc-related h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.wc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.wc-related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.wc-related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border2);
}
.wc-related-img-wrap {
  overflow: hidden;
}
.wc-related-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  background: var(--bg2);
}
.wc-related-card:hover .wc-related-img {
  transform: scale(1.04);
}
.wc-related-info {
  padding: 16px 16px 0;
  flex: 1;
}
.wc-related-info h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.35;
}
.wc-related-price {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}
.wc-related-btn {
  margin: 0 16px 16px;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}
.wc-related-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .wc-product-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .wc-gallery {
    position: static;
  }
  .wc-summary {
    margin-top: 32px;
  }
  .wc-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wc-tab-pills {
    border-radius: var(--radius);
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .wc-product-page {
    padding: 32px 16px 80px;
  }
  .wc-atc {
    width: 100%;
  }
  .wc-cart-row {
    flex-wrap: wrap;
  }
}
@media (max-width: 480px) {
  .wc-related-grid {
    grid-template-columns: 1fr;
  }
}
