.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  color: #a1a1aa;
  font-size: 13px;
}

.shop-layout,
.cart-layout,
.checkout-layout,
.order-layout,
.product-detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 42px;
}

.shop-sidebar,
.cart-summary-panel,
.checkout-summary-panel,
.sticky-card,
.product-summary-panel {
  align-self: start;
  position: sticky;
  top: 112px;
}

.shop-sidebar,
.cart-summary-panel .cart_totals,
.checkout-card,
.summary-card,
.product-summary-panel,
.product-tabs-section,
.related-section {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: var(--vantage-surface);
  padding: 24px;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  max-width: none;
}

.woocommerce-cart .page-content,
.woocommerce-checkout .page-content {
  padding: 0;
  background: transparent;
  border: 0;
}

.shop-sidebar h2,
.checkout-card h2,
.cart_totals h2 {
  font-size: 18px;
  text-transform: uppercase;
}

.shop-sidebar section + section {
  margin-top: 32px;
}

.filter-line {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  color: #d4d4d8;
}

.filter-line input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--vantage-primary);
}

.range-labels,
.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #a1a1aa;
}

.shop-controls-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  cursor: pointer;
}

.filter-toggle .material-symbols-outlined {
  font-size: 20px;
}

.sidebar-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

.woocommerce-ordering select {
  width: auto;
}

.single-product-page .stock-alert {
  background: var(--vantage-primary);
  color: #fff;
  padding: 12px 24px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-detail-layout {
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
}

.product-gallery-panel {
  position: relative;
}

.single-product-page figure.woocommerce-product-gallery__wrapper {
  margin: 0;
  position: relative;
}

.single-product-page figure.woocommerce-product-gallery__wrapper img {
  width: 100%;
  height: clamp(500px, 85vh, 90vh);
  object-fit: contain;
  background: var(--vantage-surface-3);
}

/* Product Gallery Arrows */
.woocommerce-product-gallery .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-product-gallery .flex-direction-nav a {
  position: absolute;
  top: calc(50% - 60px);
  width: 48px;
  height: 48px;
  background: rgba(11, 11, 11, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.woocommerce-product-gallery .flex-direction-nav a::after {
  content: "arrow_forward_ios";
  font-family: 'Material Symbols Outlined';
  text-indent: 0;
  font-size: 20px;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-prev {
  left: 16px;
}

.woocommerce-product-gallery .flex-direction-nav a.flex-prev::after {
  content: "arrow_back_ios_new";
}

.woocommerce-product-gallery .flex-direction-nav a.flex-next {
  right: 16px;
}

.woocommerce-product-gallery .flex-direction-nav a:hover {
  background: var(--vantage-primary);
  border-color: var(--vantage-primary);
}

/* Product Gallery Thumbnails */
.woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
}

.woocommerce-product-gallery .flex-control-thumbs li {
  width: calc(25% - 9px);
  cursor: pointer;
}

.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: var(--vantage-primary);
}

.product-summary-panel .product_title {
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
}

.product-summary-panel .price {
  display: block;
  margin: 18px 0;
  color: #fff;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
}

.summary-card {
  margin: 24px 0;
  color: #d4d4d8;
}

.single-product-page form.cart {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 24px 0 12px;
}

.single-product-page form.cart .single_add_to_cart_button {
  min-height: 56px;
  width: 100%;
}


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

.cart-items-panel {
  min-width: 0;
}

.cart th,
.shop_table th,
.cart td,
.shop_table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  text-align: left;
}

.cart td,
.shop_table td {
  color: #d4d4d8;
}

.cart .product-name a,
.shop_table .product-name a {
  color: #fff;
  font-family: Poppins, Inter, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.cart img {
  width: 86px;
  max-width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-remove .remove {
  color: #a1a1aa;
}

.product-remove .remove:hover {
  color: var(--vantage-primary);
}

.actions {
  text-align: right;
}

.coupon {
  display: flex;
  gap: 12px;
  float: left;
  max-width: 420px;
}

.cart_totals table,
.woocommerce-checkout-review-order-table {
  width: 100%;
}

.cart_totals .order-total .amount,
.woocommerce-checkout-review-order-table .order-total .amount {
  color: var(--vantage-primary);
  font-family: Poppins, Inter, sans-serif;
  font-size: 28px;
}

.wc-proceed-to-checkout .checkout-button {
  width: 100%;
  margin-top: 18px;
}

.checkout-layout {
  grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
}

.checkout-page #customer_details {
  display: block;
}

.checkout-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 48px;
  padding: 0 24px;
  position: relative;
}

.checkout-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 48px;
  right: 48px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  transform: translateY(-50%);
}

.checkout-steps span {
  flex: 0 1 auto;
  position: relative;
  z-index: 2;
  background: var(--vantage-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 8px 24px;
  color: #71717a;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.checkout-steps .active {
  background: var(--vantage-primary);
  border-color: var(--vantage-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

.checkout-steps span .material-symbols-outlined {
  font-size: 18px;
}

.checkout-card + .checkout-card {
  margin-top: 24px;
}

.checkout-card h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 16px;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  color: #d4d4d8;
}

.woocommerce-checkout-payment {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.woocommerce-checkout-payment ul.payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout-payment .place-order {
  margin-bottom: 0;
}

.woocommerce-checkout-payment #place_order {
  width: 100%;
  min-height: 56px;
}

.feature-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.feature-badges div,
.secure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-badges span,
.secure-note span,
.success-hero span {
  color: var(--vantage-primary);
}

.product-tabs-section,
.related-section {
  margin-top: 48px;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.woocommerce-tabs ul.tabs a {
  display: block;
  border: 1px solid var(--vantage-outline);
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.order-overview {
  list-style: none;
  margin: 0;
  padding: 0;
}

.order-overview li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.empty-state {
  max-width: 720px;
  margin: 64px auto;
  text-align: center;
}

.empty-state .material-symbols-outlined {
  color: var(--vantage-primary);
  font-size: 52px;
}

@media (max-width: 980px) {
  .shop-layout,
  .cart-layout,
  .checkout-layout,
  .order-layout,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-panel,
  .checkout-summary-panel,
  .sticky-card,
  .product-summary-panel {
    position: static;
  }

  .filter-toggle {
    display: flex;
  }

  .sidebar-header {
    display: flex;
  }

  .shop-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(100%, 360px);
    height: 100vh;
    background: var(--vantage-surface);
    z-index: 1000;
    overflow-y: auto;
    padding: 32px;
    border: none;
    border-radius: 0;
    transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .shop-sidebar.is-open {
    right: 0;
  }
}

@media (max-width: 640px) {
  .shop-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .shop-controls-left {
    justify-content: space-between;
    width: 100%;
  }

  .woocommerce-ordering select {
    width: 100%;
  }

  .checkout-steps {
    padding: 0 12px;
    gap: 6px;
    margin-bottom: 32px;
  }

  .checkout-steps::before {
    left: 24px;
    right: 24px;
  }

  .checkout-steps span {
    padding: 8px 12px;
    font-size: 10px;
    gap: 4px;
    border-radius: 50%; /* Make them circles on mobile if text is hidden */
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .checkout-steps .step-label {
    display: none;
  }

  @media (min-width: 500px) {
    .checkout-steps span {
      width: auto;
      height: auto;
      border-radius: 50px;
      padding: 8px 20px;
    }
    .checkout-steps .step-label {
      display: inline;
    }
  }

  .coupon {
    float: none;
    max-width: none;
    flex-direction: column;
    margin-bottom: 16px;
  }

  .cart th {
    display: none;
  }

  .cart td {
    display: block;
    padding: 12px 0;
  }

  .feature-badges {
    grid-template-columns: 1fr;
  }
}

/* Coupon Notice and Form Styling */
.woocommerce-info {
  background: var(--vantage-surface) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px;
  padding: 20px 24px 20px 60px !important;
  color: #d4d4d8 !important;
  font-size: 14px;
  position: relative;
  margin-bottom: 24px !important;
}

.woocommerce-info::before {
  content: "confirmation_number";
  font-family: 'Material Symbols Outlined';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--vantage-primary);
  font-size: 24px;
}

.woocommerce-info a {
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--vantage-primary);
  transition: all 0.3s ease;
}

.woocommerce-info a:hover {
  background: var(--vantage-primary);
  color: #fff !important;
}

/* The actual coupon form that slides down */
form.checkout_coupon {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 6px;
  padding: 24px !important;
  margin-bottom: 24px !important;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

form.checkout_coupon p {
  margin: 0 !important;
  flex: 1;
  min-width: 200px;
}

form.checkout_coupon button {
  flex: 0 0 auto;
}
