/*
Theme Name: Unice Hair
Theme URI: https://example.com/unice-hair
Author: Claude
Author URI: https://claude.com
Description: A premium WooCommerce theme for human hair wig & bundle stores, featuring a mega menu, home page hero slider, category grid, best sellers, texture browser, promo countdown, testimonials, and an AJAX slide-out cart drawer. Built from a custom storefront design.
Version: 1.23.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: unice-hair
Tags: e-commerce, custom-menu, featured-images, full-width-template, one-column, wide-blocks
*/
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x:hidden; }
body { font-family: 'Inter', sans-serif; color: #111; background: #fff; line-height: 1.6;overflow-x:hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.custom-logo-link img {
    height: 90px;
    width: 200px;
    object-fit: contain;
}
.announcement-bar a { color: #f5c842; margin-left: 4px; }
.announcement-slides { position: relative; height: 18px; overflow: hidden; }
.announcement-slide { position: absolute; width: 100%; opacity: 0; transition: opacity 0.5s; }
.announcement-slide.active { opacity: 1; }

/* ============================================
   UNice Product Page - Complete Stylesheet
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #fff; color: #1a1a1a; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== TOP PROMO BARS ========== */
.promo-bars { width: 100%; }
.promo-bar {
    background: #1a1a1a; color: #fff; font-size: 11px; padding: 8px 40px;
    display: flex; justify-content: space-between; align-items: center;
}
.promo-bar a { color: #fff; text-decoration: underline; margin-left: 4px; font-weight: 500; }

/* ========== HEADER / NAVBAR ========== */
.header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 40px; border-bottom: 1px solid #f0f0f0;
}
.header-left { display: flex; align-items: center; gap: 40px; }
.logo { font-size: 24px; font-weight: 800; color: #ff69b4; letter-spacing: -1px; }
.nav-links { display: flex; gap: 28px; }
.nav-link { font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: #1a1a1a; text-transform: uppercase; }
.header-right { display: flex; align-items: center; gap: 8px; }
.header-icon { font-size: 18px; color: #333; cursor: pointer; position: relative; }
.header-icon .badge {
    position: absolute; top: -6px; right: -6px;
    background: #ff69b4; color: #fff; font-size: 9px;
    width: 16px; height: 16px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}

.line_show_2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/* ========== BREADCRUMB ========== */
.breadcrumb {
    padding: 10px 40px; font-size: 11px; color: #999;
    display: flex; align-items: center; gap: 6px;
}
.breadcrumb a { color: #999; }
.breadcrumb .sep { margin: 0 2px; }
.breadcrumb .current { color: #1a1a1a; max-width: 500px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ========== PRODUCT MAIN ========== */
.product-main {
    display: flex; max-width: 1400px; margin: 0 auto;
    padding: 0 40px 40px; gap: 40px;
}

/* Gallery */
.gallery-section {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 580px;
    height: 90vh;
    max-height: 620px;
    position: sticky;
    top: 20px;
}
.thumbnails { display: flex; flex-direction: column; gap: 8px; width: 68px; }
.thumb { width: 68px; height: 90px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; position: relative; }
.thumb.active { border-color: #ff69b4; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .discount-badge {
    position: absolute; top: 4px; left: 4px;
    background: #ff69b4; color: #fff; font-size: 9px; font-weight: 700;
    padding: 2px 5px; border-radius: 8px;
}
.main-image-wrapper { flex: 1; position: relative; border-radius: 12px; overflow: hidden; background: #f8f8f8; }
.main-image-wrapper .img-counter {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,0.5); color: #fff; font-size: 11px;
    padding: 4px 10px; border-radius: 12px; z-index: 2;
}
.main-image-wrapper .share-btn {
    position: absolute; top: 12px; right: 58px;
    width: 32px; height: 32px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2; border: none;
}
.main-image { width: 100%; height: 100%; min-height: 540px; object-fit: cover; display: block; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; border: none; z-index: 2; font-size: 13px; color: #333;
}
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

/* Product Info */
.product-info { flex: 1; max-width: 540px; padding-top: 2px; }
.product-title-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.product-title { font-size: 17px; font-weight: 500; line-height: 1.45; color: #1a1a1a; max-width: 460px; }
.wishlist-btn {
    width: 34px; height: 34px; border: 1px solid #e0e0e0; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: #333; flex-shrink: 0;
}
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.current-price { font-size: 26px; font-weight: 700; color: #1a1a1a; }
.original-price { font-size: 16px; color: #999; text-decoration: line-through; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.stars { color: #ffc107; font-size: 13px; }
.review-count { font-size: 12px; color: #666; text-decoration: underline; cursor: pointer; }
.payment-row { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 12px; color: #666; }
.payment-row .installment { color: #1a1a1a; }
.payment-icons { display: flex; gap: 4px; align-items: center; }
.pay-icon { height: 16px; border-radius: 3px; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.pay-afterpay { background: #b2fce4; color: #1a3c2f; }
.pay-klarna { background: #ffb3c7; color: #1a1a1a; }
.pay-affirm { background: #4a3aff; color: #fff; }
.pay-info { width: 15px; height: 15px; border: 1px solid #ccc; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #999; cursor: pointer; }

.coupon-banner {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff8f5; border: 1px solid #ffe8e0; border-radius: 8px;
    padding: 10px 14px; margin-bottom: 10px; font-size: 12px;
}
.coupon-banner .gift-icon { margin-right: 6px; color: #ff8c42; }
.coupon-banner .coupon-text { color: #1a1a1a; font-weight: 500; }
.coupon-banner .get-it { color: #1a1a1a; font-weight: 600; text-decoration: underline; cursor: pointer; }

.promo-accordion {
    background: #fdf2f8; border-radius: 8px; padding: 10px 14px;
    margin-bottom: 18px; cursor: pointer; display: flex;
    align-items: center; justify-content: space-between;
}
.promo-accordion .promo-text { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #1a1a1a; }
.promo-accordion .promo-text .diamond { color: #ff69b4; }
.promo-accordion .chevron { color: #999; font-size: 11px; }

.option-section { margin-bottom: 16px; }
.option-label { font-size: 12px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; display: flex; align-items: center; gap: 3px; }
.option-label .required { color: #ff4444; }
.option-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn {
    padding: 9px 16px; border: 1px solid #e0e0e0; border-radius: 8px;
    background: #fff; font-size: 12px; color: #1a1a1a; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
.option-btn:hover { border-color: #ff69b4; }
.option-btn.active { border-color: #ff69b4; background: #fff0f5; font-weight: 500; }

.lace-size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lace-btn { position: relative; padding: 9px 16px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; font-size: 12px; color: #1a1a1a; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.lace-btn.active { border-color: #ff69b4; }
.lace-btn .badge { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); background: #fff; color: #ff69b4; font-size: 9px; font-weight: 600; padding: 1px 7px; border-radius: 10px; border: 1px solid #ff69b4; white-space: nowrap; }

.length-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.length-header .option-label { margin-bottom: 0; }
.length-guide { font-size: 11px; color: #666; text-decoration: underline; cursor: pointer; }
.length-options { display: flex; gap: 8px; flex-wrap: wrap; }
.length-btn { position: relative; padding: 9px 20px; border: 1px solid #e0e0e0; border-radius: 8px; background: #fff; font-size: 12px; color: #1a1a1a; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.length-btn.active { border-color: #ff69b4; background: #fff0f5; }
.length-btn .recommend { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); background: #fff; color: #ff69b4; font-size: 8px; font-weight: 600; padding: 1px 5px; border-radius: 8px; border: 1px solid #ff69b4; white-space: nowrap; }
.length-btn .model-same { display: block; font-size: 8px; color: #ff69b4; margin-top: 1px; text-align: center; }
.length-btn.special { padding: 9px 12px; }
.length-btn.special .special-price { display: block; font-size: 9px; color: #999; margin-top: 1px; }

.qty-section { margin-bottom: 16px; }
.qty-label { font-size: 12px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.qty-control button { width: 36px; height: 36px; border: none; background: #fff; cursor: pointer; font-size: 16px; color: #999; display: flex; align-items: center; justify-content: center; }
.qty-control input { width: 44px; height: 36px; border: none; text-align: center; font-size: 13px; font-weight: 600; font-family: inherit; outline: none; }

.info-line { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #666; margin-bottom: 14px; padding: 6px 0; }
.info-line i { color: #999; font-size: 12px; }

/* Action Buttons */
.action-buttons { display: flex; gap: 10px; margin-bottom: 12px; }
.add-bag-btn {
    flex: 1; padding: 14px; border: 1px solid #1a1a1a; border-radius: 8px;
    background: #fff; font-size: 14px; font-weight: 600; color: #1a1a1a;
    cursor: pointer; transition: all 0.2s;
}
.add-bag-btn:hover { background: #f8f8f8; }
.buy-now-btn-top {
    flex: 1; padding: 14px; border: none; border-radius: 8px;
    background: #ff69b4; font-size: 14px; font-weight: 600; color: #fff;
    cursor: pointer; transition: background 0.2s;
}
.buy-now-btn-top:hover { background: #e55a9e; }

.afterpay-row {
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.afterpay-badge {
    background: #000; color: #fff; padding: 8px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.afterpay-badge .logo { color: #b2fce4; font-weight: 800; font-size: 11px; }
.paypal-btn {
    background: #ffc439; color: #003087; padding: 8px 20px; border-radius: 20px;
    font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px;
}

/* Trust Badges */
.trust-badges {
    display: flex; gap: 16px; margin-bottom: 20px; padding: 10px 0;
    border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
}
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #666; }
.trust-item i { color: #22c55e; font-size: 14px; }
.trust-item .seel { color: #0066ff; font-weight: 600; }

/* ========== WHY YOU'LL LOVE IT ========== */
.section { max-width: 1400px; margin: 0 auto; padding: 0 40px 40px; }
.section-title {
    font-size: 18px; font-weight: 700; color: #1a1a1a;
    margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between;
}
.section-title .toggle-icon { font-size: 14px; color: #999; cursor: pointer; }

.love-list { list-style: none; }
.love-list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; font-size: 13px; color: #444; border-bottom: 1px solid #f5f5f5;
}
.love-list li:last-child { border-bottom: none; }
.love-list li i { color: #ff69b4; font-size: 12px; margin-top: 3px; }
.love-list li strong { color: #1a1a1a; font-weight: 600; }

/* ========== PRODUCT DETAILS ========== */
.details-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
}
.detail-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5;
}
.detail-item .label { color: #666; }
.detail-item .value { color: #1a1a1a; font-weight: 500; }
.view-more { text-align: right; font-size: 12px; color: #666; text-decoration: underline; margin-top: 8px; cursor: pointer; }

/* ========== SEE IT IN ACTION ========== */
.action-gallery {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px;
}
.action-gallery::-webkit-scrollbar { height: 4px; }
.action-gallery::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.action-card {
    min-width: 180px; height: 240px; border-radius: 12px; overflow: hidden;
    position: relative; cursor: pointer;
}
.action-card img { width: 100%; height: 100%; object-fit: cover; }
.action-card .play-btn {
    position: absolute; bottom: 10px; left: 10px;
    width: 32px; height: 32px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #333;
}
.action-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.action-header .view-all { font-size: 12px; color: #666; text-decoration: underline; }

/* ========== DESCRIPTION ========== */
.desc-banner {
    width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 16px;
}
.desc-banner img { width: 100%; display: block; }
.desc-text { font-size: 13px; color: #444; line-height: 1.7; margin-bottom: 12px; }
.view-more-btn {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: #666; text-decoration: underline; cursor: pointer;
}

/* ========== REVIEWS ========== */
.reviews-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
}
.review-score { text-align: center; }
.review-score .score { font-size: 36px; font-weight: 800; color: #1a1a1a; }
.review-score .outof { font-size: 14px; color: #999; }
.review-score .stars { margin: 4px 0; }
.review-score .based-on { font-size: 11px; color: #999; }

.review-bars { flex: 1; max-width: 300px; }
.review-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.review-bar .star-label { font-size: 11px; color: #666; width: 20px; }
.review-bar .bar-track { flex: 1; height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.review-bar .bar-fill { height: 100%; background: #ffc107; border-radius: 3px; }
.review-bar .count { font-size: 11px; color: #999; width: 30px; text-align: right; }

.review-filters { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.review-filter {
    padding: 6px 14px; border: 1px solid #e0e0e0; border-radius: 20px;
    font-size: 11px; color: #666; cursor: pointer; background: #fff;
}
.review-filter.active { border-color: #1a1a1a; color: #1a1a1a; font-weight: 600; }

.review-card {
    padding: 16px 0; border-bottom: 1px solid #f0f0f0;
}
.review-card:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-meta { flex: 1; }
.review-name { font-size: 12px; font-weight: 600; color: #1a1a1a; }
.review-verified { font-size: 10px; color: #22c55e; }
.review-date { font-size: 11px; color: #999; }
.review-stars { color: #ffc107; font-size: 11px; margin-bottom: 6px; }
.review-text { font-size: 12px; color: #444; line-height: 1.6; margin-bottom: 8px; }
.review-images { display: flex; gap: 6px; margin-bottom: 8px; }
.review-images img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.review-actions { display: flex; gap: 16px; font-size: 11px; color: #999; }
.review-actions span { cursor: pointer; }
.review-actions span:hover { color: #666; }

.review-pagination {
    display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 20px;
}
.review-pagination button {
    width: 32px; height: 32px; border: 1px solid #e0e0e0; border-radius: 50%;
    background: #fff; font-size: 12px; color: #666; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.review-pagination button.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.review-pagination .dots { color: #999; font-size: 12px; }

/* ========== Q&A ========== */
.qa-search {
    display: flex; gap: 8px; margin-bottom: 20px;
}
.qa-search input {
    flex: 1; padding: 10px 14px; border: 1px solid #e0e0e0; border-radius: 8px;
    font-size: 13px; font-family: inherit; outline: none;
}
.qa-search button {
    padding: 10px 20px; background: #1a1a1a; color: #fff;
    border-radius: 8px; font-size: 13px; font-weight: 600;
}
.qa-item {
    padding: 14px 0; border-bottom: 1px solid #f0f0f0;
}
.qa-item:last-child { border-bottom: none; }
.qa-question { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.qa-answer { font-size: 12px; color: #666; line-height: 1.6; margin-bottom: 6px; }
.qa-meta { font-size: 11px; color: #999; }
.qa-meta .seller { color: #ff69b4; font-weight: 600; }
.ask-question {
    text-align: center; padding: 16px; font-size: 12px; color: #666;
}
.ask-question a { color: #ff69b4; font-weight: 600; text-decoration: underline; }

/* ========== SELLER GUARANTEES ========== */
.guarantees-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.guarantee-card {
    border: 1px solid #f0f0f0; border-radius: 12px; padding: 20px;
}
.guarantee-card .icon { font-size: 24px; color: #ff69b4; margin-bottom: 10px; }
.guarantee-card h4 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.guarantee-card p { font-size: 12px; color: #666; line-height: 1.6; }
.guarantee-card ul { list-style: none; margin-top: 8px; }
.guarantee-card ul li { font-size: 11px; color: #666; padding: 3px 0; display: flex; align-items: flex-start; gap: 6px; }
.guarantee-card ul li::before { content: "2"; color: #ff69b4; }

.payment-methods {
    display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px;
}
.pm-icon {
    height: 24px; padding: 0 8px; border-radius: 4px;
    font-size: 10px; font-weight: 700; display: flex;
    align-items: center; justify-content: center;
}
.pm-visa { background: #1a1f71; color: #fff; }
.pm-mc { background: #eb001b; color: #fff; }
.pm-amex { background: #016fd0; color: #fff; }
.pm-discover { background: #ff6000; color: #fff; }
.pm-klarna { background: #ffb3c7; color: #1a1a1a; }
.pm-apple { background: #000; color: #fff; }
.pm-afterpay { background: #b2fce4; color: #1a3c2f; }
.pm-paypal { background: #003087; color: #fff; }
.pm-affirm { background: #4a3aff; color: #fff; }
.pm-zip { background: #7b68ee; color: #fff; }
.pm-sezzle { background: #390097; color: #fff; }

/* ========== TUTORIAL ========== */
.tutorial-section { background: #fdf8f5; padding: 40px; margin: 0 -40px; }
.tutorial-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tutorial-nav { display: flex; gap: 8px; }
.tutorial-nav button {
    width: 32px; height: 32px; border: 1px solid #e0e0e0; border-radius: 50%;
    background: #fff; font-size: 12px; color: #666; cursor: pointer;
}
.tutorial-grid { display: flex; gap: 12px; }
.tutorial-card {
    flex: 1; border-radius: 12px; overflow: hidden; position: relative;
    cursor: pointer; min-height: 200px;
}
.tutorial-card img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.tutorial-card .overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 40px 12px 12px; color: #fff;
}
.tutorial-card .overlay h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.tutorial-card .overlay p { font-size: 11px; opacity: 0.8; }
.tutorial-card .play-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #333;
}
.tutorial-card .likes {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,0.5); color: #fff; font-size: 10px;
    padding: 4px 8px; border-radius: 12px; display: flex; align-items: center; gap: 4px;
}

/* ========== YOU MIGHT ALSO LIKE ========== */
.ymal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ymal-nav { display: flex; gap: 8px; }
.ymal-nav button {
    width: 32px; height: 32px; border: 1px solid #e0e0e0; border-radius: 50%;
    background: #fff; font-size: 12px; color: #666; cursor: pointer;
}
.ymal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ymal-card { cursor: pointer; }
.ymal-card .img-wrap { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.ymal-card .img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.ymal-card .discount-tag {
    position: absolute; top: 8px; left: 8px;
    background: #ff69b4; color: #fff; font-size: 10px; font-weight: 700;
    padding: 3px 8px; border-radius: 8px;
}
.ymal-card .heart-btn {
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #333; border: none; cursor: pointer;
}
.ymal-card .quick-add {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    background: #fff; color: #1a1a1a; font-size: 11px; font-weight: 600;
    padding: 6px 16px; border-radius: 16px; border: none; cursor: pointer;
    opacity: 0; transition: opacity 0.2s;
}
.ymal-card:hover .quick-add { opacity: 1; }
.ymal-card h4 { font-size: 12px; font-weight: 500; color: #1a1a1a; margin-bottom: 4px; line-height: 1.4; }
.ymal-card .ymal-price { display: flex; align-items: baseline; gap: 6px; }
.ymal-card .ymal-price .current { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.ymal-card .ymal-price .original { font-size: 11px; color: #999; text-decoration: line-through; }
.ymal-card .ymal-rating { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.ymal-card .ymal-rating .stars { font-size: 10px; color: #ffc107; }
.ymal-card .ymal-rating .count { font-size: 10px; color: #999; }

/* ========== NEWSLETTER ========== */
.newsletter {
    background: #1a1a1a; color: #fff; text-align: center; padding: 40px;
    margin: 0 -40px;
}
.newsletter h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.newsletter-form {
    display: flex; max-width: 500px; margin: 0 auto; gap: 8px;
}
.newsletter-form input {
    flex: 1; padding: 12px 16px; border: 1px solid #444; border-radius: 8px;
    background: #2a2a2a; color: #fff; font-size: 13px; font-family: inherit; outline: none;
}
.newsletter-form input::placeholder { color: #888; }
.newsletter-form button {
    padding: 12px 24px; background: #ff69b4; color: #fff;
    border-radius: 8px; font-size: 13px; font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
    background: #111; color: #999; padding: 40px;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-bottom: 30px;
}
.footer-col h5 { font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { font-size: 11px; padding: 4px 0; cursor: pointer; }
.footer-col ul li:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-bottom: 20px; }
.footer-social a { width: 32px; height: 32px; border: 1px solid #444; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; }
.footer-apps { display: flex; gap: 8px; margin-bottom: 16px; }
.app-badge {
    background: #333; padding: 6px 12px; border-radius: 6px;
    font-size: 10px; color: #fff; display: flex; align-items: center; gap: 6px;
}
.app-badge i { font-size: 14px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; }
.footer-payments { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-payments .pm { height: 22px; padding: 0 6px; border-radius: 3px; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.footer-legal { font-size: 10px; color: #666; }

/* ========== STICKY BOTTOM BAR ========== */
.sticky-bar {
	position: fixed;
	width: 650px;
	bottom: 20px;
	right: calc(50% - 658px);
	border: 1px solid #0002;
	background: #fff;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 100;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
	border-radius: 20px;
}
ins {
    font-size: 24px;
    text-decoration: none;
    font-weight:700;
    color:#ff69b4;
}

del {
    font-size: 16px;
    text-decoration: line-through;
    color:#0007;
}

.sticky-bar ins {
    font-size: 16px;
}
.sticky-bar del {
    font-size: 12px;
}
.sticky-bar .sticky-info { display: flex; align-items: center; gap: 12px; }
.sticky-bar .sticky-info img { width: 40px; height: 50px; border-radius: 6px; object-fit: cover; }
.sticky-bar .sticky-info .sticky-title { font-size: 12px; font-weight: 500; color: #1a1a1a; max-width: 200px; }
.sticky-bar .sticky-price { display: flex; align-items: baseline; gap: 8px; }
.sticky-bar .sticky-price .current { font-size: 18px; font-weight: 700; color: #1a1a1a; }
.sticky-bar .sticky-price .original { font-size: 12px; color: #999; text-decoration: line-through; }
.sticky-bar .sticky-savings { color: #ff69b4; font-size: 12px; font-weight: 600; }
.sticky-actions {
    width: 250px;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
	gap:10px;
}
.sticky-bar .sticky-actions .add-btn {
    padding: 10px 20px; border: 1px solid #1a1a1a; border-radius: 20px;
    background: #fff; font-size: 13px; font-weight: 600; color: #1a1a1a;
}
.sticky-bar .sticky-actions .buy-btn {
    padding: 10px 24px; background: #ff69b4; color: #fff;
    border-radius: 20px; font-size: 13px; font-weight: 600;
}

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; }
.hero-slides { position: relative; height: 38vw; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-content { flex: 1; color: #fff; z-index: 2; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; backdrop-filter: blur(8px); }
.hero-content h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 16px; }
.hero-accent { color: #f5c842; }
.hero-content p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: #f5c842; color: #111; font-size: 14px; font-weight: 700; padding: 13px 28px; border-radius: 8px; transition: all 0.2s; display: inline-block; }
.btn-primary:hover { background: #e6b800; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,200,66,0.35); }
.btn-outline { border: 2px solid rgba(255,255,255,0.5); color: #fff; font-size: 14px; font-weight: 600; padding: 11px 24px; border-radius: 8px; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.hero-visual { flex: 0 0 400px; display: flex; justify-content: center; align-items: center; }
.hero-image-placeholder { width: 320px; height: 380px; border-radius: 24px; background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image-placeholder.green-bg { background: rgba(255,255,255,0.1); }
.wig-illustration { position: relative; }
.wig-head { width: 80px; height: 95px; background: #c8956c; border-radius: 50% 50% 45% 45%; margin: 0 auto; }
.wig-hair { width: 120px; height: 160px; background: linear-gradient(180deg, #1a1a1a 0%, #3d2b00 100%); border-radius: 60% 60% 40% 40% / 40% 40% 60% 60%; margin-top: -80px; margin-left: -20px; }
.price-display { text-align: center; }
.old-price { display: block; font-size: 28px; color: rgba(255,255,255,0.4); text-decoration: line-through; }
.new-price { display: block; font-size: 64px; font-weight: 800; color: #f5c842; }
.floating-badge { position: absolute; background: #fff; color: #111; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.badge-1 { top: 20px; right: -10px; }
.badge-2 { bottom: 30px; left: -10px; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all 0.3s; }
.dot.active { background: #fff; width: 24px; border-radius: 4px; }
.hero-prev, .hero-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 10; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); transition: background 0.2s; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.25); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ===== TRUST STRIP ===== */
.trust-strip { background: #111; padding: 18px 24px; }
.trust-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: #fff; }
.trust-item i { font-size: 22px; color: #f5c842; }
.trust-item strong { display: block; font-size: 13px; font-weight: 700; }
.trust-item span { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ===== SECTIONS ===== */
.section { padding: 64px 24px; }
.container { max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.section-header h2 { font-size: 30px; font-weight: 800; }
.section-header p { color: #777; font-size: 15px; margin-top: 4px; }
.section-header.center { flex-direction: column; text-align: center; }
.view-all { font-size: 14px; font-weight: 600; color: #6b3fa0; display: flex; align-items: center; gap: 6px; }
.view-all:hover { color: #4a1560; }

/* ===== FEATURED CATEGORIES ===== */
.featured-categories{
    padding:70px 0;
}

.category-slider{
    padding-bottom:45px;
}

.category-item{
    display:block;
    text-align:center;
    text-decoration:none;
    position:relative;
}

.category-image{
    overflow:hidden;
    border-radius:24px;
    aspect-ratio:1/1.35;
    background:#eee;
    transition:.3s;
}

.category-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.35s;
}

.category-item:hover img{
    transform:scale(1.05);
}

.category-item h3{
    margin-top:18px;
    font-size:18px;
    font-weight:600;
    color:#111;
    line-height:1.35;
}

.hot-badge{
    position:absolute;
    right:12px;
    top:-12px;
    z-index:10;

    background:#ff4fc5;
    color:#fff;
    font-size:13px;
    font-weight:700;

    padding:6px 14px;
    border-radius:30px;
}

.swiper-pagination-bullet{
    width:8px;
    height:8px;
    opacity:1;
    background:#ddd;
}

.swiper-pagination-bullet-active{
    width:35px;
    border-radius:10px;
    background:#111;
}

/* ===== PRODUCTS ===== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #efefef; transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.product-img-wrap { position: relative; aspect-ratio: 9/11; overflow: hidden; }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.prod-wig-art { width: 80px; height: 140px; border-radius: 50% 50% 30% 30% / 40% 40% 60% 60%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.2); }
.prod-wig-art.curly { border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%; }
.prod-wig-art.blonde { background: rgba(245,200,66,0.3); border-color: rgba(245,200,66,0.4); }
.prod-wig-art.wavy { border-radius: 45% 55% 35% 65% / 55% 45% 65% 35%; }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; }
.badge-sale { background: #e53935; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.badge-hot { background: #ff6f00; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.badge-new { background: #1565c0; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.wishlist-btn { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.9); color: #bbb; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.wishlist-btn:hover { color: #e53935; background: #fff; }
.product-hover-actions { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; opacity: 0; transform: translateY(10px); transition: all 0.2s; }
.product-card:hover .product-hover-actions { opacity: 1; transform: translateY(0); }
.quick-add { width: 100%; background: #111; color: #fff; font-size: 13px; font-weight: 700; padding: 11px; border-radius: 8px; transition: background 0.2s; }
.quick-add:hover { background: #333; }
.product-info { padding: 16px; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.stars { color: #f5c842; font-size: 13px; }
.review-count { font-size: 12px; color: #888; }
.product-info h4 { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; line-height: 1.4; }
.product-desc { font-size: 12px; color: #888; margin-bottom: 10px; }
.product-price { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.price-current { font-size: 17px; font-weight: 800; color: #111; }
.price-original { font-size: 13px; color: #bbb; text-decoration: line-through; }
.product-price .price { font-size: 17px; font-weight: 800; color: #111; }
.product-price .price del { font-size: 13px; color: #bbb; font-weight: 400; margin-right: 6px; }
.product-price .price ins { text-decoration: none; }
.length-options { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 11px; color: #777; }

/* ===== Variable product quick-select (homepage product cards) ===== */
.card-variations { margin: 10px 0 12px; }
.variation-attr-group { margin-bottom: 8px; }
.variation-attr-group:last-child { margin-bottom: 0; }
.variation-attr-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #999; margin-bottom: 5px; }
.variation-quick-add {
  width: 100%; margin-top: 4px; background: #111; color: #fff; font-size: 13px; font-weight: 700;
  padding: 11px; border-radius: 8px; border: none; cursor: pointer; transition: background 0.2s, opacity 0.2s;
}
.variation-quick-add:hover:not(:disabled) { background: #333; }
.variation-quick-add:disabled { background: #ccc; cursor: not-allowed; }
.variation-quick-add.out-of-stock { background: #e53935; }
.variation-quick-add.loading { opacity: 0.6; pointer-events: none; }
.variation-quick-add.added { background: #4caf50; }
.len-btn { padding: 3px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 11px; color: #555; transition: all 0.15s; }
.len-btn.active, .len-btn:hover { border-color: #111; background: #111; color: #fff; }

/* ===== PROMO BANNER ===== */
.promo-banner { background: linear-gradient(135deg, #1a0a2e 0%, #4a1560 50%, #1a0a2e 100%); padding: 60px 24px; }
.promo-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.promo-text { color: #fff; }
.promo-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #f5c842; margin-bottom: 12px; }
.promo-text h2 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 12px; }
.promo-text h2 span { color: #f5c842; }
.promo-text p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.promo-countdown { color: #fff; }
.promo-countdown > p { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 12px; text-align: center; }
.countdown { display: flex; align-items: center; gap: 8px; }
.time-block { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 16px 20px; text-align: center; min-width: 80px; backdrop-filter: blur(8px); }
.time-block span { display: block; font-size: 36px; font-weight: 800; line-height: 1; }
.time-block label { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.time-sep { font-size: 32px; font-weight: 800; color: rgba(255,255,255,0.5); }


/* ===== WHY UNICE ===== */
.why-section { background: #f7f7f7; padding: 64px 24px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.why-card { background: #fff; border-radius: 16px; padding: 32px 24px; text-align: center; border: 1px solid #efefef; transition: box-shadow 0.2s, transform 0.2s; }
.why-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.why-icon { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #6b3fa0, #4a1560); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.why-icon i { font-size: 24px; color: #fff; }
.why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 13px; color: #666; line-height: 1.7; }

/* ===== TRUST DETAILS ===== */
.trust-detail-section { padding: 64px 24px; background: #fff; }
.trust-detail-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.trust-detail-card { border: 1px solid #eee; border-radius: 12px; padding: 24px 20px; }
.td-icon { width: 48px; height: 48px; border-radius: 12px; background: #111; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.td-icon i { font-size: 20px; color: #f5c842; }
.trust-detail-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.trust-detail-card ul { display: flex; flex-direction: column; gap: 6px; }
.trust-detail-card ul li { font-size: 12px; color: #555; padding-left: 12px; position: relative; line-height: 1.5; }
.trust-detail-card ul li::before { content: '•'; position: absolute; left: 0; color: #6b3fa0; }
.trust-detail-card .note { font-size: 11px; color: #999; margin-top: 10px; font-style: italic; line-height: 1.5; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, #111 0%, #2d1854 100%); padding: 80px 24px; }
.newsletter-inner { max-width: 560px; margin: 0 auto; text-align: center; color: #fff; }
.newsletter-icon { font-size: 40px; color: #f5c842; margin-bottom: 20px; }
.newsletter-inner h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.newsletter-inner > p { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 14px; }
.newsletter-form input { flex: 1; padding: 14px 18px; border-radius: 8px; border: none; font-size: 14px; outline: none; }
.newsletter-form button { background: #f5c842; color: #111; font-size: 14px; font-weight: 700; padding: 14px 24px; border-radius: 8px; transition: background 0.2s; white-space: nowrap; }
.newsletter-form button:hover { background: #e6b800; }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ===== FOOTER ===== */
.footer { background: #0a0a0a; color: #ccc; }
.footer-top { max-width: 1400px; margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.brand-col p { font-size: 13px; line-height: 1.7; color: #888; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #888; font-size: 14px; transition: all 0.2s; }
.social-links a:hover { background: #6b3fa0; color: #fff; }
.footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #777; transition: color 0.15s; }
.footer-col ul li a:hover { color: #f5c842; }
.contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #777; margin-bottom: 8px; }
.contact-list li i { color: #6b3fa0; margin-top: 2px; flex-shrink: 0; }
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pay-icon { background: rgba(255,255,255,0.08); color: #ccc; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #555; }
.footer-bottom a { color: #777; }
.footer-bottom a:hover { color: #f5c842; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: #111; color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 999; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: #6b3fa0; }

/* ===== CART DRAWER ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 380px; height: 100vh; background: #fff; z-index: 2001; box-shadow: -4px 0 40px rgba(0,0,0,0.15); transition: right 0.3s; display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.cart-drawer-header { padding: 20px 24px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-drawer-header h3 { font-size: 16px; font-weight: 700; }
.cart-drawer-header button { color: #777; font-size: 18px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #bbb; }
.cart-empty i { font-size: 48px; }
.cart-empty p { font-size: 15px; color: #999; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-detail-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .texture-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-slide { padding: 40px; }
  .hero-content h1 { font-size: 36px; }
  .hero-visual { display: none; }
  .hero-slides { height: 360px; }
  .promo-inner { flex-direction: column; text-align: center; }
  .promo-text h2 { font-size: 36px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: 1fr; }
  .trust-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .texture-grid { grid-template-columns: repeat(3, 1fr); }
  .header-nav-left { display: none; }
  .search-box { display: none; }
}

@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .trust-detail-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .texture-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 28px; }
  .newsletter-form { flex-direction: column; }
  .trust-inner { gap: 24px; }
}

/* ========================================================================
   WORDPRESS / WOOCOMMERCE ADDITIONS
   (theme integration styles added on top of the original design above)
   ======================================================================== */

/* Screen-reader text (WP requirement) */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Skip link */
.skip-link { left: -9999px; position: absolute; top: 0; z-index: 999999; padding: 12px 18px; background: #111; color: #fff; }
.skip-link:focus { left: 6px; top: 6px; }

/* Real product/category images (used instead of placeholder gradients where available) */
.cat-card-img, .prod-img-real, .texture-img-real { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 0; }
.cat-card { position: relative; }
.cat-card > * { position: relative; z-index: 1; }
.cat-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%); z-index: 0; border-radius: inherit; }
.product-img-wrap img.prod-img-real { position: static; }

/* Mega menu now driven by a real WP nav menu (2 levels).
   Sub-items auto-flow into columns via CSS so no custom walker is required. */
.mega-menu { column-count: 3; column-gap: 32px; display: none; }
.has-mega:hover .mega-menu, .has-mega.focus-within .mega-menu { display: block; }
.mega-menu .mega-col-inner { break-inside: avoid; margin-bottom: 20px; display: inline-block; width: 100%; }
.mega-menu > ul.sub-menu { column-count: 3; column-gap: 32px; }
.mega-menu > ul.sub-menu > li { break-inside: avoid; margin-bottom: 4px; }
.mega-menu > ul.sub-menu > li > a { font-size: 13px; color: #333; padding: 4px 0; display: block; }
.mega-menu > ul.sub-menu > li > a:hover { color: #6b3fa0; }

/* Mobile menu toggle */
.mobile-menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 18px; color: #111; flex-shrink: 0; }
.mobile-nav-panel { display: none; }

@media (max-width: 900px) {
  .mobile-menu-toggle { display: flex; }
  .header-nav-left { display: none !important; }
  .mobile-nav-panel {
    display: block; position: fixed; inset: 0 0 0 0; background: #fff; z-index: 3000;
    transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  }
  .mobile-nav-panel.open { transform: translateX(0); }
  .mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid #eee; }
  .mobile-nav-header button { font-size: 20px; color: #777; }
  .mobile-nav-panel ul { padding: 10px 0; }
  .mobile-nav-panel > div > ul > li > a { display: flex; justify-content: space-between; padding: 14px 20px; font-size: 15px; font-weight: 600; border-bottom: 1px solid #f5f5f5; }
  .mobile-nav-panel ul ul { display: none; background: #fafafa; }
  .mobile-nav-panel li.menu-item-has-children.open > ul { display: block; }
  .mobile-nav-panel ul ul li a { padding: 12px 20px 12px 32px; font-size: 13px; font-weight: 500; color: #555; }
  .mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 2999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
  .mobile-overlay.open { opacity: 1; pointer-events: all; }
}

/* Search form (native WP search widget compatibility) */
.search-box form { display: flex; align-items: center; gap: 8px; width: 100%; }

/* ===== WooCommerce shop / archive grid ===== */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0 0 40px !important; padding: 0;
}
.woocommerce ul.products li.product {
  padding: 0 !important; margin: 0 !important; width: 100% !important; float: none !important; list-style: none; position: relative;
  /* Visual styling (border, radius, hover shadow) now lives on .product-card
     itself inside this <li>, since our custom content-product.php override
     renders the same card design used on the homepage — this avoids
     double-styling the wrapper and the card. */
}
.woocommerce ul.products li.product a { text-decoration: none; }
/* Fallback styling below targets WooCommerce's *default* loop-item markup
   (.woocommerce-loop-product__title, .price, .button, .onsale) in case any
   page ever falls back to the stock template (e.g. a plugin that bypasses
   content-product.php) — harmless and unused under normal operation, since
   our card uses .product-info / .product-price / .badge-sale instead. */
.woocommerce ul.products li.product img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 0 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; font-weight: 700; color: #111; padding: 16px 16px 0; margin: 0; line-height: 1.4; }
.woocommerce ul.products li.product .price { font-size: 17px; font-weight: 800; color: #111; padding: 6px 16px 0; display: block; }
.woocommerce ul.products li.product .price del { color: #bbb; font-weight: 400; font-size: 13px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .star-rating { margin: 8px 16px 0; }
.woocommerce ul.products li.product .button {
  margin: 14px 16px 16px; width: calc(100% - 32px); background: #111; color: #fff !important; font-size: 13px; font-weight: 700; padding: 11px; border-radius: 8px; text-align: center; transition: background 0.2s;
}
.woocommerce ul.products li.product .button:hover { background: #333; }
.woocommerce ul.products li.product .onsale {
  position: absolute; top: 12px; left: 12px; background: #e53935; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; min-height: 0; min-width: 0; line-height: 1.4; top: 12px !important; left: 12px !important;
}

/* Shop page header / breadcrumbs / sorting */
.woocommerce-breadcrumb { max-width: 1400px; margin: 0 auto; padding: 20px 24px 0; font-size: 12px; color: #888; }
.woocommerce-breadcrumb a { color: #6b3fa0; }
.woocommerce-result-count, .woocommerce-ordering { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.shop-header-row { max-width: 1400px; margin: 0 auto; padding: 24px 24px 10px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.woocommerce-ordering select { padding: 8px 14px; border-radius: 8px; border: 1px solid #ddd; font-size: 13px; }
.woocommerce-pagination { max-width: 1400px; margin: 0 auto; padding: 0 24px 40px; }
.woocommerce-pagination ul.page-numbers { display: flex; gap: 8px; list-style: none; }
.woocommerce-pagination .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid #ddd; font-size: 13px; }
.woocommerce-pagination .page-numbers.current { background: #111; color: #fff; border-color: #111; }
.woocommerce-notices-wrapper { max-width: 1400px; margin: 20px auto 0; padding: 0 24px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  list-style: none; background: #f7f7f7; border-left: 4px solid #6b3fa0; padding: 16px 20px; border-radius: 8px; margin-bottom: 16px; font-size: 14px;
}
.woocommerce-message .button { background: #111; color: #fff; padding: 8px 16px; border-radius: 6px; margin-left: 12px; }

.content-area { max-width: 1400px; margin: 0 auto; padding: 0 24px 60px; min-height: 40vh; }
.content-area.full-width { max-width: none; padding: 0; }
.page-title-bar { background: #f7f7f7; padding: 40px 24px; text-align: center; margin-bottom: 20px; }
.page-title-bar h1 { font-size: 32px; font-weight: 800; }

/* Single product page */
.woocommerce div.product { max-width: 1400px; margin: 40px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce div.product .woocommerce-product-gallery { border-radius: 16px; overflow: hidden; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: 16px; }
.woocommerce div.product .product_title { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.woocommerce div.product p.price { font-size: 26px; font-weight: 800; color: #111; margin-bottom: 16px; }
.woocommerce div.product p.price del { color: #bbb; font-size: 17px; margin-right: 8px; }
.woocommerce div.product .woocommerce-product-rating { margin-bottom: 16px; }
.woocommerce div.product form.cart { margin-bottom: 24px; }
.woocommerce div.product .single_add_to_cart_button {
  background: #111 !important; color: #fff !important; font-size: 14px; font-weight: 700; padding: 15px 32px !important; border-radius: 8px !important; border: none;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: #333 !important; }
.woocommerce div.product table.variations { margin-bottom: 16px; }
.woocommerce div.product .quantity input.qty { width: 60px; padding: 12px; border-radius: 8px; border: 1px solid #ddd; text-align: center; margin-right: 10px; }
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 40px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 8px; border-bottom: 1px solid #eee; list-style: none; margin-bottom: 24px; }
.woocommerce-tabs ul.tabs li { padding: 12px 20px; font-weight: 700; font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; }
.woocommerce-tabs ul.tabs li.active { border-color: #111; }
.related.products { grid-column: 1 / -1; margin-top: 40px; }
.related.products > h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }

@media (max-width: 900px) {
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Cart page & checkout minimal styling */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.woocommerce-cart .cart-collaterals .cart_totals { background: #f7f7f7; padding: 24px; border-radius: 12px; }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  background: #111; color: #fff; font-weight: 700; padding: 12px 24px; border-radius: 8px; font-size: 14px; border: none;
}
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: #333; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  padding: 12px; border-radius: 8px; border: 1px solid #ddd; width: 100%;
}
.select2-container .select2-selection--single { height: 46px !important; padding: 8px; border-radius: 8px !important; }

/* ===== Cart drawer -- filled with real WooCommerce mini-cart markup ===== */
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 0 24px; }
.cart-drawer .widget_shopping_cart_content ul.woocommerce-mini-cart { list-style: none; padding: 16px 0; }
.cart-drawer .woocommerce-mini-cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; position: relative; }
.cart-drawer .woocommerce-mini-cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-drawer .mini-cart-item-details { flex: 1; padding-right: 20px; }
.cart-drawer .woocommerce-mini-cart-item a.product-title-link { font-size: 13px; font-weight: 700; color: #111; display: block; margin-bottom: 4px; }
.cart-drawer .woocommerce-mini-cart-item .quantity { font-size: 12px; color: #777; }
.cart-drawer .woocommerce-mini-cart-item .remove_from_cart_button { position: absolute; top: 14px; right: 0; color: #bbb; font-size: 14px; }
.cart-drawer .woocommerce-mini-cart-item .remove_from_cart_button:hover { color: #e53935; }
.cart-drawer .total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 800; padding: 16px 0; }
.cart-drawer-footer { padding: 16px 24px 24px; border-top: 1px solid #eee; }
.cart-drawer-footer .buttons { display: flex; flex-direction: column; gap: 10px; }
.cart-drawer-footer a.button { text-align: center; padding: 13px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.cart-drawer-footer a.checkout { background: #f5c842; color: #111 !important; }
.cart-drawer-footer a.checkout:hover { background: #e6b800; }
.cart-drawer-footer a.viewcart { background: #f5f5f5; color: #111 !important; }

/* Loading state for AJAX add to cart */
.add_to_cart_button.loading, .single_add_to_cart_button.loading { opacity: 0.6; pointer-events: none; }
.added_to_cart { display: none !important; }


/* ===========================
   Main Navigation
=========================== */

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links-list,
.nav-links-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ===========================
   Menu Items
=========================== */

.nav-links-list li {
    position: relative;
}

.nav-links-list > li > a {
    display: flex;
    align-items: center;
    height: 70px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    transition: .25s;
}

.nav-links-list a:hover,
.nav-links-list .current-menu-item > a {
    color: #ff4f8b;
}

/* ===========================
   Dropdown
=========================== */

.nav-links-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);

    transition: .25s ease;

    z-index: 999;
}

/* Show dropdown */

.nav-links-list li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */

.nav-links-list .sub-menu li {
    width: 100%;
}

.nav-links-list .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links-list .sub-menu a:hover {
    background: #f8f8f8;
    color: #ff4f8b;
}

/* ===========================
   Second & Third Level
=========================== */

.nav-links-list .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* ===========================
   Arrow for Parent Items
=========================== */

.menu-item-has-children > a::after {
    content: "";
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 8px;
    transform: rotate(45deg);
    transition: .2s;
	margin-top: -4px;
}
.menu-item-has-children:hover > a::after {
    margin-top: 4px;
}

.sub-menu .menu-item-has-children > a::after {
    float: right;
    margin-top: 5px;
    transform: rotate(-45deg);
}

/* Rotate top arrow */

.nav-links-list > li:hover > a::after {
    transform: rotate(225deg);
}

/* ===========================
   Smooth Animation
=========================== */

.nav-links-list .sub-menu li {
    transition: background .2s;
}

.fa-user ,.fa-heart , .cart-btn{
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    background: #fff;
    border: 1px solid #ececec;
    transition: .3s ease;
}
.cart-btn:hover{
    background: #ff69b410;
    color: #ff69b4;
    border-color: #ff69b4;
}
.cart-btn i{
    font-size: 16px;
}
.cart-count{
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50px;
    background: #ff69b4;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

/* Default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 24px;
    cursor: pointer;
}

/* Desktop */
@media (min-width: 992px) {
    .nav-links {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile */
@media (max-width: 991px) {

    .nav-links {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

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