/* =========================
   SHOP PAGE
========================= */

.shop-page {
  background: #f8fafc;
  min-height: 100vh;
}

.shop-breadcrumb-bar {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.shop-breadcrumb-bar .container {
  padding-top: 16px;
  padding-bottom: 16px;
}

.woocommerce-breadcrumb {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.woocommerce-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
}

.woocommerce-breadcrumb a:hover {
  color: #0b8aa5;
}

.shop-category-header {
  background: #ffffff;
}

.shop-category-header .container {
  padding-top: 34px;
  padding-bottom: 34px;
}

.shop-category-title {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  color: #0b8aa5;
  letter-spacing: -0.5px;
}

.shop-category-description {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
}

.shop-category-description p {
  margin: 0;
}

.shop-category-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.shop-results-count-custom {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.shop-ordering {
  margin-left: auto;
}

.shop-ordering .woocommerce-ordering {
  margin: 0;
}

.shop-ordering select,
.woocommerce-ordering select {
  min-width: 210px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  outline: none;
}

.shop-container {
  padding: 34px 0 64px;
}

.shop-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 120px;
}

.shop-filters-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.shop-filters-card h3 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}

.shop-filter-block {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid #e5e7eb;
}

.shop-filter-block:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.shop-filter-block h4 {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.shop-fake-range {
  position: relative;
  height: 24px;
  margin-bottom: 10px;
}

.shop-fake-range-line {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 6px;
  background: #1187a0;
  border-radius: 999px;
}

.shop-fake-range-thumb {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid #1187a0;
}

.shop-fake-range-values {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #64748b;
  font-size: 14px;
}

.shop-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #0f172a;
  cursor: pointer;
}

.shop-check input {
  width: 18px;
  height: 18px;
  accent-color: #0b8aa5;
}

.shop-products-area {
  min-width: 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-empty-state {
  min-height: 180px;
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #64748b;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.shop-pagination {
  margin-top: 40px;
}

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin-right: 8px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.shop-pagination .page-numbers.current,
.shop-pagination .page-numbers:hover {
  background: #0b8aa5;
  color: #ffffff;
  border-color: #0b8aa5;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
  list-style: none;
}

.product-card-inner {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
}

.product-card-image-wrap {
  position: relative;
}

.product-card-image-link {
  display: block;
  background: #ffffff;
}

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  z-index: 2;
  line-height: 1;
}

.product-badge-new {
  left: 16px;
  background: #5fcf6c;
}

.product-badge-sale {
  right: 16px;
  background: #ef5b52;
}

.product-card-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-brand {
  margin-bottom: 8px;
  font-size: 13px;
  color: #64748b;
}

.product-card-title {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  min-height: 50px;
}

.product-card-title a {
  color: #0b8aa5;
  text-decoration: none;
}

.product-card-title a:hover {
  color: #086f84;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
}

.product-card-rating .star {
  font-size: 16px;
  color: #d1d5db;
  line-height: 1;
}

.product-card-rating .star.filled {
  color: #f4b740;
}

.product-card-rating-value {
  margin-left: 8px;
  font-size: 13px;
  color: #64748b;
}

.product-card-price-block {
  margin-bottom: 16px;
}

.product-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.product-card-price-current {
  font-size: 18px;
  font-weight: 800;
  color: #0b8aa5;
}

.product-card-price-current .amount {
  color: inherit;
}

.product-card-price-old {
  font-size: 13px;
  color: #64748b;
  text-decoration: line-through;
}

.product-card-stock {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
}

.product-card-stock.in-stock {
  color: #16a34a;
}

.product-card-stock.out-stock {
  color: #dc2626;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.product-card-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
  box-sizing: border-box;
}

.product-card-btn-primary {
  background: #9fc3d1;
  color: #ffffff !important;
  border: none;
}

.product-card-btn-primary:hover {
  background: #89b5c6;
}

.product-card-btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #d9e0e7;
}

.product-card-btn-secondary:hover {
  border-color: #0b8aa5;
  color: #0b8aa5 !important;
}

.product-card-btn-disabled {
  background: #a7cad8;
  color: #ffffff;
  cursor: not-allowed;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .shop-category-title {
    font-size: 34px;
  }

  .shop-category-description {
    font-size: 15px;
  }

  .shop-category-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-ordering {
    width: 100%;
    margin-left: 0;
  }

  .shop-ordering select,
  .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .shop-filters-card {
    padding: 22px;
  }
}

/* =========================
   SINGLE PRODUCT
========================= */

.single-product-page {
  background: #f8fafc;
  min-height: 100vh;
}

.single-product-container {
  padding-top: 34px;
  padding-bottom: 64px;
}

.single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 44px;
}

.single-product-gallery,
.single-product-info,
.single-product-tabs-block,
.single-product-related {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.single-product-gallery {
  padding: 24px;
}

.single-product-main-image {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  aspect-ratio: 1 / 1;
  border: 1px solid #eef2f7;
}

.single-product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #ef5b52;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 7px 14px;
  line-height: 1;
  z-index: 2;
}

.single-product-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.single-product-thumb {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e5e7eb;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.single-product-thumb.is-active,
.single-product-thumb:hover {
  border-color: #0b8aa5;
  transform: translateY(-2px);
}

.single-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* INFO */

.single-product-info {
  padding: 30px;
}

.single-product-meta-top {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 14px;
  color: #64748b;
}

.single-product-meta-top strong {
  color: #0f172a;
}

.single-product-title {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: #0b8aa5;
  letter-spacing: -0.4px;
}

.single-product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
}

.single-product-rating .star {
  font-size: 18px;
  color: #d1d5db;
  line-height: 1;
}

.single-product-rating .star.filled {
  color: #f4b740;
}

.single-product-rating-value {
  margin-left: 8px;
  font-size: 14px;
  color: #64748b;
}

.single-product-price-block {
  margin-bottom: 16px;
}

.single-product-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.single-product-price-current {
  font-size: 38px;
  font-weight: 800;
  color: #0b8aa5;
  line-height: 1;
}

.single-product-price-current .amount {
  color: inherit;
}

.single-product-price-old {
  font-size: 22px;
  color: #64748b;
  text-decoration: line-through;
}

.single-product-saving {
  margin: 10px 0 0;
  color: #16a34a;
  font-size: 15px;
  font-weight: 700;
}

.single-product-stock {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
}

.single-product-stock.in-stock {
  color: #16a34a;
}

.single-product-stock.out-stock {
  color: #dc2626;
}

.single-product-short-description {
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
}

.single-product-short-description p {
  margin: 0 0 12px;
}

/* CART FORM */

.single-product-cart-form {
  margin-bottom: 18px;
}

.single-product-cart-form form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.single-product-cart-form .quantity {
  margin: 0 !important;
}

.single-product-cart-form .quantity input.qty {
  width: 86px;
  height: 48px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 15px;
  text-align: center;
  outline: none;
}

.single-product-cart-form .single_add_to_cart_button,
.single-product-cart-form button.button.alt {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px !important;
  background: #0b8aa5 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none !important;
}

.single-product-cart-form .single_add_to_cart_button:hover,
.single-product-cart-form button.button.alt:hover {
  background: #086f84 !important;
}

.single-product-extra-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.single-product-outline-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.single-product-outline-btn:hover {
  border-color: #0b8aa5;
  color: #0b8aa5;
}

.single-product-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e9eef5;
}

.single-product-benefit {
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
}

/* TABS */

.single-product-tabs-block,
.single-product-related {
  padding: 28px;
  margin-top: 28px;
}

.single-product-tabs-block .woocommerce-tabs {
  margin: 0;
}

.single-product-tabs-block .woocommerce-tabs ul.tabs {
  margin: 0 0 24px !important;
  padding: 0 !important;
  display: flex;
  gap: 10px;
  list-style: none;
  border-bottom: 1px solid #e5e7eb;
}

.single-product-tabs-block .woocommerce-tabs ul.tabs::before,
.single-product-tabs-block .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.single-product-tabs-block .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  border-radius: 0 !important;
}

.single-product-tabs-block .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 16px !important;
  color: #0f172a !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.single-product-tabs-block .woocommerce-tabs ul.tabs li.active a {
  color: #0b8aa5 !important;
}

.single-product-tabs-block .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: 0 !important;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.single-product-tabs-block h2,
.single-product-tabs-block h3 {
  color: #0f172a;
  font-size: 20px;
  margin: 0 0 18px;
}

/* RELATED */

.single-product-related-title {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 800;
  color: #0b8aa5;
}

.single-product-related .products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.single-product-related .products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.single-product-related .products li.product img {
  border-radius: 14px;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .single-product-layout {
    grid-template-columns: 1fr;
  }

  .single-product-related .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .single-product-title {
    font-size: 28px;
  }

  .single-product-price-current {
    font-size: 32px;
  }

  .single-product-price-old {
    font-size: 18px;
  }

  .single-product-benefits {
    grid-template-columns: 1fr;
  }

  .single-product-tabs-block .woocommerce-tabs ul.tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .single-product-gallery,
  .single-product-info,
  .single-product-tabs-block,
  .single-product-related {
    padding: 20px;
  }

  .single-product-cart-form form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .single-product-cart-form .quantity input.qty,
  .single-product-cart-form .single_add_to_cart_button,
  .single-product-cart-form button.button.alt,
  .single-product-outline-btn {
    width: 100%;
  }

  .single-product-related .products {
    grid-template-columns: 1fr;
  }
}