.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: linear-gradient(135deg, #39f3c2, #4aa3ff);
  color: #061016;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
}

.woocommerce::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  filter: brightness(1.05);
}

.woocommerce .woocommerce-breadcrumb {
  color: #9fb3c8;
  font-size: 12px;
  margin-bottom: 12px;
}

.woocommerce .woocommerce-result-count {
  color: #9fb3c8;
  font-size: 12px;
  margin-bottom: 8px;
}

.woocommerce .woocommerce-ordering {
  margin: 0 0 18px;
}

.woocommerce .woocommerce-ordering select {
  width: 100%;
  max-width: 320px;
  background: rgba(6, 10, 18, 0.6);
  border: 1px solid #1b2a40;
  color: #eaf2ff;
  border-radius: 12px;
  padding: 10px 12px;
}

.section.shop-hero {
  padding: 56px 0 28px;
}

.section.shop-hero + .section {
  padding-top: 36px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.products::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce ul.products li.product {
  background: linear-gradient(180deg, rgba(15, 31, 51, 0.98), rgba(12, 22, 36, 0.95));
  border: 1px solid rgba(27, 42, 64, 0.9);
  border-radius: 20px;
  padding: 18px;
  text-align: left;
  float: none;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 243, 194, 0.45);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.35);
}

.woocommerce ul.products li.product .vps-product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.woocommerce ul.products li.product .vps-product-media {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
}

.woocommerce ul.products li.product .vps-product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0) 40%, rgba(6, 9, 15, 0.6));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.woocommerce ul.products li.product .vps-product-media img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #1b2a40;
  background: #081020;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.woocommerce ul.products li.product .vps-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.woocommerce ul.products li.product .vps-product-badge {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #1b2a40;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  color: #9fb3c8;
  line-height: 1;
}

.woocommerce ul.products li.product .vps-product-badge.is-stock {
  color: #39f3c2;
  border-color: rgba(57, 243, 194, 0.5);
  background: rgba(57, 243, 194, 0.12);
}

.woocommerce ul.products li.product .vps-product-badge.is-stock-out {
  color: #ff8b8b;
  border-color: rgba(255, 139, 139, 0.5);
  background: rgba(255, 139, 139, 0.12);
}

.woocommerce ul.products li.product .vps-product-badge.is-sales {
  color: #4aa3ff;
  border-color: rgba(74, 163, 255, 0.5);
  background: rgba(74, 163, 255, 0.12);
}

.woocommerce ul.products li.product:hover .vps-product-media::after {
  opacity: 1;
}

.woocommerce ul.products li.product:hover .vps-product-media img {
  transform: scale(1.03);
}

.woocommerce ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(57, 243, 194, 0.2);
  color: #eaf2ff;
  border: 1px solid rgba(57, 243, 194, 0.5);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
}

.woocommerce ul.products li.product .vps-product-body {
  display: grid;
  gap: 10px;
  flex: 1;
}

.woocommerce ul.products li.product .vps-product-title {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  font-weight: 600;
}

.woocommerce ul.products li.product .vps-product-title a {
  color: #eaf2ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.woocommerce ul.products li.product .vps-product-title a:hover {
  color: #39f3c2;
}

.woocommerce ul.products li.product .vps-product-price {
  color: #39f3c2;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.woocommerce ul.products li.product .vps-product-price .amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.woocommerce ul.products li.product .button {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 12px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.woocommerce ul.products li.product .vps-product-actions {
  margin-top: auto;
  display: grid;
  gap: 8px;
  justify-items: start;
}

.woocommerce ul.products li.product .price {
  color: #39f3c2;
  font-weight: 700;
}

.woocommerce ul.products li.product .product-excerpt {
  color: #9fb3c8;
  font-size: 12px;
  line-height: 1.6;
  margin: 4px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.woocommerce .vps-product-meta {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.woocommerce .vps-product-cats {
  font-size: 12px;
  color: #9fb3c8;
}

.woocommerce .vps-product-cats a {
  color: #9fb3c8;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #1b2a40;
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
}

.woocommerce .vps-product-specs {
  list-style: none;
  display: grid;
  gap: 6px;
}

.woocommerce .vps-product-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed #1b2a40;
  padding-top: 6px;
  font-size: 12px;
  color: #9fb3c8;
}

.woocommerce .vps-product-specs li strong {
  color: #eaf2ff;
  font-weight: 600;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
}

.woocommerce div.product::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
}

.woocommerce div.product .summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1b2a40;
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: #9fb3c8;
  line-height: 1.6;
}

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 24px;
}

/* Related products — full width below the product grid */
.woocommerce div.product section.related {
  grid-column: 1 / -1;
  display: block;
  margin-top: 32px;
}

.woocommerce div.product section.related > h2 {
  color: #eaf2ff;
  font-size: 1.35rem;
  margin: 0 0 18px;
  line-height: 1.3;
}

/* Up-sells — same layout as related */
.woocommerce div.product section.up-sells {
  grid-column: 1 / -1;
  margin-top: 32px;
}

.woocommerce div.product section.up-sells > h2 {
  color: #eaf2ff;
  font-size: 1.35rem;
  margin: 0 0 18px;
  line-height: 1.3;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #1b2a40;
  background: rgba(255, 255, 255, 0.02);
  color: #9fb3c8;
  font-size: 13px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  background: rgba(57, 243, 194, 0.12);
  border-color: rgba(57, 243, 194, 0.4);
  color: #eaf2ff;
}

.woocommerce div.product .woocommerce-Tabs-panel {
  background: #0f1f33;
  border: 1px solid #1b2a40;
  border-radius: 16px;
  padding: 18px;
  color: #9fb3c8;
  line-height: 1.7;
}

.woocommerce div.product .woocommerce-Tabs-panel p {
  margin: 0 0 10px;
}

.woocommerce div.product .woocommerce-Tabs-panel h2 {
  margin: 0 0 12px;
  color: #eaf2ff;
  font-size: 1.25rem;
  line-height: 1.25;
}

.woocommerce div.product .woocommerce-Tabs-panel ul {
  margin: 0 0 12px 1.25rem;
  padding: 0;
  list-style: disc;
  list-style-position: outside;
  color: #cfeef6;
}

.woocommerce div.product .woocommerce-Tabs-panel li {
  margin-bottom: 6px;
}

.woocommerce div.product .woocommerce-Tabs-panel a {
  color: #39f3c2;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .woocommerce div.product .woocommerce-Tabs-panel {
    padding: 14px;
  }
  .woocommerce div.product .woocommerce-Tabs-panel h2 {
    font-size: 1.1rem;
  }
}

/* Star rating: show stars icons instead of textual labels */
.woocommerce div.product .star-rating {
  position: relative;
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  height: 1em;
}
.woocommerce div.product .star-rating::before {
  content: '★★★★★';
  letter-spacing: 3px;
  color: rgba(255,255,255,0.12);
}
.woocommerce div.product .star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  font-size: 0; /* hide inner text while keeping aria-label */
}
.woocommerce div.product .star-rating span::before {
  content: '★★★★★';
  color: #ffcf5f;
  letter-spacing: 3px;
  font-size: 18px;
}

/* ================================================================
   Review form interactive stars
   — JS adds .active class to stars ≤ clicked index on click
   — JS adds .hover  class to stars ≤ hovered index on mouseover
   ================================================================ */
.stars,
.woocommerce div.product .stars,
.woocommerce div.product .comment-form .stars {
  display: inline-flex !important;
  gap: 4px !important;
  align-items: center;
}

/* Individual star anchor */
.woocommerce div.product .stars a,
.woocommerce div.product .comment-form .stars a {
  display: inline-block !important;
  width: 28px !important;
  height: 28px !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  position: relative !important;
  cursor: pointer;
  transition: transform 0.15s ease;
}

/* Base star: outline SVG */
.woocommerce div.product .stars a::before,
.woocommerce div.product .comment-form .stars a::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='1.5' d='M12 .587l3.668 7.431 8.2 1.192-5.934 5.79 1.402 8.167L12 18.896l-7.336 3.972 1.402-8.167L.132 9.21l8.2-1.192z'/></svg>") !important;
  transition: transform 0.15s ease;
}

/* Filled star SVG — active (persisted click) */
.woocommerce div.product .stars a.active::before,
.woocommerce div.product .stars a[aria-checked="true"]::before,
.woocommerce div.product .comment-form .stars a.active::before,
.woocommerce div.product .comment-form .stars a[aria-checked="true"]::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffcf5f' d='M12 .587l3.668 7.431 8.2 1.192-5.934 5.79 1.402 8.167L12 18.896l-7.336 3.972 1.402-8.167L.132 9.21l8.2-1.192z'/></svg>") !important;
}

/* Filled star SVG — hover preview (temporary) */
.woocommerce div.product .stars a.hover::before,
.woocommerce div.product .comment-form .stars a.hover::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffe08a' d='M12 .587l3.668 7.431 8.2 1.192-5.934 5.79 1.402 8.167L12 18.896l-7.336 3.972 1.402-8.167L.132 9.21l8.2-1.192z'/></svg>") !important;
  transform: scale(1.12);
}

/* Reviews / Comments layout improvements */
.woocommerce div.product .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .commentlist li {
  padding: 12px 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.woocommerce div.product .comment_container {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 0;
}
.woocommerce div.product .comment_container .avatar {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.woocommerce div.product .comment-text {
  flex: 1 1 auto;
}
.woocommerce div.product .comment-text .meta {
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.95rem;
}
.woocommerce div.product .description p {
  margin: 0;
  color: var(--text);
}

/* Review form styling */
.woocommerce div.product #review_form_wrapper {
  margin-top: 18px;
}
.woocommerce div.product .comment-respond {
  margin-top: 6px;
}
.woocommerce div.product .comment-form {
  margin-top: 8px;
}
.woocommerce div.product .comment-form-rating {
  margin-bottom: 12px;
}

.woocommerce div.product .vps-product-meta {
  margin-top: 16px;
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
  width: 100%;
  background: #0f1f33;
  border-radius: 18px;
  border: 1px solid #1b2a40;
  overflow: hidden;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 14px;
}

.woocommerce-cart .cart-collaterals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
  align-self: start;
}

.woocommerce.woocommerce-cart,
.woocommerce-cart .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  clear: both;
}

.woocommerce.woocommerce-cart .shop_table,
.woocommerce-cart .woocommerce-cart-form {
  flex: 1 1 640px;
  min-width: 0;
}

.woocommerce.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals {
  flex: 0 0 320px;
  min-width: 0;
  margin-top: 0;
}

.woocommerce-cart .woocommerce-notices-wrapper {
  flex: 1 1 100%;
}

.woocommerce.woocommerce-checkout,
.woocommerce-checkout .woocommerce {
  display: grid;
  gap: 20px;
  clear: both;
}

.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-checkout form.checkout,
.woocommerce-checkout #order_review,
.woocommerce-checkout #customer_details {
  width: 100%;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cart-collaterals .shipping_calculator {
  float: none;
  width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout .col2-set::after,
.woocommerce-cart .cart-collaterals::after,
.woocommerce-cart form.woocommerce-cart-form::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce-checkout #customer_details::after,
.woocommerce-checkout #order_review::after {
  content: "";
  display: block;
  clear: both;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
  background: #0f1f33;
  border: 1px solid #1b2a40;
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.woocommerce-checkout .payment-mock {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed #1b2a40;
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.woocommerce-checkout .payment-mock h5 {
  margin: 0;
  font-size: 14px;
}

.woocommerce-checkout .payment-options {
  display: grid;
  gap: 10px;
}

.woocommerce-checkout .payment-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1px solid #1b2a40;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.woocommerce-checkout .payment-option input {
  margin-top: 2px;
}

.woocommerce-checkout .payment-option .option-body {
  display: grid;
  gap: 4px;
  color: #9fb3c8;
  font-size: 12px;
}

.woocommerce-checkout .payment-option .option-body strong {
  color: #eaf2ff;
  font-size: 13px;
}

.woocommerce-checkout .payment-note {
  margin: 0;
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #1b2a40;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  display: grid;
  gap: 12px;
}

.woocommerce-checkout .woocommerce-billing-fields h4,
.woocommerce-checkout .woocommerce-shipping-fields h4,
.woocommerce-checkout .woocommerce-checkout-review-order h4 {
  margin: 0;
  line-height: 1.4;
}

.woocommerce-checkout .woocommerce-checkout-review-order .button {
  margin-top: 8px;
  align-self: flex-start;
}

.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count {
  float: none;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background: rgba(15, 31, 51, 0.9);
  border: 1px solid #1b2a40;
  color: #eaf2ff;
  border-radius: 10px;
  padding: 12px;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder,
.woocommerce form .form-row input[type="email"]::placeholder,
.woocommerce form .form-row input[type="text"]::placeholder,
.woocommerce form .form-row input[type="url"]::placeholder,
.woocommerce form .form-row select::placeholder {
  color: #2a3a4a !important;
  opacity: 1 !important;
}

.woocommerce form .form-row input.input-text::-webkit-input-placeholder,
.woocommerce form .form-row textarea::-webkit-input-placeholder,
.woocommerce form .form-row input[type="email"]::-webkit-input-placeholder,
.woocommerce form .form-row input[type="text"]::-webkit-input-placeholder,
.woocommerce form .form-row input[type="url"]::-webkit-input-placeholder,
.woocommerce form .form-row select::-webkit-input-placeholder {
  color: #2a3a4a !important;
  opacity: 1 !important;
}

.woocommerce form .form-row input.input-text:-ms-input-placeholder,
.woocommerce form .form-row textarea:-ms-input-placeholder,
.woocommerce form .form-row input[type="email"]:-ms-input-placeholder,
.woocommerce form .form-row input[type="text"]:-ms-input-placeholder,
.woocommerce form .form-row input[type="url"]:-ms-input-placeholder,
.woocommerce form .form-row select:-ms-input-placeholder {
  color: #2a3a4a !important;
}

.woocommerce form .form-row {
  margin-bottom: 12px;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  background: rgba(57, 243, 194, 0.12);
  border: 1px solid rgba(57, 243, 194, 0.4);
  color: #eaf2ff;
  border-radius: 12px;
  padding: 12px 16px;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.woocommerce-MyAccount-navigation {
  background: #0f1f33;
  border: 1px solid #1b2a40;
  border-radius: 18px;
  padding: 18px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: #9fb3c8;
  font-size: 13px;
}

.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
  background: rgba(57, 243, 194, 0.12);
  color: #eaf2ff;
}

.woocommerce-MyAccount-content {
  background: #0f1f33;
  border: 1px solid #1b2a40;
  border-radius: 18px;
  padding: 20px;
  min-width: 0;
}

.woocommerce-account .woocommerce-Message,
.woocommerce-account .woocommerce-info {
  background: rgba(57, 243, 194, 0.12);
  border: 1px solid rgba(57, 243, 194, 0.4);
  color: #eaf2ff;
  border-radius: 12px;
  padding: 12px 16px;
}

.woocommerce-account .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper {
  margin: 0 0 18px;
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .wc-forward,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .wc-forward,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error .wc-forward,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info .wc-forward,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message .wc-forward,
.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error .wc-forward {
  flex: 0 0 auto;
  white-space: nowrap;
}

.woocommerce-account table.shop_table {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  border: 1px solid #1b2a40;
  overflow: hidden;
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-content {
  overflow-x: hidden;
}

@media (max-width: 980px) {
  .woocommerce div.product {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-notices-wrapper,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper {
    margin-bottom: 14px;
  }

  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
    align-items: flex-start;
  }

  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .wc-forward,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .wc-forward,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error .wc-forward,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info .wc-forward,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message .wc-forward,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error .wc-forward {
    width: 100%;
    text-align: center;
  }

  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }

  .woocommerce.woocommerce-cart,
  .woocommerce-cart .woocommerce {
    flex-direction: column;
  }

  .woocommerce.woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart-collaterals {
    flex: 1 1 auto;
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  .woocommerce-cart table.shop_table,
  .woocommerce-checkout table.shop_table {
    display: block;
    overflow-x: auto;
  }

  .woocommerce-account .woocommerce-orders-table,
  .woocommerce-account .woocommerce-orders-table tbody,
  .woocommerce-account .woocommerce-orders-table tr,
  .woocommerce-account .woocommerce-orders-table th,
  .woocommerce-account .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  .woocommerce-account .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-account .woocommerce-orders-table tr {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #1b2a40;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
  }

  .woocommerce-account .woocommerce-orders-table th,
  .woocommerce-account .woocommerce-orders-table td {
    border: 0;
    padding: 8px 0;
  }

  .woocommerce-account .woocommerce-orders-table th::before,
  .woocommerce-account .woocommerce-orders-table td::before {
    content: attr(data-title);
    display: block;
    color: #9fb3c8;
    font-size: 12px;
    margin-bottom: 4px;
  }

  .woocommerce-account .woocommerce-orders-table th.woocommerce-orders-table__cell-order-number::before {
    content: "Don hang";
  }

  .woocommerce-account .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button {
    width: 100%;
    text-align: center;
  }

  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
    display: block !important;
    line-height: 1.6;
    padding: 12px 14px !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info::before,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message::before,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error::before,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info::before,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message::before,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info .wc-forward,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message .wc-forward,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error .wc-forward,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-info .wc-forward,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-message .wc-forward,
  .woocommerce-account .woocommerce-notices-wrapper .woocommerce-error .wc-forward {
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: center;
  }
}

/* ================================================================
   WooCommerce Block Grid (Gutenberg blocks)
   Override WooCommerce's own block CSS that forces narrow columns.
   ================================================================ */

/* Wrapper — ensure full width, no max-width constraints */
.wc-block-grid,
.wp-block-woocommerce-product-new,
.wp-block-woocommerce-product-best-sellers,
.wp-block-woocommerce-product-top-rated,
.wp-block-woocommerce-product-on-sale,
.wp-block-woocommerce-product-category {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Product list grid — responsive columns */
.wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Override WooCommerce's has-X-columns fixed column grids */
.wc-block-grid.has-2-columns .wc-block-grid__products,
.wc-block-grid.has-3-columns .wc-block-grid__products,
.wc-block-grid.has-4-columns .wc-block-grid__products,
.wc-block-grid.has-5-columns .wc-block-grid__products,
.wc-block-grid.has-6-columns .wc-block-grid__products {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
}

/* Product card */
.wc-block-grid__product {
  background: linear-gradient(180deg, rgba(15, 31, 51, 0.98), rgba(12, 22, 36, 0.95));
  border: 1px solid rgba(27, 42, 64, 0.9);
  border-radius: 20px;
  padding: 18px;
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  max-width: 100% !important;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.wc-block-grid__product:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 243, 194, 0.45);
  box-shadow: 0 26px 40px rgba(0, 0, 0, 0.35);
}

/* Product link wrapper */
.wc-block-grid__product-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Product image */
.wc-block-grid__product-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #1b2a40;
  background: #081020;
  width: 100% !important;
  max-width: 100% !important;
}

.wc-block-grid__product-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.35s ease;
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.03);
}

/* Product title */
.wc-block-grid__product-title {
  color: #eaf2ff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.wc-block-grid__product-link:hover .wc-block-grid__product-title {
  color: #39f3c2;
}

/* Product price */
.wc-block-grid__product-price {
  color: #39f3c2;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
}

/* Add to cart button */
.wc-block-grid__product-add-to-cart {
  margin-top: auto;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart .add_to_cart_button {
  background: linear-gradient(135deg, #39f3c2, #4aa3ff) !important;
  color: #061016 !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: filter 0.2s ease;
  cursor: pointer;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover,
.wc-block-grid__product-add-to-cart .add_to_cart_button:hover {
  filter: brightness(1.05);
}

/* Block grid rating stars */
.wc-block-grid__product-rating {
  color: #ffcf5f;
  font-size: 14px;
}

/* ================================================================
   Pagination
   ================================================================ */
.woocommerce-pagination {
  margin-top: 32px;
  text-align: center;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #1b2a40;
  background: rgba(255, 255, 255, 0.02);
  color: #9fb3c8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.woocommerce-pagination a.page-numbers:hover {
  background: rgba(57, 243, 194, 0.12);
  border-color: rgba(57, 243, 194, 0.4);
  color: #eaf2ff;
}

.woocommerce-pagination .page-numbers.current {
  background: linear-gradient(135deg, #39f3c2, #4aa3ff);
  border-color: transparent;
  color: #061016;
  font-weight: 700;
}

.woocommerce-pagination .page-numbers.prev,
.woocommerce-pagination .page-numbers.next {
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #9fb3c8;
  min-width: auto;
  padding: 0 4px;
}

