/* ============================================================
   BURRSMITH WOOCOMMERCE DARK THEME STYLES
   ============================================================ */

/* Notices and Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
}

.woocommerce-message {
  background: rgba(72, 187, 120, 0.1);
  border-color: rgba(72, 187, 120, 0.3);
  color: #a7f3d0;
}

[data-theme="light"] .woocommerce-message {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.woocommerce-info {
  background: rgba(198, 160, 82, 0.08);
  border-color: rgba(198, 160, 82, 0.3);
  color: var(--accent);
}

[data-theme="light"] .woocommerce-info {
  background: #fefce8;
  border-color: #fef08a;
  color: #854d0e;
}

.woocommerce-error {
  background: rgba(224, 82, 82, 0.1);
  border-color: rgba(224, 82, 82, 0.3);
  color: #fca5a5;
}

[data-theme="light"] .woocommerce-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

/* ==================== PRODUCT ARCHIVE / SHOP HERO ==================== */
.burrsmith-shop-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding: 0.75rem 0 4rem;
}

@media (max-width: 860px) {
  .burrsmith-shop-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 0.5rem;
  }
}

.burrsmith-shop-hero .hero-image img {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(198, 160, 82, 0.28), 0 0 64px rgba(198, 160, 82, 0.12);
  display: block;
  width: 100%;
  height: auto;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.burrsmith-shop-hero .hero-image img:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 40px rgba(198, 160, 82, 0.35), 0 0 70px rgba(198, 160, 82, 0.18);
}

[data-theme="light"] .burrsmith-shop-hero .hero-image img {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e7e3de;
}

[data-theme="light"] .burrsmith-shop-hero .hero-image img:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.burrsmith-shop-hero .hero-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 0;
}

.burrsmith-shop-hero .eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.burrsmith-shop-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  letter-spacing: -0.02em;
}

.burrsmith-shop-hero .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
}

.burrsmith-shop-hero .description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==================== SINGLE PRODUCT DETAIL ==================== */
.burrsmith-single-product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: 0.75rem 0 4rem;
  margin-top: 0;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.burrsmith-single-product > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 880px) {
  .burrsmith-single-product {
    grid-template-columns: 100%;
    gap: 2rem;
    padding-top: 0.5rem;
  }
}

/* ==================== AMAZON-STYLE CATALOG GALLERY ==================== */
.burrsmith-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-top: 0;
}

.burrsmith-main-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(198, 160, 82, 0.28), 0 0 64px rgba(198, 160, 82, 0.12);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.burrsmith-main-stage:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 40px rgba(198, 160, 82, 0.35), 0 0 70px rgba(198, 160, 82, 0.18);
}

[data-theme="light"] .burrsmith-main-stage {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e7e3de;
}

[data-theme="light"] .burrsmith-main-stage:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

#burrsmith-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: inherit;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Horizontal Thumbnails Strip (Amazon Listing Style Below Main Image) */
.burrsmith-thumb-strip {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.burrsmith-thumb-strip::-webkit-scrollbar {
  height: 4px;
}

.burrsmith-thumb-strip::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.burrsmith-thumb-btn {
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  max-width: 68px;
  max-height: 68px;
  padding: 0;
  margin: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 0.65;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(198, 160, 82, 0.12);
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

[data-theme="light"] .burrsmith-thumb-btn {
  border-color: #e7e3de;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.burrsmith-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.burrsmith-thumb-btn:hover {
  opacity: 0.95;
  border-color: rgba(198, 160, 82, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198, 160, 82, 0.25);
}

[data-theme="light"] .burrsmith-thumb-btn:hover {
  border-color: rgba(138, 98, 64, 0.6);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.burrsmith-thumb-btn.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 20px rgba(198, 160, 82, 0.35);
  transform: translateY(-2px);
}

[data-theme="light"] .burrsmith-thumb-btn.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 16px rgba(138, 98, 64, 0.22);
}

@media (max-width: 540px) {
  .burrsmith-thumb-btn {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
  }
}

.product-summary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.product-summary h1,
.single-product .product_title {
  color: var(--accent);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
  line-height: 1.15;
  overflow-wrap: break-word;
}

.product-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.product-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  color: var(--champagne);
  letter-spacing: 0.05em;
  font-weight: 500;
  white-space: normal;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

[data-theme="light"] .product-badge {
  color: #3b2818;
  background: #eee8e0;
  border-color: #dfd5c8;
  font-weight: 600;
}

/* Screen Reader Text Accessibility Clip */
.screen-reader-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  word-wrap: normal !important;
}

/* Product Summary Price */
.product-summary .price {
  font-size: clamp(2rem, 3.2vw, 2.45rem);
  font-weight: 800;
  color: var(--text);
  margin: 0.6rem 0 0.4rem;
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.85rem;
  line-height: 1.1;
  font-family: var(--font) !important;
}

/* Bold Sale / Current Price first */
.product-summary .price ins,
.product-summary .price > .amount:not(del .amount) {
  order: 1;
  text-decoration: none !important;
  font-size: clamp(2rem, 3.2vw, 2.45rem) !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  letter-spacing: -0.02em;
}

/* Muted Original Price with strikethrough second */
.product-summary .price del {
  order: 2;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  opacity: 0.65;
  text-decoration: line-through !important;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .product-summary .price del {
  text-decoration-color: rgba(0, 0, 0, 0.35);
}

/* Ensure catalog price also orders sale first and strikethrough second */
.catalog-product-price ins {
  order: 1;
}
.catalog-product-price del {
  order: 2;
}

.product-tax-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}

.product-description,
.woocommerce-product-details__short-description {
  font-family: var(--font) !important;
  font-size: clamp(0.96rem, 1.08vw, 1.06rem) !important;
  line-height: 1.68 !important;
  color: var(--text-muted) !important;
  letter-spacing: -0.01em;
  max-width: 52ch;
  margin: 1rem 0 1.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.product-description p,
.woocommerce-product-details__short-description p {
  font-family: var(--font) !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  margin: 0 0 0.85rem;
  max-width: 100%;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

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

.product-description strong,
.product-description b,
.woocommerce-product-details__short-description strong,
.woocommerce-product-details__short-description b {
  color: var(--text) !important;
  font-weight: 600;
}

.product-description ul,
.product-description ol,
.woocommerce-product-details__short-description ul,
.woocommerce-product-details__short-description ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0.85rem;
  color: var(--text-muted);
  max-width: 100%;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.product-description li,
.woocommerce-product-details__short-description li {
  font-family: var(--font) !important;
  font-size: inherit !important;
  line-height: 1.6 !important;
  margin-bottom: 0.35rem;
}

/* Product Feature List */
.product-feature-list {
  list-style: none !important;
  margin: 1.25rem 0 1.5rem !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-feature-list li {
  position: relative;
  padding-left: 1.25rem !important;
  font-family: var(--font) !important;
  font-size: clamp(0.92rem, 1vw, 0.98rem) !important;
  line-height: 1.62 !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

.product-feature-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}

.product-feature-list li strong {
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  letter-spacing: 0.03em !important;
  margin-right: 0.35rem !important;
  display: inline;
}

.product-feature-list li span {
  color: var(--text-muted) !important;
}

/* PINCODE SERVICEABILITY CHECKER */
#burrsmith-pincode-checker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

#burrsmith-pincode-checker .pincode-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#burrsmith-pincode-checker .pincode-header svg {
  color: var(--accent);
}

#burrsmith-pincode-checker .pincode-form {
  display: flex;
  gap: 0.6rem;
}

#burrsmith-pincode-checker input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.1rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

#burrsmith-pincode-checker input:focus {
  border-color: var(--accent);
}

#burrsmith-pincode-result {
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

#burrsmith-pincode-result .status-success {
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

#burrsmith-pincode-result .status-error {
  color: var(--error);
}

#burrsmith-pincode-result .status-loading {
  color: var(--text-muted);
}

/* ==================== QUANTITY SELECTOR & ADD TO CART ==================== */
.burrsmith-add-to-cart-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.burrsmith-add-to-cart-wrapper form.cart {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.burrsmith-quantity-stepper,
.quantity {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.5rem;
  height: 52px;
  box-sizing: border-box;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.burrsmith-quantity-stepper:focus-within,
.quantity:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(198, 160, 82, 0.2);
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.1s var(--ease);
}

.qty-btn:hover {
  background: var(--surface-hover);
  color: var(--accent);
}

.qty-btn:active {
  transform: scale(0.9);
}

/* Hide default browser number spin buttons */
.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity input[type="number"] {
  -moz-appearance: textfield;
}

.quantity input.qty {
  width: 48px;
  height: 100%;
  border: none !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.single_add_to_cart_button {
  flex: 1;
  min-width: 220px;
  height: 52px;
  padding: 0 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: linear-gradient(120deg, #c6a052, #e6dfd3);
  color: #1a1206;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198, 160, 82, 0.35);
}

[data-theme="light"] .single_add_to_cart_button {
  background: linear-gradient(120deg, #8a6240, #c6a052);
  color: #ffffff;
}

[data-theme="light"] .single_add_to_cart_button:hover {
  box-shadow: 0 10px 30px rgba(138, 98, 64, 0.35);
}

/* Coming Soon Badge */
.coming-soon-badge-wrap {
  margin: 1.5rem 0;
  display: flex;
}

.coming-soon-stock {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(198, 160, 82, 0.08) !important;
  border: 1px solid rgba(198, 160, 82, 0.35) !important;
  color: var(--accent) !important;
  font-family: var(--font) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  line-height: normal !important;
  margin: 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.coming-soon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(198, 160, 82, 0.8);
  flex-shrink: 0;
  display: inline-block;
  animation: pulse-dot 2.4s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

[data-theme="light"] .coming-soon-stock {
  background: rgba(138, 98, 64, 0.08) !important;
  border-color: rgba(138, 98, 64, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* SPECIFICATIONS TABLE */
.product-specs {
  margin-top: 1.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  width: 100%;
}

.product-specs h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.spec-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.spec-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.25rem;
}

/* ==================== CART PAGE ==================== */
.woocommerce-cart-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

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

.shop_table th {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shop_table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.shop_table .product-remove a {
  color: var(--error);
  font-size: 1.25rem;
}

.cart-collaterals {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .cart-collaterals {
    grid-template-columns: 1fr;
  }
}

.cart_totals {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cart_totals h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.cart_totals table {
  width: 100%;
  margin-bottom: 1.5rem;
}

.cart_totals td, .cart_totals th {
  padding: 0.75rem 0;
}

.wc-proceed-to-checkout a.checkout-button {
  display: block;
  text-align: center;
  background: var(--btn-bg);
  color: var(--btn-fg);
  padding: 1rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* ==================== CHECKOUT PAGE ==================== */
/* Explicit Body Reset for Checkout & Store Pages */
body,
body.woocommerce,
body.woocommerce-page,
body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-account {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.burrsmith-checkout-page {
  padding-bottom: 3rem;
  width: 100%;
}

form.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  width: 100%;
}

@media (max-width: 960px) {
  form.woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==================== WOOCOMMERCE BLOCKS CHECKOUT & CART ==================== */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart,
.wc-block-checkout,
.wc-block-cart {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.wp-block-woocommerce-checkout.alignwide,
.wp-block-woocommerce-cart.alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.wc-block-components-sidebar-layout {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: clamp(2rem, 4vw, 3.5rem) !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 auto !important;
}

@media (max-width: 960px) {
  .wc-block-components-sidebar-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.wc-block-components-sidebar.is-sticky {
  position: sticky !important;
  top: 90px !important;
}

.wc-block-components-checkout-step,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-checkout__sidebar,
.checkout-order-summary-block-fill {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: clamp(1.25rem, 3vw, 1.75rem) !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25) !important;
  box-sizing: border-box !important;
}

[data-theme="light"] .wc-block-components-checkout-step,
[data-theme="light"] .wp-block-woocommerce-checkout-order-summary-block,
[data-theme="light"] .wc-block-checkout__sidebar,
[data-theme="light"] .checkout-order-summary-block-fill {
  background: #ffffff !important;
  border-color: #e7e3de !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05) !important;
}

.wc-block-components-title,
.wc-block-components-checkout-step__title,
.wc-block-components-checkout-order-summary__title-text {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 1rem !important;
}

/* Block Inputs Dark Mode */
.wc-block-components-text-input,
.wc-blocks-components-select {
  position: relative !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0.75rem !important;
}

.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-blocks-components-select__container,
div.wc-blocks-components-select div.wc-blocks-components-select__container {
  position: relative !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin: 0 !important;
  width: 100% !important;
}

.wc-block-components-text-input input,
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="password"],
.wc-blocks-components-select select,
.wc-blocks-components-select select.wc-blocks-components-select__select,
.wc-blocks-components-select .wc-blocks-components-select__select,
select.wc-blocks-components-select__select,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-components-textarea,
textarea.wc-block-components-textarea {
  background-color: var(--bg) !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  height: 52px !important;
  padding: 18px 12px 6px !important;
  font-size: 0.95rem !important;
  font-family: var(--font) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-shadow: none !important;
  color-scheme: dark !important;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

.wc-blocks-components-select select,
.wc-blocks-components-select select.wc-blocks-components-select__select,
.wc-blocks-components-select .wc-blocks-components-select__select,
select.wc-blocks-components-select__select {
  padding-right: 36px !important;
}

/* Select options in Dark Mode */
.wc-blocks-components-select select option,
.wc-blocks-components-select select.wc-blocks-components-select__select option,
.wc-blocks-components-select .wc-blocks-components-select__select option,
select.wc-blocks-components-select__select option,
.wc-block-components-address-form select option,
select option {
  background-color: #141416 !important;
  background: #141416 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 8px 12px !important;
}

.wc-block-components-text-input input:focus,
.wc-blocks-components-select select:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
select.wc-blocks-components-select__select:focus,
.wc-block-components-textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(198, 160, 82, 0.25) !important;
}

/* Floating labels in WooCommerce Blocks */
.wc-block-components-text-input label,
.wc-blocks-components-select label,
.wc-blocks-components-select__label,
.wc-blocks-components-select .wc-blocks-components-select__label {
  color: var(--text-muted) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  left: 12px !important;
  top: 8px !important;
  transform: none !important;
  pointer-events: none !important;
  z-index: 2 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 0.85 !important;
}

/* WebKit autofill for blocks in dark mode */
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input:-webkit-autofill:hover,
.wc-block-components-text-input input:-webkit-autofill:focus,
.wc-block-components-text-input input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #010101 inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
  caret-color: rgba(255, 255, 255, 0.92) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Light Theme Block Inputs & Selects */
[data-theme="light"] .wc-blocks-components-select,
[data-theme="light"] .wc-blocks-components-select .wc-blocks-components-select__container,
[data-theme="light"] div.wc-blocks-components-select div.wc-blocks-components-select__container {
  background: transparent !important;
  background-color: transparent !important;
}

[data-theme="light"] .wc-block-components-text-input input,
[data-theme="light"] .wc-block-components-text-input input[type="text"],
[data-theme="light"] .wc-block-components-text-input input[type="email"],
[data-theme="light"] .wc-block-components-text-input input[type="tel"],
[data-theme="light"] .wc-blocks-components-select select,
[data-theme="light"] .wc-blocks-components-select select.wc-blocks-components-select__select,
[data-theme="light"] .wc-blocks-components-select .wc-blocks-components-select__select,
[data-theme="light"] select.wc-blocks-components-select__select,
[data-theme="light"] .wc-block-components-address-form input,
[data-theme="light"] .wc-block-components-address-form select,
[data-theme="light"] .wc-block-components-textarea {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #141414 !important;
  -webkit-text-fill-color: #141414 !important;
  border-color: #dfd5c8 !important;
  color-scheme: light !important;
}

[data-theme="light"] .wc-blocks-components-select select option,
[data-theme="light"] .wc-blocks-components-select select.wc-blocks-components-select__select option,
[data-theme="light"] .wc-blocks-components-select .wc-blocks-components-select__select option,
[data-theme="light"] select.wc-blocks-components-select__select option,
[data-theme="light"] .wc-block-components-address-form select option,
[data-theme="light"] select option {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #141414 !important;
  padding: 8px 12px !important;
}

[data-theme="light"] .wc-block-components-text-input label,
[data-theme="light"] .wc-blocks-components-select label,
[data-theme="light"] .wc-blocks-components-select__label,
[data-theme="light"] .wc-blocks-components-select .wc-blocks-components-select__label {
  color: #6b6e73 !important;
}

[data-theme="light"] .wc-block-components-text-input input:focus,
[data-theme="light"] .wc-blocks-components-select select:focus,
[data-theme="light"] .wc-blocks-components-select .wc-blocks-components-select__select:focus,
[data-theme="light"] .wc-block-components-textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(138, 98, 64, 0.2) !important;
}

[data-theme="light"] .wc-block-components-text-input input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #141414 !important;
  caret-color: #141414 !important;
}

.wc-blocks-components-select .wc-blocks-components-select__expand,
.wc-blocks-components-select__expand {
  fill: var(--text-muted) !important;
  right: 12px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/* ============================================================
   BLOCK RADIO CONTROLS: Shipping Options & Payment Methods
   ============================================================ */

/* Group container for radio list (Shipping rates & Payment methods) */
.wc-block-components-radio-control,
.wc-block-checkout__shipping-rates-control,
.wc-block-components-checkout-payment-methods {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--bg) !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0.75rem 0 1.25rem !important;
  box-shadow: none !important;
}

/* Individual Accordion Option (Payment Methods like Razorpay) */
.wc-block-components-radio-control-accordion-option {
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background-color 0.2s var(--ease) !important;
}

.wc-block-components-radio-control-accordion-option:last-child {
  border-bottom: none !important;
}

/* Neutralize WooCommerce's hardcoded currentColor inset border & 4px radius */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked,
label.wc-block-components-radio-control__option-checked {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Kill all WooCommerce :after pseudo borders and divider lines */
.wc-block-components-radio-control:after,
.wc-block-components-radio-control--highlight-checked:after,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:after,
.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option:after,
.wc-block-components-radio-control__option:after,
.wc-block-components-radio-control-accordion-option:after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* Match container corner radius on first and last options */
.wc-block-components-radio-control__option:first-child,
.wc-block-components-radio-control-accordion-option:first-child,
.wc-block-components-radio-control-accordion-option:first-child .wc-block-components-radio-control__option {
  border-top-left-radius: var(--radius) !important;
  border-top-right-radius: var(--radius) !important;
}

.wc-block-components-radio-control__option:last-child,
.wc-block-components-radio-control-accordion-option:last-child,
.wc-block-components-radio-control-accordion-option:last-child .wc-block-components-radio-control__option {
  border-bottom-left-radius: var(--radius) !important;
  border-bottom-right-radius: var(--radius) !important;
}

/* Highlighted / Selected Accordion Option */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
  background: rgba(198, 160, 82, 0.08) !important;
}

/* Each Radio Option Label Row (Shipping rate or Payment method header) */
.wc-block-components-radio-control__option,
label.wc-block-components-radio-control__option {
  display: block !important;
  position: relative !important;
  padding: 16px 16px 16px 50px !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  background: transparent !important;
  color: var(--text) !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  margin: 0 !important;
  transition: background-color 0.2s var(--ease) !important;
}

/* In accordion payment methods, remove border on inner label */
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  border-bottom: none !important;
}

/* Remove bottom border on last shipping rate */
.wc-block-checkout__shipping-rates-control .wc-block-components-radio-control__option:last-child {
  border-bottom: none !important;
}

/* Radio Input Circle: Strictly positioned at left and centered at middle */
.wc-block-components-radio-control .wc-block-components-radio-control__input,
.wc-block-components-radio-control__option .wc-block-components-radio-control__input,
.wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__input,
.wc-block-checkout__payment-method .wc-block-components-radio-control .wc-block-components-radio-control__input,
input.wc-block-components-radio-control__input {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  background-color: var(--bg) !important;
  background: var(--bg) !important;
  margin: 0 !important;
  padding: 0 !important;
  outline: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

/* Hover & Focus state */
.wc-block-components-radio-control .wc-block-components-radio-control__input:hover,
input.wc-block-components-radio-control__input:hover {
  border-color: var(--accent) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:focus,
input.wc-block-components-radio-control__input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(198, 160, 82, 0.25) !important;
}

/* Checked Radio Button: Solid Gold Center Dot */
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked,
input.wc-block-components-radio-control__input:checked {
  border-color: var(--accent) !important;
  background-color: var(--bg) !important;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before,
input.wc-block-components-radio-control__input:checked:before {
  content: "" !important;
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: var(--accent) !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Layout for Option Labels & Descriptions */
.wc-block-components-radio-control__option-layout {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.wc-block-components-radio-control__label-group,
.wc-block-components-radio-control__description-group {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.wc-block-components-radio-control__label {
  color: var(--text) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.wc-block-components-radio-control__label img {
  max-height: 24px !important;
  width: auto !important;
  vertical-align: middle !important;
  filter: brightness(1) !important;
}

.wc-block-components-radio-control__secondary-label {
  color: var(--accent) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  margin-left: auto !important;
  text-align: right !important;
}

.wc-block-components-radio-control__description,
.wc-block-components-radio-control__secondary-description {
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
  margin-top: 4px !important;
}

/* Payment Method Accordion Expanded Content (Razorpay description & details) */
.wc-block-components-radio-control-accordion-content {
  padding: 0 16px 16px 50px !important;
  color: var(--text-muted) !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
  background: transparent !important;
}

.wc-block-components-radio-control-accordion-content:empty,
.wc-block-components-radio-control-accordion-content:has(>:only-child:empty) {
  display: none !important;
}

/* Address Card (Saved Shipping / Billing Address) */
.wc-block-components-address-card {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  color: var(--text) !important;
  padding: 0.85rem 1rem !important;
  margin-bottom: 1rem !important;
}

.wc-block-components-address-card address {
  color: var(--text) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

/* ============================================================
   LIGHT THEME OVERRIDES FOR RADIO CONTROLS
   ============================================================ */
[data-theme="light"] .wc-block-components-radio-control,
[data-theme="light"] .wc-block-checkout__shipping-rates-control,
[data-theme="light"] .wc-block-components-checkout-payment-methods,
[data-theme="light"] .wc-block-components-address-card {
  background: #ffffff !important;
  border-color: #e7e3de !important;
}

[data-theme="light"] .wc-block-components-radio-control-accordion-option {
  border-bottom-color: #f0ece6 !important;
}

[data-theme="light"] .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
[data-theme="light"] .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted,
[data-theme="light"] .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
[data-theme="light"] .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
[data-theme="light"] .wc-block-components-radio-control__option--checked-option-highlighted,
[data-theme="light"] .wc-block-components-radio-control__option.wc-block-components-radio-control__option-checked {
  box-shadow: none !important;
  border-radius: 0 !important;
  background: rgba(138, 98, 64, 0.06) !important;
}

[data-theme="light"] .wc-block-components-radio-control__option:first-child,
[data-theme="light"] .wc-block-components-radio-control-accordion-option:first-child,
[data-theme="light"] .wc-block-components-radio-control-accordion-option:first-child .wc-block-components-radio-control__option {
  border-top-left-radius: var(--radius) !important;
  border-top-right-radius: var(--radius) !important;
}

[data-theme="light"] .wc-block-components-radio-control__option:last-child,
[data-theme="light"] .wc-block-components-radio-control-accordion-option:last-child,
[data-theme="light"] .wc-block-components-radio-control-accordion-option:last-child .wc-block-components-radio-control__option {
  border-bottom-left-radius: var(--radius) !important;
  border-bottom-right-radius: var(--radius) !important;
}

[data-theme="light"] .wc-block-components-radio-control__option,
[data-theme="light"] label.wc-block-components-radio-control__option {
  color: #141414 !important;
  border-bottom-color: #f0ece6 !important;
}

[data-theme="light"] .wc-block-components-radio-control .wc-block-components-radio-control__input,
[data-theme="light"] .wc-block-components-radio-control__option .wc-block-components-radio-control__input,
[data-theme="light"] input.wc-block-components-radio-control__input {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border-color: #c8c2b9 !important;
}

[data-theme="light"] .wc-block-components-radio-control .wc-block-components-radio-control__input:checked,
[data-theme="light"] input.wc-block-components-radio-control__input:checked {
  border-color: var(--accent) !important;
}

[data-theme="light"] .wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before,
[data-theme="light"] input.wc-block-components-radio-control__input:checked:before {
  background-color: var(--accent) !important;
}

[data-theme="light"] .wc-block-components-radio-control__label {
  color: #141414 !important;
}

[data-theme="light"] .wc-block-components-radio-control__secondary-label {
  color: var(--accent) !important;
}

[data-theme="light"] .wc-block-components-radio-control__description,
[data-theme="light"] .wc-block-components-radio-control__secondary-description,
[data-theme="light"] .wc-block-components-radio-control-accordion-content,
[data-theme="light"] .wc-block-components-address-card address {
  color: #5c5f63 !important;
}

/* Block Checkbox Controls & Custom Styling */
.wc-block-components-checkbox {
  margin: 0.85rem 0 !important;
  color: var(--text) !important;
}

.wc-block-components-checkbox label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  position: relative !important;
  color: var(--text) !important;
  line-height: 1.4 !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__label {
  color: var(--text) !important;
  font-size: 0.92rem !important;
  cursor: pointer !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input,
.wc-block-components-checkbox input[type="checkbox"],
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
input.wc-block-components-checkbox__input {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  border-radius: 5px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  background-color: var(--bg) !important;
  background: var(--bg) !important;
  cursor: pointer !important;
  position: relative !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:hover,
.wc-block-components-checkbox input[type="checkbox"]:hover,
input.wc-block-components-checkbox__input:hover {
  border-color: var(--accent) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:focus,
.wc-block-components-checkbox input[type="checkbox"]:focus,
input.wc-block-components-checkbox__input:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(198, 160, 82, 0.25) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
.wc-block-components-checkbox input[type="checkbox"]:checked,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked,
input.wc-block-components-checkbox__input:checked {
  background-color: var(--accent) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__mark,
svg.wc-block-components-checkbox__mark {
  fill: #010101 !important;
  color: #010101 !important;
  width: 14px !important;
  height: 14px !important;
  margin-left: 3px !important;
  margin-top: 1px !important;
  pointer-events: none !important;
  position: absolute !important;
}

/* Light Mode Checkbox Overrides */
[data-theme="light"] .wc-block-components-checkbox label,
[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__label {
  color: #141414 !important;
}

[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__input,
[data-theme="light"] .wc-block-components-checkbox input[type="checkbox"],
[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"],
[data-theme="light"] input.wc-block-components-checkbox__input {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1.5px solid #d0c8be !important;
}

[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__input:hover,
[data-theme="light"] .wc-block-components-checkbox input[type="checkbox"]:hover,
[data-theme="light"] input.wc-block-components-checkbox__input:hover {
  border-color: var(--accent) !important;
}

[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__input:focus,
[data-theme="light"] .wc-block-components-checkbox input[type="checkbox"]:focus,
[data-theme="light"] input.wc-block-components-checkbox__input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(138, 98, 64, 0.25) !important;
}

[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
[data-theme="light"] .wc-block-components-checkbox input[type="checkbox"]:checked,
[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked,
[data-theme="light"] input.wc-block-components-checkbox__input:checked {
  background-color: var(--accent) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

[data-theme="light"] .wc-block-components-checkbox .wc-block-components-checkbox__mark,
[data-theme="light"] svg.wc-block-components-checkbox__mark {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.wc-block-components-address-card__edit,
.wc-block-components-address-form__address_2-toggle {
  color: var(--accent) !important;
  cursor: pointer !important;
  text-decoration: underline !important;
}

/* Block Place Order Button */
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
  background: var(--accent) !important;
  background-color: var(--accent) !important;
  color: #010101 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  border-radius: var(--radius-pill) !important;
  border: none !important;
  padding: 1.1rem 2rem !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 8px 24px rgba(198, 160, 82, 0.3) !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(198, 160, 82, 0.45) !important;
}

[data-theme="light"] .wc-block-components-checkout-place-order-button,
[data-theme="light"] .wc-block-components-button.contained {
  background: #111111 !important;
  background-color: #111111 !important;
  color: #f7f5f2 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Block Order Summary Totals */
.wc-block-components-order-summary-item {
  border-bottom: 1px solid var(--border) !important;
  padding: 0.75rem 0 !important;
}

.wc-block-components-product-name {
  color: var(--text) !important;
  font-weight: 600 !important;
}

.wc-block-components-totals-item,
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  color: var(--text) !important;
}

.wc-block-components-totals-footer-item {
  border-top: 1px solid var(--border) !important;
  padding-top: 1rem !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
}

.wc-block-components-order-summary-item__quantity {
  background: var(--accent) !important;
  color: #010101 !important;
  font-weight: 700 !important;
}

.customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.order-review-col {
  position: sticky;
  top: 90px;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
#order_review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

[data-theme="light"] .woocommerce-billing-fields,
[data-theme="light"] .woocommerce-shipping-fields,
[data-theme="light"] .woocommerce-additional-fields,
[data-theme="light"] #order_review {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: var(--text);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 2-Column Responsive Form Row Grid */
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper,
.woocommerce-additional-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.35rem 1.25rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-address-fields > p,
.woocommerce-EditAccountForm > p {
  margin-top: 1.75rem !important;
  margin-bottom: 0 !important;
}

.woocommerce-checkout .clear,
.woocommerce-billing-fields .clear,
.woocommerce-shipping-fields .clear,
.woocommerce-additional-fields .clear,
.woocommerce-address-fields .clear,
.burrsmith-checkout-page .clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: span 0 !important;
}

.form-row {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  float: none !important;
  clear: none !important;
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.select2-container {
  width: 100% !important;
  max-width: 100% !important;
}

.form-row-wide,
.form-row.notes,
#billing_company_field,
#billing_gstin_field,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_city_field,
#billing_state_field,
#billing_postcode_field,
#billing_phone_field,
#billing_email_field,
#shipping_company_field,
#shipping_country_field,
#shipping_address_1_field,
#shipping_address_2_field,
#shipping_city_field,
#shipping_state_field,
#shipping_postcode_field,
#shipping_phone_field,
#order_comments_field,
#account_password_field,
#account_username_field,
.create-account {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  float: none !important;
}

#billing_first_name_field,
#shipping_first_name_field,
.woocommerce-billing-fields__field-wrapper > .form-row-first,
.woocommerce-shipping-fields__field-wrapper > .form-row-first {
  grid-column: 1 !important;
  width: 100% !important;
  float: none !important;
}

#billing_last_name_field,
#shipping_last_name_field,
.woocommerce-billing-fields__field-wrapper > .form-row-last,
.woocommerce-shipping-fields__field-wrapper > .form-row-last {
  grid-column: 2 !important;
  width: 100% !important;
  float: none !important;
}

@media (max-width: 768px) {
  .woocommerce-billing-fields__field-wrapper,
  .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-additional-fields__field-wrapper,
  .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .form-row-first,
  .form-row-last,
  #billing_first_name_field,
  #billing_last_name_field,
  #shipping_first_name_field,
  #shipping_last_name_field {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
}

/* Form Field Labels (Bright & Clearly Visible) */
.woocommerce form .form-row label,
.woocommerce-checkout .form-row label,
.woocommerce-billing-fields label,
.woocommerce-shipping-fields label,
.woocommerce-additional-fields label,
.form-row label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--text) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.45rem !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
}

[data-theme="light"] .woocommerce form .form-row label,
[data-theme="light"] .woocommerce-checkout .form-row label,
[data-theme="light"] .woocommerce-billing-fields label,
[data-theme="light"] .woocommerce-shipping-fields label,
[data-theme="light"] .woocommerce-additional-fields label,
[data-theme="light"] .form-row label {
  color: #141414 !important;
}

abbr.required,
.form-row label abbr.required,
.woocommerce-checkout label abbr.required {
  color: var(--accent) !important;
  text-decoration: none !important;
  border: none !important;
  font-weight: 700 !important;
  margin-left: 0.25rem !important;
}

/* Universal Inputs in Dark Theme */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce input[type="search"],
.woocommerce textarea,
.woocommerce select,
.woocommerce .input-text,
.woocommerce-checkout input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.form-row input.input-text,
.form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form-row select,
.form-row textarea,
.woocommerce-input-wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper select {
  width: 100% !important;
  box-sizing: border-box !important;
  background-color: var(--bg) !important;
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 0.8rem 1rem !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  font-size: 0.95rem !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

.woocommerce textarea,
.woocommerce-checkout textarea,
.form-row textarea {
  min-height: 90px !important;
  resize: vertical !important;
}

.woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.woocommerce textarea:focus,
.woocommerce select:focus,
.woocommerce-checkout input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(198, 160, 82, 0.25) !important;
}

/* WebKit Autofill in Dark Mode */
.woocommerce input:-webkit-autofill,
.woocommerce input:-webkit-autofill:hover, 
.woocommerce input:-webkit-autofill:focus, 
.woocommerce input:-webkit-autofill:active,
.woocommerce-checkout input:-webkit-autofill,
.form-row input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #010101 inset !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
  caret-color: rgba(255, 255, 255, 0.92) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Light Theme Inputs */
[data-theme="light"] .woocommerce input[type="text"],
[data-theme="light"] .woocommerce input[type="email"],
[data-theme="light"] .woocommerce input[type="tel"],
[data-theme="light"] .woocommerce input[type="password"],
[data-theme="light"] .woocommerce textarea,
[data-theme="light"] .woocommerce select,
[data-theme="light"] .woocommerce .input-text,
[data-theme="light"] .woocommerce-checkout input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
[data-theme="light"] .woocommerce-checkout textarea,
[data-theme="light"] .woocommerce-checkout select,
[data-theme="light"] .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
[data-theme="light"] .form-row textarea,
[data-theme="light"] .form-row select {
  background-color: #ffffff !important;
  background: #ffffff !important;
  color: #141414 !important;
  -webkit-text-fill-color: #141414 !important;
  border-color: #dfd5c8 !important;
}

[data-theme="light"] .woocommerce input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
[data-theme="light"] .woocommerce textarea:focus,
[data-theme="light"] .woocommerce select:focus,
[data-theme="light"] .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
[data-theme="light"] .form-row select:focus,
[data-theme="light"] .form-row textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(138, 98, 64, 0.2) !important;
}

[data-theme="light"] .woocommerce input:-webkit-autofill,
[data-theme="light"] .woocommerce input:-webkit-autofill:hover, 
[data-theme="light"] .woocommerce input:-webkit-autofill:focus, 
[data-theme="light"] .woocommerce input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #141414 !important;
  caret-color: #141414 !important;
}

/* Input Placeholders */
.woocommerce input::placeholder,
.woocommerce textarea::placeholder,
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 0.6 !important;
}

/* Select2 Custom Dark & Light Theme Styling */
.select2-container--default .select2-selection--single {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  height: 46px !important;
  padding: 0.6rem 1rem !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--text) !important;
  line-height: normal !important;
  padding: 0 !important;
  font-size: 0.95rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 12px !important;
  top: 0 !important;
  display: flex !important;
  align-items: center !important;
}

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

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

.select2-dropdown {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
  z-index: 99999 !important;
  overflow: hidden !important;
}

[data-theme="light"] .select2-dropdown {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
}

.select2-search--dropdown {
  padding: 0.6rem !important;
}

.select2-search--dropdown .select2-search__field {
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  color: var(--text) !important;
  padding: 0.5rem 0.75rem !important;
  font-size: 0.9rem !important;
  outline: none !important;
}

.select2-results__option {
  color: var(--text) !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.92rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted {
  background: rgba(198, 160, 82, 0.15) !important;
  color: var(--accent) !important;
}

[data-theme="light"] .select2-container--default .select2-results__option--highlighted[aria-selected],
[data-theme="light"] .select2-container--default .select2-results__option--highlighted {
  background: #eee8e0 !important;
  color: var(--accent) !important;
}

/* Coupon & Login Toggles */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
  margin-bottom: 1.5rem;
}

.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.woocommerce-form-coupon-toggle .woocommerce-info a,
.woocommerce-form-login-toggle .woocommerce-info a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

form.checkout_coupon.woocommerce-form-coupon,
form.woocommerce-form-login {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

form.checkout_coupon.woocommerce-form-coupon input.input-text {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.25rem;
  color: var(--text);
  outline: none;
}

form.checkout_coupon.woocommerce-form-coupon button {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #010101;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}

form.checkout_coupon.woocommerce-form-coupon button:hover {
  transform: translateY(-2px);
}

/* Checkout Order Review Table */
table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

table.woocommerce-checkout-review-order-table thead th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

table.woocommerce-checkout-review-order-table thead th.product-total {
  text-align: right;
}

table.woocommerce-checkout-review-order-table tbody td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.woocommerce-checkout-review-order-table td.product-name {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

table.woocommerce-checkout-review-order-table td.product-name strong.product-quantity {
  color: var(--accent);
  font-weight: 700;
  margin-left: 0.35rem;
}

table.woocommerce-checkout-review-order-table td.product-total {
  text-align: right;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

table.woocommerce-checkout-review-order-table tfoot th {
  padding: 0.85rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.woocommerce-checkout-review-order-table tfoot td {
  padding: 0.85rem 0;
  text-align: right;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}

table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  padding: 1.25rem 0 0.5rem;
  border-bottom: none;
}

table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
  padding: 1.25rem 0 0.5rem;
  border-bottom: none;
}

/* Payment Methods Accordion */
#payment {
  background: transparent;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

#payment ul.payment_methods li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

#payment ul.payment_methods li:hover {
  border-color: rgba(198, 160, 82, 0.4);
}

[data-theme="light"] #payment ul.payment_methods li {
  background: #ffffff;
  border-color: #e7e3de;
}

#payment ul.payment_methods li label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  margin: 0;
}

#payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

#payment ul.payment_methods li img {
  max-height: 24px;
  width: auto;
  margin-left: auto;
  border-radius: 4px;
}

#payment div.payment_box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

[data-theme="light"] #payment div.payment_box {
  background: #f7f5f2;
  border-color: #dfd5c8;
  color: #5c5f63;
}

.woocommerce-privacy-policy-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.woocommerce-privacy-policy-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 1.25rem;
}

.woocommerce-terms-and-conditions-checkbox-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.woocommerce-terms-and-conditions-checkbox-text input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

#place_order {
  width: 100%;
  height: 52px;
  background: linear-gradient(120deg, #c6a052, #e6dfd3);
  color: #1a1206;
  border: none;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

#place_order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(198, 160, 82, 0.35);
}

[data-theme="light"] #place_order {
  background: linear-gradient(120deg, #8a6240, #c6a052);
  color: #ffffff;
}

[data-theme="light"] #place_order:hover {
  box-shadow: 0 10px 30px rgba(138, 98, 64, 0.35);
}

/* Ship to Different Address Checkbox */
#ship-to-different-address {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

#ship-to-different-address input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

/* AJAX BlockUI Overlay */
.blockUI.blockOverlay {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(2px) !important;
  border-radius: var(--radius) !important;
}

[data-theme="light"] .blockUI.blockOverlay {
  background: rgba(255, 255, 255, 0.6) !important;
}

/* ==================== THANK YOU / ORDER RECEIVED ==================== */
.woocommerce-order {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.woocommerce-thankyou-order-received {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.woocommerce-order-overview li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.woocommerce-order-overview li strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-top: 0.25rem;
}

/* ==================== MY ACCOUNT & SHIPROCKET TRACKING ==================== */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.woocommerce-MyAccount-navigation a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}

.woocommerce-MyAccount-navigation .is-active a {
  background: var(--accent);
  color: #010101;
  border-color: var(--accent);
}

.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
}

.shiprocket-tracking-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1rem;
}

.shiprocket-tracking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.tracking-status-badge {
  background: rgba(198, 160, 82, 0.15);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

/* My Account Login & Register layout */
.woocommerce-account #customer_login,
.woocommerce-account .u-columns.col2-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.woocommerce-account form.woocommerce-form-login,
.woocommerce-account form.woocommerce-form-register {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  max-width: 460px;
  margin-inline: auto;
  box-sizing: border-box;
}

.woocommerce-account #customer_login form.woocommerce-form-login,
.woocommerce-account #customer_login form.woocommerce-form-register {
  max-width: 100%;
  margin-inline: 0;
}

.woocommerce-account .u-column1 h2,
.woocommerce-account .u-column2 h2,
.woocommerce-account h2 {
  font-family: var(--font) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  margin-bottom: 0.75rem !important;
}

.woocommerce-account form.woocommerce-form-login p.form-row,
.woocommerce-account form.woocommerce-form-register p.form-row {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.woocommerce-account form.woocommerce-form-login p.form-row label,
.woocommerce-account form.woocommerce-form-register p.form-row label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}

/* Remember Me and Lost Password Row */
.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__rememberme-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  margin: 0.25rem 0 0.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-wrap: wrap !important;
}

.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.6rem !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  width: auto !important;
  min-height: 24px !important;
  user-select: none !important;
}

.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__rememberme span {
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  transition: color 0.2s var(--ease);
}

.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__rememberme:hover span {
  color: var(--text) !important;
}

/* Dedicated styling for the Remember Me Checkbox */
.woocommerce-account form.woocommerce-form-login input[type="checkbox"],
.woocommerce-account form.woocommerce-form-login input#rememberme,
.woocommerce-account form.woocommerce-form-login .woocommerce-form__input-checkbox,
.woocommerce-form-login__rememberme input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--bg) !important;
  background: var(--bg) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

.woocommerce-account form.woocommerce-form-login input[type="checkbox"]:hover,
.woocommerce-account form.woocommerce-form-login input#rememberme:hover,
.woocommerce-form-login__rememberme input[type="checkbox"]:hover {
  border-color: var(--accent) !important;
}

.woocommerce-account form.woocommerce-form-login input[type="checkbox"]:focus,
.woocommerce-account form.woocommerce-form-login input#rememberme:focus,
.woocommerce-form-login__rememberme input[type="checkbox"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 2px rgba(198, 160, 82, 0.25) !important;
}

.woocommerce-account form.woocommerce-form-login input[type="checkbox"]:checked,
.woocommerce-account form.woocommerce-form-login input#rememberme:checked,
.woocommerce-form-login__rememberme input[type="checkbox"]:checked {
  background-color: var(--accent) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.woocommerce-account form.woocommerce-form-login input[type="checkbox"]:checked::after,
.woocommerce-account form.woocommerce-form-login input#rememberme:checked::after,
.woocommerce-form-login__rememberme input[type="checkbox"]:checked::after {
  content: "" !important;
  display: block !important;
  width: 4px !important;
  height: 8px !important;
  border: solid #010101 !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) translate(-1px, -1px) !important;
}

/* Light Mode Remember Me Checkbox */
[data-theme="light"] .woocommerce-account form.woocommerce-form-login input[type="checkbox"],
[data-theme="light"] .woocommerce-account form.woocommerce-form-login input#rememberme,
[data-theme="light"] .woocommerce-form-login__rememberme input[type="checkbox"] {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1.5px solid #d0c8be !important;
}

[data-theme="light"] .woocommerce-account form.woocommerce-form-login input[type="checkbox"]:hover,
[data-theme="light"] .woocommerce-account form.woocommerce-form-login input#rememberme:hover,
[data-theme="light"] .woocommerce-form-login__rememberme input[type="checkbox"]:hover {
  border-color: var(--accent) !important;
}

[data-theme="light"] .woocommerce-account form.woocommerce-form-login input[type="checkbox"]:checked,
[data-theme="light"] .woocommerce-account form.woocommerce-form-login input#rememberme:checked,
[data-theme="light"] .woocommerce-form-login__rememberme input[type="checkbox"]:checked {
  background-color: var(--accent) !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

[data-theme="light"] .woocommerce-account form.woocommerce-form-login input[type="checkbox"]:checked::after,
[data-theme="light"] .woocommerce-account form.woocommerce-form-login input#rememberme:checked::after,
[data-theme="light"] .woocommerce-form-login__rememberme input[type="checkbox"]:checked::after {
  border-color: #ffffff !important;
}

/* Lost password link styling */
.woocommerce-account form.woocommerce-form-login .lost_password,
.woocommerce-account .lost_password {
  margin: 0 !important;
  font-size: 0.88rem !important;
}

.woocommerce-account form.woocommerce-form-login .lost_password a,
.woocommerce-account .lost_password a {
  color: var(--accent) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s var(--ease) !important;
}

.woocommerce-account form.woocommerce-form-login .lost_password a:hover,
.woocommerce-account .lost_password a:hover {
  text-decoration: underline !important;
  color: var(--accent-hover) !important;
}

/* Login submit button full width within card */
.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__submit {
  width: 100% !important;
  margin-top: 0.5rem !important;
}

/* Fallback when core form-login.php has rememberme & button in same form-row */
.woocommerce-account form.woocommerce-form-login p.form-row:has(.woocommerce-form-login__rememberme) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
}

/* ==================== WOOCOMMERCE FORM & ACCOUNT ACTION BUTTONS ==================== */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-Button.button,
.woocommerce-button.button,
.woocommerce-MyAccount-content button.button,
.woocommerce-MyAccount-content .button,
button.button[name="save_address"],
button.button[name="save_account_details"],
.woocommerce-address-fields button.button,
.woocommerce-EditAccountForm button.button,
.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce-account form.woocommerce-form-register .woocommerce-form-register__submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 2rem !important;
  min-height: 48px !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  text-align: center !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  background: var(--btn-bg) !important;
  background-color: var(--btn-bg) !important;
  color: var(--btn-fg) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-Button.button:hover,
.woocommerce-button.button:hover,
.woocommerce-MyAccount-content button.button:hover,
.woocommerce-MyAccount-content .button:hover,
button.button[name="save_address"]:hover,
button.button[name="save_account_details"]:hover,
.woocommerce-address-fields button.button:hover,
.woocommerce-EditAccountForm button.button:hover,
.woocommerce-account form.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce-account form.woocommerce-form-register .woocommerce-form-register__submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(198, 160, 82, 0.25) !important;
}

[data-theme="light"] .woocommerce button.button:hover,
[data-theme="light"] .woocommerce a.button:hover,
[data-theme="light"] .woocommerce input.button:hover,
[data-theme="light"] .woocommerce #respond input#submit:hover,
[data-theme="light"] .woocommerce-Button.button:hover,
[data-theme="light"] .woocommerce-button.button:hover,
[data-theme="light"] .woocommerce-MyAccount-content button.button:hover,
[data-theme="light"] .woocommerce-MyAccount-content .button:hover,
[data-theme="light"] button.button[name="save_address"]:hover,
[data-theme="light"] button.button[name="save_account_details"]:hover,
[data-theme="light"] .woocommerce-address-fields button.button:hover,
[data-theme="light"] .woocommerce-EditAccountForm button.button:hover,
[data-theme="light"] .woocommerce-account form.woocommerce-form-login .woocommerce-form-login__submit:hover,
[data-theme="light"] .woocommerce-account form.woocommerce-form-register .woocommerce-form-register__submit:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ==================== MY ACCOUNT EDIT ACCOUNT & EDIT ADDRESS SPACING ==================== */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--font) !important;
  font-size: 1.35rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  letter-spacing: -0.01em !important;
}

.woocommerce-MyAccount-content > p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Edit Account Form 2-Column Responsive Grid */
.woocommerce-EditAccountForm {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.35rem 1.25rem !important;
  margin-top: 1rem !important;
}

.woocommerce-EditAccountForm .form-row-first {
  grid-column: 1 !important;
  margin: 0 !important;
}

.woocommerce-EditAccountForm .form-row-last {
  grid-column: 2 !important;
  margin: 0 !important;
}

.woocommerce-EditAccountForm .form-row-wide,
.woocommerce-EditAccountForm fieldset,
.woocommerce-EditAccountForm > p:last-of-type,
.woocommerce-EditAccountForm > p:has(button) {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
}

.woocommerce-EditAccountForm .clear {
  display: none !important;
}

/* Description text line spacing */
#account_display_name_description,
.woocommerce-EditAccountForm span[id*="description"],
.woocommerce-address-fields .description {
  display: block !important;
  margin-top: 0.45rem !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
}

#account_display_name_description em {
  font-style: normal !important;
}

/* Password Change Fieldset */
.woocommerce-EditAccountForm fieldset {
  grid-column: 1 / -1 !important;
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
  padding: 1.75rem !important;
  background: var(--bg) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 1.35rem !important;
}

[data-theme="light"] .woocommerce-EditAccountForm fieldset {
  background: #fdfcfb !important;
  border-color: #e7e3de !important;
}

.woocommerce-EditAccountForm fieldset legend {
  padding: 0 0.5rem !important;
  font-family: var(--font) !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  letter-spacing: -0.01em !important;
}

.woocommerce-EditAccountForm fieldset .form-row {
  margin: 0 !important;
}

.woocommerce-address-fields > p:last-child,
.woocommerce-address-fields > p:has(button),
.woocommerce-EditAccountForm > p:last-of-type,
.woocommerce-EditAccountForm > p:has(button) {
  grid-column: 1 / -1 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

/* My Account Address Overview Cards */
.woocommerce-Addresses.col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1.5rem !important;
  margin-top: 1.5rem !important;
}

.woocommerce-Address {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

[data-theme="light"] .woocommerce-Address {
  background: #fdfcfb;
  border-color: #e7e3de;
}

.woocommerce-Address header.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.woocommerce-Address header.title h2,
.woocommerce-Address header.title h3 {
  margin: 0 !important;
  font-size: 1.15rem !important;
  color: var(--text) !important;
}

.woocommerce-Address a.edit {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-pill) !important;
  border: 1px solid var(--border) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  transition: all 0.2s var(--ease) !important;
}

.woocommerce-Address a.edit:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  transform: translateY(-1px) !important;
}

.woocommerce-Address address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .woocommerce-EditAccountForm,
  .woocommerce-Addresses.col2-set {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-EditAccountForm .form-row-last {
    grid-column: auto !important;
  }
  .woocommerce-EditAccountForm fieldset {
    padding: 1.25rem !important;
  }
}

/* ============================================================
   MOBILE RESPONSIVE ENHANCEMENTS
   ============================================================ */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on form inputs */
  .form-row input.input-text,
  .form-row select,
  .form-row textarea,
  #burrsmith-pincode-checker input,
  .woocommerce-cart-form input.input-text {
    font-size: 16px !important;
    min-height: 44px;
  }

  /* Full-width checkout inputs */
  .form-row {
    float: none !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  .woocommerce-billing-fields,
  .woocommerce-shipping-fields,
  .woocommerce-additional-fields,
  #order_review {
    padding: 1.25rem;
  }

  /* Cart Table to Responsive Mobile Cards */
  .woocommerce-cart-form {
    padding: 1rem;
  }

  .woocommerce-cart-form table.shop_table_responsive,
  .woocommerce-cart-form table.shop_table_responsive thead,
  .woocommerce-cart-form table.shop_table_responsive tbody,
  .woocommerce-cart-form table.shop_table_responsive th,
  .woocommerce-cart-form table.shop_table_responsive td,
  .woocommerce-cart-form table.shop_table_responsive tr {
    display: block;
  }

  .woocommerce-cart-form table.shop_table_responsive thead {
    display: none;
  }

  .woocommerce-cart-form tr.cart_item {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--surface);
  }

  .woocommerce-cart-form td.product-remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    padding: 0;
  }

  .woocommerce-cart-form td.product-thumbnail {
    text-align: center;
    border: none;
    padding: 0 0 0.75rem 0;
  }

  .woocommerce-cart-form td.product-thumbnail img {
    max-width: 120px;
    margin: 0 auto;
    border-radius: 8px;
  }

  .woocommerce-cart-form td.product-name {
    border: none;
    padding: 0.35rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
  }

  .woocommerce-cart-form td.product-price,
  .woocommerce-cart-form td.product-quantity,
  .woocommerce-cart-form td.product-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .woocommerce-cart-form td::before {
    content: attr(data-title);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.85rem;
  }

  .woocommerce-cart-form td.product-remove::before,
  .woocommerce-cart-form td.product-thumbnail::before,
  .woocommerce-cart-form td.product-name::before {
    display: none;
  }

  .woocommerce-cart-form td.actions {
    padding: 1rem 0 0;
    border: none;
  }

  .woocommerce-cart-form .coupon {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .woocommerce-cart-form .coupon input.input-text {
    width: 100%;
  }

  .woocommerce-cart-form .coupon button {
    width: 100%;
  }

  .woocommerce-cart-form button[name="update_cart"] {
    width: 100%;
  }

  /* My Account Mobile Navigation */
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding-bottom: 0.75rem;
  }

  .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  /* Orders Table Mobile Cards */
  .woocommerce-orders-table,
  .woocommerce-orders-table thead,
  .woocommerce-orders-table tbody,
  .woocommerce-orders-table tr,
  .woocommerce-orders-table td,
  .woocommerce-orders-table th {
    display: block;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table tr {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--surface);
  }

  .woocommerce-orders-table td {
    border: none;
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
  }

  .woocommerce-orders-table td::before {
    content: attr(data-title);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
  }
}

@media (max-width: 680px) {
  .burrsmith-single-product {
    padding: 0.5rem 0 2.5rem;
    gap: 1.5rem;
  }

  .burrsmith-thumb-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .product-badges {
    gap: 0.4rem;
  }

  .product-badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }

  .product-summary h1 {
    font-size: 1.75rem;
  }

  .product-summary .price {
    font-size: 1.65rem;
  }

  #burrsmith-pincode-checker {
    padding: 1rem;
  }

  #burrsmith-pincode-checker .pincode-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  #burrsmith-pincode-checker .pincode-form button {
    width: 100%;
  }

  .burrsmith-add-to-cart-wrapper form.cart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
  }

  .burrsmith-quantity-stepper,
  .quantity {
    width: 100% !important;
    height: 50px;
    justify-content: space-between;
    box-sizing: border-box;
  }

  .quantity input.qty {
    flex: 1;
    width: 100% !important;
  }

  .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    height: 52px;
    padding: 0 1.5rem;
    font-size: 1.05rem;
    box-sizing: border-box;
  }

  .burrsmith-shop-hero .hero-details div[style*="display: flex"] {
    flex-direction: column;
    align-items: stretch !important;
  }

  .burrsmith-shop-hero .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==================== PRODUCT DETAILS: HOW TO USE, CARE, FAQ ==================== */
.burrsmith-product-details {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--border);
}

.product-detail-section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--border);
}

.product-detail-section:last-child {
  border-bottom: none;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

[data-theme="light"] .section-eyebrow {
  color: var(--accent);
}

.product-detail-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.25rem 0 1.5rem;
  color: var(--text);
}

/* ---------- A+ Content: Built with Purpose ---------- */
.aplus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.aplus-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

[data-theme="light"] .aplus-card {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.aplus-card:hover {
  border-color: rgba(198, 160, 82, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.09), 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .aplus-card:hover {
  border-color: rgba(138, 98, 64, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.aplus-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #141416;
  border-bottom: 1px solid var(--border);
  position: relative;
}

[data-theme="light"] .aplus-card-image {
  background: #f0ebe4;
}

.aplus-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.aplus-card:hover .aplus-card-image img {
  transform: scale(1.03);
}

.aplus-card-body {
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.aplus-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
  line-height: 1.3;
}

.aplus-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Steps (How to Use) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.step:hover {
  border-color: rgba(198, 160, 82, 0.4);
}

[data-theme="light"] .step:hover {
  border-color: rgba(138, 98, 64, 0.4);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Care & Cleaning Grid ---------- */
.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.care {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s var(--ease);
}

.care:hover {
  border-color: rgba(198, 160, 82, 0.4);
}

[data-theme="light"] .care:hover {
  border-color: rgba(138, 98, 64, 0.4);
}

.care h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.care p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- FAQ Accordion ---------- */
.faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
  transition: background 0.2s var(--ease);
}

.faq summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  user-select: none;
  transition: color 0.2s var(--ease);
}

.faq summary:hover {
  color: var(--accent);
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 65ch;
  margin-bottom: 0;
}

/* Responsive adjustments for product details */
@media (max-width: 900px) {
  .aplus-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .aplus-grid,
  .steps,
  .care-grid {
    grid-template-columns: 1fr;
  }
  
  .product-detail-section h2 {
    font-size: 1.65rem;
  }
}

/* =======================================================
   BURRSMITH CATALOG SPOTLIGHT & CATEGORY LAYOUT
   Matching index.html #product aesthetic
   ======================================================= */
#product {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

#product .container {
  max-width: 1440px;
  padding-inline: clamp(1.5rem, 4vw, 3.5rem);
  margin-inline: auto;
}

.product-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Left sidebar: vertical category nav */
.cat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-right: 1px solid var(--border);
  padding-right: 1.75rem;
  padding-left: 0;
  padding-top: 0;
}

.cat-sidebar-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.cat-nav-item {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
  text-align: left;
  font: inherit;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.2;
  padding-block: 0.6rem;
  padding-left: 0.9rem;
  position: relative;
  transition: color 0.2s var(--ease);
}

.cat-nav-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 60%;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0;
}

.cat-nav-item.on {
  color: var(--text);
}

.cat-nav-item.on::before {
  transform: translateY(-50%) scaleY(1);
  opacity: 1;
}

.cat-nav-item:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cat-nav-item:not(:disabled):hover {
  color: var(--text);
}

/* Right content area */
.cat-content {
  min-width: 0;
}

/* Subcategory / Model switch row */
.product-switch {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.product-switch button {
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.product-switch button.on {
  background: var(--accent);
  color: #fff;
}

.product-switch button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

[data-soon] {
  position: relative;
}

[data-soon]::after {
  content: attr(data-soon);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    transform 0.2s var(--ease);
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

[data-soon]:hover::after,
[data-soon]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Product Spotlight Grid */
.product-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.product-grid.is-active {
  display: grid;
  animation: fadeInModel 0.3s var(--ease);
}

@keyframes fadeInModel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: clamp(280px, 34vw, 520px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(255, 255, 255, 0.14));
  transition: filter 0.3s var(--ease);
}

[data-theme="light"] .product-media img {
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.12));
}

.product-copy .eyebrow {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-block: 0.4rem 0.6rem;
  background: linear-gradient(180deg, #ffffff 0%, #8b8f94 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

[data-theme="light"] .product-copy h2 {
  background: linear-gradient(180deg, #111111 0%, #555555 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #111;
}

.catalog-product-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-product-price del {
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-decoration: line-through;
}

.catalog-product-price ins {
  text-decoration: none;
}

.catalog-stock-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-stock-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.product-lead {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  line-height: 1.6;
  max-width: 38ch;
  margin-top: 0.5rem;
}

.spec-inline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.spec-inline li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.spec-inline li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.empty-catalog-state {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1rem;
  max-width: 500px;
  margin-inline: auto;
}

.empty-catalog-state h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.empty-catalog-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cat-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-right: 0;
    padding-bottom: 1rem;
    gap: 0.5rem;
  }

  .cat-nav-item {
    padding-left: 0.5rem;
    padding-block: 0.4rem;
  }

  .cat-nav-item::before {
    display: none;
  }

  .cat-nav-item.on {
    color: var(--accent);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: left;
  }

  .product-media {
    order: -1;
  }
}

/* ==================== PASSWORD INPUT & SHOW/HIDE TOGGLE ==================== */
.password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.password-input input.input-text,
.password-input input[type="password"],
.password-input input[type="text"] {
  padding-right: 2.75rem !important;
}

.show-password-input {
  position: absolute !important;
  right: 0.75rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-muted) !important;
  outline: none !important;
  box-shadow: none !important;
  z-index: 2 !important;
}

.show-password-input::before {
  content: "" !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  background-color: var(--text-muted) !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  transition: background-color 0.2s var(--ease) !important;
}

.show-password-input:hover::before {
  background-color: var(--accent) !important;
}

/* Eye icon (password is currently hidden) */
.show-password-input:not(.display-password)::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
}

/* Eye-slash icon (password is currently revealed) */
.show-password-input.display-password::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
}

/* ==================== PASSWORD STRENGTH BADGES ==================== */
.woocommerce-password-strength {
  margin: 0.6rem 0 0.4rem !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  text-align: center !important;
}

.woocommerce-password-strength.short {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.woocommerce-password-strength.bad {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.woocommerce-password-strength.good {
  background: rgba(59, 130, 246, 0.15) !important;
  color: #60a5fa !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

.woocommerce-password-strength.strong {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.woocommerce-password-hint {
  display: block !important;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin-top: 0.35rem !important;
  line-height: 1.4 !important;
}

/* ==================== RESET PASSWORD FORM CARD ==================== */
form.woocommerce-ResetPassword,
.woocommerce-ResetPassword.lost_reset_password {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 2.25rem !important;
  max-width: 460px !important;
  margin: 2rem auto !important;
  box-sizing: border-box !important;
}

form.woocommerce-ResetPassword p.form-row,
.woocommerce-ResetPassword.lost_reset_password p.form-row {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

form.woocommerce-ResetPassword p.form-row label,
.woocommerce-ResetPassword.lost_reset_password p.form-row label {
  color: var(--text) !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
}

.woocommerce button.button:disabled,
.woocommerce button.button.disabled,
.woocommerce button.button[disabled] {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ==================== VIDEO SHOWCASE SECTION ==================== */
.burrsmith-video-showcase {
  margin-top: 0;
}

.video-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .video-grid-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .video-grid-3col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.video-card {
  background: #0e0e12;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 160, 82, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7), 0 0 24px rgba(198, 160, 82, 0.15);
}

.video-player-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  overflow: hidden;
}

.video-player-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.92;
}

.video-card:hover .video-player-frame img {
  transform: scale(1.03);
  opacity: 1;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(10, 10, 12, 0.85);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(198, 160, 82, 0.3);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  pointer-events: none;
}

.video-card:hover .video-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  color: #010101;
  border-color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 30px rgba(198, 160, 82, 0.5);
}

.video-play-button svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: currentColor;
}

.video-player-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.video-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.video-card-title {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.video-card-meta {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

[data-theme="light"] .video-card {
  background: #ffffff;
  border-color: #e7e3de;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .video-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 20px rgba(198, 160, 82, 0.1);
}

[data-theme="light"] .video-card-title {
  color: #111111;
}

[data-theme="light"] .video-card-meta {
  color: #666666;
}


