/*
Theme Name: HMWRAP
Theme URI: http://localhost/wp/
Author: HMWRAP Dev
Description: Custom B2B e-commerce theme for Huamei Flower Wraps
Version: 1.0.0
*/

/* ==================== Reset & Base ==================== */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    font-family:'Montserrat',sans-serif;
    color:#222;
    background:#fff;
    line-height:1.6;
    overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:1280px;margin:0 auto;padding:0 20px}

/* ==================== Top Bar ==================== */
.top-bar{background:#c8c8c8;padding:8px 0;font-size:12px;color:#444}
.top-bar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.top-bar .tb-left{font-weight:500}
.top-bar .tb-center{color:#555}
.top-bar .tb-right{display:flex;gap:12px;align-items:center}
.top-bar .tb-right a{display:flex;align-items:center;transition:opacity .2s}
.top-bar .tb-right a:hover{opacity:.7}
.top-bar .tb-right svg{width:16px;height:16px;display:block}

/* ==================== Header Main ==================== */
.header-main{background:#fff;padding:20px 0;border-bottom:1px solid #e8e8e8}
.header-main .container{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px}

.contact-info{display:flex;gap:24px;align-items:flex-start}
.contact-item{display:flex;align-items:center;gap:8px}
.contact-item .ci-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}
.contact-item .ci-icon svg{width:18px;height:18px}
.contact-item.ci-wechat .ci-icon{background:#07c160}
.contact-item.ci-whatsapp .ci-icon{background:#25d366}
.contact-item.ci-email .ci-icon{background:#1e88e5}
.contact-item .ci-text{font-size:12px;line-height:1.4}
.contact-item .ci-text strong{display:block;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.contact-item .ci-text span{color:#666;font-size:11px}

.logo{text-align:center}
.logo img{max-height:70px;width:auto;margin:0 auto}
.logo .logo-tagline{font-size:10px;letter-spacing:3px;color:#888;text-transform:uppercase;margin-top:4px}

.user-actions{display:flex;justify-content:flex-end;align-items:center;gap:20px}
.ua-item{position:relative;cursor:pointer;display:flex;align-items:center;gap:6px}
.ua-item svg{width:22px;height:22px;stroke:#222;fill:none;stroke-width:1.5;transition:stroke .2s}
.ua-item:hover svg{stroke:#1e5aa8}
.ua-badge{position:absolute;top:-6px;right:-6px;background:#4caf50;color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid #fff}
.ua-cart-info{display:flex;flex-direction:column;font-size:11px;line-height:1.3}
.ua-cart-info .cart-amount{font-weight:700;font-size:13px;color:#222}
.ua-cart-info .cart-label{color:#888;font-size:10px}
.ua-lang{display:flex;align-items:center;gap:6px;font-size:12px;border-left:1px solid #e0e0e0;padding-left:16px}
.ua-lang img{width:20px;height:14px;object-fit:cover}

.lang-switcher{position:relative;cursor:pointer}
.lang-current{display:flex;align-items:center;gap:6px;color:#333}
.lang-current img{width:20px;height:14px;object-fit:cover}
.lang-current span{font-weight:600;letter-spacing:.5px}
.lang-current svg{transition:transform .2s}
.lang-switcher:hover .lang-current svg{transform:rotate(180deg)}

.lang-dropdown{display:none;position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 4px 16px rgba(0,0,0,.12);list-style:none;padding:4px 0;min-width:120px;z-index:1000}
.lang-dropdown.open{display:block}
.lang-dropdown li{display:flex;align-items:center;gap:8px;padding:6px 14px;font-size:12px;color:#555;cursor:pointer;transition:background .15s}
.lang-dropdown li:hover{background:#f5f5f5}
.lang-dropdown li.current-lang{font-weight:700;color:#1e5aa8}
.lang-dropdown img{width:20px;height:14px;object-fit:cover}
.lang-dropdown a{color:inherit;text-decoration:none}

/* ==================== Main Nav ==================== */
.main-nav{background:#fff;border-bottom:2px solid #222}
.main-nav .container{display:flex;justify-content:center;align-items:center;gap:0}
.main-nav ul,.main-nav ul.menu,.main-nav .menu{display:flex !important;flex-direction:row !important;justify-content:center;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.main-nav .menu-item{position:relative;list-style:none}
.main-nav .menu-item a{display:block;padding:16px 28px;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:#222;transition:color .2s;position:relative}
.main-nav .menu-item a:hover,.main-nav .menu-item.current-menu-item a{color:#1e5aa8}
.main-nav .menu-item a::after{content:'';position:absolute;bottom:-2px;left:50%;width:0;height:2px;background:#1e5aa8;transition:width .2s,left .2s}
.main-nav .menu-item a:hover::after,.main-nav .menu-item.current-menu-item a::after{width:100%;left:0}

/* Sub-menu dropdown - Level 1 */
.main-nav .sub-menu{display:none !important;position:absolute;top:100%;left:0;flex-direction:column !important;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.12);z-index:9999;min-width:220px;padding:0 !important;gap:0 !important;border-radius:0 0 4px 4px}
.main-nav .menu-item:hover>.sub-menu{display:flex !important;flex-direction:column !important;animation:navFadeIn .2s ease}
@keyframes navFadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.main-nav .sub-menu .menu-item{width:100%;position:relative}
.main-nav .sub-menu .menu-item a{padding:12px 20px;font-size:13px;border-bottom:1px solid #f0f0f0;white-space:nowrap;transition:background .15s,color .15s}
.main-nav .sub-menu .menu-item a:hover{background:#1e5aa8;color:#fff}
.main-nav .sub-menu .menu-item:last-child>a{border-bottom:none}

/* Sub-menu dropdown - Level 2+ (flyout to the right) */
.main-nav .sub-menu .sub-menu{top:0;left:100%;border-radius:0 4px 4px 0;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.main-nav .sub-menu .menu-item:hover>.sub-menu{display:flex !important;flex-direction:column !important;animation:navFadeInR .2s ease}
@keyframes navFadeInR{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}

/* Remove the bottom-bar ::after from parent items */
.main-nav .sub-menu .menu-item a::after{display:none !important}

/* Arrow indicator for items with children */
.main-nav .menu-item-has-children>a::after{content:'\25BE';margin-left:6px;font-size:12px;font-weight:400}
.main-nav .sub-menu .menu-item-has-children>a::after{content:'\25B8';float:right;font-size:10px}
.main-nav .sub-menu .menu-item-has-children>a{padding-right:30px}

/* ==================== Hero Banner ==================== */
.hero-banner{background:linear-gradient(135deg,#f8f8f8 0%,#fff 50%,#f8f8f8 100%);overflow:hidden;position:relative}
.hero-slide{display:grid;grid-template-columns:1fr 1.2fr 1fr;align-items:center;min-height:500px;padding:40px 0}
.hero-product{display:flex;align-items:center;justify-content:center}
.hero-product img{max-width:100%;max-height:450px;object-fit:contain}
.hero-product.left{padding-left:40px}
.hero-product.right{padding-right:40px}

.hero-content{text-align:center;padding:0 30px}
.hero-content .hero-number{font-size:clamp(80px,10vw,140px);font-weight:200;line-height:.9;color:#222;letter-spacing:-.02em}
.hero-content .hero-title{font-size:clamp(60px,8vw,110px);font-weight:200;line-height:.9;color:#222;letter-spacing:-.02em;position:relative;display:inline-block}
.hero-content .hero-title sup{font-size:14px;vertical-align:super;color:#888;margin-left:4px}
.hero-content .hero-beautiful{font-size:9px;letter-spacing:.6em;text-transform:uppercase;color:#999;margin:16px 0 12px;padding-left:.6em}
.hero-content .hero-desc{font-size:14px;color:#666;text-transform:uppercase;letter-spacing:2px;line-height:1.8}
.hero-content .hero-code-btn{display:inline-block;margin-top:20px;padding:10px 28px;background:#a0524d;color:#fff;font-size:13px;font-weight:600;letter-spacing:1px;border-radius:3px;transition:background .2s}
.hero-content .hero-code-btn:hover{background:#8a443f}

.hero-dots{display:flex;justify-content:center;gap:10px;padding:20px 0 24px}
.hero-dots .dot{width:10px;height:10px;border-radius:50%;background:#ddd;border:1px solid #ccc;cursor:pointer;transition:all .2s}
.hero-dots .dot.active{background:#e8913a;border-color:#e8913a}

/* ==================== Features Bar ==================== */
.features-bar{background:linear-gradient(135deg,#1e5aa8 0%,#2e7dd3 100%);padding:24px 0;color:#fff}
.features-bar .container{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature-item{display:flex;align-items:center;gap:16px;justify-content:center}
.feature-item .fi-icon{width:48px;height:48px;background:rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.feature-item .fi-icon svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:1.5}
.feature-item .fi-text strong{display:block;font-size:15px;font-weight:700;margin-bottom:2px}
.feature-item .fi-text span{font-size:12px;opacity:.85}

/* ==================== Product Category Section ==================== */
.product-category-section{padding:60px 0;background:#fff}
.product-category-section .container{max-width:1280px}
.pc-header{text-align:center;margin-bottom:40px}
.pc-header h2{font-size:32px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#222;margin-bottom:8px}
.pc-header p{font-size:14px;color:#888}

.pc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

.pc-card{display:flex;border-radius:4px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:box-shadow .3s,transform .3s}
.pc-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.12);transform:translateY(-3px)}

.pc-card-img{flex:0 0 58%;overflow:hidden}
.pc-card-img img{width:100%;height:100%;min-height:200px;object-fit:cover;transition:transform .3s}
.pc-card:hover .pc-card-img img{transform:scale(1.05)}

.pc-card-info{flex:0 0 42%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px 16px;text-align:center}
.pc-card-info .pc-cat-btn{display:inline-block;padding:10px 20px;background:#e91e63;color:#fff;font-size:13px;font-weight:600;letter-spacing:.5px;border-radius:3px;transition:background .2s;line-height:1.4}
.pc-card-info .pc-cat-btn:hover{background:#c01754}
.pc-card-info .pc-more-btn{display:inline-block;padding:6px 16px;background:#888;color:#fff;font-size:12px;letter-spacing:.5px;border-radius:3px;transition:background .2s}
.pc-card-info .pc-more-btn:hover{background:#555}

/* Card background colors per category */
.pc-card[data-slug="new-arrival"] .pc-card-info{background:#e8e0f0}
.pc-card[data-slug="flower-wrapping-paper-sheets"] .pc-card-info{background:#f5eee0}
.pc-card[data-slug="flower-wrapping-paper-roll"] .pc-card-info{background:#d9c4c8}
.pc-card[data-slug="flower-sleeve"] .pc-card-info{background:#f0e8b8}
.pc-card[data-slug="flower-box"] .pc-card-info{background:#f5d8dc}
.pc-card[data-slug="flower-bag"] .pc-card-info{background:#c8d8c0}
.pc-card[data-slug="flower-accessories"] .pc-card-info{background:#d0dce8}
.pc-card[data-slug="mesh"] .pc-card-info{background:#e8e0ec}
.pc-card[data-slug="made-to-order"] .pc-card-info{background:#f5d8c4}

@media(max-width:1024px){
    .pc-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
    .pc-grid{grid-template-columns:1fr}
    .pc-card{flex-direction:column}
    .pc-card-img,.pc-card-info{flex:none}
    .pc-card-img img{min-height:180px}
}

/* ==================== Featured Products Section ==================== */
.featured-products{padding:60px 0;background:#fff}
.fp-header{text-align:center;margin-bottom:36px}
.fp-header h2{font-size:28px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#222;margin-bottom:16px}
.fp-tabs{display:flex;justify-content:center;gap:0}
.fp-tab{padding:8px 28px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:1px;color:#999;cursor:pointer;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.fp-tab.active{color:#222;border-bottom-color:#222}
.fp-tab:hover{color:#222}

.fp-slider-wrap{position:relative;overflow:hidden}
.fp-slider{display:flex;gap:24px;transition:transform .4s ease}
.fp-slider .product-card{flex:0 0 calc(25% - 18px);min-width:calc(25% - 18px)}

.fp-nav-btn{position:absolute;top:40%;width:44px;height:44px;background:rgba(255,255,255,.9);border:1px solid #e0e0e0;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;transition:background .2s,box-shadow .2s}
.fp-nav-btn:hover{background:#1e5aa8;color:#fff;border-color:#1e5aa8;box-shadow:0 2px 8px rgba(30,90,168,.3)}
.fp-nav-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
.fp-nav-prev{left:-10px}
.fp-nav-next{right:-10px}

.product-card{background:#fff;border:1px solid #f0f0f0;border-radius:4px;overflow:hidden;transition:box-shadow .3s}
.product-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.1)}
.product-card-img{position:relative;overflow:hidden;background:#f8f8f8}
.product-card-img img{width:100%;aspect-ratio:1/1.15;object-fit:cover;transition:transform .3s}
.product-card:hover .product-card-img img{transform:scale(1.05)}
.product-card-watermark{position:absolute;top:8px;left:8px;font-size:10px;color:#aaa;font-weight:600;letter-spacing:.5px;opacity:.7}
.product-card-info{padding:12px 14px;text-align:center}
.product-card-code{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}
.product-card-price{font-size:13px}
.product-card-price a{color:#4caf50;font-weight:600}
.product-card-price a:hover{text-decoration:underline}
.product-card-price .price{color:#222;font-weight:700;font-size:14px}

/* ==================== Why Choose Us + Factory + Company Intro ==================== */
.why-choose-us{padding:60px 0 40px;background:#fff;text-align:center}
.wcu-header{margin-bottom:40px}
.wcu-header h2{font-size:24px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#000;margin-bottom:8px}
.wcu-header .wcu-subtitle{font-size:11px;color:#888;text-transform:uppercase;letter-spacing:.5px}
.wcu-header .wcu-divider{display:inline-block;margin:12px 0;font-size:14px;color:#ccc}

.wcu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;max-width:900px;margin:0 auto}
.wcu-item{text-align:center;padding:0 15px}
.wcu-icon{width:64px;height:64px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center}
.wcu-icon svg{width:48px;height:48px;fill:none;stroke:#000;stroke-width:1.5}
.wcu-item h3{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;color:#000;margin-bottom:8px}
.wcu-item p{font-size:11px;color:#666;line-height:1.6}

.factory-photo{margin:30px auto;overflow:hidden;line-height:0}
.factory-photo img{width:100%;height:auto;display:block}

.ci-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start;margin-top:30px}

.ci-video-wrapper{position:relative;overflow:hidden;background:#000}
.ci-video-wrapper img{width:100%;height:auto;display:block}
.ci-alibaba-logo{position:absolute;top:12px;left:12px;z-index:2;background:rgba(255,255,255,.9);padding:2px 8px;border-radius:2px}

.ci-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.85);border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.ci-play-btn:hover{background:rgba(255,255,255,1)}
.ci-play-btn svg{width:20px;height:20px;margin-left:2px}

.ci-caption-bar{position:absolute;bottom:0;left:0;width:100%;background:rgba(0,0,0,.6);padding:10px 15px;display:flex;align-items:center;gap:8px}
.ci-highlight{width:3px;height:16px;background:#ff6a00;flex-shrink:0}
.ci-caption-bar p{color:#fff;font-size:12px;margin:0}

.ci-company-btn{display:inline-block;margin-top:10px;background:#ff6a00;color:#fff;font-size:13px;font-weight:600;padding:8px 20px;border-radius:2px;text-decoration:none;text-transform:uppercase;letter-spacing:.5px}
.ci-company-btn:hover{background:#e55f00}

.ci-text p{font-size:13px;line-height:1.8;color:#333;margin-bottom:12px}

@media(max-width:768px){
    .ci-grid{grid-template-columns:1fr;gap:30px}
    .wcu-grid{grid-template-columns:1fr;gap:30px}
}

/* ==================== Company Profile ==================== */
.company-profile{padding:60px 0;background:#f8f9fa}
.cp-header{text-align:center;margin-bottom:50px}
.cp-header h2{font-size:32px;font-weight:700;color:#333;letter-spacing:2px;margin-bottom:8px}
.cp-header p{font-size:14px;color:#999}

.cp-split{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-bottom:50px}

.cp-factory-visual{position:relative}
.cp-factory-frame{position:relative;border-radius:0 20px 20px 0;overflow:hidden;padding-left:40px;background:#e91e63;display:flex}
.cp-vertical-label{writing-mode:vertical-rl;transform:rotate(180deg);color:#fff;font-size:13px;font-weight:700;letter-spacing:2px;background:#e91e63;padding:12px 0;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:20px 0 0 20px}
.cp-factory-frame img{width:100%;height:100%;object-fit:cover;border-radius:0 20px 20px 0}

.cp-about h3{font-size:20px;font-weight:700;color:#e91e63;text-transform:uppercase;letter-spacing:1px;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e91e63;display:inline-block}
.cp-about p{font-size:13px;line-height:1.8;color:#555;margin-bottom:14px}
.cp-view-more{display:inline-block;margin-top:10px;background:#e91e63;color:#fff;font-size:12px;font-weight:600;padding:8px 24px;border-radius:20px;text-decoration:none;text-transform:uppercase;letter-spacing:1px;transition:background .2s}
.cp-view-more:hover{background:#c1134e}

.cp-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;padding:40px 0;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0;margin-bottom:50px}
.cp-stat{text-align:center}
.cp-stat-num{display:block;font-size:36px;font-weight:700;color:#009688;line-height:1;margin-bottom:10px}
.cp-stat-label{display:block;font-size:13px;color:#666;line-height:1.5}

.cp-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cp-gallery-item{margin:0}
.cp-gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;border-radius:4px}
.cp-gallery-item figcaption{font-size:13px;color:#555;text-align:center;margin-top:10px;font-weight:500}

@media(max-width:768px){
    .cp-split{grid-template-columns:1fr;gap:30px}
    .cp-stats{grid-template-columns:1fr;gap:20px}
    .cp-gallery{grid-template-columns:repeat(2,1fr);gap:16px}
}
@media(max-width:480px){
    .cp-gallery{grid-template-columns:1fr}
}

/* ==================== Company Certificates ==================== */
.cp-certificates{padding:60px 0;background:#fff;text-align:center}
.cert-header{margin-bottom:40px}
.cert-header h2{font-size:28px;font-weight:700;color:#333;letter-spacing:2px;margin-bottom:8px}
.cert-header p{font-size:13px;color:#999;letter-spacing:1px}

.cert-shelf{display:inline-block;position:relative;padding-bottom:12px}
.cert-items{display:flex;align-items:flex-end;justify-content:center;gap:20px}
.cert-frame{width:160px;background:#fff;border:2px solid #333;padding:6px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.cert-frame img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.cert-trophy{width:120px;display:flex;align-items:flex-end;justify-content:center}
.cert-trophy img{width:100%;aspect-ratio:3/4;object-fit:contain;display:block}

.cert-shelf-board{width:100%;height:6px;background:linear-gradient(to bottom,rgba(0,0,0,.08),transparent);border-radius:50%;margin:0 auto}

@media(max-width:768px){
    .cert-items{flex-wrap:wrap;gap:12px}
    .cert-frame{width:130px}
    .cert-trophy{width:100px}
}
@media(max-width:480px){
    .cert-items{flex-direction:column;align-items:center}
    .cert-frame{width:180px}
    .cert-trophy{width:140px}
}

/* ==================== Team & Contact ==================== */
.team-contact{padding:60px 0;background:#fff}
.tc-header{text-align:center;margin-bottom:50px}
.tc-header h2{font-size:32px;font-weight:700;color:#333;letter-spacing:2px;margin-bottom:8px}
.tc-header p{font-size:14px;color:#999}

.tc-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:60px}
.tc-gallery-main img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block;min-height:300px}
.tc-gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tc-gallery-item img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block;aspect-ratio:4/3}

.tc-members{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-bottom:60px}
.tc-member{text-align:center;padding:24px 16px;background:#f8f9fa;border-radius:12px}
.tc-member-avatar{width:100px;height:100px;margin:0 auto 16px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.tc-member-avatar img{width:100%;height:100%;object-fit:cover}

/* ==================== Single Product Page ==================== */
.single-product-layout{padding-top:40px}

.single-product-main{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin-bottom:64px;padding-bottom:40px;border-bottom:1px solid #f5e0e8}

/* Gallery */
.sp-gallery{position:relative}
.sp-main-image{position:relative;width:100%;aspect-ratio:1/1;background:#f9f9f9;border:1px solid #eee;border-radius:10px;overflow:hidden;margin-bottom:16px}
.sp-main-image img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in}
.sp-main-image .sale-badge{position:absolute;top:16px;left:16px;z-index:3;font-size:12px;padding:6px 14px}

.sp-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.sp-thumb{flex:0 0 72px;width:72px;height:72px;padding:0;border:2px solid #eee;border-radius:6px;background:#f9f9f9;cursor:pointer;overflow:hidden;transition:border-color .15s}
.sp-thumb img{width:100%;height:100%;object-fit:cover}
.sp-thumb:hover{border-color:#f5b6c8}
.sp-thumb.active{border-color:#e91e63}

/* Summary */
.sp-summary{display:flex;flex-direction:column;gap:16px}
.sp-title{font-size:30px;font-weight:700;color:#222;margin:0;line-height:1.3;letter-spacing:-.3px}

.sp-price-row{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.sp-price{font-size:28px;font-weight:700;color:#e91e63;line-height:1}
.sp-price del{color:#999;font-weight:400;font-size:16px;margin-right:6px}
.sp-price ins{text-decoration:none}

.sp-short-desc{font-size:15px;color:#555;line-height:1.75;margin:6px 0 14px;padding-bottom:18px;border-bottom:1px solid #f5e0e8}
.sp-short-desc p{margin:0 0 8px}
.sp-short-desc p:last-child{margin-bottom:0}

.sp-meta{display:flex;flex-direction:column;gap:10px;margin-bottom:20px;padding:16px 18px;background:#fff8fa;border:1px solid #f5e0e8;border-radius:8px}
.sp-meta-item{font-size:14px;color:#666;display:flex;align-items:center;gap:8px}
.sp-meta-label{color:#a04555;font-weight:600;min-width:90px}
.sp-meta-value{color:#444}
.sp-meta-value a{color:#a04555;text-decoration:none;transition:color .15s}
.sp-meta-value a:hover{color:#e91e63}
.sp-stock{font-weight:600;color:#2a9d4f}
.sp-stock.out{color:#c0392b}

.sp-cart-form{display:flex;flex-direction:column;gap:18px;margin-bottom:20px}
.sp-quantity{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.sp-qty-label{font-size:14px;color:#555;font-weight:600}
.sp-qty-control{display:flex;align-items:center;border:1px solid #ddd;border-radius:8px;overflow:hidden;background:#fff}
.sp-qty-btn{width:40px;height:42px;border:none;background:#fff;color:#e91e63;font-size:18px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}
.sp-qty-btn:hover{background:#fce4ec}
.sp-qty-input{width:58px;height:42px;text-align:center;border:none;border-left:1px solid #eee;border-right:1px solid #eee;font-size:15px;color:#222;outline:none;-moz-appearance:textfield}
.sp-qty-input::-webkit-outer-spin-button,.sp-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Cart row: Add to Cart + Wishlist side-by-side */
.sp-cart-row{display:flex;gap:12px;align-items:stretch}
.sp-add-cart-btn{flex:1;padding:16px 24px;font-size:16px;font-weight:700;color:#fff;background:#e91e63;border:none;border-radius:8px;cursor:pointer;letter-spacing:.5px;text-transform:uppercase;transition:background .15s}
.sp-add-cart-btn:hover{background:#c01754}
.sp-add-cart-btn.disabled,.sp-add-cart-btn:disabled{background:#ccc;cursor:not-allowed;color:#888}

/* Wishlist button wrap (YITH new version) */
.sp-wishlist-wrap{flex:0 0 auto;display:flex;align-items:stretch}
.sp-wishlist-wrap .yith-add-to-wishlist-button-block{margin:0;display:flex;align-items:stretch}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button{display:flex !important;align-items:center;justify-content:center;gap:8px;width:50px;padding:0 14px;font-size:20px;color:#444;background:#fff;border:1.5px solid #ccc;border-radius:6px;cursor:pointer;text-decoration:none !important;transition:all .15s;box-sizing:border-box;line-height:1}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button:hover{background:#444;color:#fff;border-color:#444}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button svg{width:24px;height:24px;display:block}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button__label{display:none}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button.loading svg{display:none}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button.loading::after{content:'';width:18px;height:18px;border:2px solid #444;border-top-color:transparent;border-radius:50%;animation:wish-spin .6s linear infinite;display:block}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist-button.loading:hover::after{border-color:#fff;border-top-color:transparent}

/* Wishlist added/exists state */
.sp-wishlist-wrap .yith-wcwl-wishlistaddedbrowse,.sp-wishlist-wrap .yith-wcwl-wishlistexistsbrowse{display:flex;align-items:center;justify-content:center;gap:8px;width:50px;padding:0 14px;font-size:20px;color:#fff;background:#444;border:1.5px solid #444;border-radius:6px;text-decoration:none !important;transition:all .15s;box-sizing:border-box;line-height:1}
.sp-wishlist-wrap .yith-wcwl-wishlistaddedbrowse:hover,.sp-wishlist-wrap .yith-wcwl-wishlistexistsbrowse:hover{background:#222;border-color:#222}
.sp-wishlist-wrap .yith-wcwl-wishlistaddedbrowse svg,.sp-wishlist-wrap .yith-wcwl-wishlistexistsbrowse svg{width:24px;height:24px;display:block;color:#fff}
.sp-wishlist-wrap .yith-wcwl-wishlistaddedbrowse span,.sp-wishlist-wrap .yith-wcwl-wishlistexistsbrowse span{font-size:0}
.sp-wishlist-wrap .yith-wcwl-wishlistaddedbrowse::after,.sp-wishlist-wrap .yith-wcwl-wishlistexistsbrowse::after{content:'\2713';font-size:20px;font-weight:700;margin-left:2px}
.sp-wishlist-wrap .yith-wcwl-wishlistaddedbrowse svg,.sp-wishlist-wrap .yith-wcwl-wishlistexistsbrowse svg{display:none}

.sp-wishlist-wrap .yith-wcwl-feedback{display:none !important}
.sp-wishlist-wrap .ajax-loading{display:none !important}
.sp-wishlist-wrap .yith-wcwl-add-to-wishlist img.ajax-loading{display:none !important}

.sp-actions{display:flex;gap:18px;align-items:center}
.sp-action-link{color:#a04555;font-size:14px;text-decoration:none;transition:color .15s;font-weight:600}
.sp-action-link:hover{color:#e91e63;text-decoration:underline}

.sp-trust{display:flex;gap:18px;flex-wrap:wrap;padding:18px 20px;background:#fff8fa;border:1px solid #f5e0e8;border-radius:8px}
.sp-trust-item{display:flex;align-items:center;gap:8px;font-size:13px;color:#666}
.sp-trust-icon{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#e91e63;color:#fff;font-size:12px;font-weight:700;flex-shrink:0}

/* Tabs */
.sp-tabs{margin-bottom:64px}
.sp-tabs-nav{display:flex;border-bottom:2px solid #f5e0e8;margin-bottom:24px;gap:6px}
.sp-tab-btn{padding:14px 28px;font-size:15px;font-weight:600;color:#888;background:none;border:none;cursor:pointer;border-bottom:3px solid transparent;margin-bottom:-2px;transition:color .15s,border-color .15s;letter-spacing:.3px}
.sp-tab-btn:hover{color:#e91e63}
.sp-tab-btn.active{color:#e91e63;border-bottom-color:#e91e63}
.sp-tab-content{min-height:80px}
.sp-tab-pane{display:none;font-size:15px;color:#555;line-height:1.8}
.sp-tab-pane.active{display:block;animation:sp-fade .25s ease}
.sp-tab-pane p{margin:0 0 14px}
.sp-tab-pane p:last-child{margin-bottom:0}
@keyframes sp-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}

/* Related products */
.sp-related-title{font-size:24px;font-weight:700;color:#222;margin-bottom:24px;padding-left:18px;position:relative;margin-top:8px}
.sp-related-title::before{content:'';position:absolute;left:0;top:4px;bottom:6px;width:5px;background:#e91e63;border-radius:3px}
.sp-related-grid{grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:0}

/* Responsive */
@media(max-width:1024px){
.single-product-main{grid-template-columns:1fr 1fr;gap:32px}
.sp-related-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:768px){
.single-product-main{grid-template-columns:1fr;gap:28px}
.sp-title{font-size:24px}
.sp-price{font-size:24px}
.sp-thumbs{justify-content:flex-start}
.sp-tab-btn{padding:12px 20px;font-size:14px}
.sp-related-grid{grid-template-columns:repeat(2,1fr);gap:20px}
}
@media(max-width:480px){
.sp-related-grid{grid-template-columns:1fr 1fr;gap:14px}
.sp-trust{gap:12px}
.sp-trust-item{font-size:12px}
}
/* ==================== Archive / Category Page ==================== */
/* Legacy archive header (shop page) - kept for backward compatibility, recolored to rose */
.archive-header{background:#fff8fa;padding:28px 0 24px;border-bottom:1px solid #f5e0e8}
.archive-header .breadcrumb{font-size:13px;color:#888;margin-bottom:12px}
.archive-header .breadcrumb a{color:#a04555;text-decoration:none;transition:color .15s}
.archive-header .breadcrumb a:hover{color:#e91e63}
.archive-header .breadcrumb .sep{margin:0 6px;color:#ccc}
.archive-header .breadcrumb .current{color:#e91e63;font-weight:600}
.archive-header .archive-title{font-size:30px;font-weight:700;color:#222;margin:0;padding-left:18px;position:relative}
.archive-header .archive-title::before{content:'';position:absolute;left:0;top:6px;bottom:8px;width:5px;background:#e91e63;border-radius:3px}

/* Standalone breadcrumb bar - separates breadcrumb from page title */
.archive-breadcrumb-bar{background:#fff8fa;padding:14px 0;border-bottom:1px solid #f5e0e8}
.archive-breadcrumb-bar .breadcrumb{font-size:13px;color:#888}
.archive-breadcrumb-bar .breadcrumb a{color:#a04555;text-decoration:none;transition:color .15s}
.archive-breadcrumb-bar .breadcrumb a:hover{color:#e91e63}
.archive-breadcrumb-bar .breadcrumb .sep{margin:0 6px;color:#ccc}
.archive-breadcrumb-bar .breadcrumb .current{color:#e91e63;font-weight:600}

/* Layout spacing - looser */
.archive-layout{padding:56px 0 80px;background:#fff}
.archive-grid{display:grid;grid-template-columns:280px 1fr;gap:48px;align-items:flex-start}

/* ========== SIDEBAR (reference image style) ========== */
.archive-sidebar{position:sticky;top:20px;display:flex;flex-direction:column;gap:18px}

/* Search box */
.sidebar-search{margin:0}
.sidebar-search-input{width:100%;padding:12px 16px;font-size:14px;color:#333;background:#fff;border:1px solid #ddd;border-radius:6px;outline:none;transition:border-color .15s,box-shadow .15s;box-sizing:border-box}
.sidebar-search-input:focus{border-color:#e91e63;box-shadow:0 0 0 3px rgba(233,30,99,.08)}
.sidebar-search-input::placeholder{color:#aaa}

/* Reset Filters button */
.sidebar-reset-btn{display:block;width:100%;text-align:center;padding:13px 16px;font-size:14px;font-weight:600;color:#fff;background:#e91e63;border-radius:6px;text-decoration:none;letter-spacing:.5px;transition:background .15s;box-sizing:border-box}
.sidebar-reset-btn:hover{background:#c01754;color:#fff}

/* Category filter block */
.sidebar-block{background:#fff;border:none;padding:0;margin:0}
.sidebar-title{font-size:15px;font-weight:700;color:#222;margin-bottom:20px;padding:0;text-transform:none;letter-spacing:0;border:none}

/* Checkbox filter list */
.sidebar-filter-list{list-style:none;margin:0;padding:0}
.filter-item{margin:0;padding:0}
.filter-label{display:flex;align-items:center;gap:12px;padding:10px 0;font-size:14px;color:#222;cursor:pointer;user-select:none;transition:color .15s;margin:0}
.filter-label input[type=checkbox]{display:none}
.filter-box{flex:0 0 18px;width:18px;height:18px;border:1.5px solid #bbb;border-radius:3px;background:#fff;position:relative;transition:all .15s;margin:0;box-sizing:border-box}
.filter-label input[type=checkbox]:checked + .filter-box{background:#e91e63;border-color:#e91e63}
.filter-label input[type=checkbox]:checked + .filter-box::after{content:'';position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.filter-label:hover{color:#e91e63}
.filter-item.active .filter-label{color:#e91e63;font-weight:600}
.filter-name{flex:1}
.filter-count{color:#999;font-size:13px}
.filter-item.active .filter-count{color:#c01754}

/* Sub-category indent */
.filter-sub-list{list-style:none;margin:4px 0 4px 0;padding:0}
.filter-sub-list .filter-label{padding:8px 0 8px 30px;font-size:13px;color:#333}
.filter-sub-list .filter-count{color:#888;font-size:12px}
.filter-sub-list .filter-item.active .filter-label{color:#e91e63}

/* ========== TITLE BAR ========== */
.archive-title-bar{margin-bottom:32px;padding-bottom:24px;border-bottom:2px solid #f5e0e8}
.archive-title{font-size:36px;font-weight:700;color:#222;margin:0 0 8px;letter-spacing:-.5px;position:relative;padding-left:18px}
.archive-title::before{content:'';position:absolute;left:0;top:6px;bottom:8px;width:5px;background:#e91e63;border-radius:3px}
.archive-desc{font-size:15px;color:#666;line-height:1.75;margin-top:12px}
.archive-desc p{margin:0 0 6px}
.archive-desc p:last-child{margin-bottom:0}

/* ========== TOOLBAR ========== */
.archive-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;margin-bottom:28px;background:#fff8fa;border:1px solid #f5e0e8;border-radius:8px}
.result-count{font-size:14px;color:#a04555;font-weight:600}
.archive-sort{display:flex;align-items:center;gap:10px}
.archive-sort label{font-size:13px;color:#888}
.archive-sort select{padding:9px 34px 9px 14px;font-size:13px;border:1px solid #ddd;border-radius:6px;background:#fff;cursor:pointer;outline:none;transition:border-color .15s}
.archive-sort select:focus{border-color:#e91e63}

/* ========== PRODUCT GRID (3 columns) ========== */
.cat-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}
.cat-product-card{background:#fff;border:1px solid #eee;border-radius:10px;overflow:hidden;transition:box-shadow .2s,transform .2s,border-color .2s}
.cat-product-card:hover{box-shadow:0 10px 30px rgba(233,30,99,.13);transform:translateY(-4px);border-color:#f5b6c8}
.card-img-wrap{position:relative;overflow:hidden;aspect-ratio:1/1;background:#f5f5f5}
.card-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.cat-product-card:hover .card-img-wrap img{transform:scale(1.05)}
.sale-badge{position:absolute;top:12px;left:12px;background:#e91e63;color:#fff;font-size:11px;font-weight:700;padding:5px 12px;border-radius:3px;z-index:2;letter-spacing:.5px}
.card-quick-add{position:absolute;bottom:0;left:0;right:0;background:rgba(233,30,99,.92);color:#fff;border:none;padding:14px;font-size:13px;font-weight:600;cursor:pointer;transform:translateY(100%);transition:transform .2s,background .2s;z-index:2;text-align:center;text-transform:uppercase;letter-spacing:.5px}
.cat-product-card:hover .card-quick-add{transform:translateY(0)}
.card-quick-add:hover{background:#e91e63}
.card-info{padding:18px 20px 22px}
.card-name{font-size:15px;font-weight:600;margin:0 0 12px;line-height:1.4}
.card-name a{color:#333;text-decoration:none;transition:color .15s}
.card-name a:hover{color:#e91e63}
.card-price{font-size:17px;font-weight:700;color:#e91e63}
.card-price del{color:#999;font-weight:400;font-size:13px}
.card-price ins{text-decoration:none}

/* ========== PAGINATION ========== */
.archive-pagination{margin-top:56px;text-align:center}
.archive-pagination .page-numbers{display:inline-flex;list-style:none;padding:0;margin:0;gap:8px}
.archive-pagination .page-numbers li a,.archive-pagination .page-numbers li span{display:inline-block;min-width:40px;height:40px;line-height:40px;padding:0 12px;font-size:14px;color:#555;text-decoration:none;border:1px solid #ddd;border-radius:6px;transition:all .15s}
.archive-pagination .page-numbers li a:hover{background:#e91e63;color:#fff;border-color:#e91e63}
.archive-pagination .page-numbers li .current{background:#e91e63;color:#fff;border-color:#e91e63;font-weight:600}

/* No products */
.no-products{text-align:center;padding:80px 20px;color:#999;font-size:16px}

/* SEO section */
.archive-seo{background:#fff8fa;padding:56px 0;border-top:1px solid #f5e0e8}
.archive-seo .seo-content{max-width:800px;margin:0 auto;font-size:14px;line-height:1.8;color:#666}
.archive-seo .seo-content h2{font-size:22px;color:#e91e63;margin-bottom:16px}
.archive-seo .seo-content p{margin-bottom:14px}

/* Responsive */
@media(max-width:1024px){
.cat-product-grid{grid-template-columns:repeat(2,1fr)}
.archive-grid{grid-template-columns:240px 1fr;gap:32px}
}
@media(max-width:768px){
.archive-grid{grid-template-columns:1fr;gap:0}
.archive-sidebar{position:static;margin-bottom:30px}
.cat-product-grid{grid-template-columns:repeat(2,1fr);gap:24px}
.archive-title{font-size:28px}
.archive-layout{padding:36px 0 60px}
}
@media(max-width:480px){
.cat-product-grid{grid-template-columns:1fr}
}
.tc-member h3{font-size:16px;font-weight:700;color:#333;margin-bottom:10px}
.tc-stars{font-size:16px;color:#ffc107;letter-spacing:2px;margin-bottom:14px}
.tc-contact-btn{display:inline-block;background:#e0e0e0;color:#555;font-size:12px;font-weight:600;padding:8px 24px;border-radius:20px;text-decoration:none;text-transform:uppercase;letter-spacing:1px;transition:background .2s,color .2s}
.tc-contact-btn:hover{background:#009688;color:#fff}

.tc-showcase{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.tc-showcase-item{text-align:center}
.tc-showcase-img{margin-bottom:20px}
.tc-showcase-img img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:12px;display:block}
.tc-showcase-text h3{font-size:18px;font-weight:700;color:#009688;text-transform:uppercase;letter-spacing:1px;margin-bottom:14px}
.tc-showcase-text p{font-size:13px;line-height:1.8;color:#666;text-align:left}

@media(max-width:768px){
    .tc-gallery{grid-template-columns:1fr}
    .tc-members{grid-template-columns:1fr;max-width:300px;margin:0 auto 60px}
    .tc-showcase{grid-template-columns:1fr;gap:30px}
}

/* ==================== Footer ==================== */
.site-footer{background:#1a1a2e;color:#b0b0b0;padding:50px 0 0}
.site-footer .container{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:40px;padding-bottom:40px}
.footer-col h4{color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:20px}
.footer-col p{font-size:13px;line-height:1.8;margin-bottom:8px}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{font-size:13px;color:#b0b0b0;transition:color .2s}
.footer-col ul li a:hover{color:#4caf50}
.footer-about .footer-logo{margin-bottom:16px}
.footer-about .footer-logo img{max-height:50px}
.footer-about p{font-size:13px;color:#999;line-height:1.8}
.footer-social{display:flex;gap:12px;margin-top:16px}
.footer-social a{width:36px;height:36px;background:rgba(255,255,255,.08);border-radius:50%;display:flex;align-items:center;justify-content:center;transition:background .2s}
.footer-social a:hover{background:#1e5aa8}
.footer-social svg{width:18px;height:18px;fill:#b0b0b0}
.footer-contact-item{display:flex;align-items:flex-start;gap:10px;margin-bottom:12px;font-size:13px}
.footer-contact-item svg{width:16px;height:16px;fill:#4caf50;flex-shrink:0;margin-top:2px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;text-align:center;font-size:12px;color:#666}

/* ==================== Responsive ==================== */
@media(max-width:1024px){
    .header-main .container{grid-template-columns:1fr;gap:16px;text-align:center}
    .contact-info{justify-content:center;flex-wrap:wrap}
    .user-actions{justify-content:center}
    .hero-slide{grid-template-columns:1fr;gap:20px}
    .hero-product.left,.hero-product.right{padding:0}
    .features-bar .container{grid-template-columns:repeat(2,1fr);gap:24px}
    .site-footer .container{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
    .top-bar .tb-center{display:none}
    .main-nav .container{flex-wrap:wrap}
    .main-nav .menu-item a{padding:12px 16px;font-size:12px}
    .features-bar .container{grid-template-columns:1fr}
    .site-footer .container{grid-template-columns:1fr}
    .ua-lang{display:none}
}

/* Share buttons (same row as Add to Cart + Wishlist) */
.sp-share-wrap{flex:0 0 auto;display:flex;align-items:center;gap:6px;margin-left:6px}
.sp-share-label{font-size:13px;color:#888;font-weight:500;margin-right:4px}
.sp-share-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;color:#666;background:#fff;border:1.5px solid #ccc;border-radius:6px;text-decoration:none !important;transition:all .15s;box-sizing:border-box}
.sp-share-btn svg{width:16px;height:16px;display:block}
.sp-share-btn:hover{background:#444;color:#fff;border-color:#444}
.sp-share-btn:hover svg{fill:#fff !important}

@media(max-width:768px){
.sp-share-wrap{margin-left:0;margin-top:4px}
.sp-share-label{display:none}
}

/* ==================== Cart Drawer (slide-in) ==================== */
.cart-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9998;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.cart-drawer-overlay.open{opacity:1;visibility:visible}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;width:380px;max-width:88vw;background:#fff;z-index:9999;display:flex;flex-direction:column;box-shadow:-8px 0 24px rgba(0,0,0,.12);transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);visibility:hidden}
.cart-drawer.open{transform:translateX(0);visibility:visible}
.cart-drawer[aria-hidden="false"]{visibility:visible}

.cd-header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #f5e0e8;background:#fff}
.cd-title{font-size:17px;font-weight:700;color:#222;letter-spacing:.3px}
.cd-close{width:32px;height:32px;border:none;background:none;font-size:26px;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .15s;line-height:1;padding:0}
.cd-close:hover{background:#fce4ec;color:#e91e63}

.cd-body{flex:1;overflow-y:auto;padding:16px 22px;display:flex;flex-direction:column;gap:14px;background:#fff}
.cd-loading,.cd-empty{flex:1;display:flex;align-items:center;justify-content:center;color:#999;font-size:14px;text-align:center;padding:40px 0}

.cd-item{display:flex;gap:14px;padding:12px 0;border-bottom:1px dashed #f5e0e8;align-items:flex-start}
.cd-item:last-child{border-bottom:none}
.cd-item-img{flex:0 0 72px;width:72px;height:72px;border-radius:8px;overflow:hidden;background:#f9f9f9;border:1px solid #eee}
.cd-item-img img{width:100%;height:100%;object-fit:cover;display:block}
.cd-item-info{flex:1;display:flex;flex-direction:column;gap:6px;min-width:0}
.cd-item-name{font-size:14px;font-weight:600;color:#333;text-decoration:none;line-height:1.4;transition:color .15s;word-break:break-word}
.cd-item-name:hover{color:#e91e63}
.cd-item-meta{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.cd-item-qty{font-size:13px;color:#888}
.cd-item-price{font-size:14px;color:#e91e63;font-weight:700;white-space:nowrap}
.cd-item-price .woocommerce-Price-amount{color:#e91e63;font-weight:700}

.cd-footer{padding:16px 22px 20px;border-top:1px solid #f5e0e8;background:#fff8fa}
.cd-subtotal{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.cd-subtotal-label{font-size:14px;color:#666;font-weight:600}
.cd-subtotal-value{font-size:18px;font-weight:700;color:#e91e63}
.cd-subtotal-value .woocommerce-Price-amount{color:#e91e63;font-weight:700}
.cd-actions{display:flex;gap:10px;margin-bottom:12px}
.cd-btn{flex:1;padding:13px 18px;font-size:14px;font-weight:700;text-align:center;text-decoration:none;border-radius:8px;transition:all .15s;letter-spacing:.3px;text-transform:uppercase}
.cd-btn-cart{color:#fff;background:#fff;border:2px solid #e91e63}
.cd-btn-cart:hover{background:#e91e63;color:#fff}
.cd-btn-checkout{color:#fff;background:#e91e63;border:2px solid #e91e63}
.cd-btn-checkout:hover{background:#c01754;border-color:#c01754}
.cd-continue{display:block;text-align:center;color:#888;font-size:13px;text-decoration:none;padding:6px;transition:color .15s}
.cd-continue:hover{color:#e91e63}

@media(max-width:480px){
.cart-drawer{width:100vw}
.cd-item-img{flex:0 0 60px;width:60px;height:60px}
.cd-actions{flex-direction:column;gap:8px}
}