/**
 * Last-loaded layout polish for mobile cart, notices, cards, tabs, footer.
 * Depth without neon glow.
 */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  margin: 12px 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  border: 1px solid color-mix(in srgb, #34d399 35%, var(--line, #e0e0e2)) !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message a.button {
  flex: 0 0 auto !important;
  margin: 0 !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

@media (max-width: 640px) {
  .woocommerce-message,
  .woocommerce-info {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .woocommerce-message .button,
  .woocommerce-info .button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

.product-card,
.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 10px 30px rgba(15, 18, 28, 0.08) !important;
  transform: none !important;
}

.product-card .product-body,
.product-card .product-actions,
.product-card .buy-form {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.product-card .buy-form {
  gap: 8px !important;
  align-items: stretch !important;
}

.product-card .buy-form .qty {
  display: none !important;
}

.product-card .btn-add-cart,
.product-card .buy-form .btn-add-cart,
.woocommerce ul.products li.product .button {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.products,
.store-products-grid,
.sale-products-grid,
.woocommerce ul.products,
.grid-4,
.grid-3 {
  width: 100% !important;
}

.products-count-1,
.store-products-grid.products-count-1,
.sale-products-grid.products-count-1,
.woocommerce ul.products.columns-1 {
  grid-template-columns: minmax(0, 1fr) !important;
}

@media (min-width: 700px) {
  .products-count-1 .product-card,
  .store-products-grid.products-count-1 .product-card,
  .woocommerce ul.products.columns-1 li.product {
    max-width: 360px;
    margin-inline: auto;
  }
}

.pdp-tabs-wrap,
.product-tabs,
.woocommerce-tabs,
.tab-content,
.pdp-panel,
.panel.pdp-panel {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

.product-tabs,
.pdp-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  overflow-x: auto !important;
}

.product-tabs button,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  flex: 1 1 auto !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
}

.tab-content.active,
.woocommerce-Tabs-panel {
  padding: 16px 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .woocommerce,
.brl-wc-wrap {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

body.woocommerce-cart table.shop_table.cart,
body.woocommerce-cart .woocommerce-cart-form__contents {
  width: 100% !important;
}

body.woocommerce-cart .quantity,
body.woocommerce-cart .product-quantity {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
}

body.woocommerce-cart .quantity .qty,
body.woocommerce-cart input.qty {
  width: 64px !important;
  min-height: 40px !important;
  text-align: center !important;
}

body.woocommerce-cart .coupon,
.brl-wc-wrap .woocommerce-cart-form .coupon,
.coupon-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  width: 100% !important;
}

body.woocommerce-cart .coupon input,
.coupon-box input {
  width: 100% !important;
  min-width: 0 !important;
}

body.woocommerce-cart .coupon button,
.coupon-box button {
  white-space: nowrap !important;
  min-height: 44px !important;
}

.site-footer .footer-col a,
.site-footer .footer-col li a,
.site-footer a:not(.btn):not(.button) {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  display: inline !important;
  border-radius: 0 !important;
}

.site-footer .footer-col ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

html[data-aqua-theme="dark"] .product-card,
html[data-aqua-theme="dark"] .panel,
html[data-aqua-theme="dark"] .pdp-panel {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 16px 40px rgba(0, 0, 0, 0.28) !important;
}

html[data-aqua-theme="light"] body,
html[data-aqua-theme="light"] body.aqua-dk {
  background-image: none !important;
}

html[data-aqua-theme="dark"] body,
html[data-aqua-theme="dark"] body.aqua-dk {
  background-image: none !important;
}
