.home-section-title{margin:0 0 22px;font-size:20px;font-weight:600}.home-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.home-section-heading h2{margin:0;font-size:20px}.home-section-heading a{color:#777;font-size:12px}.fire-mark{display:inline-flex;align-items:center;justify-content:center;margin-right:7px;color:#d4af37;font-size:17px;transform:rotate(45deg)}.home-hot{padding-top:42px}.home-new{padding-top:20px}.button-outline{border:1px solid #111;background:#fff;color:#111}.button-outline:hover{background:#111;color:#fff}.home-more{display:flex;justify-content:center;margin-top:30px}.home-more[hidden]{display:none}.category-section .product-grid{min-height:280px}

/* Featured Brands mirrors the Vue row: one evenly distributed line with responsive logo sizing. */
.section.section-border{padding:0;border-bottom:1px solid #f3f4f6}
.section-border>.container{padding-top:32px;padding-bottom:32px}
.featured-brands-strip{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;overflow:hidden}
.featured-brand-item{display:flex;flex:0 0 var(--brand-logo-size,96px);min-width:52px;flex-direction:column;align-items:center;text-align:center}
.featured-brand-logo{width:var(--brand-logo-size,96px);height:var(--brand-logo-size,96px);display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #f3f4f6;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.06);color:#9ca3af;font-size:24px;font-weight:600;transition:transform .3s,box-shadow .3s}
.featured-brand-logo img{width:100%;height:100%;object-fit:cover}
.featured-brand-name{width:var(--brand-logo-size,96px);margin-top:8px;overflow:hidden;color:#374151;font-size:14px;font-weight:500;line-height:20px;text-align:center;text-overflow:ellipsis;white-space:nowrap;transition:color .3s}
.featured-brand-item:hover .featured-brand-logo{box-shadow:0 4px 10px rgba(0,0,0,.12);transform:scale(1.05)}
.featured-brand-item:hover .featured-brand-name{color:#111}
.brand-logo-all{border:0;background:#111;box-shadow:none;color:#fff;font-size:20px;font-weight:700;letter-spacing:.05em}
.brand-all:hover .brand-logo-all{box-shadow:0 4px 10px rgba(0,0,0,.18)}

@media(max-width:760px){.home-section-title,.home-section-heading h2{font-size:18px}.home-hot{padding-top:30px}.section-border>.container{padding-top:24px;padding-bottom:24px}}

/* Hot Sale follows the original Vue tab strip and product rhythm. */
.home-hot{width:min(1280px,100%);padding:32px 16px}
.hot-sale-heading{display:flex;align-items:center;gap:16px;margin-bottom:16px}
.hot-sale-title{display:flex;flex:0 0 auto;align-items:center;margin:0;font-size:20px;font-weight:600;line-height:28px;white-space:nowrap}
.hot-sale-title svg{flex:0 0 auto;margin-right:8px}
.hot-tabs-wrap{position:relative;min-width:0;flex:1}
.home-tabs[data-hot-tabs]{display:flex;align-items:center;gap:4px;overflow-x:auto;padding:4px;scroll-behavior:smooth;scrollbar-width:none}
.home-tabs[data-hot-tabs]::-webkit-scrollbar{display:none}
.home-tabs[data-hot-tabs] .home-tab{flex:0 0 auto;border:0;border-radius:999px;padding:4px 8px;background:transparent;color:#374151;font-size:14px;line-height:20px;white-space:nowrap;transition:background-color .2s,color .2s}
.home-tabs[data-hot-tabs] .home-tab:hover{background:#f3f4f6;color:#111}
.home-tabs[data-hot-tabs] .home-tab.is-active{border:0;background:#000;color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.hot-tab-fade{position:absolute;top:0;bottom:0;z-index:10;width:32px;pointer-events:none}
.hot-tab-fade-left{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.hot-tab-fade-right{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0))}
.category-section .hot-product-grid{min-height:340px;column-gap:20px;row-gap:32px}
.hot-product-grid .product-cover-wrap{border-radius:12px}
.hot-product-grid .quick-add{right:8px;bottom:8px;width:40px;height:40px}
.hot-product-grid .product-info{margin-top:8px;padding:4px}
.hot-product-grid .product-info h3{min-height:36px;margin-bottom:10px;font-size:15px;line-height:18px}
.hot-product-grid .product-price strong{font-size:17px;font-weight:700}
.hot-product-grid .discount-badge{top:8px;left:8px;padding:4px 10px;background:linear-gradient(90deg,#ef4444,#dc2626);box-shadow:0 1px 2px rgba(0,0,0,.12);font-size:12px}
.hot-product-card.has-discount .product-price strong{color:#ef4444}
.hot-product-card .product-cover{transition:transform .7s ease,filter .7s ease}
.hot-product-card:hover .product-cover{transform:scale(1.1);transition-duration:.3s}
.hot-fade-up{opacity:0;transform:translateY(24px) scale(.98);animation:hot-fade-up .7s cubic-bezier(.16,1,.3,1) forwards}
@keyframes hot-fade-up{0%{opacity:0;transform:translateY(24px) scale(.98)}60%{opacity:.9}100%{opacity:1;transform:translateY(0) scale(1)}}
.hot-skeleton-card{min-width:0}
.hot-skeleton-cover{position:relative;overflow:hidden;aspect-ratio:1;border-radius:12px;background:linear-gradient(135deg,#e5e7eb,#f3f4f6,#e5e7eb);background-size:200% 200%;animation:hot-skeleton-shimmer 1.2s ease-in-out infinite}
.hot-skeleton-meta{display:grid;gap:8px;margin-top:10px;padding:4px}
.hot-skeleton-line{height:12px;border-radius:3px;background:#e5e7eb}
.hot-skeleton-line.short{width:45%}
@keyframes hot-skeleton-shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* New Products uses the same ProductCard rhythm as the Vue home page. */
.home-new{width:min(1280px,100%);padding:32px 16px}
.home-new .home-section-title{margin:0 0 24px;font-size:20px;font-weight:600;line-height:28px}
.new-product-grid{min-height:340px;column-gap:20px;row-gap:32px}
.new-product-grid .product-cover-wrap{border-radius:12px}
.new-product-grid .quick-add{right:8px;bottom:8px;width:40px;height:40px}
.new-product-grid .product-info{margin-top:8px;padding:4px}
.new-product-grid .product-info h3{min-height:36px;margin-bottom:10px;font-size:15px;line-height:18px}
.new-product-grid .product-price strong{font-size:17px;font-weight:700}
.new-product-grid .discount-badge{top:8px;left:8px;padding:4px 10px;background:linear-gradient(90deg,#ef4444,#dc2626);box-shadow:0 1px 2px rgba(0,0,0,.12);font-size:12px}
.new-product-card.has-discount .product-price strong{color:#ef4444}
.new-product-card .product-cover{transition:transform .7s ease,filter .7s ease}
.new-product-card:hover .product-cover{transform:scale(1.1);transition-duration:.3s}
.new-products-more{margin-top:32px}
.new-products-more .button{display:inline-flex;align-items:center;gap:8px;border:1px solid #000;border-radius:999px;padding:8px 24px;background:#fff;color:#000;font-size:14px;font-weight:400;letter-spacing:.05em;text-transform:uppercase;transition:background-color .2s,color .2s,opacity .2s}
.new-products-more .button:hover{background:#000;color:#fff}
.new-products-more .button:disabled{cursor:wait;opacity:.5}
.new-products-complete{color:#6b7280;font-size:14px}
.new-skeleton-card{min-width:0;opacity:0;transform:translateY(24px) scale(.98);animation:hot-fade-up .7s cubic-bezier(.16,1,.3,1) forwards}
.new-skeleton-cover{position:relative;overflow:hidden;aspect-ratio:1;border-radius:12px;background:linear-gradient(135deg,#e5e7eb,#f3f4f6,#e5e7eb);background-size:250% 100%;animation:hot-skeleton-shimmer 1.2s linear infinite}
.new-skeleton-meta{display:grid;gap:8px;margin-top:8px;padding:4px}
.new-skeleton-line{height:12px;border-radius:3px;background:#e5e7eb}
.new-skeleton-line.short{width:45%}

@media(min-width:768px){
    .home-tabs[data-hot-tabs] .home-tab{padding-right:12px;padding-left:12px;font-size:16px;line-height:24px}
}

@media(max-width:767px){
    .home-hot{padding-top:24px;padding-bottom:24px}
    .hot-sale-heading{gap:12px}
    .hot-sale-title{font-size:20px}
    .hot-tabs-wrap{min-width:0}
    .home-tabs[data-hot-tabs] .home-tab{font-size:14px}
    .category-section .hot-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-height:320px;column-gap:8px;row-gap:32px}
    .hot-product-grid .product-cover-wrap{border-radius:4px}
    .hot-product-grid .product-info{margin-top:4px;padding:4px}
    .hot-skeleton-cover{border-radius:4px}
    .home-new{padding-top:24px;padding-bottom:24px}
    .home-new .home-section-title{margin-bottom:24px}
    .new-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-height:320px;column-gap:8px;row-gap:32px}
    .new-product-grid .product-cover-wrap{border-radius:4px}
    .new-product-grid .product-info{margin-top:4px;padding:4px}
    .new-skeleton-cover{border-radius:4px}
}

/* Footer matches the centered five-column Vue layout. */
.site-footer{display:none}
.shop-footer{display:block;padding:48px 0 32px;background:#000;color:#ccc;text-align:center}
.shop-footer .container{width:min(1280px,100%);padding-right:16px;padding-left:16px}
.shop-footer-grid{display:flex;flex-direction:column;gap:36px;margin-bottom:40px}
.shop-footer-column h3{margin:0 0 10px;color:#fff;font-size:16px;font-weight:600;line-height:1.1}
.shop-footer-contact{color:#999;font-size:14px}
.shop-footer-contact p{margin:0}
.shop-footer-contact p+p{margin-top:2px}
.shop-footer-contact span{color:#666}
.shop-footer-social,.shop-footer-payments,.shop-footer-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:0;padding:0;list-style:none}
.shop-footer-social{gap:12px}
.shop-footer-social a{display:flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:4px;background:#222;color:#fff;transition:background-color .2s}
.shop-footer-social a:hover{background:#333}
.shop-footer-payments{gap:12px}
.shop-footer-payments li{display:flex;height:28px;align-items:center;padding:0 12px;border-radius:4px;background:#222;color:#fff;font-size:12px}
.shop-footer-links{display:grid;gap:8px;color:#999;font-size:14px}
.shop-footer-links a:hover{color:#fff;transition:color .2s}
.shop-footer-qr-button{border:0;border-radius:999px;padding:8px 40px;background:#4b5563;color:#000;font-size:16px;font-weight:600;transition:background-color .2s}
.shop-footer-qr-button:hover{background:#6b7280}
.shop-qr-modal{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.6);backdrop-filter:blur(4px)}
.shop-qr-modal[hidden]{display:none}
.shop-qr-dialog{width:min(320px,100%);padding:32px;border-radius:16px;background:#fff;box-shadow:0 20px 45px rgba(0,0,0,.25);color:#111;text-align:center}
.shop-qr-dialog h2{margin:0 0 16px;font-size:18px;font-weight:600}
.shop-qr-frame{display:inline-block;padding:16px;border:1px solid #f3f4f6;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.shop-qr-frame img{width:200px;height:200px}
.shop-qr-dialog p{margin:16px 0 0;color:#6b7280;font-size:12px;overflow-wrap:anywhere}
.shop-qr-close{width:100%;margin-top:24px;border:0;border-radius:999px;padding:10px 32px;background:#000;color:#fff;font-size:14px;font-weight:500}
@media(min-width:768px){.shop-footer{padding-top:80px;padding-bottom:80px}.shop-footer-grid{flex-direction:row;justify-content:space-evenly;gap:64px}}

/* Floating AI assistant matches the Vue widget. */
.ai-chat-toggle[hidden],.ai-chat[hidden]{display:none}
.ai-chat-toggle{position:fixed;right:20px;bottom:80px;z-index:9999;width:56px;height:56px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;background:#e63946;color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.2);font-size:0;transition:all .3s ease}
.ai-chat-toggle:hover{transform:scale(1.1)}
.ai-chat-toggle.is-open{background:#333}
.ai-chat{position:fixed;right:20px;bottom:148px;z-index:9998;width:360px;height:520px;display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:16px;background:#fff;box-shadow:0 8px 32px rgba(0,0,0,.18);font-family:system-ui,-apple-system,sans-serif;animation:ai-chat-in .3s ease}
.ai-chat-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border:0;background:#e63946;color:#fff}
.ai-chat-heading>div{font-size:16px;font-weight:600;line-height:1.2}
.ai-chat-heading small{display:block;margin-top:4px;color:rgba(255,255,255,.85);font-size:12px}
.ai-chat-head [data-ai-close]{display:none}
.ai-chat-messages{flex:1;overflow-y:auto;padding:16px;background:#f8f9fa}
.ai-message{max-width:85%;margin:0 0 12px;padding:10px 14px;border-radius:16px 16px 16px 4px;background:#fff;color:#1f2937;font-size:14px;line-height:1.5;word-break:break-word;white-space:pre-wrap;box-shadow:0 1px 4px rgba(0,0,0,.08);animation:ai-fade-up .3s ease}
.ai-message-user{margin-left:auto;border-radius:16px 16px 4px 16px;background:#e63946;color:#fff;box-shadow:none}
.ai-chat-empty{padding:40px 0;color:#999;font-size:14px;text-align:center}
.ai-chat-empty-icon{margin-bottom:12px;font-size:36px}
.ai-chat-empty small{display:block;margin-top:8px;font-size:12px}
.ai-typing{display:flex;gap:1px;width:max-content;margin:0 0 12px;padding:12px 16px;border-radius:16px 16px 16px 4px;background:#fff;color:#e63946;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.ai-typing span{font-size:24px;font-weight:700;line-height:1;animation:ai-typing-dot 1.4s infinite}
.ai-typing span:nth-child(2){animation-delay:.2s}.ai-typing span:nth-child(3){animation-delay:.4s}
.ai-chat-form{display:flex;align-items:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #e5e7eb;background:#fff}
.ai-chat-form input,.ai-chat-form textarea{width:auto;min-width:0;max-height:100px;flex:1;resize:none;border:1px solid #d1d5db;border-radius:24px;padding:10px 16px;outline:0;background:#fff;color:#1f2937;font-family:inherit;font-size:14px;line-height:1.4}
.ai-chat-form input:focus,.ai-chat-form textarea:focus{border-color:#e63946}
.ai-chat-form button{width:40px;height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;padding:0;background:#e63946;color:#fff;cursor:pointer;transition:opacity .2s}
.ai-chat-form button:disabled{cursor:not-allowed;opacity:.5}
@keyframes ai-chat-in{from{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes ai-fade-up{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes ai-typing-dot{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
@media(max-width:480px){.ai-chat{right:16px;bottom:130px;width:calc(100vw - 32px);height:60vh}}
