﻿/* ====================================================
   Woo Product Structure Changer — Premium Theme
   Fully responsive: Mobile ≤ 480px | Tablet ≤ 1024px | Desktop > 1024px
   ==================================================== */

:root {
  --orange: #f47920;
  --orange2: #e06610;
  --orange-light: #fff4ec;
  --orange-pale: #fde8d4;
  --navy: #1a2e5a;
  --navy2: #0e1b38;
  --blue: #3a9fd6;
  --ink: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --gray: #f9fafb;
  --green: #16a34a;
}

/* ---- Global ---- */
body.wpsc-product-theme {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body.wpsc-product-theme .single-product div.product {
  margin: 0;
}

body.wpsc-product-theme .woocommerce-notices-wrapper {
    max-width: 2000px;
    margin: 1px;
}

/* ====================
   Product Hero Section
   ==================== */
.wpsc-hero {
  position: relative;
  overflow: hidden;
  margin: 1px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #060d1f 100%);
  border-radius: 2px;
}

.wpsc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.wpsc-hero-glow1,
.wpsc-hero-glow2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.wpsc-hero-glow1 {
  top: -100px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(58, 159, 214, 0.25), transparent 70%);
}

.wpsc-hero-glow2 {
  right: -110px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(244, 121, 32, 0.2), transparent 70%);
}

/* ====================
   Container & Grid
   ==================== */
.wpsc-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 40px 40px;
}

.wpsc-breadcrumbs {
  margin-bottom: 22px;
}

.wpsc-breadcrumbs .woocommerce-breadcrumb {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.wpsc-breadcrumbs .woocommerce-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.wpsc-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: start;
  gap: 36px;
}

/* Neutralize default WooCommerce float layout inside the custom hero grid */
.wpsc-hero .summary.entry-summary,
.wpsc-hero div.product .summary,
.wpsc-hero div.product .images,
.wpsc-hero .woocommerce-product-gallery {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.wpsc-hero .summary.entry-summary {
  clear: none !important;
}

/* ====================
   Gallery Column
   ==================== */
.wpsc-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244, 121, 32, 0.14);
  border: 1px solid rgba(244, 121, 32, 0.35);
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.wpsc-category-line {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
  font-size: 13px;
}

.wpsc-category-line a {
  color: #fff;
  text-decoration: none;
}

/* Gallery — enlarged, no max-width constraint */
.wpsc-gallery-column .woocommerce-product-gallery {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
  max-width: none;
  width: 100%;
}

/* Let FlexSlider manage the wrapper & slides — do NOT override their widths */
.wpsc-gallery-column .woocommerce-product-gallery .flex-viewport {
  border-radius: 12px;
  overflow: hidden;
}

/* Only style the actual images */
.wpsc-gallery-column .woocommerce-product-gallery__image a {
  display: block;
}

.wpsc-gallery-column .woocommerce-product-gallery__image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Thumbnail row */
.wpsc-gallery-column .flex-control-thumbs {
  display: flex !important;
  gap: 10px;
  margin-top: 12px !important;
  padding: 0 !important;
}

.wpsc-gallery-column .flex-control-thumbs li {
  width: auto !important;
  flex: 0 0 72px;
}

.wpsc-gallery-column .flex-control-thumbs li img {
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
}

.wpsc-gallery-column .flex-control-thumbs li img:hover,
.wpsc-gallery-column .flex-control-thumbs li img.flex-active {
  border-color: var(--orange);
}

/* Sale badge */
.wpsc-gallery-column .onsale {
  left: 24px;
  top: 24px;
  margin: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  min-height: auto;
  line-height: 1;
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: 0.4px;
  z-index: 5;
}

/* ====================
   Summary Column
   ==================== */
.wpsc-summary-column {
  position: relative;
  min-width: 0;
}

.wpsc-summary-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 30px;
}

.wpsc-summary-panel .product_title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

/* Rating + Price row */
.wpsc-rating-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.wpsc-summary-panel .woocommerce-product-rating {
  margin-bottom: 0;
}

.wpsc-summary-panel .woocommerce-review-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.wpsc-summary-panel .price {
  margin: 0;
  color: var(--orange);
  font-size: 1.85rem;
  font-weight: 800;
}

.wpsc-summary-panel del {
  opacity: 0.5;
  font-size: 1rem;
  margin-right: 8px;
}

.wpsc-summary-panel .woocommerce-product-details__short-description {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

/* Feature chips */
.wpsc-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 22px;
}

.wpsc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: var(--orange-light);
  border: 1px solid rgba(244, 121, 32, 0.25);
  border-radius: 999px;
  font-size: 11px;
  color: var(--orange2);
  font-weight: 600;
}

/* Add-to-cart form area */
.wpsc-summary-panel form.cart {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
}

.wpsc-summary-panel .quantity .qty {
  border-radius: 9px;
  border: 1px solid #d1d5db;
  min-height: 44px;
  width: 70px;
  text-align: center;
}

.wpsc-summary-panel .single_add_to_cart_button {
  background: var(--orange);
  border-radius: 10px;
  min-height: 48px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  transition: all 0.2s ease;
}

.wpsc-summary-panel .single_add_to_cart_button:hover {
  background: var(--orange2);
  transform: translateY(-1px);
}

/* Product meta */
.wpsc-summary-panel .product_meta {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

/* ====================
   WooCommerce Tabs — Premium
   ==================== */
body.wpsc-product-theme .woocommerce-tabs {
  max-width: 2000px;
  margin: 2px auto;
  padding: 10px;
}

/* Tab navigation bar */
body.wpsc-product-theme .woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0 0 24px;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
}

body.wpsc-product-theme .woocommerce-tabs ul.tabs::before,
body.wpsc-product-theme .woocommerce-tabs ul.tabs::after {
  display: none;
}

body.wpsc-product-theme .woocommerce-tabs ul.tabs li {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0;
  margin: 0 0 -2px;
  transition: border-color 0.2s ease;
}

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

body.wpsc-product-theme .woocommerce-tabs ul.tabs li a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

body.wpsc-product-theme .woocommerce-tabs ul.tabs li a:hover {
  color: var(--ink);
}

body.wpsc-product-theme .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--orange);
  background: none;
}

body.wpsc-product-theme .woocommerce-tabs ul.tabs li.active a {
  color: var(--orange);
  font-weight: 700;
}

/* Tab panel content */
body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Description tab content */
body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel--description {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel--description p {
  margin-bottom: 14px;
}

body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel--description ul,
body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel--description ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel--description li {
  margin-bottom: 6px;
}

/* Reviews tab */
body.wpsc-product-theme .woocommerce-tabs .woocommerce-Tabs-panel--reviews .woocommerce-Reviews-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

/* Individual review */
body.wpsc-product-theme .woocommerce-tabs #comments .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li .comment_container {
  display: flex;
  gap: 16px;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li img.avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li .comment-text {
  flex: 1;
  min-width: 0;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li .meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li .meta strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

body.wpsc-product-theme .woocommerce-tabs #comments .commentlist li .description p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

/* Star ratings in reviews */
body.wpsc-product-theme .woocommerce-tabs .star-rating {
  color: var(--orange);
}

/* Review form */
body.wpsc-product-theme .woocommerce-tabs #review_form_wrapper {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-reply-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form label {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form input[type="text"],
body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form input[type="email"],
body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease;
  min-height: 44px;
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form input:focus,
body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 121, 32, 0.12);
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form .form-submit input {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.2s ease;
}

body.wpsc-product-theme .woocommerce-tabs #review_form .comment-form .form-submit input:hover {
  background: var(--orange2);
  transform: translateY(-1px);
}

/* No reviews message */
body.wpsc-product-theme .woocommerce-tabs .woocommerce-noreviews {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

/* ====================
   Related / Upsells
   ==================== */
body.wpsc-product-theme .upsells,
body.wpsc-product-theme .related {
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 24px;
}

/* ====================
   CTA Band
   ==================== */
.wpsc-cta-band {
  max-width: 1400px;
  margin: 38px auto 30px;
  border-radius: 22px;
  padding: 58px 30px;
  text-align: center;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange2) 100%);
  position: relative;
  overflow: hidden;
}

.wpsc-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 28px);
  pointer-events: none;
}

.wpsc-cta-band h2,
.wpsc-cta-band p,
.wpsc-cta-actions {
  position: relative;
  z-index: 2;
}

.wpsc-cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  margin-bottom: 10px;
  line-height: 1.2;
}

.wpsc-cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 660px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.wpsc-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wpsc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.wpsc-btn:hover {
  transform: translateY(-1px);
}

.wpsc-btn-white {
  background: #fff;
  color: var(--orange2);
}

.wpsc-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

/* ====================
   Reveal Animation
   ==================== */
.wpsc-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.wpsc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Cart & Checkout Theme
   ======================================== */
body.wpsc-cart-theme,
body.wpsc-checkout-theme {
  font-family: 'Poppins', sans-serif;
}

.wpsc-page-hero {
  max-width: 1400px;
  margin: 18px auto 24px;
  padding: 0 24px;
}

.wpsc-page-hero-inner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 22px;
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.wpsc-page-hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}

.wpsc-page-hero-inner>* {
  position: relative;
  z-index: 2;
}

.wpsc-page-hero-pill {
  display: inline-block;
  background: rgba(244, 121, 32, 0.16);
  border: 1px solid rgba(244, 121, 32, 0.38);
  color: var(--orange);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.wpsc-page-hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.15;
}

.wpsc-page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

/* Cart & Checkout content container */
body.wpsc-cart-theme .woocommerce,
body.wpsc-checkout-theme .woocommerce {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 30px;
}

/* Tables */
body.wpsc-cart-theme table.shop_table,
body.wpsc-checkout-theme table.shop_table {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

body.wpsc-cart-theme table.shop_table th,
body.wpsc-checkout-theme table.shop_table th {
  background: var(--gray);
  color: var(--ink);
  font-weight: 700;
}

/* Cart totals & Order review */
body.wpsc-cart-theme .cart_totals,
body.wpsc-checkout-theme .woocommerce-checkout-review-order {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* Primary buttons */
body.wpsc-cart-theme .wc-proceed-to-checkout a.checkout-button,
body.wpsc-checkout-theme #place_order,
body.wpsc-checkout-theme .button.alt {
  background: var(--orange);
  border-radius: 10px;
  font-weight: 700;
  min-height: 48px;
  font-size: 14px;
  transition: all 0.2s ease;
}

body.wpsc-cart-theme .wc-proceed-to-checkout a.checkout-button:hover,
body.wpsc-checkout-theme #place_order:hover,
body.wpsc-checkout-theme .button.alt:hover {
  background: var(--orange2);
  transform: translateY(-1px);
}

/* Form fields */
body.wpsc-cart-theme .coupon .input-text,
body.wpsc-checkout-theme .woocommerce form .input-text,
body.wpsc-checkout-theme .woocommerce form select,
body.wpsc-checkout-theme .select2-container--default .select2-selection--single {
  border: 1px solid #d1d5db;
  border-radius: 9px;
  min-height: 44px;
}

/* Billing / additional fields sections */
body.wpsc-checkout-theme .woocommerce-billing-fields,
body.wpsc-checkout-theme .woocommerce-additional-fields {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
}

/* Trust line */
.wpsc-checkout-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.wpsc-checkout-trust span {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--orange-light);
  border: 1px solid rgba(244, 121, 32, 0.25);
  color: var(--orange2);
  font-size: 11px;
  font-weight: 600;
}

body.wpsc-checkout-theme .woocommerce-NoticeGroup,
body.wpsc-cart-theme .woocommerce-notices-wrapper {
  margin-bottom: 14px;
}

/* ========================================
   Shop Archive Theme
   ======================================== */
body.wpsc-shop-theme {
  font-family: 'Poppins', sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body.wpsc-shop-theme .woocommerce-notices-wrapper {
  max-width: 1400px;
  margin: 24px auto 0;
  padding: 0 24px;
}

body.wpsc-shop-theme .woocommerce {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px 34px;
}

body.wpsc-shop-theme .woocommerce-products-header {
  margin-bottom: 16px;
}

body.wpsc-shop-theme .woocommerce-products-header__title {
  color: var(--navy2);
  font-size: clamp(1.3rem, 2.1vw, 1.8rem);
  font-weight: 800;
}

body.wpsc-shop-theme .woocommerce-result-count {
  color: var(--muted);
  font-size: 13px;
}

body.wpsc-shop-theme .woocommerce-ordering select {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
}

body.wpsc-shop-theme ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

body.wpsc-shop-theme ul.products::before,
body.wpsc-shop-theme ul.products::after {
  display: none;
}

body.wpsc-shop-theme ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
  display: flex;
  flex-direction: column;
}

body.wpsc-shop-theme ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 121, 32, 0.38);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.1);
}

body.wpsc-shop-theme ul.products li.product a img {
  border-radius: 12px;
  margin-bottom: 14px;
  width: 100% !important;
}

body.wpsc-shop-theme ul.products li.product .onsale {
  margin: 8px 0 0 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  min-height: auto;
  line-height: 1;
  padding: 6px 11px;
  font-size: 10px;
  letter-spacing: 0.4px;
}

body.wpsc-shop-theme ul.products li.product .woocommerce-loop-product__title {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 8px;
}

body.wpsc-shop-theme ul.products li.product .star-rating {
  color: var(--orange);
  margin-bottom: 10px;
}

body.wpsc-shop-theme ul.products li.product .price {
  color: var(--orange2);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

body.wpsc-shop-theme ul.products li.product .price del {
  opacity: 0.5;
  color: var(--muted);
  font-size: 0.9rem;
}

body.wpsc-shop-theme ul.products li.product .button {
  margin-top: auto;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
}

body.wpsc-shop-theme ul.products li.product .button:hover {
  background: var(--orange2);
}

body.wpsc-shop-theme .woocommerce-pagination {
  margin-top: 26px;
}

body.wpsc-shop-theme .woocommerce-pagination ul.page-numbers {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.wpsc-shop-theme .woocommerce-pagination ul.page-numbers li {
  border: 0;
}

body.wpsc-shop-theme .woocommerce-pagination ul.page-numbers li .page-numbers {
  min-width: 38px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 600;
  background: #fff;
}

body.wpsc-shop-theme .woocommerce-pagination ul.page-numbers li .page-numbers.current {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

body.wpsc-shop-theme .woocommerce-info {
  border-top-color: var(--orange);
}

/* ========================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ======================================================== */
@media (max-width: 1024px) {
  .wpsc-hero {
    border-radius: 15px;
  }

  .wpsc-container {
    padding: 24px 24px 30px;
  }

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

  /* Gallery: keep large, centered */
  .wpsc-gallery-column {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .wpsc-summary-panel {
    padding: 24px;
    position: static;
  }

  .wpsc-summary-panel .product_title {
    font-size: 1.65rem;
  }

  /* CTA band */
  .wpsc-cta-band {
    margin: 24px 16px;
    padding: 40px 24px;
    border-radius: 18px;
  }

  /* Cart/Checkout hero */
  .wpsc-page-hero {
    padding: 0 16px;
  }

  .wpsc-page-hero-inner {
    padding: 36px 28px;
    border-radius: 18px;
  }

  /* Cart/Checkout content */
  body.wpsc-cart-theme .woocommerce,
  body.wpsc-checkout-theme .woocommerce {
    padding: 0 16px 24px;
  }

  body.wpsc-shop-theme .woocommerce {
    padding: 0 16px 24px;
  }

  body.wpsc-shop-theme .woocommerce-notices-wrapper {
    padding: 0 16px;
  }

  body.wpsc-shop-theme ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  /* Cart table horizontal scroll */
  body.wpsc-cart-theme .woocommerce-cart-form {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.wpsc-cart-theme table.shop_table {
    min-width: 580px;
  }

  /* Checkout form fields full width */
  body.wpsc-checkout-theme .woocommerce form .form-row-first,
  body.wpsc-checkout-theme .woocommerce form .form-row-last {
    width: 100%;
    float: none;
  }

  /* Thumbnails */
  .wpsc-gallery-column .flex-control-thumbs li {
    flex: 0 0 64px;
  }

  .wpsc-gallery-column .flex-control-thumbs li img {
    width: 64px !important;
    height: 64px !important;
  }

  /* Tabs */
  body.wpsc-product-theme .woocommerce-tabs {
    padding: 8px 16px 0;
  }

  /* Related / Upsells */
  body.wpsc-product-theme .upsells,
  body.wpsc-product-theme .related {
    padding: 0 16px;
  }
}

/* ========================================================
   RESPONSIVE — Mobile (max-width: 767px)
   ======================================================== */
@media (max-width: 767px) {
  .wpsc-hero {
    border-radius: 0;
    margin: 0 0 5px;
  }

  .wpsc-container {
    padding: 20px 16px 24px;
  }

  /* Gallery: full width on mobile */
  .wpsc-gallery-column {
    max-width: 100%;
  }

  .wpsc-gallery-column .woocommerce-product-gallery {
    padding: 12px;
    border-radius: 14px;
  }

  .wpsc-gallery-column .flex-control-thumbs li {
    flex: 0 0 56px;
  }

  .wpsc-gallery-column .flex-control-thumbs li img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 6px;
  }

  .wpsc-gallery-column .flex-control-thumbs {
    gap: 8px;
    margin-top: 10px !important;
  }

  /* Summary panel */
  .wpsc-summary-panel {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .wpsc-summary-panel .product_title {
    font-size: 1.45rem;
  }

  .wpsc-summary-panel .price {
    font-size: 1.5rem;
  }

  .wpsc-rating-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0 14px;
  }

  /* Add-to-cart button full width */
  .wpsc-summary-panel form.cart {
    padding: 12px;
    border-radius: 12px;
  }

  .wpsc-summary-panel form.cart .button {
    width: 100%;
  }

  .wpsc-summary-panel .single_add_to_cart_button {
    width: 100%;
    min-height: 50px;
  }

  /* Chips */
  .wpsc-chip-list {
    margin: 14px 0 16px;
  }

  /* CTA band */
  .wpsc-cta-band {
    border-radius: 0;
    margin: 20px 0 0;
    padding: 36px 16px;
  }

  .wpsc-cta-band h2 {
    font-size: 1.35rem;
  }

  .wpsc-cta-band p {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .wpsc-btn {
    width: 100%;
    min-height: 50px;
    font-size: 14px;
  }

  /* Tabs */
  body.wpsc-product-theme .woocommerce-tabs {
    padding: 8px 12px 0;
  }

  body.wpsc-product-theme .woocommerce-tabs ul.tabs li a {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Related / Upsells */
  body.wpsc-product-theme .upsells,
  body.wpsc-product-theme .related {
    padding: 0 12px;
  }

  /* Cart / Checkout hero */
  .wpsc-page-hero {
    padding: 0 12px;
    margin: 12px auto 16px;
  }

  .wpsc-page-hero-inner {
    border-radius: 14px;
    padding: 28px 18px;
  }

  .wpsc-page-hero h1 {
    font-size: 1.45rem;
  }

  /* Cart / Checkout content */
  body.wpsc-cart-theme .woocommerce,
  body.wpsc-checkout-theme .woocommerce {
    padding: 0 12px 20px;
  }

  body.wpsc-shop-theme .woocommerce {
    padding: 0 12px 20px;
  }

  body.wpsc-shop-theme .woocommerce-notices-wrapper {
    padding: 0 12px;
  }

  body.wpsc-shop-theme .woocommerce-ordering,
  body.wpsc-shop-theme .woocommerce-result-count {
    float: none;
    width: 100%;
  }

  body.wpsc-shop-theme .woocommerce-ordering {
    margin-bottom: 10px;
  }

  body.wpsc-shop-theme .woocommerce-ordering select {
    width: 100%;
  }

  body.wpsc-shop-theme ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.wpsc-shop-theme ul.products li.product {
    border-radius: 14px;
    padding: 12px;
  }

  /* Cart table: scroll wrapper */
  body.wpsc-cart-theme .woocommerce-cart-form {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.wpsc-cart-theme table.shop_table {
    min-width: 520px;
  }

  /* Cart totals */
  body.wpsc-cart-theme .cart_totals,
  body.wpsc-checkout-theme .woocommerce-checkout-review-order {
    padding: 16px;
    border-radius: 12px;
  }

  /* Checkout: full-width cart button */
  body.wpsc-cart-theme .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    text-align: center;
  }

  /* Checkout form */
  body.wpsc-checkout-theme .woocommerce-billing-fields,
  body.wpsc-checkout-theme .woocommerce-additional-fields {
    padding: 16px;
    border-radius: 12px;
  }

  body.wpsc-checkout-theme .woocommerce form .form-row-first,
  body.wpsc-checkout-theme .woocommerce form .form-row-last {
    width: 100%;
    float: none;
  }

  body.wpsc-checkout-theme #place_order {
    width: 100%;
    min-height: 52px;
  }

  /* Trust line */
  .wpsc-checkout-trust {
    justify-content: center;
  }

  /* Breadcrumbs */
  .wpsc-breadcrumbs .woocommerce-breadcrumb {
    font-size: 11px;
  }

  body.wpsc-product-theme .woocommerce-notices-wrapper {
    padding: 0 10px;
  }
}

/* ========================================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ======================================================== */
@media (max-width: 480px) {
  .wpsc-container {
    padding: 16px 12px 20px;
  }

  .wpsc-summary-panel {
    padding: 16px 14px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .wpsc-summary-panel .product_title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .wpsc-summary-panel .price {
    font-size: 1.35rem;
  }

  .wpsc-pill {
    font-size: 9px;
    padding: 6px 10px;
  }

  .wpsc-chip {
    font-size: 10px;
    padding: 5px 9px;
  }

  .wpsc-gallery-column .woocommerce-product-gallery {
    padding: 10px;
    border-radius: 12px;
  }

  .wpsc-gallery-column .flex-control-thumbs li {
    flex: 0 0 48px;
  }

  .wpsc-gallery-column .flex-control-thumbs li img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 6px;
  }

  .wpsc-cta-band {
    padding: 28px 14px;
  }

  .wpsc-cta-band h2 {
    font-size: 1.2rem;
  }

  .wpsc-page-hero-inner {
    padding: 22px 14px;
    border-radius: 12px;
  }

  .wpsc-page-hero h1 {
    font-size: 1.3rem;
  }

  body.wpsc-shop-theme ul.products {
    grid-template-columns: 1fr;
  }
}
