/* Le Fleur Site — archive.css
   ที่มา: Additional CSS (หลัง ticket 08) — ticket 15
   ลำดับ rule ตามต้นฉบับ */

/* ==================================================
   LE FLEUR FLOWER - SHOP / PRODUCT ARCHIVE LUXURY
   URL: /สั่งช่อดอกไม้ส่งด่วน/
================================================== */
body.post-type-archive-product,
body.tax-product_cat{
  background:#fffaf7 !important;
}
/* Main Container */
body.post-type-archive-product .site-content .ast-container,
body.tax-product_cat .site-content .ast-container{
  max-width:1280px !important;
  padding:60px 20px 80px !important;
}
/* Page Title */
body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .page-title,
body.tax-product_cat .page-title{
  font-family:"Cormorant Garamond",serif !important;
  color:#8f5a43 !important;
  font-size:46px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  margin:0 0 28px !important;
}
/* Description */
body.post-type-archive-product .term-description,
body.tax-product_cat .term-description{
  max-width:1050px !important;
  color:#6f625e !important;
  font-size:16px !important;
  line-height:1.85 !important;
  margin-bottom:38px !important;
}
/* Result Count + Sorting */
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count{
  color:#7a6258 !important;
  font-size:16px !important;
}
body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select{
  border:1px solid #ead8cf !important;
  border-radius:999px !important;
  padding:10px 18px !important;
  color:#8b543f !important;
  background:#fffaf7 !important;
}
/* Product Grid */
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:30px !important;
  margin-top:28px !important;
}
/* Product Card */
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product{
  width:100% !important;
  margin:0 !important;
  position:relative !important;
  background:#fffaf7 !important;
  border:1px solid #ead8cf !important;
  border-radius:14px !important;
  overflow:hidden !important;
  text-align:center !important;
  padding:0 0 24px !important;
  box-shadow:0 18px 45px rgba(120,75,58,.12) !important;
  transition:all .3s ease !important;
}
body.post-type-archive-product ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover{
  transform:translateY(-6px) !important;
  box-shadow:0 26px 65px rgba(120,75,58,.18) !important;
}
/* Image */
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img{
  width:100% !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  margin:0 !important;
  border-radius:14px 14px 0 0 !important;
}
/* Premium Badge */
body.post-type-archive-product ul.products li.product::before,
body.tax-product_cat ul.products li.product::before{
  content:"♛ PREMIUM" !important;
  position:absolute !important;
  top:14px !important;
  left:14px !important;
  z-index:10 !important;
  background:#fff7e8 !important;
  color:#9b6a3e !important;
  border:1px solid #e4c38f !important;
  border-radius:6px !important;
  padding:5px 12px !important;
  font-size:12px !important;
  font-weight:600 !important;
  letter-spacing:.04em !important;
}
/* Category */
body.post-type-archive-product ul.products li.product .ast-woo-product-category,
body.tax-product_cat ul.products li.product .ast-woo-product-category{
  display:block !important;
  font-family:"Cormorant Garamond",serif !important;
  color:#c3aaa0 !important;
  font-size:13px !important;
  margin:18px 0 8px !important;
}
/* Product Title */
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{
  color:#8b543f !important;
  padding:0 18px !important;
  margin:0 auto 12px !important;
  min-height:auto !important;
}
/* Divider */
body.post-type-archive-product ul.products li.product .price::before,
body.tax-product_cat ul.products li.product .price::before{
  content:"──── ✦ ────" !important;
  display:block !important;
  color:#c88a78 !important;
  font-size:12px !important;
  letter-spacing:5px !important;
  margin:0 auto 14px !important;
}
/* Price */
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price{
  color:#6f4d3d !important;
  font-size:20px !important;
  font-weight:700 !important;
  margin:0 0 22px !important;
}
/* Add to Cart */
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button{
  background:transparent !important;
  color:#9f5f4d !important;
  border:1px solid #c88a78 !important;
  border-radius:8px !important;
  padding:12px 35px !important;
  min-width:82% !important;
  font-size:16px !important;
  font-weight:500 !important;
}
body.post-type-archive-product ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover{
  background:#c88a78 !important;
  color:#fff !important;
}
/* Pagination */
body.post-type-archive-product .woocommerce-pagination ul,
body.tax-product_cat .woocommerce-pagination ul{
  border:none !important;
}
body.post-type-archive-product .woocommerce-pagination ul li,
body.tax-product_cat .woocommerce-pagination ul li{
  border:none !important;
  margin:0 4px !important;
}
body.post-type-archive-product .woocommerce-pagination ul li a,
body.post-type-archive-product .woocommerce-pagination ul li span,
body.tax-product_cat .woocommerce-pagination ul li a,
body.tax-product_cat .woocommerce-pagination ul li span{
  border:1px solid #c88a78 !important;
  color:#8b543f !important;
  background:#fffaf7 !important;
  min-width:42px !important;
  height:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body.post-type-archive-product .woocommerce-pagination ul li span.current,
body.tax-product_cat .woocommerce-pagination ul li span.current{
  background:#c88a78 !important;
  color:#fff !important;
}
@media(max-width:1024px) {
  /* Tablet */
  body.post-type-archive-product ul.products,
    body.tax-product_cat ul.products{
      grid-template-columns:repeat(2,1fr) !important;
    }
}
@media(max-width:600px) {
  /* Mobile */
  body.post-type-archive-product .woocommerce-products-header__title,
    body.tax-product_cat .woocommerce-products-header__title,
    body.post-type-archive-product .page-title,
    body.tax-product_cat .page-title{
      font-size:32px !important;
    }
  body.post-type-archive-product ul.products,
    body.tax-product_cat ul.products{
      grid-template-columns:1fr !important;
    }
}
/* เฉพาะข้อความคำอธิบายหมวดหมู่ / หน้า Shop */
body.post-type-archive-product .woocommerce-products-header a,
body.tax-product_cat .woocommerce-products-header a,
body.post-type-archive-product .term-description a,
body.tax-product_cat .term-description a,
body.post-type-archive-product .page-description a,
body.tax-product_cat .page-description a{
    color: #6f625e !important;
    text-decoration: none !important;
    font-weight: inherit !important;
}
/* Hover ก็ไม่เปลี่ยนเป็นสีน้ำเงิน */
body.post-type-archive-product .woocommerce-products-header a:hover,
body.tax-product_cat .woocommerce-products-header a:hover,
body.post-type-archive-product .term-description a:hover,
body.tax-product_cat .term-description a:hover,
body.post-type-archive-product .page-description a:hover,
body.tax-product_cat .page-description a:hover{
    color: #6f625e !important;
    text-decoration: none !important;
}
/* ==================================================
   LE FLEUR PRODUCT TAG ARCHIVE STYLE
   ให้หน้า /product-tag/ แสดงผลเหมือนหน้า Shop
================================================== */
body.tax-product_tag{
  background:#fffaf7 !important;
}
body.tax-product_tag .site-content .ast-container{
  max-width:1280px !important;
  padding:60px 20px 80px !important;
}
/* Product Grid */
body.tax-product_tag ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:30px !important;
  margin-top:28px !important;
}
/* Product Card */
body.tax-product_tag ul.products li.product{
  width:100% !important;
  margin:0 !important;
  position:relative !important;
  background:#fffaf7 !important;
  border:1px solid #ead8cf !important;
  border-radius:14px !important;
  overflow:hidden !important;
  text-align:center !important;
  padding:0 0 24px !important;
  box-shadow:0 18px 45px rgba(120,75,58,.12) !important;
  transition:all .3s ease !important;
}
/* Product Image */
body.tax-product_tag ul.products li.product img{
  width:100% !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
  margin:0 !important;
  border-radius:14px 14px 0 0 !important;
}
/* Premium Badge */
body.tax-product_tag ul.products li.product::before{
  content:"♛ PREMIUM" !important;
  position:absolute !important;
  top:14px !important;
  left:14px !important;
  z-index:10 !important;
  background:#fff7e8 !important;
  color:#9b6a3e !important;
  border:1px solid #e4c38f !important;
  border-radius:6px !important;
  padding:5px 12px !important;
  font-size:12px !important;
  font-weight:600 !important;
}
/* Category */
body.tax-product_tag ul.products li.product .ast-woo-product-category{
  display:block !important;
  font-family:"Cormorant Garamond",serif !important;
  color:#c3aaa0 !important;
  font-size:13px !important;
  margin:18px 0 8px !important;
}
/* Product Title */
body.tax-product_tag ul.products li.product .woocommerce-loop-product__title{
  color:#8b543f !important;
  padding:0 18px !important;
  margin:0 auto 12px !important;
  min-height:auto !important;
}
/* Divider */
body.tax-product_tag ul.products li.product .price::before{
  content:"──── ✦ ────" !important;
  display:block !important;
  color:#c88a78 !important;
  font-size:12px !important;
  letter-spacing:5px !important;
  margin:0 auto 14px !important;
}
/* Price */
body.tax-product_tag ul.products li.product .price{
  color:#6f4d3d !important;
  font-size:20px !important;
  font-weight:700 !important;
  margin:0 0 22px !important;
}
/* Add to Cart */
body.tax-product_tag ul.products li.product .button{
  background:transparent !important;
  color:#9f5f4d !important;
  border:1px solid #c88a78 !important;
  border-radius:8px !important;
  padding:12px 35px !important;
  min-width:82% !important;
  font-size:16px !important;
  font-weight:500 !important;
}
body.tax-product_tag ul.products li.product .button:hover{
  background:#c88a78 !important;
  color:#fff !important;
}
/* Pagination */
body.tax-product_tag .woocommerce-pagination ul{
  border:none !important;
}
body.tax-product_tag .woocommerce-pagination ul li{
  border:none !important;
  margin:0 4px !important;
}
body.tax-product_tag .woocommerce-pagination ul li a,
body.tax-product_tag .woocommerce-pagination ul li span{
  border:1px solid #c88a78 !important;
  color:#8b543f !important;
  background:#fffaf7 !important;
  min-width:42px !important;
  height:42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
body.tax-product_tag .woocommerce-pagination ul li span.current{
  background:#c88a78 !important;
  color:#fff !important;
}
@media(max-width:1024px) {
  /* Tablet */
  body.tax-product_tag ul.products{
      grid-template-columns:repeat(2,1fr) !important;
    }
}
@media(max-width:600px) {
  /* Mobile */
  body.tax-product_tag ul.products{
      grid-template-columns:1fr !important;
    }
}
