/**
 * WooCommerce styles — Beats By Hina
 */

.woocommerce ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.woocommerce ul.products li.product,
.bbh-product-card {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  text-align: center;
}

.woocommerce ul.products li.product img {
  width: 100%;
  margin: 0 0 12px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 500;
  margin: 0 0 6px !important;
  letter-spacing: 0.03em;
}

.woocommerce ul.products li.product .price {
  color: #111;
  font-size: 13px;
  margin-bottom: 10px;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #111;
  color: #fff;
  border-radius: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #333;
  color: #fff;
}

.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 20px;
}

.woocommerce-ordering select {
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
}

.bbh-product-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.bbh-product-summary-col .product_title {
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 12px;
}

.bbh-product-summary-col .price {
  font-size: 20px;
  margin-bottom: 16px;
}

.bbh-shipping-note {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

.woocommerce div.product form.cart {
  margin-top: 20px;
}

.woocommerce div.product form.cart .variations {
  margin-bottom: 16px;
}

.woocommerce div.product form.cart .button {
  min-width: 180px;
}

.woocommerce-pagination {
  margin-top: 36px;
  text-align: center;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
  display: inline-block;
  min-width: 36px;
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
}

.woocommerce-pagination .page-numbers li .current {
  background: #111;
  color: #fff;
  border-color: #111;
}

.related.products > h2 {
  font-size: 18px;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 48px 0 24px;
}

.woocommerce-cart table.cart,
.woocommerce-checkout .woocommerce {
  width: 100%;
}

.woocommerce table.shop_table {
  border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border: 1px solid #e5e5e5;
  padding: 12px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
}

.woocommerce-MyAccount-navigation .is-active a {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Variation swatches fallback */
.bbh-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
  list-style: none;
  padding: 0;
}

.bbh-swatches .bbh-swatch {
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #111;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bbh-swatches .bbh-swatch.is-selected {
  background: #111;
  color: #fff;
}

.bbh-swatches .bbh-swatch.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.widget_shopping_cart_content .buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.widget_shopping_cart_content .button {
  flex: 1;
  text-align: center;
}

@media (max-width: 991px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }

  .bbh-product-single {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
