/**
 * Bellezza Beauty Center - WooCommerce Stilleri
 * Ana style.css'i tamamlayici ayri WooCommerce stil dosyasi
 *
 * @package Bellezza
 * @since 1.0.0
 */

/* ==========================================================
   GENEL WOOCOMMERCE DEGISKENLERI
   ========================================================== */

:root {
  --wc-primary: var(--color-primary, #b8860b);
  --wc-secondary: var(--color-secondary, #d4a843);
  --wc-accent: var(--color-accent, #c9a04e);
  --wc-success: #28a745;
  --wc-danger: #dc3545;
  --wc-warning: #ffc107;
  --wc-info: #17a2b8;
  --wc-sale: #dc3545;
  --wc-new: #28a745;
  --wc-hot: #ff6b35;
  --wc-star: #f5c518;
  --wc-border: #e8e8e8;
  --wc-bg-light: #f9f9f9;
  --wc-radius: 12px;
  --wc-radius-sm: 8px;
  --wc-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --wc-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --wc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================
   URUN KARTLARI
   ========================================================== */

/* Urun gridi */
ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

ul.products.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

ul.products.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Tek urun karti */
ul.products li.product {
  background: #fff;
  border-radius: var(--wc-radius);
  overflow: hidden;
  box-shadow: var(--wc-shadow);
  transition: transform var(--wc-transition), box-shadow var(--wc-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--wc-shadow-hover);
}

/* Urun görseli */
ul.products li.product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

ul.products li.product .attachment-woocommerce_thumbnail,
ul.products li.product img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

ul.products li.product:hover img {
  transform: scale(1.05);
}

/* Urun görsel wrapper */
ul.products li.product .product-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--wc-radius) var(--wc-radius) 0 0;
}

/* Urun bilgileri */
ul.products li.product .product-info,
ul.products li.product .woocommerce-loop-product__title + * {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Urun basligi */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  margin: 0 0 8px;
  line-height: 1.4;
  padding: 16px 16px 0;
}

/* Urun kategorisi */
ul.products li.product .product-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wc-primary);
  margin-bottom: 6px;
  padding: 0 16px;
}

/* Urun hizli aksiyonlar */
ul.products li.product .product-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity var(--wc-transition), transform var(--wc-transition);
  z-index: 2;
}

ul.products li.product:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

ul.products li.product .product-actions a,
ul.products li.product .product-actions button {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-heading, #1a1a2e);
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

ul.products li.product .product-actions a:hover,
ul.products li.product .product-actions button:hover {
  background: var(--wc-primary);
  color: #fff;
  transform: scale(1.1);
}

/* Sepete ekle butonu */
ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--wc-transition);
  margin: 0 16px 16px;
  text-decoration: none;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3);
}

ul.products li.product .button.loading {
  opacity: 0.7;
  pointer-events: none;
}

ul.products li.product .button.added {
  background: var(--wc-success);
}

/* Sepeti goruntule linki */
ul.products li.product .added_to_cart {
  display: inline-block;
  font-size: 12px;
  color: var(--wc-primary);
  text-decoration: none;
  padding: 4px 16px 16px;
  font-weight: 600;
}

ul.products li.product .added_to_cart:hover {
  text-decoration: underline;
}

/* ==========================================================
   PRODUCT BADGES (Etiketler)
   ========================================================== */

.onsale,
.product-badge,
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  line-height: 1;
  color: #fff;
}

.onsale {
  background: var(--wc-sale);
  animation: badgePulse 2s infinite;
}

.badge-new {
  background: var(--wc-new);
}

.badge-hot {
  background: var(--wc-hot);
}

.badge-featured {
  background: var(--wc-primary);
}

.badge-out-of-stock {
  background: #6c757d;
}

/* Birden fazla badge */
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-badges .badge {
  position: static;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* İndirim yuzdesi badge */
.sale-percentage {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--wc-sale);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* ==========================================================
   STAR RATING (Yildiz Degerlendirme)
   ========================================================== */

.star-rating {
  display: inline-flex;
  position: relative;
  width: 80px;
  height: 16px;
  font-size: 14px;
  line-height: 1;
  overflow: hidden;
}

.star-rating::before {
  content: '\2605\2605\2605\2605\2605';
  color: #ddd;
  letter-spacing: 2px;
  position: absolute;
  top: 0;
  left: 0;
}

.star-rating span {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.star-rating span::before {
  content: '\2605\2605\2605\2605\2605';
  color: var(--wc-star);
  letter-spacing: 2px;
}

/* Buyuk rating (single product) */
.woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.woocommerce-product-rating .star-rating {
  width: 100px;
  height: 20px;
  font-size: 18px;
}

.woocommerce-review-link {
  font-size: 13px;
  color: var(--color-text, #4a4a5e);
  text-decoration: none;
}

.woocommerce-review-link:hover {
  color: var(--wc-primary);
}

/* ==========================================================
   PRICE STYLING (Fiyat Stili)
   ========================================================== */

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px;
  margin-bottom: 12px;
}

.price .woocommerce-Price-amount {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
}

.price ins {
  text-decoration: none;
}

.price ins .woocommerce-Price-amount {
  font-size: 20px;
  color: var(--wc-primary);
}

.price del {
  text-decoration: none;
}

.price del .woocommerce-Price-amount {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Price range */
.price .woocommerce-Price-amount:first-child:not(:last-child)::after {
  content: ' - ';
  color: #999;
}

/* Single product fiyat */
.single-product .price .woocommerce-Price-amount {
  font-size: 28px;
}

.single-product .price ins .woocommerce-Price-amount {
  font-size: 28px;
}

.single-product .price del .woocommerce-Price-amount {
  font-size: 18px;
}

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

/* Urun detay duzeni - varsayilan WooCommerce yapisi icin */
.single-product .product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

/* ==========================================================
   BELLEZZA SINGLE PRODUCT - OZEL SABLON STILLERI
   ========================================================== */

/* Override: ozel sablon kullaniliyorsa varsayilan 2-kolon grid'i iptal et */
.bellezza-single-product {
  display: block !important;
  grid-template-columns: unset !important;
}

/* Breadcrumb bolumu */
.single-product-breadcrumb-section {
  padding: 20px 0 10px;
}

.single-product-breadcrumb-section .woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
}

.single-product-breadcrumb-section .woocommerce-breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.single-product-breadcrumb-section .woocommerce-breadcrumb a:hover {
  color: var(--wc-primary);
}

.single-product-breadcrumb-section .breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: #ccc;
  margin: 0 4px;
}

/* Ana urun bolumu - ust kisim */
.single-product-top {
  padding: 30px 0 40px;
}

/* 2 kolonlu layout: gorsel sol, bilgi sag */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

/* Urun galeri (sol kolon) */
.single-product-gallery {
  position: sticky;
  top: calc(var(--bellezza-header-height, 80px) + 20px);
}

.single-product-gallery .product-gallery-main {
  position: relative;
  border-radius: var(--wc-radius);
  overflow: hidden;
  background: #f9f9f9;
}

.single-product-gallery .gallery-main-image {
  position: relative;
}

.single-product-gallery .gallery-main-image img {
  width: 100%;
  display: block;
  border-radius: var(--wc-radius);
}

.single-product-gallery .gallery-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  z-index: 2;
}

.single-product-gallery .gallery-zoom-btn:hover {
  background: var(--wc-primary);
  color: #fff;
  transform: scale(1.1);
}

/* Galeri thumbnail'leri */
.product-gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.product-gallery-thumbnails .gallery-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  border-radius: var(--wc-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
  opacity: 0.65;
  transition: border-color 0.2s, opacity 0.2s;
}

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

.product-gallery-thumbnails .gallery-thumb:hover,
.product-gallery-thumbnails .gallery-thumb.active {
  border-color: var(--wc-primary);
  opacity: 1;
}

/* Urun rozetleri (tek urun sayfasinda) */
.single-product-gallery .bellezza-badge {
  position: absolute;
  z-index: 3;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.single-product-gallery .sale-badge {
  top: 16px;
  left: 16px;
  background: var(--wc-sale);
  color: #fff;
}

.single-product-gallery .new-badge {
  top: 16px;
  right: 16px;
  left: auto;
  background: var(--wc-new);
  color: #fff;
}

.single-product-gallery .out-of-stock-badge {
  top: 50px;
  left: 16px;
  background: #666;
  color: #fff;
}

/* Urun bilgileri (sag kolon) */
.single-product-info {
  padding: 0;
}

.single-product-info .product-categories-list {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.single-product-info .product-category-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--wc-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.single-product-info .product-category-link:hover {
  color: var(--color-heading, #1a1a2e);
}

.single-product-info .product-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
  margin: 0 0 16px;
  line-height: 1.3;
}

.single-product-info .product-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.single-product-info .rating-link {
  font-size: 13px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.single-product-info .rating-link:hover {
  color: var(--wc-primary);
}

/* Fiyat */
.single-product-info .product-price-wrapper {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wc-border);
}

.single-product-info .product-price-wrapper .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
}

.single-product-info .product-price-wrapper .price ins {
  text-decoration: none;
}

.single-product-info .product-price-wrapper .price del {
  font-size: 18px;
  color: #999;
  font-weight: 400;
  margin-right: 8px;
}

.single-product-info .product-price-wrapper .price .woocommerce-Price-currencySymbol {
  color: var(--wc-primary);
}

/* Kisa aciklama */
.single-product-info .product-short-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text, #4a4a5e);
  margin-bottom: 24px;
}

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

/* Meta bilgiler (SKU, stok) */
.single-product-info .product-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.single-product-info .meta-item {
  font-size: 13px;
  color: var(--color-text, #4a4a5e);
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-product-info .meta-label {
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
}

.single-product-info .stock-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
}

.single-product-info .stock-status.in-stock {
  background: #d6f4d6;
  color: #0a6d0a;
}

.single-product-info .stock-status.out-of-stock {
  background: #fcf0f1;
  color: #b32d2e;
}

/* Sepete ekle wrapper */
.single-product-info .product-add-to-cart-wrapper {
  margin-bottom: 24px;
}

.single-product-info .product-add-to-cart-wrapper form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.single-product-info .product-add-to-cart-wrapper .quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--wc-border);
  border-radius: 30px;
  overflow: hidden;
}

.single-product-info .product-add-to-cart-wrapper .quantity input.qty {
  width: 50px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  -moz-appearance: textfield;
  background: transparent;
}

.single-product-info .product-add-to-cart-wrapper .quantity input.qty::-webkit-outer-spin-button,
.single-product-info .product-add-to-cart-wrapper .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-product-info .product-add-to-cart-wrapper .single_add_to_cart_button {
  flex: 1;
  min-width: 200px;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--wc-transition);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.single-product-info .product-add-to-cart-wrapper .single_add_to_cart_button:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Sosyal paylasim */
.product-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--wc-border);
}

.product-share .share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
}

.product-share .share-links {
  display: flex;
  gap: 8px;
}

.product-share .share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wc-bg-light);
  color: var(--color-text, #4a4a5e);
  text-decoration: none;
  transition: all 0.2s;
}

.product-share .share-link:hover {
  background: var(--wc-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================
   BELLEZZA SINGLE PRODUCT - TABS SECTION (Tam genislik)
   ========================================================== */

.single-product-tabs-section {
  padding: 0 0 50px;
  width: 100%;
  clear: both;
}

.single-product-tabs-section .woocommerce-tabs {
  margin-top: 0;
  grid-column: unset;
}

/* ==========================================================
   BELLEZZA SINGLE PRODUCT - ILGILI URUNLER
   ========================================================== */

.related-products-section {
  padding: 50px 0 60px;
  background: var(--wc-bg-light);
}

.related-products-section .related.products > h2,
.related-products-section > .container > h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
  text-align: center;
  margin-bottom: 40px;
}

.related-products-section ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ilgili urun kartlarinda varsayilan li.product stillerini sifirla */
.related-products-section ul.products li.product {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.related-products-section ul.products li.product:hover {
  transform: none;
  box-shadow: none;
}

/* Kartlar product-card-inner ile stillendirilir (content-product.php) */

/* Reset: ul.products li.product h2 padding/margin override */
.related-products-section ul.products li.product h2.product-card-title,
.recently-viewed-section ul.products li.product h2.product-card-title {
  padding: 0;
  margin: 0 0 8px;
}

.related-products-section ul.products li.product img,
.recently-viewed-section ul.products li.product img {
  height: auto;
}

/* Son gorulen urunler */
.recently-viewed-section {
  padding: 50px 0 60px;
}

.recently-viewed-section .section-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
  text-align: center;
  margin-bottom: 40px;
}

/* ==========================================================
   BELLEZZA SINGLE PRODUCT - RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
  .single-product-layout {
    gap: 30px;
  }
}

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

  .single-product-gallery {
    position: static;
  }

  .single-product-info .product-title {
    font-size: 24px;
  }

  .related-products-section ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .related-products-section ul.products li.product a img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .single-product-info .product-add-to-cart-wrapper form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .single-product-info .product-add-to-cart-wrapper .quantity {
    justify-content: center;
  }

  .related-products-section ul.products {
    grid-template-columns: 1fr;
  }

  .product-share {
    flex-wrap: wrap;
  }
}

/* Urun görselleri */
.single-product .woocommerce-product-gallery {
  position: sticky;
  top: calc(var(--bellezza-header-height, 80px) + 20px);
}

.single-product .woocommerce-product-gallery__wrapper {
  border-radius: var(--wc-radius);
  overflow: hidden;
}

.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  border-radius: var(--wc-radius);
  cursor: zoom-in;
}

/* Thumbnail galerisi */
.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 70px;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--wc-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  opacity: 0.7;
}

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

/* Urun ozet bilgileri */
.single-product .entry-summary,
.single-product .summary {
  padding: 0;
}

.single-product .product_title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
  margin: 0 0 12px;
  line-height: 1.3;
}

.single-product .woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text, #4a4a5e);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wc-border);
}

/* Stok durumu */
.single-product .stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.single-product .stock.in-stock {
  background: #d6f4d6;
  color: #0a6d0a;
}

.single-product .stock.out-of-stock {
  background: #fcf0f1;
  color: #b32d2e;
}

/* Quantity ve Sepete ekle */
.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.single-product form.cart .quantity {
  display: flex;
  align-items: center;
  border: 2px solid var(--wc-border);
  border-radius: 30px;
  overflow: hidden;
}

.single-product form.cart .quantity .qty-btn {
  width: 40px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-heading, #1a1a2e);
  transition: background 0.2s;
}

.single-product form.cart .quantity .qty-btn:hover {
  background: var(--wc-bg-light);
}

.single-product form.cart .quantity input.qty {
  width: 50px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  -moz-appearance: textfield;
  background: transparent;
}

.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.single-product form.cart .single_add_to_cart_button {
  flex: 1;
  min-width: 200px;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--wc-transition);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.single-product form.cart .single_add_to_cart_button:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* Urun meta bilgileri */
.single-product .product_meta {
  padding-top: 24px;
  border-top: 1px solid var(--wc-border);
  margin-top: 24px;
}

.single-product .product_meta > span {
  display: block;
  font-size: 13px;
  color: var(--color-text, #4a4a5e);
  margin-bottom: 8px;
}

.single-product .product_meta > span .sku,
.single-product .product_meta > span a {
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
}

.single-product .product_meta > span a:hover {
  color: var(--wc-primary);
}

/* ==========================================================
   PRODUCT TABS (Urun Sekmeleri)
   ========================================================== */

.woocommerce-tabs {
  margin-top: 60px;
  grid-column: 1 / -1;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 -1px;
  border-bottom: 2px solid var(--wc-border);
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
}

.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  color: var(--color-text, #4a4a5e);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.woocommerce-tabs ul.tabs li a:hover {
  color: var(--wc-primary);
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--wc-primary);
  border-bottom-color: var(--wc-primary);
}

.woocommerce-tabs .panel {
  padding: 30px 0;
}

.woocommerce-tabs .panel h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 24px;
  color: var(--color-heading, #1a1a2e);
  margin-bottom: 20px;
}

/* ==========================================================
   REVIEWS (Yorumlar)
   ========================================================== */

#reviews {
  padding: 0;
}

#reviews .commentlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

#reviews .commentlist li.review {
  padding: 24px 0;
  border-bottom: 1px solid var(--wc-border);
}

#reviews .commentlist li.review:last-child {
  border-bottom: none;
}

#reviews .comment_container {
  display: flex;
  gap: 20px;
}

#reviews .comment_container .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

#reviews .comment-text {
  flex: 1;
}

#reviews .comment-text .meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

#reviews .comment-text .meta strong {
  font-size: 15px;
  color: var(--color-heading, #1a1a2e);
}

#reviews .comment-text .meta time {
  font-size: 12px;
  color: #999;
}

#reviews .comment-text .meta .verified {
  font-size: 11px;
  color: var(--wc-success);
  font-weight: 600;
}

#reviews .comment-text .description p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text, #4a4a5e);
  margin: 0;
}

/* Yorum formu */
#review_form .comment-reply-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 22px;
  color: var(--color-heading, #1a1a2e);
  margin-bottom: 20px;
}

#review_form .comment-form-rating {
  margin-bottom: 16px;
}

#review_form .comment-form-rating label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-heading, #1a1a2e);
}

#review_form .stars a {
  font-size: 24px;
  color: #ddd;
  text-decoration: none;
  transition: color 0.2s;
}

#review_form .stars a:hover,
#review_form .stars a.active {
  color: var(--wc-star);
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
  width: 100%;
  border: 2px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  color: var(--color-text, #4a4a5e);
  transition: border-color 0.3s;
}

#review_form input:focus,
#review_form textarea:focus {
  border-color: var(--wc-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

#review_form textarea {
  min-height: 120px;
  resize: vertical;
}

#review_form .form-submit input[type="submit"] {
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--wc-transition);
}

#review_form .form-submit input[type="submit"]:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
}

/* ==========================================================
   CART SAYFASI
   ========================================================== */

.woocommerce-cart-form {
  margin-bottom: 40px;
}

.woocommerce-cart-form table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--wc-radius);
  overflow: hidden;
  box-shadow: var(--wc-shadow);
}

.woocommerce-cart-form table.shop_table thead th {
  background: var(--wc-bg-light);
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-heading, #1a1a2e);
  text-align: left;
  border-bottom: 2px solid var(--wc-border);
}

.woocommerce-cart-form table.shop_table td {
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f5f5f5;
}

.woocommerce-cart-form table.shop_table tr:last-child td {
  border-bottom: none;
}

/* Urun görseli */
.woocommerce-cart-form .product-thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--wc-radius-sm);
}

/* Urun adi */
.woocommerce-cart-form .product-name a {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  text-decoration: none;
  font-size: 15px;
}

.woocommerce-cart-form .product-name a:hover {
  color: var(--wc-primary);
}

/* Urun varyasyonlari */
.woocommerce-cart-form .product-name .variation {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* Quantity */
.woocommerce-cart-form .product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--wc-border);
  border-radius: 30px;
}

/* Silme butonu */
.woocommerce-cart-form .product-remove a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fcf0f1;
  color: var(--wc-danger);
  text-decoration: none;
  font-size: 18px;
  transition: all 0.2s;
}

.woocommerce-cart-form .product-remove a:hover {
  background: var(--wc-danger);
  color: #fff;
}

/* Kupon formu */
.woocommerce-cart-form .coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.woocommerce-cart-form .coupon input[type="text"] {
  border: 2px solid var(--wc-border);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  width: 200px;
  transition: border-color 0.3s;
}

.woocommerce-cart-form .coupon input[type="text"]:focus {
  border-color: var(--wc-primary);
  outline: none;
}

.woocommerce-cart-form .coupon .button {
  background: var(--wc-secondary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--wc-transition);
}

.woocommerce-cart-form .coupon .button:hover {
  background: var(--wc-primary);
}

/* Sepeti güncelle butonu */
.woocommerce-cart-form button[name="update_cart"] {
  background: transparent;
  color: var(--wc-primary);
  border: 2px solid var(--wc-primary);
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--wc-transition);
}

.woocommerce-cart-form button[name="update_cart"]:hover {
  background: var(--wc-primary);
  color: #fff;
}

/* Sepet toplamlari */
.cart_totals {
  background: #fff;
  border-radius: var(--wc-radius);
  padding: 30px;
  box-shadow: var(--wc-shadow);
}

.cart_totals h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 22px;
  color: var(--color-heading, #1a1a2e);
  margin-bottom: 20px;
}

.cart_totals table {
  width: 100%;
}

.cart_totals table th {
  text-align: left;
  padding: 14px 0;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  border-bottom: 1px solid #f5f5f5;
}

.cart_totals table td {
  text-align: right;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 20px;
  color: var(--wc-primary);
  font-weight: 700;
  border-bottom: none;
  padding-top: 20px;
}

.cart_totals .wc-proceed-to-checkout .checkout-button {
  display: block;
  width: 100%;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--wc-transition);
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* ==========================================================
   CHECKOUT SAYFASI
   ========================================================== */
/* Old checkout styles removed - see enhanced section below */

.woocommerce-checkout-payment li.wc_payment_method:has(input:checked),
.woocommerce-checkout-payment li.wc_payment_method.active {
  border-color: var(--wc-primary);
  background: rgba(184, 134, 11, 0.03);
}

.woocommerce-checkout-payment li.wc_payment_method label {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.woocommerce-checkout-payment .payment_box {
  padding: 12px 0 0;
  font-size: 13px;
  color: var(--color-text, #4a4a5e);
}

/* Siparis ver butonu */
#place_order {
  width: 100%;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 20px;
  transition: all var(--wc-transition);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

#place_order:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* ==========================================================
   MY ACCOUNT SAYFASI
   ========================================================== */

.woocommerce-MyAccount-navigation {
  background: #fff;
  border-radius: var(--wc-radius);
  box-shadow: var(--wc-shadow);
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #f5f5f5;
}

.woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--color-text, #4a4a5e);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--wc-bg-light);
  color: var(--wc-primary);
  border-left-color: var(--wc-primary);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  background: rgba(184, 134, 11, 0.05);
  color: var(--wc-primary);
  font-weight: 700;
  border-left-color: var(--wc-primary);
}

/* Hesabım içerik */
.woocommerce-MyAccount-content {
  background: #fff;
  border-radius: var(--wc-radius);
  padding: 30px;
  box-shadow: var(--wc-shadow);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  color: var(--color-heading, #1a1a2e);
}

/* Siparis tablosu */
.woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-MyAccount-content table.shop_table thead th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-heading, #1a1a2e);
  background: var(--wc-bg-light);
  text-align: left;
}

.woocommerce-MyAccount-content table.shop_table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.woocommerce-MyAccount-content table.shop_table .button {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 20px;
  background: var(--wc-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.woocommerce-MyAccount-content table.shop_table .button:hover {
  opacity: 0.85;
}

/* Adres kartlari */
.woocommerce-Addresses .woocommerce-Address {
  background: var(--wc-bg-light);
  border-radius: var(--wc-radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}

.woocommerce-Addresses .woocommerce-Address address {
  font-style: normal;
  line-height: 1.8;
  color: var(--color-text, #4a4a5e);
}

/* ==========================================================
   WISHLIST (Istek Listesi)
   ========================================================== */

.bellezza-wishlist-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--wc-radius);
  overflow: hidden;
  box-shadow: var(--wc-shadow);
}

.bellezza-wishlist-table thead th {
  background: var(--wc-bg-light);
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-heading, #1a1a2e);
  text-align: left;
}

.bellezza-wishlist-table td {
  padding: 16px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f5f5f5;
}

.bellezza-wishlist-table .product-thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--wc-radius-sm);
}

.bellezza-wishlist-table .product-name a {
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  text-decoration: none;
}

.bellezza-wishlist-table .add-to-cart-btn {
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--wc-transition);
}

.bellezza-wishlist-table .remove-from-wishlist {
  color: var(--wc-danger);
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.2s;
}

.bellezza-wishlist-table .remove-from-wishlist:hover {
  transform: scale(1.2);
}

/* Wishlist butonu (urun kartinda) */
.wishlist-btn,
.add-to-wishlist {
  cursor: pointer;
  transition: color 0.2s;
}

.wishlist-btn.active,
.add-to-wishlist.active {
  color: var(--wc-danger);
}

/* ==========================================================
   COMPARE (Karsilastirma)
   ========================================================== */

.bellezza-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--wc-radius);
  overflow: hidden;
  box-shadow: var(--wc-shadow);
}

.bellezza-compare-table th {
  background: var(--wc-bg-light);
  padding: 14px 20px;
  font-weight: 600;
  text-align: left;
  width: 160px;
  vertical-align: top;
  border-right: 1px solid #f0f0f0;
}

.bellezza-compare-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
}

.bellezza-compare-table td:last-child {
  border-right: none;
}

.bellezza-compare-table .compare-product-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--wc-radius-sm);
}

.bellezza-compare-table .compare-product-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
}

.bellezza-compare-table .remove-compare {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--wc-danger);
  cursor: pointer;
}

/* ==========================================================
   QUICK VIEW MODAL
   ========================================================== */

.bellezza-quick-view-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.bellezza-quick-view-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bellezza-quick-view-modal {
  background: #fff;
  border-radius: var(--wc-radius);
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.bellezza-quick-view-overlay.active .bellezza-quick-view-modal {
  transform: scale(1) translateY(0);
}

.bellezza-quick-view-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bellezza-quick-view-close:hover {
  transform: rotate(90deg);
}

.bellezza-quick-view-image {
  overflow: hidden;
  border-radius: var(--wc-radius) 0 0 var(--wc-radius);
}

.bellezza-quick-view-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bellezza-quick-view-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.bellezza-quick-view-info .product_title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 24px;
  margin-bottom: 10px;
}

.bellezza-quick-view-info .price {
  padding: 0;
  margin-bottom: 16px;
}

.bellezza-quick-view-info .short-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text, #4a4a5e);
  margin-bottom: 20px;
}

.bellezza-quick-view-info .view-full-product {
  display: inline-block;
  margin-top: auto;
  font-size: 13px;
  color: var(--wc-primary);
  font-weight: 600;
  text-decoration: none;
}

.bellezza-quick-view-info .view-full-product:hover {
  text-decoration: underline;
}

/* ==========================================================
   SALE COUNTDOWN TIMER
   ========================================================== */

.sale-countdown {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  justify-content: center;
}

.sale-countdown__item {
  background: linear-gradient(135deg, var(--wc-primary), var(--wc-secondary));
  color: #fff;
  border-radius: var(--wc-radius-sm);
  padding: 10px 14px;
  text-align: center;
  min-width: 60px;
}

.sale-countdown__number {
  display: block;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-heading, 'Playfair Display', serif);
  line-height: 1;
}

.sale-countdown__label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-top: 4px;
}

/* Kucuk countdown (urun kartinda) */
.sale-countdown--small {
  gap: 4px;
  margin: 8px 16px;
}

.sale-countdown--small .sale-countdown__item {
  padding: 6px 8px;
  min-width: 40px;
}

.sale-countdown--small .sale-countdown__number {
  font-size: 14px;
}

.sale-countdown--small .sale-countdown__label {
  font-size: 8px;
}

/* ==========================================================
   LOADING STATE
   ========================================================== */

.products-grid.loading,
ul.products.loading {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.products-grid.loading::after,
ul.products.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid var(--wc-border);
  border-top-color: var(--wc-primary);
  border-radius: 50%;
  animation: wc-spin 0.8s linear infinite;
}

@keyframes wc-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================
   WOOCOMMERCE NOTICES
   ========================================================== */

.woocommerce-message,
.woocommerce-info {
  background: #d6f4d6;
  border: 1px solid #b8e6b8;
  border-radius: var(--wc-radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #0a6d0a;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-info {
  background: #e3f2fd;
  border-color: #bbdefb;
  color: #0d47a1;
}

.woocommerce-error {
  background: #fcf0f1;
  border: 1px solid #f0c1c2;
  border-radius: var(--wc-radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  color: #b32d2e;
  font-size: 14px;
  list-style: none;
}

.woocommerce-message .button,
.woocommerce-info .button {
  margin-left: auto;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

/* ==========================================================
   BOS SEPET
   ========================================================== */

.cart-empty,
.woocommerce-info.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--wc-bg-light);
  border-radius: var(--wc-radius);
}

.cart-empty::before {
  content: '\1F6D2';
  display: block;
  font-size: 60px;
  margin-bottom: 16px;
}

.return-to-shop .button {
  display: inline-block;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: all var(--wc-transition);
}

.return-to-shop .button:hover {
  background: var(--color-primary-hover, #a67a0a);
  transform: translateY(-2px);
}

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

@media (max-width: 1024px) {
  ul.products.columns-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .single-product .product {
    gap: 30px;
  }

  .col2-set {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  ul.products li.product img {
    height: 200px;
  }

  .single-product .product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .single-product .woocommerce-product-gallery {
    position: static;
  }

  .single-product .product_title {
    font-size: 24px;
  }

  .col2-set {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bellezza-quick-view-modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
  }

  .bellezza-quick-view-image {
    border-radius: var(--wc-radius) var(--wc-radius) 0 0;
    max-height: 250px;
  }

  /* Cart tablosu responsive */
  .woocommerce-cart-form table.shop_table thead {
    display: none;
  }

  .woocommerce-cart-form table.shop_table tr {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .woocommerce-cart-form table.shop_table td {
    padding: 4px 0;
    border-bottom: none;
  }

  .woocommerce-cart-form .product-thumbnail {
    grid-row: 1 / 4;
  }

  .woocommerce-cart-form .coupon {
    flex-wrap: wrap;
  }

  .woocommerce-cart-form .coupon input[type="text"] {
    width: 100%;
  }

  /* My Account responsive duzeni */
  .woocommerce-MyAccount-navigation {
    margin-bottom: 20px;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-MyAccount-navigation ul li {
    border-bottom: none;
    white-space: nowrap;
  }

  .woocommerce-MyAccount-navigation ul li a {
    padding: 10px 16px;
    border-left: none;
    border-bottom: 3px solid transparent;
    font-size: 13px;
  }

  .woocommerce-MyAccount-navigation ul li.is-active a {
    border-left: none;
    border-bottom-color: var(--wc-primary);
  }

  /* Compare table responsive */
  .bellezza-compare-table {
    display: block;
    overflow-x: auto;
  }

  /* Wishlist responsive */
  .bellezza-wishlist-table thead {
    display: none;
  }

  .bellezza-wishlist-table tr {
    display: flex;
    flex-wrap: wrap;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    align-items: center;
  }

  .bellezza-wishlist-table td {
    padding: 0;
    border: none;
  }
}

@media (max-width: 480px) {
  ul.products {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: 1fr;
  }

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

  .single-product form.cart .quantity {
    justify-content: center;
  }

  .sale-countdown {
    gap: 4px;
  }

  .sale-countdown__item {
    padding: 8px 10px;
    min-width: 50px;
  }

  .sale-countdown__number {
    font-size: 18px;
  }
}

/* ==========================================================
   SUNA DUMANKAYA - ÇOK SATAN BADGE
   ========================================================== */

.badge-bestseller {
  background: #C9A96E;
  color: #fff;
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(201, 169, 110, 0.35);
  line-height: 1;
}

.badge-bestseller::before {
  content: '\2605 ';
}

/* ==========================================================
   SUNA DUMANKAYA - MARKA UYUMU (SIYAH-BEYAZ-ALTIN GECIS)
   ========================================================== */

ul.products li.product .woocommerce-loop-product__title {
  color: #1a1a1a;
  font-family: var(--font-heading, 'Playfair Display', serif);
}

ul.products li.product {
  border: 1px solid rgba(201, 169, 110, 0.15);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

ul.products li.product:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.15);
}

ul.products li.product .button,
ul.products li.product .add_to_cart_button {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}

ul.products li.product .button:hover,
ul.products li.product .add_to_cart_button:hover {
  background: linear-gradient(135deg, #C9A96E 0%, #b8963e 100%);
  color: #fff;
}

/* Siyah-Beyaz-Altin gradient ayirici */
.woocommerce-products-header::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #1a1a1a, #C9A96E, #fff, #C9A96E, #1a1a1a);
  margin: 20px 0 30px;
  border-radius: 2px;
}

/* ==========================================================
   SUNA DUMANKAYA - URUN FIYAT STILI
   ========================================================== */

ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-weight: 700;
  color: #1a1a1a;
  font-size: 18px;
}

ul.products li.product .price .woocommerce-Price-currencySymbol,
.woocommerce div.product p.price .woocommerce-Price-currencySymbol,
.woocommerce div.product span.price .woocommerce-Price-currencySymbol {
  font-size: 1.2em;
  font-weight: 800;
  color: #C9A96E;
  margin-right: 2px;
}

ul.products li.product .price del {
  color: #999;
  font-size: 0.85em;
  font-weight: 400;
}

ul.products li.product .price del .woocommerce-Price-currencySymbol {
  color: #999;
  font-weight: 400;
}

ul.products li.product .price ins {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
}

ul.products li.product .price ins .woocommerce-Price-currencySymbol {
  color: #C9A96E;
  font-weight: 800;
}

/* ==========================================================
   MAGAZA SAYFA BANNER
   ========================================================== */

.shop-page-banner {
  position: relative;
  overflow: hidden;
  /* Pull banner up behind the fixed header so background is full-bleed */
  margin-top: calc(-1 * (var(--topbar-height, 32px) + var(--header-height, 70px)));
}

.shop-banner-bg {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background-color: var(--color-secondary, #1A1A1A);
  background-size: cover;
  background-position: center;
}

.shop-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.6) 100%);
  z-index: 1;
}

.shop-banner-content {
  position: relative;
  z-index: 2;
  /* Top padding = header space so title sits below the fixed header */
  padding: calc(var(--topbar-height, 32px) + var(--header-height, 70px) + 50px) 0 60px;
  text-align: center;
}

.shop-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 15px;
  letter-spacing: 0.02em;
}

.shop-breadcrumb,
.shop-banner-content .woocommerce-breadcrumb {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
}

.shop-breadcrumb a,
.shop-banner-content .woocommerce-breadcrumb a {
  color: var(--wc-primary);
  text-decoration: none;
  transition: color var(--wc-transition);
}

.shop-breadcrumb a:hover,
.shop-banner-content .woocommerce-breadcrumb a:hover {
  color: #fff;
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ==========================================================
   MAGAZA ICERIK LAYOUT
   ========================================================== */

.shop-content-section {
  padding: 50px 0 80px;
  background: #fff;
}

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

/* ==========================================================
   MAGAZA SIDEBAR
   ========================================================== */

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

.shop-sidebar-inner {
  background: var(--wc-bg-light);
  border-radius: var(--wc-radius);
  padding: 30px 25px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--wc-border);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary, #1A1A1A);
  margin: 0;
}

.shop-sidebar-close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  transition: color var(--wc-transition);
}

.shop-sidebar-close:hover {
  color: var(--color-secondary);
}

.shop-sidebar .widget,
.shop-sidebar .widget-filter {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wc-border);
}

.shop-sidebar .widget:last-child,
.shop-sidebar .widget-filter:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.shop-sidebar .widget-title,
.shop-sidebar h4.widget-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary, #1A1A1A);
  margin: 0 0 15px;
}

.shop-sidebar .product-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-sidebar .product-categories li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-sidebar .product-categories li a {
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--wc-transition);
}

/* Keep category count on same line as category name */
.shop-sidebar .product-categories li .count {
  font-size: 0.8rem;
  color: #999;
  margin-left: 4px;
  white-space: nowrap;
}

.shop-sidebar .product-categories li a:hover,
.shop-sidebar .product-categories li.current-cat a {
  color: var(--wc-primary);
}

.sidebar-footer {
  margin-top: 20px;
  display: none;
}

.shop-sidebar-overlay {
  display: none;
}

/* ==========================================================
   MAGAZA UST TOOLBAR
   ========================================================== */

.shop-mobile-bar {
  display: none;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wc-border);
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.results-count,
.results-count .woocommerce-result-count {
  color: #777;
  font-size: 0.9rem;
  margin: 0;
}

.shop-sorting-desktop .woocommerce-ordering select,
.shop-sorting-mobile .woocommerce-ordering select {
  background: var(--wc-bg-light);
  border: 1px solid var(--wc-border);
  border-radius: var(--wc-radius-sm);
  padding: 8px 35px 8px 14px;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--wc-transition);
}

.shop-sorting-desktop .woocommerce-ordering select:focus,
.shop-sorting-mobile .woocommerce-ordering select:focus {
  border-color: var(--wc-primary);
  outline: none;
}

/* Görünüm değiştirici */
.view-toggle {
  display: flex;
  gap: 4px;
  background: var(--wc-bg-light);
  border-radius: var(--wc-radius-sm);
  padding: 4px;
}

.view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #999;
  cursor: pointer;
  transition: all var(--wc-transition);
}

.view-btn:hover {
  color: #666;
}

.view-btn.active {
  background: #fff;
  color: var(--wc-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.filter-sidebar-toggle {
  display: none;
}

/* ==========================================================
   MAGAZA URUN ALANI - BELLEZZA URUN KARTLARI
   ========================================================== */

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

.shop-products-area ul.products li.bellezza-product-card {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-card-inner {
  background: #fff;
  border-radius: var(--wc-radius);
  overflow: hidden;
  border: 1px solid var(--wc-border);
  transition: all var(--wc-transition);
}

.product-card-inner:hover {
  box-shadow: var(--wc-shadow-hover);
  border-color: transparent;
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--wc-bg-light);
}

.product-card-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-image img,
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-inner:hover .product-card-image img,
.product-card-inner:hover .primary-image {
  transform: scale(1.06);
}

.product-card-image .secondary-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-card-inner:hover .secondary-image {
  opacity: 1;
}

/* Urun rozetleri */
.product-card-image .bellezza-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.product-card-image .sale-badge {
  background: var(--wc-sale);
  color: #fff;
}

.product-card-image .new-badge {
  background: var(--wc-new);
  color: #fff;
  top: 12px;
  left: auto;
  right: 12px;
}

.product-card-image .out-of-stock-badge {
  background: #666;
  color: #fff;
}

/* Hızlı islem butonlari */
.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 4;
}

.product-card-inner:hover .product-card-actions {
  transform: translateY(0);
  opacity: 1;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-secondary, #1A1A1A);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--wc-transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.action-btn:hover {
  background: var(--wc-primary);
  color: #fff;
  transform: scale(1.1);
}

.action-btn svg {
  width: 18px;
  height: 18px;
}

/* Urun bilgileri */
.product-card-info {
  padding: 18px 20px 22px;
}

.product-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wc-primary);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color var(--wc-transition);
}

.product-card-category:hover {
  color: var(--color-secondary);
}

.product-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 8px;
}

.product-card-title a {
  color: var(--color-secondary, #1A1A1A);
  text-decoration: none;
  transition: color var(--wc-transition);
}

.product-card-title a:hover {
  color: var(--wc-primary);
}

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

.product-card-rating .star-rating {
  font-size: 0.8rem;
}

.rating-count {
  font-size: 0.8rem;
  color: #999;
}

.product-card-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-secondary, #1A1A1A);
}

.product-card-price .woocommerce-Price-currencySymbol {
  color: var(--wc-primary);
  font-weight: 700;
}

.product-card-price del {
  color: #999;
  font-size: 0.85em;
  font-weight: 400;
  margin-right: 6px;
}

.product-card-price ins {
  text-decoration: none;
}

/* ==========================================================
   MAGAZA SAYFALAMA
   ========================================================== */

.shop-pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.shop-pagination .woocommerce-pagination {
  text-align: center;
}

.shop-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-pagination .page-numbers li a,
.shop-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--wc-radius-sm);
  border: 1px solid var(--wc-border);
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--wc-transition);
}

.shop-pagination .page-numbers li a:hover {
  border-color: var(--wc-primary);
  color: var(--wc-primary);
}

.shop-pagination .page-numbers li span.current {
  background: var(--wc-primary);
  border-color: var(--wc-primary);
  color: #fff;
}

/* ==========================================================
   URUN BULUNAMADI
   ========================================================== */

.no-products-found {
  text-align: center;
  padding: 80px 30px;
  color: #777;
}

.no-products-icon {
  margin-bottom: 25px;
  color: #ccc;
}

.no-products-found h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin: 0 0 12px;
}

.no-products-found p {
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.no-products-found .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--wc-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--wc-radius-sm);
  font-weight: 500;
  transition: all var(--wc-transition);
}

.no-products-found .btn-primary:hover {
  background: var(--color-secondary);
}

/* ==========================================================
   AKTIF FILTRELER
   ========================================================== */

.active-filters .widget_layered_nav_filters ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filters .widget_layered_nav_filters ul li a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--wc-bg-light);
  border: 1px solid var(--wc-border);
  border-radius: 20px;
  color: #555;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all var(--wc-transition);
}

.active-filters .widget_layered_nav_filters ul li a:hover {
  border-color: var(--wc-sale);
  color: var(--wc-sale);
}

/* ==========================================================
   LISTE GORUNUM
   ========================================================== */

.view-list ul.products {
  grid-template-columns: 1fr;
}

.view-list .product-card-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.view-list .product-card-image {
  aspect-ratio: 3/4;
}

.view-list .product-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 30px;
}

.view-list .product-card-title {
  font-size: 1.15rem;
}

/* ==========================================================
   WOOCOMMERCE FIYAT FILTRESI WIDGET
   ========================================================== */

.shop-sidebar .widget_price_filter .price_slider_wrapper {
  padding: 5px 0;
}

.shop-sidebar .widget_price_filter .ui-slider {
  position: relative;
  height: 6px;
  background: var(--wc-border);
  border-radius: 3px;
  margin: 15px 0;
}

.shop-sidebar .widget_price_filter .ui-slider .ui-slider-range {
  position: absolute;
  height: 100%;
  background: var(--wc-primary);
  border-radius: 3px;
}

.shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid var(--wc-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  outline: none;
  transition: box-shadow var(--wc-transition);
}

.shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle:hover,
.shop-sidebar .widget_price_filter .ui-slider .ui-slider-handle:focus {
  box-shadow: 0 0 0 4px rgba(201,169,110,0.2);
}

.shop-sidebar .widget_price_filter .price_label {
  font-size: 0.85rem;
  color: #555;
  margin-top: 8px;
}

.shop-sidebar .widget_price_filter .button {
  display: inline-block;
  padding: 8px 20px;
  background: var(--wc-primary);
  color: #fff;
  border: none;
  border-radius: var(--wc-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
  transition: background var(--wc-transition);
}

.shop-sidebar .widget_price_filter .button:hover {
  background: var(--color-secondary);
}

/* ==========================================================
   WOOCOMMERCE URUN KATEGORILERI WIDGET
   ========================================================== */

.shop-sidebar .woocommerce-widget-layered-nav-list,
.shop-sidebar .widget_product_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shop-sidebar .woocommerce-widget-layered-nav-list li,
.shop-sidebar .widget_product_categories ul li {
  margin-bottom: 6px;
}

.shop-sidebar .woocommerce-widget-layered-nav-list li a,
.shop-sidebar .widget_product_categories ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--wc-transition);
}

.shop-sidebar .woocommerce-widget-layered-nav-list li a:hover,
.shop-sidebar .widget_product_categories ul li.current-cat a,
.shop-sidebar .woocommerce-widget-layered-nav-list li.chosen a {
  color: var(--wc-primary);
}

.shop-sidebar .woocommerce-widget-layered-nav-list li .count,
.shop-sidebar .widget_product_categories ul li .count {
  font-size: 0.8rem;
  color: #999;
}

/* ==========================================================
   RESPONSIVE - MAGAZA SAYFASI
   ========================================================== */

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

  .shop-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    z-index: 9999;
    background: #fff;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  .shop-sidebar.active {
    left: 0;
  }

  .shop-sidebar-inner {
    border-radius: 0;
    min-height: 100vh;
    padding: 25px 20px;
  }

  .shop-sidebar-close {
    display: flex;
  }

  .shop-sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .shop-sidebar.active .shop-sidebar-overlay {
    opacity: 1;
    visibility: visible;
  }

  .sidebar-footer {
    display: block;
  }

  .sidebar-footer .btn-primary {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--wc-primary);
    color: #fff;
    border: none;
    border-radius: var(--wc-radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background var(--wc-transition);
  }

  .sidebar-footer .btn-primary:hover {
    background: var(--color-secondary);
  }

  .shop-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--wc-border);
  }

  .filter-sidebar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--wc-bg-light);
    border: 1px solid var(--wc-border);
    border-radius: var(--wc-radius-sm);
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--wc-transition);
  }

  .filter-sidebar-toggle:hover {
    border-color: var(--wc-primary);
    color: var(--wc-primary);
  }

  .shop-toolbar .filter-sidebar-toggle {
    display: none;
  }

  .shop-products-area ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .shop-banner-title {
    font-size: 2rem;
  }

  .shop-banner-content {
    padding: calc(var(--topbar-height, 32px) + var(--header-height, 70px) + 30px) 0 40px;
  }

  .shop-banner-bg {
    min-height: 200px;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .shop-toolbar-left,
  .shop-toolbar-right {
    justify-content: space-between;
  }

  .view-list .product-card-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .shop-products-area ul.products {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .shop-banner-title {
    font-size: 1.6rem;
  }

  .product-card-info {
    padding: 14px 16px 18px;
  }

  .product-card-title {
    font-size: 0.9rem;
  }
}

/* ==========================================================
   BELLEZZA CART WRAPPER - CUSTOM CART TEMPLATE STYLES
   ========================================================== */

/* Cart page header with step indicator */
.bellezza-cart-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-page-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Hide duplicate title since page-hero already shows it */
.cart-page-header .cart-page-title {
  display: none;
}

/* Cart step indicator */
.cart-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.cart-step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-step .step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wc-bg-light, #f9f9f9);
  border: 2px solid var(--wc-border, #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #999;
  transition: all 0.3s ease;
}

.cart-step.active .step-number {
  background: var(--wc-primary, #C9A96E);
  border-color: var(--wc-primary, #C9A96E);
  color: #fff;
}

.cart-step .step-label {
  font-size: 14px;
  font-weight: 600;
  color: #999;
  font-family: var(--font-body, 'Montserrat', sans-serif);
}

.cart-step.active .step-label {
  color: var(--color-heading, #1a1a2e);
}

.cart-step-line {
  width: 60px;
  height: 2px;
  background: var(--wc-border, #e8e8e8);
  margin: 0 12px;
  flex-shrink: 0;
}

/* Cart two-column layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* Cart items section */
.cart-items-section {
  background: #fff;
  border-radius: var(--wc-radius, 12px);
  box-shadow: var(--wc-shadow, 0 4px 20px rgba(0, 0, 0, 0.06));
  overflow: hidden;
}

/* Cart table header row */
.cart-table-header {
  display: grid;
  grid-template-columns: 1fr 120px 130px 120px 50px;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  background: var(--wc-bg-light, #f9f9f9);
  border-bottom: 2px solid var(--wc-border, #e8e8e8);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-heading, #1a1a2e);
}

/* Individual cart item row */
.cart-item {
  display: grid;
  grid-template-columns: 1fr 120px 130px 120px 50px;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s ease;
}

.cart-item:last-of-type {
  border-bottom: none;
}

.cart-item:hover {
  background: rgba(249, 249, 249, 0.5);
}

/* Product column: image + details */
.cart-item .cart-col-product {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.cart-item .cart-item-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--wc-radius-sm, 8px);
  overflow: hidden;
}

.cart-item .cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item .cart-item-image a {
  display: block;
}

.cart-item-details {
  min-width: 0;
}

.cart-item-name {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  margin: 0 0 4px;
  line-height: 1.4;
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-item-name a:hover {
  color: var(--wc-primary, #C9A96E);
}

/* Mobile price (hidden on desktop) */
.cart-item-price-mobile {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-primary, #C9A96E);
  margin-top: 4px;
}

/* Price column */
.cart-item .cart-col-price {
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  font-size: 15px;
}

/* Quantity column */
.cart-item .cart-col-quantity .quantity,
.cart-item .cart-col-quantity .bellezza-quantity {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--wc-border, #e8e8e8);
  border-radius: 30px;
  overflow: hidden;
}

.cart-item .cart-col-quantity .quantity input.qty {
  width: 48px;
  text-align: center;
  border: none;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  -moz-appearance: textfield;
}

.cart-item .cart-col-quantity .quantity input.qty::-webkit-outer-spin-button,
.cart-item .cart-col-quantity .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Subtotal column */
.cart-item .cart-col-subtotal {
  font-weight: 700;
  color: var(--wc-primary, #C9A96E);
  font-size: 16px;
}

/* Remove button column */
.cart-item .cart-col-remove {
  text-align: center;
}

.cart-remove-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fcf0f1;
  color: var(--wc-danger, #dc3545);
  text-decoration: none;
  transition: all 0.2s;
}

.cart-remove-btn:hover {
  background: var(--wc-danger, #dc3545);
  color: #fff;
  transform: scale(1.1);
}

/* Cart actions bar (coupon + update) */
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--wc-bg-light, #f9f9f9);
  border-top: 1px solid #f0f0f0;
  gap: 16px;
  flex-wrap: wrap;
}

.cart-coupon {
  flex: 1;
  min-width: 0;
}

.bellezza-coupon {
  display: flex;
  gap: 10px;
  align-items: center;
}

.bellezza-coupon input.input-text {
  border: 2px solid var(--wc-border, #e8e8e8);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 14px;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  width: 200px;
  max-width: 100%;
  transition: border-color 0.3s;
  outline: none;
}

.bellezza-coupon input.input-text:focus {
  border-color: var(--wc-primary, #C9A96E);
}

.bellezza-coupon .btn.btn-outline {
  background: transparent;
  color: var(--wc-primary, #C9A96E);
  border: 2px solid var(--wc-primary, #C9A96E);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.bellezza-coupon .btn.btn-outline:hover {
  background: var(--wc-primary, #C9A96E);
  color: #fff;
}

.cart-actions .btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--wc-primary, #C9A96E);
  border: 2px solid var(--wc-primary, #C9A96E);
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: var(--font-body, 'Montserrat', sans-serif);
}

.cart-actions .btn.btn-secondary:hover {
  background: var(--wc-primary, #C9A96E);
  color: #fff;
}

/* Cart totals sidebar */
.cart-totals-section {
  position: sticky;
  top: 120px;
}

.cart-totals-card {
  background: #fff;
  border-radius: var(--wc-radius, 12px);
  padding: 30px;
  box-shadow: var(--wc-shadow, 0 4px 20px rgba(0, 0, 0, 0.06));
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.cart-totals-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--wc-border, #e8e8e8);
}

.cart-totals-card table.shop_table {
  width: 100%;
  border-collapse: collapse;
}

.cart-totals-card table.shop_table th {
  text-align: left;
  padding: 14px 0;
  font-weight: 600;
  color: var(--color-heading, #1a1a2e);
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.cart-totals-card table.shop_table td {
  text-align: right;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  color: var(--color-text, #4a4a5e);
}

.cart-totals-card .order-total th,
.cart-totals-card .order-total td {
  font-size: 20px;
  color: var(--wc-primary, #C9A96E);
  font-weight: 700;
  border-bottom: none;
  padding-top: 20px;
}

/* Proceed to checkout button */
.cart-checkout-btn {
  margin-top: 24px;
}

.cart-checkout-btn .checkout-button,
.cart-checkout-btn .wc-proceed-to-checkout .checkout-button,
.cart-checkout-btn a.checkout-button {
  display: block;
  width: 100%;
  background: var(--wc-primary, #C9A96E);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
  box-sizing: border-box;
}

.cart-checkout-btn .checkout-button:hover,
.cart-checkout-btn .wc-proceed-to-checkout .checkout-button:hover,
.cart-checkout-btn a.checkout-button:hover {
  background: #b8963e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

/* Secure info badge */
.cart-secure-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: var(--wc-bg-light, #f9f9f9);
  border-radius: var(--wc-radius-sm, 8px);
  font-size: 12px;
  color: #666;
}

.cart-secure-info svg {
  color: var(--wc-success, #28a745);
  flex-shrink: 0;
}

/* Hide WooCommerce default cart_totals inside bellezza wrapper to prevent duplicates */
.bellezza-cart-wrapper > .cart-collaterals .cart_totals {
  display: none;
}

/* ==========================================================
   EMPTY CART MESSAGE (CUSTOM)
   ========================================================== */

.empty-cart-message {
  text-align: center;
  padding: 80px 20px 60px;
  background: #fff;
  border-radius: var(--wc-radius, 12px);
  box-shadow: var(--wc-shadow, 0 4px 20px rgba(0, 0, 0, 0.06));
  max-width: 500px;
  margin: 0 auto 30px;
}

.empty-cart-message i {
  font-size: 64px;
  color: var(--wc-border, #e8e8e8);
  margin-bottom: 20px;
  display: block;
}

.empty-cart-message h2 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-heading, #1a1a2e);
  margin: 0 0 12px;
}

.empty-cart-message p {
  font-size: 15px;
  color: var(--color-text, #4a4a5e);
  margin: 0 0 24px;
  line-height: 1.6;
}

.empty-cart-message .btn.btn-primary,
.empty-cart-message a.btn {
  display: inline-block;
  background: var(--wc-primary, #C9A96E);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

.empty-cart-message .btn.btn-primary:hover,
.empty-cart-message a.btn:hover {
  background: #b8963e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

/* Hide WC default return to shop when custom empty message exists */
.empty-cart-message + .return-to-shop {
  display: none;
}

/* ==========================================================
   CHECKOUT PAGE - COMPLETE REWRITE
   ========================================================== */

/* ── Two-column layout: billing left, order review right ── */
.woocommerce-checkout form.checkout {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  max-width: 100% !important;
}

/* Full-width elements inside flex */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout wc-order-attribution-inputs {
  flex: 0 0 100% !important;
  width: 100% !important;
}

/* Hide standalone order_review heading (we add via ::before) */
.woocommerce-checkout h3#order_review_heading {
  display: none !important;
}

/* ── Left column: billing + additional info ── */
.woocommerce-checkout #customer_details {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  float: none !important;
  display: block !important;
}

/* Kill WooCommerce default col2-set floats completely */
.woocommerce-checkout #customer_details.col2-set::after,
.woocommerce-checkout #customer_details.col2-set::before {
  display: none !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  display: block !important;
  background: #fff;
  border-radius: 12px;
  padding: 28px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  margin-bottom: 24px;
  box-sizing: border-box !important;
}

.woocommerce-checkout #customer_details h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 22px;
  color: #1a1a2e;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8e8e8;
}

/* ── Right column: order review ── */
.woocommerce-checkout #order_review {
  flex: 0 0 380px !important;
  max-width: 380px !important;
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(201,169,110,0.15);
  position: sticky;
  top: 120px;
  align-self: flex-start;
}

.woocommerce-checkout #order_review::before {
  content: 'Siparişiniz';
  display: block;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 22px;
  color: #1a1a2e;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8e8e8;
}

/* ── CRITICAL: woocommerce-input-wrapper must be block+full-width ── */
.woocommerce-checkout .woocommerce-input-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ── Billing field wrapper ── */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: block !important;
  width: 100% !important;
}

/* ── Form fields ── */
.woocommerce-checkout .form-row {
  margin-bottom: 16px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .form-row label {
  display: block !important;
  font-weight: 600;
  font-size: 13px;
  color: #1a1a2e;
  margin-bottom: 6px;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: none;
  letter-spacing: 0;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  color: #4a4a5e;
  transition: border-color 0.3s;
  background: #fff;
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 48px;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: #C9A96E;
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}

/* Name fields: side by side */
.woocommerce-checkout .form-row-first {
  float: left !important;
  width: 48% !important;
  margin-right: 4% !important;
}
.woocommerce-checkout .form-row-last {
  float: right !important;
  width: 48% !important;
}
.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  clear: both !important;
  float: none !important;
}

/* Select2 full width */
.woocommerce-checkout .select2-container {
  width: 100% !important;
  max-width: 100% !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single {
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  height: 48px;
  padding: 8px 16px;
  font-size: 14px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 30px;
  color: #4a4a5e;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 12px;
}
.woocommerce-checkout .select2-container--default .select2-selection--single:focus,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #C9A96E;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}

/* ── Order review table ── */
#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
}
#order_review table.shop_table th,
#order_review table.shop_table td {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}
#order_review table.shop_table th { text-align: left; font-weight: 600; }
#order_review table.shop_table td { text-align: right; }
#order_review table.shop_table .order-total th,
#order_review table.shop_table .order-total td {
  font-size: 16px;
  font-weight: 700;
  color: #C9A96E;
  border-bottom: none;
  padding-top: 14px;
}

/* ── Payment methods ── */
.woocommerce-checkout-payment {
  margin-top: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
}
.woocommerce-checkout-payment ul.wc_payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.woocommerce-checkout-payment li.wc_payment_method {
  padding: 16px 20px;
  border: 2px solid var(--wc-border, #e8e8e8);
  border-radius: var(--wc-radius-sm, 8px);
  margin-bottom: 10px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.woocommerce-checkout-payment li.wc_payment_method:has(input:checked),
.woocommerce-checkout-payment li.wc_payment_method.active {
  border-color: var(--wc-primary, #C9A96E);
  background: rgba(201, 169, 110, 0.03);
}

.woocommerce-checkout-payment li.wc_payment_method label {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-heading, #1a1a2e);
}

.woocommerce-checkout-payment .payment_box {
  padding: 12px 0 0 28px;
  font-size: 13px;
  color: var(--color-text, #4a4a5e);
  line-height: 1.6;
}

/* Place order button enhanced */
#place_order {
  width: 100%;
  background: var(--wc-primary, #C9A96E);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 18px 40px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.3);
}

#place_order:hover {
  background: #b8963e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.4);
}

/* Checkout order table */
#order_review table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

#order_review table.shop_table thead th {
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-heading, #1a1a2e);
  border-bottom: 2px solid var(--wc-border, #e8e8e8);
}

#order_review table.shop_table thead th:last-child {
  text-align: right;
}

#order_review table.shop_table td {
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

#order_review table.shop_table td:last-child {
  text-align: right;
  font-weight: 600;
}

#order_review table.shop_table .order-total th,
#order_review table.shop_table .order-total td {
  font-size: 18px;
  font-weight: 700;
  color: var(--wc-primary, #C9A96E);
  border-bottom: none;
  padding-top: 16px;
}

/* WooCommerce notices on cart/checkout */
.woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 16px 24px;
  border-radius: var(--wc-radius-sm, 8px);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce-message {
  background: #f0f9f1;
  border-left: 4px solid var(--wc-success, #28a745);
  color: #155724;
}

.woocommerce-info {
  background: #f0f6ff;
  border-left: 4px solid var(--wc-info, #17a2b8);
  color: #0c5460;
}

.woocommerce-error {
  background: #fef2f2;
  border-left: 4px solid var(--wc-danger, #dc3545);
  color: #721c24;
  list-style: none;
  padding-left: 24px;
}

/* Checkout form half-width rows */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}

.woocommerce-checkout .form-row-first {
  float: left;
  clear: left;
}

.woocommerce-checkout .form-row-last {
  float: right;
  clear: right;
}

.woocommerce-checkout .form-row-wide {
  clear: both;
}

/* Checkout additional notes */
.woocommerce-additional-fields {
  margin-top: 30px;
}

.woocommerce-additional-fields h3 {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 18px;
  color: var(--color-heading, #1a1a2e);
  margin-bottom: 16px;
}

.woocommerce-additional-fields textarea {
  min-height: 100px;
  resize: vertical;
}

/* Privacy policy text */
.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  line-height: 1.5;
}

.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: var(--wc-primary, #C9A96E);
}

/* Terms and conditions checkbox */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-top: 16px;
  font-size: 13px;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label {
  display: inline;
  font-weight: normal;
}

/* ==========================================================
   CART & CHECKOUT RESPONSIVE
   ========================================================== */

@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr 340px;
    gap: 30px;
  }

  .cart-table-header {
    grid-template-columns: 1fr 100px 110px 100px 40px;
    gap: 12px;
  }

  .cart-item {
    grid-template-columns: 1fr 100px 110px 100px 40px;
    gap: 12px;
  }

  .woocommerce-checkout #order_review {
    flex: 0 0 320px !important;
  }
}

@media (max-width: 768px) {
  /* Cart: stack layout */
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Hide desktop-only columns */
  .cart-table-header {
    display: none;
  }

  /* Cart item: card-style on mobile */
  .cart-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    position: relative;
  }

  .cart-item .cart-col-product {
    width: 100%;
    flex: none;
  }

  .cart-item-price-mobile {
    display: block;
  }

  .cart-item .cart-col-price {
    display: none;
  }

  .cart-item .cart-col-quantity {
    flex: 1;
  }

  .cart-item .cart-col-subtotal {
    flex: 1;
    text-align: right;
  }

  .cart-item .cart-col-remove {
    position: absolute;
    top: 16px;
    right: 16px;
  }

  /* Cart actions: stack */
  .cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bellezza-coupon {
    flex-wrap: wrap;
  }

  .bellezza-coupon input.input-text {
    width: 100%;
  }

  .cart-actions .btn.btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Cart totals: full width */
  .cart-totals-section {
    position: static;
  }

  /* Step indicator smaller */
  .cart-steps {
    max-width: 100%;
  }

  .cart-step-line {
    width: 30px;
    margin: 0 6px;
  }

  .cart-step .step-label {
    font-size: 12px;
  }

  /* Checkout: single column on mobile */
  .woocommerce-checkout form.checkout {
    flex-direction: column !important;
  }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .woocommerce-checkout #order_review {
    position: static !important;
  }
  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 480px) {
  .cart-page-header .cart-page-title {
    font-size: 22px;
  }

  .cart-step .step-number {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .cart-step .step-label {
    display: none;
  }

  .cart-item .cart-item-image {
    width: 64px;
    height: 64px;
  }

  .cart-item-name {
    font-size: 14px;
  }

  .empty-cart-message {
    padding: 50px 16px 40px;
  }

  .empty-cart-message i {
    font-size: 48px;
  }

  .empty-cart-message h2 {
    font-size: 20px;
  }
}

/* ==========================================================
   PAGE HERO ADJUSTMENTS FOR CART & CHECKOUT
   ========================================================== */

.woocommerce-cart .page-hero,
.woocommerce-checkout .page-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
}

.woocommerce-cart .page-hero .page-hero-overlay,
.woocommerce-checkout .page-hero .page-hero-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.woocommerce-cart .page-hero-title,
.woocommerce-checkout .page-hero-title {
  font-family: var(--font-heading, 'Playfair Display', serif);
  color: #fff;
}

/* Breadcrumbs on cart/checkout hero */
.woocommerce-cart .bellezza-breadcrumbs,
.woocommerce-checkout .bellezza-breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
}

.woocommerce-cart .bellezza-breadcrumbs a,
.woocommerce-checkout .bellezza-breadcrumbs a {
  color: var(--wc-primary, #C9A96E);
  text-decoration: none;
}

.woocommerce-cart .bellezza-breadcrumbs a:hover,
.woocommerce-checkout .bellezza-breadcrumbs a:hover {
  color: #fff;
}

/* Gold accent line under hero */
.woocommerce-cart .page-hero::after,
.woocommerce-checkout .page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wc-primary, #C9A96E), transparent);
}

/* ==========================================================
   PAYTR ODEME ENTEGRASYONU UYUMLULUK
   ========================================================== */

/* PayTR iframe modu - tam genislik gosterim */
.woocommerce-checkout #paytr-iframe-container,
.woocommerce-checkout .paytr-iframe-wrapper,
.woocommerce-checkout iframe[src*="paytr"],
.woocommerce-checkout iframe[src*="PayTR"],
.woocommerce-checkout .payment_method_paytr iframe,
.woocommerce-checkout .payment_method_paytr_iframe iframe,
.woocommerce-checkout .payment_method_paytr_common iframe,
.woocommerce-checkout .payment_box iframe {
  width: 100% !important;
  min-height: 500px;
  border: none;
  border-radius: 8px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* PayTR odeme kutusu gorunurluk */
.woocommerce-checkout-payment .payment_method_paytr .payment_box,
.woocommerce-checkout-payment .payment_method_paytr_iframe .payment_box,
.woocommerce-checkout-payment .payment_method_paytr_common .payment_box {
  display: block !important;
  visibility: visible !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 16px 0 !important;
  position: relative !important;
  z-index: 99 !important;
  pointer-events: auto !important;
}

/* PayTR secili oldugunda odeme kutusunu goster */
.woocommerce-checkout-payment li.payment_method_paytr,
.woocommerce-checkout-payment li.payment_method_paytr_iframe,
.woocommerce-checkout-payment li.payment_method_paytr_common {
  overflow: visible !important;
  position: relative !important;
  z-index: 99 !important;
}

/* PayTR iframe icindeki butonlarin tiklanabilir olmasi icin */
.woocommerce-checkout-payment .payment_box *,
.woocommerce-checkout-payment .payment_method_paytr *,
.woocommerce-checkout-payment .payment_method_paytr_iframe *,
.woocommerce-checkout-payment .payment_method_paytr_common * {
  pointer-events: auto !important;
}

/* Checkout form - PayTR AJAX uyumluluk */
.woocommerce-checkout form.checkout {
  position: relative;
}

/* blockUI overlay - PayTR iframe'ini ENGELLEMEMELI */
.woocommerce-checkout .blockUI.blockOverlay {
  position: absolute !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.7) !important;
  cursor: wait !important;
}

/* PayTR iframe aktifken blockUI overlay'in iframe'i kapatmasini engelle */
.woocommerce-checkout .payment_box .blockOverlay,
.woocommerce-checkout .payment_box .blockUI {
  display: none !important;
}

/* PayTR iframe uzerindeki tum overlay'leri engelle */
.woocommerce-checkout-payment .blockOverlay {
  pointer-events: none !important;
}

/* Checkout processing durumunda buton */
#place_order.disabled,
#place_order[disabled],
#place_order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* WooCommerce checkout loading spinner */
.woocommerce-checkout .woocommerce-checkout-payment .blockUI {
  min-height: auto !important;
}

/* Siparis notu alani yükseklik */
.woocommerce-checkout #order_comments {
  min-height: 80px;
}

/* Checkout hata mesajlari gorunurluk */
.woocommerce-checkout .woocommerce-NoticeGroup {
  flex: 0 0 100% !important;
  width: 100% !important;
  order: -1;
}

.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error {
  background: #fef2f2;
  border-left: 4px solid #dc3545;
  color: #721c24;
  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  list-style: none;
}

.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error li {
  margin-bottom: 8px;
  font-size: 14px;
}

/* Shipping method secimi checkout'ta */
.woocommerce-checkout .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li {
  padding: 8px 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li label {
  display: inline !important;
  font-weight: normal !important;
  cursor: pointer;
}

/* Terms checkbox gorunurluk */
.woocommerce-checkout .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-weight: normal !important;
  cursor: pointer;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--wc-primary, #C9A96E);
}

/* WooCommerce AJAX update overlay */
.woocommerce-checkout #order_review .blockOverlay {
  background: rgba(255, 255, 255, 0.6) !important;
}

/* Kargo yontemi secimi */
#shipping_method {
  list-style: none !important;
  padding: 0 !important;
  margin: 8px 0 !important;
}

#shipping_method li {
  padding: 6px 0;
}

#shipping_method li label {
  font-weight: normal !important;
  display: inline !important;
}
