section.content-woocommerce{margin-top:30px;/*Tạo khoảng cách Header & Content*/}
/* ==================================================
   SHOW SLIDE CONTENT-SHOWPRODUCT.PHP
================================================== */

/* Nút */
.product-wrapper{position:relative}
.nav-btn{position:absolute;top:40%;width:34px;height:34px;border:none;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,0.15);border-radius:50%;cursor:pointer;z-index:2}
.nav-left{left:-15px}
.nav-right{right:-15px}
.nav-btn:hover{background:#f5f5f5}
/* UX Drag */
.product-scroll.dragging{cursor:grabbing;cursor:-webkit-grabbing}
.banner-card{flex:0 0 auto;width:260px;border:none;padding:0}
.banner-card img{width:100%;height:100%;object-fit:cover;border-radius:6px}
/* Slide */
.product-scroll{display:flex;gap:10px;overflow-x:auto;scroll-behavior:auto;scrollbar-width:none;-ms-overflow-style:none;cursor:grab;user-select:none;will-change:scroll-position;-webkit-user-drag:none;scroll-snap-type:x mandatory}
.product-scroll::-webkit-scrollbar{display:none}
.product-scroll::-webkit-scrollbar-thumb{background:#ccc;border-radius:10px}
.product-scroll a{cursor:pointer;-webkit-user-drag:none}
.product-scroll,.product-scroll *{user-select:none;-webkit-user-select:none}
/*----------------
SLIDE SHOW PRODUCT
----------------*/
.product-card{flex:0 0 auto;width:180px;background:#fff;border:1px solid #eee;border-radius:6px;transition:transform .25s ease,box-shadow .25s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:0 6px 16px rgba(0,0,0,.15)}
.product-taxo{width:100%!important;margin:5px auto;position:relative}
.product-card .product-info.product-info{font-size:15px;font-weight:700;line-height:1.3;color:#333;min-height:60px; overflow:hidden;padding:0 10px;display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
/* Fix kích thước danh sách sản phẩm (taxonomy) */
@media (min-width:768px){.product-card{min-width:180px}.product-taxo{min-width:100%!important}}
@media (min-width:1200px){.product-card{min-width:220px}}
@media (min-width:390px){.product-card{width:180px}}
.product-thumb{position:relative;background:#fff;display:flex;justify-content:center;aspect-ratio:1 / 1;/* vuông */
min-height:160px}
.product-thumb img{width:100%;height:auto;object-fit:cover;padding:10px;background:#fff}
.discount{position:absolute;top:5px;left:5px;background:red;color:#fff;font-size:11px;padding:2px 6px;border-radius:3px}
.price{padding:0 10px 10px}
.price del{display:block;font-size:12px;color:#999}
.new-price{color:#e60000;font-weight:bold;font-size:14px}
/**************************
SLIDE HIỂN THỊ DANH MỤC CON (SMART CATEGORY NAV )
**************************/
.shop-child-cats{margin:18px 0 24px}
.ul-probycat{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0;list-style:none}
.li-probycat a{display:flex;align-items:center;gap:6px;padding:9px 14px;border:1px solid #e5e5e5;border-radius:999px;text-decoration:none;transition:.2s ease}
.li-probycat a:hover{transform:translateY(-1px)}
.cat-count{opacity:.65;font-size:13px}
/* ==================================================
   1. PRODUCT CARD RESPONSIVE
================================================== */
/* Section title */
.section-title h2{font-size:20px;font-weight:bold;margin:15px 0; text-transform: uppercase;}
.section-left h2{font-size:20px;font-weight:700;margin:0}
/* Header block */
.section-header{display:flex;align-items:center}
/* LEFT */
.section-title{flex-shrink:0}
/* RIGHT */
.section-header .readmore{flex-shrink:0;font-size:12px;font-weight:700;margin-left:auto}
/* MID */
.section-header .staxonomy{flex:1;overflow:hidden;display:flex;min-width:0;padding:0 15px 0 45px}
/* Animation */
.cart-bounce{animation:bounce .5s}
@keyframes bounce{0%{transform:scale(1)}50%{transform:scale(1.3)}100%{transform:scale(1)}}
.cart-highlight{animation:glow .8s}
@keyframes glow{0%{box-shadow:0 0 0 transparent}50%{box-shadow:0 0 10px rgba(255,0,0,.5)}100%{box-shadow:0 0 0 transparent}}
/* Section categories */
.section-cats{display:flex;align-items:center;gap:15px;list-style:none;margin:0;overflow-x:auto;cursor:grab;scrollbar-width:none;min-width:1px;-ms-overflow-style:none;margin-left:auto}
.section-cats,.section-cats *{user-select:none;-webkit-user-select:none}
.section-cats.dragging{cursor:grabbing}
.section-cats::-webkit-scrollbar{display:none}
.section-cats li{flex-shrink:0}
/* Link */
.section-cats a{font-size:13px;color:#555;text-decoration:none;transition:.2s;white-space:nowrap}
.section-cats a:hover{color:#e60000}
/* Xem tất cả */
.section-cats .view-all a{color:#e60000;font-weight:500;border-left:1px solid #ddd;padding-left:10px}
/* Mobile lớn */
@media (min-width:390px){.product-card{width:180px}}
/* Tablet */
@media (min-width:768px){.product-card{min-width:180px}.product-taxo{min-width:100%!important}}
/* Desktop lớn */
@media (min-width:1200px){.product-card{min-width:220px}}
/* ==================================================
Display danh sách sản phẩm trong shop / taxonomy
================================================== */
/* đảm bảo vùng chứa */
.product-thumb{position:relative;overflow:hidden}
/* ACTION ban đầu ẩn + nằm dưới */
.product-actions{position:absolute;left:50%;bottom:-40px;transform:translateX(-50%);display:flex;gap:6px;opacity:0;transition:all .3s ease}
/* hover -> trượt lên */
.product-card:hover .product-actions{bottom:10px;opacity:1}
/* style nút */
.product-actions a{width:34px;height:34px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px rgba(0,0,0,.2);font-size:14px;text-decoration:none;transform:scale(.9);transition:all .2s ease}
/* hover từng nút */
.product-actions a:hover{background:#e60000;color:#fff;transform:scale(1.1)}
/* Product list */
.products{display:flex;flex-wrap:wrap}
.products .item{padding:0}