/* main.css — Full stylesheet (loaded deferred) */

/* ─── Mobile nav drawer ──────────────────────────────────────────────── */
.mobile-nav{position:fixed;top:0;left:0;width:280px;height:100vh;background:#fff;box-shadow:4px 0 20px rgba(0,0,0,.15);z-index:200;transform:translateX(-100%);transition:transform .3s ease;overflow-y:auto}
.mobile-nav.open{transform:translateX(0)}
.mobile-nav-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:199}
.mobile-nav-overlay.open{display:block}
.mobile-nav-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid var(--border)}
.mobile-nav-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--gray);padding:4px}
.mobile-nav a{display:block;padding:12px 16px;color:var(--dark);font-weight:500;border-bottom:1px solid var(--border)}
.mobile-nav a:hover{background:var(--blue-light);color:var(--blue)}

/* ─── Hero extras ────────────────────────────────────────────────────── */
.hero-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:12px}
.hero-badge{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--border);border-radius:99px;padding:6px 14px;font-size:.8rem;color:var(--gray);font-weight:500}
.hero-badge .icon{color:var(--green);font-size:1rem}

/* ─── Section headings ───────────────────────────────────────────────── */
.section{padding:60px 0}
.section-header{text-align:center;margin-bottom:40px}
.section-title{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;color:var(--dark);margin-bottom:8px}
.section-subtitle{color:#475569;font-size:1rem;max-width:500px;margin:0 auto}
.carousel-header .section-subtitle{margin:0}
.section-link{font-weight:600;font-size:.875rem;white-space:nowrap;flex:0 0 auto;min-height:36px}
.page-home .section-link.btn-outline{background:#fff;color:var(--blue-dark);border-color:var(--blue)}
.page-home .section-link.btn-outline:hover{background:var(--blue-dark);color:#fff;border-color:var(--blue-dark)}
.page-home .help-section__text{color:#fff;font-weight:500}

/* ─── Product card ───────────────────────────────────────────────────── */
.product-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:var(--transition);display:flex;flex-direction:column}
.product-card:hover{border-color:var(--blue);box-shadow:0 8px 24px rgba(0,120,212,.12);transform:translateY(-2px)}
.product-card__image{aspect-ratio:4/3;overflow:hidden;background:var(--gray-light);position:relative}
.product-card__image img{width:100%;height:100%;object-fit:contain;padding:16px;transition:var(--transition)}
.product-card:hover .product-card__image img{transform:scale(1.05)}
.product-card__badge{position:absolute;top:8px;left:8px;background:var(--red);color:#fff;font-size:.7rem;font-weight:700;padding:3px 8px;border-radius:99px}
.product-card__body{padding:16px;flex:1;display:flex;flex-direction:column}
.product-card__title{font-weight:600;font-size:.95rem;color:var(--dark);line-height:1.4;margin-bottom:8px}
.product-card__title a{color:inherit}
.product-card__title a:hover{color:var(--blue)}
.product-card__rating{display:flex;align-items:center;gap:6px;margin-bottom:12px}
.stars{color:#f59e0b;font-size:.85rem;letter-spacing:1px}
.review-count{color:var(--gray);font-size:.75rem}
.product-card__price{margin-top:auto;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.product-card__price-original{color:var(--gray);text-decoration:line-through;font-size:.85rem}
.product-card__price-sale{font-size:1.25rem;font-weight:700;color:var(--blue)}
.product-card__footer{padding:12px 16px;border-top:1px solid var(--border)}
.btn-add-cart{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:10px;background:var(--blue);color:#fff;border:none;border-radius:var(--radius);font-weight:600;font-size:.875rem;cursor:pointer;transition:var(--transition)}
.btn-add-cart:hover{background:var(--blue-dark)}

/* ─── Product grid ───────────────────────────────────────────────────── */
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
@media(max-width:480px){.products-grid{grid-template-columns:repeat(2,1fr);gap:12px}}

/* ─── Carousel ───────────────────────────────────────────────────────── */
.carousel-section{padding:40px 0}
.carousel-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.carousel-wrapper{position:relative;overflow:hidden}
.carousel-track{display:flex;gap:16px;transition:transform .4s ease;will-change:transform}
.carousel-track .product-card{flex:0 0 calc(100% / 2 - 8px);max-width:280px}
@media(min-width:640px){.carousel-track .product-card{flex:0 0 calc(100% / 3 - 12px)}}
@media(min-width:1024px){.carousel-track .product-card{flex:0 0 calc(100% / 4 - 12px)}}
.carousel-btn{position:absolute;top:50%;transform:translateY(-50%);background:#fff;border:1px solid var(--border);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:10;box-shadow:var(--shadow-md);font-size:1.1rem;color:var(--dark);transition:var(--transition)}
.carousel-btn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}
.carousel-btn--prev{left:-12px}
.carousel-btn--next{right:-12px}

/* ─── Why choose us ──────────────────────────────────────────────────── */
.why-us{background:var(--blue-light);padding:60px 0}
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px;margin-top:40px}
.why-card{background:#fff;border-radius:var(--radius-lg);padding:28px 24px;text-align:center;border:1px solid var(--border)}
.why-card__icon{font-size:2.5rem;margin-bottom:16px}
.why-card__title{font-weight:700;font-size:1rem;color:var(--dark);margin-bottom:8px}
.why-card__text{color:var(--gray);font-size:.875rem;line-height:1.6}

/* ─── Breadcrumb ─────────────────────────────────────────────────────── */
.breadcrumb{padding:12px 0;font-size:.85rem}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.breadcrumb li+li::before{content:'›';color:var(--gray);margin-right:4px}
.breadcrumb a{color:var(--blue);font-weight:bold;}
.breadcrumb a:hover{color:var(--blue)}
.breadcrumb [aria-current]{color:var(--dark);font-weight:500}

/* ─── Category page ──────────────────────────────────────────────────── */
.category-hero{background:var(--blue-light);padding:40px 0;border-bottom:1px solid var(--border)}
.category-hero h1{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;color:var(--dark)}
.category-hero p{color:var(--gray);margin-top:8px}
.category-layout{display:grid;gap:32px;margin:40px 0}
@media(min-width:768px){.category-layout{grid-template-columns:240px 1fr}}
.filter-panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:20px;height:fit-content;position:sticky;top:80px}
.filter-panel h3{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--gray);margin-bottom:12px}
.filter-group{margin-bottom:20px}
.filter-group label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.875rem;color:var(--dark);padding:4px 0}
.filter-group input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px}
.category-seo{background:var(--gray-light);border-radius:var(--radius-lg);padding:24px;margin-top:40px}
.category-seo h2{font-size:1.1rem;font-weight:700;margin-bottom:12px}
.category-seo p{color:var(--gray);font-size:.875rem;line-height:1.7;margin-bottom:12px}

/* ─── Product page ───────────────────────────────────────────────────── */
.product-layout{display:grid;gap:40px;margin:40px 0;contain:layout}
@media(min-width:768px){.product-layout{grid-template-columns:1fr 1fr;grid-template-rows:auto}}
@media(min-width:1024px){.product-layout{grid-template-columns:480px 1fr}}
.product-gallery{position:sticky;top:80px;align-self:start}
.product-gallery__main{aspect-ratio:1/1;width:100%;background:var(--gray-light);border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;padding:24px}
.product-gallery__main img{width:100%;height:100%;object-fit:contain;display:block}
.product-gallery__thumbs{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:10px;margin-top:12px}
.product-gallery__thumb{padding:0;border:1px solid var(--border);border-radius:10px;background:#fff;overflow:hidden;cursor:pointer;transition:var(--transition)}
.product-gallery__thumb img{display:block;width:100%;height:210px;object-fit:cover}
.product-gallery__thumb.is-active,.product-gallery__thumb:hover{height: 210px;border-color:var(--blue);box-shadow:0 0 0 2px rgba(0,120,212,.12)}
.product-info{}
.product-sku{font-size:.75rem;color:var(--gray);margin-bottom:8px}
.product-title{font-size:clamp(1.3rem,3vw,1.75rem);font-weight:700;color:var(--dark);line-height:1.3;margin-bottom:12px}
.product-rating{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.product-price-wrap{margin-bottom:20px}
.product-price-original{font-size:.95rem;color:var(--gray);text-decoration:line-through}
.product-price-sale{font-size:2rem;font-weight:700;color:var(--blue)}
.product-discount{display:inline-block;background:var(--red);color:#fff;font-size:.75rem;font-weight:700;padding:2px 8px;border-radius:99px;margin-left:8px}
.product-benefits{list-style:none;display:flex;flex-direction:column;gap:8px;margin-bottom:24px;padding:16px;background:var(--blue-light);border-radius:var(--radius)}
.product-benefits li{display:flex;align-items:center;gap:8px;font-size:.875rem;color:var(--dark)}
.product-benefits .icon{color:var(--green);font-weight:700;font-size:1rem}
.btn-buy-now{font-size:1.05rem;padding:16px 32px}
.product-stock{font-size:.8rem;margin-top:12px}
.stock-in{color:#166534;font-weight:700}
.stock-out{color:var(--red);font-weight:600}
.product-specs{margin-top:32px;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.product-specs h2{padding:14px 20px;background:var(--blue-light);font-size:.8rem;font-weight:700;border-bottom:1px solid var(--border);letter-spacing:.06em;text-transform:uppercase;color:var(--blue-dark)}
.specs-table{width:100%;border-collapse:collapse}
.specs-table tr:nth-child(even){background:var(--gray-light)}
.specs-table tr:not(:last-child){border-bottom:1px solid var(--border)}
.specs-table td{padding:11px 20px;font-size:.875rem;vertical-align:middle}
.specs-table td:first-child{color:#374151;width:46%;font-weight:600;white-space:nowrap}
.specs-table td:first-child span{margin-right:6px;font-size:1rem}
.specs-table td:last-child{color:var(--dark);font-weight:700}
.product-description{margin-top:32px}
.product-description h2{font-size:1.25rem;font-weight:700;margin-bottom:16px}
.product-description p{color:var(--gray);line-height:1.8;margin-bottom:16px;font-size:.95rem}
.product-description h3{font-size:1rem;font-weight:700;color:var(--dark);margin:20px 0 10px}
.product-faq{margin-top:32px}
.product-faq h2{font-size:1.25rem;font-weight:700;margin-bottom:20px}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:8px;overflow:hidden}
.faq-question{display:flex;align-items:center;justify-content:space-between;padding:16px;cursor:pointer;font-weight:600;font-size:.9rem;gap:12px;background:#fff;border:none;width:100%;text-align:left}
.faq-question:hover{background:var(--blue-light)}
.faq-icon{flex-shrink:0;transition:var(--transition);font-size:1.1rem}
.faq-item.open .faq-icon{transform:rotate(45deg)}
.faq-answer{padding:0 16px;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;font-size:.875rem;color:var(--gray);line-height:1.7}
.faq-item.open .faq-answer{max-height:400px;padding:0 16px 16px}
.product-reviews{margin-top:40px}
.product-reviews h2{font-size:1.25rem;font-weight:700;margin-bottom:20px}
.review-card{border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:12px}
.review-header{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.review-author{font-weight:600;font-size:.9rem}
.review-date{color:var(--gray);font-size:.75rem;margin-left:auto}
.review-body{font-size:.875rem;color:var(--gray);line-height:1.6}
.steps-section{margin-top:32px;background:var(--gray-light);border-radius:var(--radius-lg);padding:24px}
.steps-section h2{font-size:1rem;font-weight:700;margin-bottom:20px}
.steps{display:flex;flex-direction:column;gap:16px}
@media(min-width:640px){.steps{flex-direction:row}}
.step{display:flex;align-items:flex-start;gap:12px;flex:1}
.step__num{flex-shrink:0;width:32px;height:32px;background:var(--blue);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}
.step__title{font-weight:600;font-size:.875rem;color:var(--dark);margin-bottom:4px}
.step__text{font-size:.8rem;color:#374151}

/* ─── Cart ───────────────────────────────────────────────────────────── */
.cart-layout{display:grid;gap:24px;margin:40px 0}
@media(min-width:768px){.cart-layout{grid-template-columns:1fr 360px}}
.cart-items{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden}
.cart-item{display:grid;grid-template-columns:80px 1fr auto;gap:12px;padding:16px;border-bottom:1px solid var(--border);align-items:start}
.cart-item:last-child{border-bottom:none}
.cart-item__image{aspect-ratio:1;border-radius:var(--radius);overflow:hidden;background:var(--gray-light)}
.cart-item__image img{width:100%;height:100%;object-fit:contain;padding:6px}
.cart-item__title{font-weight:600;font-size:.9rem;color:var(--dark)}
.cart-item__sku{font-size:.75rem;color:var(--gray)}
.cart-item__price{font-weight:700;color:var(--blue)}
.cart-item__remove{background:none;border:none;color:var(--gray);cursor:pointer;font-size:1.1rem;padding:4px;transition:var(--transition)}
.cart-item__remove:hover{color:var(--red)}
.cart-empty{padding:60px;text-align:center;color:var(--gray)}
.cart-empty .icon{font-size:3rem;margin-bottom:16px}
/* Qty stepper */
.qty-stepper{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;height:44px;margin-bottom:4px}
.qty-stepper__btn{background:var(--gray-light);border:none;width:36px;height:100%;font-size:1.1rem;cursor:pointer;color:var(--dark);transition:background .15s}
.qty-stepper__btn:hover{background:var(--border)}
.qty-stepper__input{width:52px;border:none;border-left:1px solid var(--border);border-right:1px solid var(--border);text-align:center;font-size:.9rem;height:100%;-moz-appearance:textfield}
.qty-stepper__input::-webkit-outer-spin-button,.qty-stepper__input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}
.qty-stepper--sm{height:32px}
.qty-stepper--sm .qty-stepper__btn{width:28px;font-size:.95rem}
.qty-stepper--sm .qty-stepper__input{width:36px;font-size:.8rem}
.cart-item__body{display:flex;flex-direction:column}
.order-summary{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:24px;height:fit-content;position:sticky;top:80px}
.order-summary h2{font-size:1rem;font-weight:700;margin-bottom:20px}
.summary-row{display:flex;justify-content:space-between;font-size:.875rem;padding:8px 0;border-bottom:1px solid var(--border)}
.summary-row:last-of-type{border-bottom:none}
.summary-total{display:flex;justify-content:space-between;font-size:1.1rem;font-weight:700;padding-top:16px;margin-top:8px;border-top:2px solid var(--dark)}
.checkout-summary-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);align-items:start}
.checkout-summary-item__meta{min-width:0}
.checkout-summary-item__name{font-size:.95rem;color:var(--dark);line-height:1.5;overflow-wrap:anywhere}
.checkout-summary-item__qty{font-size:.8rem;color:var(--gray);margin-top:2px}
.checkout-summary-item__price{font-size:.95rem;font-weight:600;color:var(--dark);white-space:nowrap;text-align:right}

/* ─── Checkout ───────────────────────────────────────────────────────── */
.checkout-layout{display:grid;gap:32px;margin:40px 0}
@media(min-width:768px){.checkout-layout{grid-template-columns:1fr 380px}}
.checkout-form{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:28px}
.checkout-form h2{font-size:1.1rem;font-weight:700;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--border)}
.form-row{display:grid;gap:16px;margin-bottom:16px}
@media(min-width:640px){.form-row.cols-2{grid-template-columns:1fr 1fr}}
.form-group{display:flex;flex-direction:column;gap:4px}
.form-label{font-size:.85rem;font-weight:600;color:var(--dark)}
.form-label .req{color:var(--red)}
.form-input,.form-select,.form-textarea{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);font-size:.9rem;color:var(--dark);background:#fff;transition:var(--transition);font-family:var(--font)}
.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,120,212,.12)}
.form-input.error{border-color:var(--red)}
.form-error{font-size:.75rem;color:var(--red);margin-top:2px}
.payment-options{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.payment-option{display:flex;align-items:center;gap:12px;padding:14px 16px;border:2px solid var(--border);border-radius:var(--radius-lg);cursor:pointer;transition:var(--transition)}
.payment-option:hover{border-color:var(--blue)}
.payment-option input[type=radio]{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0}
.payment-option.selected{border-color:var(--blue);background:var(--blue-light)}
.payment-option__icon{font-size:1.5rem}
.payment-option__title{font-weight:600;font-size:.9rem}
.payment-option__desc{font-size:.75rem;color:var(--gray)}

/* ─── Alert / Flash messages ─────────────────────────────────────────── */
.alert{display:flex;align-items:flex-start;gap:10px;padding:12px 16px;border-radius:var(--radius);font-size:.875rem;margin-bottom:16px}
.alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#15803d}
.alert-error{background:#f5f3ff;border:1px solid #c4b5fd;color:#5b21b6}
.alert-info{background:var(--blue-light);border:1px solid #bfdbfe;color:var(--blue-dark)}
.alert-warning{background:#fffbeb;border:1px solid #fde68a;color:#92400e}

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer{background:var(--dark);color:#e5e7eb;padding:60px 0 0}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px;margin-bottom:40px}
.footer-brand .logo{color:#fff}
.footer-brand .footer-logo{display:inline-flex;background:#fff;border-radius:8px;padding:8px 10px;box-shadow:0 1px 0 rgba(255,255,255,.08)}
.footer-brand .footer-logo img{display:block;height:40px;width:auto;filter:none}
.footer-brand p{font-size:.875rem;color:#9ca3af;margin-top:12px;line-height:1.7}
.footer-col__title{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#9ca3af;margin-bottom:14px}
.footer-col a{display:block;color:#e5e7eb;font-size:.875rem;margin-bottom:8px;transition:var(--transition)}
.footer-col a:hover{color:#fff}
.footer-col p{font-size:.875rem;color:#9ca3af;margin-bottom:6px}
.footer-anpc{display:flex;align-items:center;gap:12px;margin-top:16px}
.footer-anpc img{height:40px;border-radius:4px}
.footer-certifications{border-top:1px solid #374151;padding:18px 0}
.footer-certifications__row{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;overflow:visible;padding-bottom:2px}
.footer-certification{flex:0 0 auto;display:flex;align-items:center;justify-content:center;border-radius:6px;padding:6px 10px;height:50px;box-sizing:border-box}
.footer-certification--microsoft{min-width:150px}
.footer-certification--emag{min-width:146px}
.footer-certification--wide{padding:3px 7px}
.footer-certification--wide{min-width:210px}
.footer-certification img{display:block;max-height:42px;width:auto}
.footer-bottom{border-top:1px solid #374151;padding:20px 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;font-size:.8rem;color:#9ca3af}
.footer-bottom a{color:#9ca3af}
.footer-bottom a:hover{color:#fff}
.footer-payment-icons{display:flex;align-items:center;gap:8px}
.footer-payment-icons img{height:24px;border-radius:3px}

/* ─── Trust badges ───────────────────────────────────────────────────── */
.trust-strip{background:var(--blue);padding:12px 0}
.trust-strip-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:24px}
.trust-item{display:flex;align-items:center;gap:6px;color:#fff;font-size:.8rem;font-weight:600}
.trust-item .icon{font-size:1rem}

/* ─── Logo carousel ──────────────────────────────────────────────────── */
.logo-carousel-wrap{padding:20px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff;overflow:hidden}
.logo-carousel-label{text-align:center;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--gray);margin-bottom:16px}
.logo-carousel-track{overflow:hidden;position:relative}
.logo-carousel-track::before,.logo-carousel-track::after{content:'';position:absolute;top:0;width:80px;height:100%;z-index:2;pointer-events:none}
.logo-carousel-track::before{left:0;background:linear-gradient(to right,#fff,transparent)}
.logo-carousel-track::after{right:0;background:linear-gradient(to left,#fff,transparent)}
.logo-carousel-inner{display:flex;gap:40px;align-items:center;animation:logoScroll 22s linear infinite;width:max-content}
.logo-carousel-wrap:hover .logo-carousel-inner{animation-play-state:paused}
.logo-item{flex-shrink:0;display:flex;align-items:center;justify-content:center;opacity:.6;transition:opacity .2s}
.logo-item:hover{opacity:1}
.logo-item img{height:36px;width:auto;object-fit:contain;filter:grayscale(1);transition:filter .2s}
.logo-item:hover img{filter:none}
@keyframes logoScroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ─── Blog ───────────────────────────────────────────────────────────── */
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin:40px 0}
.blog-card{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;transition:var(--transition)}
.blog-card:hover{border-color:var(--blue);box-shadow:var(--shadow-md)}
.blog-card__image{aspect-ratio:16/9;overflow:hidden;background:var(--gray-light)}
.blog-card__image img{width:100%;height:100%;object-fit:cover;transition:var(--transition)}
.blog-card:hover .blog-card__image img{transform:scale(1.05)}
.blog-card__body{padding:20px}
.blog-card__date{font-size:.75rem;color:var(--gray);margin-bottom:8px}
.blog-card__title{font-size:1rem;font-weight:700;color:var(--dark);line-height:1.4;margin-bottom:10px}
.blog-card__excerpt{font-size:.875rem;color:var(--gray);line-height:1.6}
.blog-post-content{margin:40px auto}
.blog-post-content h1{font-size:clamp(1.5rem,4vw,2.25rem);font-weight:700;line-height:1.3;margin-bottom:16px}
.blog-post-content .post-meta{display:flex;gap:16px;color:var(--gray);font-size:.85rem;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--border)}
.blog-post-content h2{font-size:1.3rem;font-weight:700;color:var(--dark);margin:32px 0 16px}
.blog-post-content h3{font-size:1.1rem;font-weight:700;margin:24px 0 12px}
.blog-post-content p{color:var(--gray);line-height:1.8;margin-bottom:16px}
.blog-post-content ul,.blog-post-content ol{padding-left:20px;margin-bottom:16px;color:var(--gray)}
.blog-post-content li{margin-bottom:6px;line-height:1.7}
.blog-post-content img{border-radius:var(--radius-lg);margin:24px 0}
.blog-post-content strong{color:var(--dark)}
.blog-post-content a{color:var(--blue);text-decoration:underline}
.blog-info-page{max-width:1060px}
.blog-post-content--info{max-width:980px;margin:28px auto 72px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:34px 40px;box-shadow:0 14px 36px rgba(17,24,39,.06)}
.blog-post-content--info h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:0;margin-bottom:10px}
.blog-post-content--info .post-meta{margin-bottom:28px;padding-bottom:20px;border-bottom:1px solid #e5e7eb;color:#64748b}
.blog-post-content--info [itemprop="articleBody"]{font-size:1rem;color:#334155}
.blog-post-content--info h2,.blog-post-content--info h3,.blog-post-content--info h4{scroll-margin-top:96px}
.blog-post-content--info h2{font-size:1.35rem;margin:34px 0 14px;padding:0 0 0 14px;border-left:4px solid var(--blue);line-height:1.3}
.blog-post-content--info h3,.blog-post-content--info h4{font-size:1.05rem;margin:28px 0 10px;color:#111827}
.blog-post-content--info p{color:#475569;line-height:1.8;margin-bottom:14px}
.blog-post-content--info ul,.blog-post-content--info ol{padding-left:0;margin:14px 0 22px;list-style:none;color:#475569}
.blog-post-content--info li{position:relative;margin-bottom:10px;padding-left:24px;line-height:1.75}
.blog-post-content--info li::before{content:'';position:absolute;left:2px;top:.72em;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.blog-post-content--info ol{counter-reset:infoStep}
.blog-post-content--info ol li{counter-increment:infoStep}
.blog-post-content--info ol li::before{content:counter(infoStep);top:.28em;width:18px;height:18px;background:var(--blue);color:#fff;font-size:.68rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.blog-post-content--info hr{border:0;border-top:1px solid #e5e7eb;margin:28px 0}
.blog-post-content--info a{font-weight:650;text-underline-offset:3px}
@media(max-width:767px){
  .blog-post-content--info{margin:18px auto 48px;padding:24px 18px;border-radius:10px}
}

/* ─── Account ────────────────────────────────────────────────────────── */
.auth-card{max-width:440px;margin:60px auto;background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:36px}
.auth-card h1{font-size:1.5rem;font-weight:700;margin-bottom:6px}
.auth-card p{color:var(--gray);font-size:.875rem;margin-bottom:24px}
.auth-divider{text-align:center;color:var(--gray);font-size:.8rem;margin:16px 0;position:relative}
.auth-divider::before{content:'';position:absolute;left:0;top:50%;width:45%;height:1px;background:var(--border)}
.auth-divider::after{content:'';position:absolute;right:0;top:50%;width:45%;height:1px;background:var(--border)}
.orders-table{width:100%;border-collapse:collapse;font-size:.875rem}
.orders-table th{background:var(--gray-light);padding:12px 16px;text-align:left;font-weight:600;color:var(--gray);font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}
.orders-table td{padding:12px 16px;border-bottom:1px solid var(--border)}
.status-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:99px;font-size:.75rem;font-weight:600}
.status-pending{background:#fef9c3;color:#854d0e}
.status-paid{background:#dbeafe;color:#1e40af}
.status-fulfilled{background:#f0fdf4;color:#15803d}
.status-cancelled{background:#f5f3ff;color:#5b21b6}

/* ─── Mini cart sidebar ──────────────────────────────────────────────── */
.mini-cart{position:fixed;top:0;right:0;width:360px;height:100vh;background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.15);z-index:600;transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column}
.mini-cart.open{transform:translateX(0)}
.mini-cart-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:599}
.mini-cart-overlay.open{display:block}
.mini-cart-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}
.mini-cart-header h3{font-size:1rem;font-weight:700}
.mini-cart-close{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--gray)}
.mini-cart-items{flex:1;overflow-y:auto;padding:16px}
.mini-cart-footer{padding:16px 20px;border-top:1px solid var(--border)}
.mini-cart-total{display:flex;justify-content:space-between;font-weight:700;margin-bottom:12px}
.mini-cart-empty{text-align:center;color:var(--gray);padding:40px 20px}

/* ─── GDPR Cookie Banner ─────────────────────────────────────────────── */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:var(--dark);color:#e5e7eb;padding:16px;z-index:300;display:none}
.cookie-banner.visible{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px}
.cookie-copy{flex:1;min-width:280px}
.cookie-banner p{font-size:.85rem;line-height:1.6}
.cookie-banner a{color:#93c5fd}
.cookie-actions{display:flex;gap:8px;flex-shrink:0}
.cookie-actions-inline{margin-top:10px}
.cookie-preferences{margin-top:12px;padding:12px;border:1px solid #374151;border-radius:10px;background:#111827}
.cookie-pref{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #1f2937}
.cookie-pref:last-of-type{border-bottom:none}
.cookie-pref__text{display:block}
.cookie-pref__text strong{display:block;font-size:.85rem;color:#fff}
.cookie-pref__text small{display:block;margin-top:2px;font-size:.75rem;color:#9ca3af;line-height:1.5}
.cookie-pref input[type="checkbox"]{width:18px;height:18px;accent-color:var(--blue);flex-shrink:0}
.btn-cookie-accept{background:var(--blue);color:#fff;border:none;padding:8px 20px;border-radius:var(--radius);font-weight:600;cursor:pointer;font-size:.85rem}
.btn-cookie-configure{background:#1f2937;color:#e5e7eb;border:1px solid #4b5563;padding:8px 16px;border-radius:var(--radius);cursor:pointer;font-size:.85rem}
.btn-cookie-decline{background:transparent;color:#9ca3af;border:1px solid #4b5563;padding:8px 16px;border-radius:var(--radius);cursor:pointer;font-size:.85rem}
.btn-cookie-save{background:#16a34a;color:#fff;border:none;padding:8px 16px;border-radius:var(--radius);cursor:pointer;font-size:.85rem;font-weight:600}
@media(max-width:767px){.cookie-banner.visible{align-items:stretch}.cookie-actions{width:100%;flex-wrap:wrap}.cookie-actions>button{flex:1}.cookie-pref{align-items:flex-start}}

/* ─── Search bar ─────────────────────────────────────────────────────── */
.search-wrap{position:relative;flex:1;max-width:250px}
.search-input{width:100%;padding:9px 16px 9px 40px;border:1px solid var(--border);border-radius:99px;font-size:.875rem;background:var(--gray-light);transition:var(--transition)}
.search-input:focus{outline:none;background:#fff;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,120,212,.12)}
.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--gray);pointer-events:none;font-size:.9rem}
.search-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);z-index:50;max-height:320px;overflow-y:auto;display:none}
.search-results.visible{display:block}
.search-result-item{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid var(--border);transition:var(--transition);text-decoration:none;color:var(--dark)}
.search-result-item:last-child{border-bottom:none}
.search-result-item:hover{background:var(--blue-light)}
.search-result-item img{width:40px;height:40px;object-fit:contain;border-radius:4px;background:var(--gray-light)}
.search-result-title{font-size:.875rem;font-weight:600}
.search-result-price{font-size:.8rem;color:var(--blue);font-weight:600}

/* ─── Pagination ─────────────────────────────────────────────────────── */
.pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin:40px 0}
.page-link{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--border);border-radius:var(--radius);font-size:.875rem;color:var(--dark);transition:var(--transition)}
.page-link:hover,.page-link.active{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ─── 404 ────────────────────────────────────────────────────────────── */
.page-404{text-align:center;padding:80px 16px}
.page-404 h1{font-size:5rem;font-weight:700;color:var(--blue);line-height:1}
.page-404 h2{font-size:1.5rem;font-weight:700;margin:16px 0 8px}
.page-404 p{color:var(--gray);margin-bottom:24px}

/* ─── Loading spinner ────────────────────────────────────────────────── */
.spinner{width:24px;height:24px;border:3px solid #e5e7eb;border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}
@keyframes spin{to{transform:rotate(360deg)}}

/* ─── Utilities ──────────────────────────────────────────────────────── */
.text-center{text-align:center}
.text-right{text-align:right}
.mt-0{margin-top:0}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}
.hidden{display:none!important}
.flex{display:flex}.items-center{align-items:center}.gap-8{gap:8px}.gap-16{gap:16px}
.font-bold{font-weight:700}.font-semibold{font-weight:600}
.text-blue{color:var(--blue)}.text-gray{color:var(--gray)}.text-green{color:var(--green)}.text-red{color:var(--red)}

@media(max-width:767px){
  .hide-mobile{display:none!important}
  .section{padding:40px 0}
  .carousel-header{align-items:flex-start;gap:12px}
  .carousel-header>div{min-width:0;flex:1}
  .section-link.btn-sm{padding:8px 14px;line-height:1.2;min-width:auto}
  .product-gallery{position:static}
  .filter-panel{position:static}
  .mini-cart{width:100%}
  .cart-layout,.checkout-layout{grid-template-columns:1fr}
  .footer-certifications__row{justify-content:center}
}

/* Top Direct brand skin */
.site-header .btn-outline{border-color:var(--blue);color:var(--blue);background:#fff}
.site-header .btn-outline:hover{border-color:var(--blue-dark);background:var(--blue);color:#fff}
.site-header .search-input{background:#fff;border-color:var(--border);border-width:1px}
.site-header .search-input:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(124,58,237,.14)}
.nav-dropdown__toggle{color:var(--dark)}
.nav-dropdown__toggle:hover,.nav-dropdown__toggle.active{background:var(--blue-light);color:var(--blue);outline:none}
.nav-dropdown__menu a:hover,.nav-dropdown__menu a.active{background:var(--blue-light);color:#111}
.nav-dropdown__menu a:first-child{color:var(--blue)}
.btn-primary{background:#7C3AED;color:#fff;border:1px solid #5b21b6}
.btn-primary:hover{background:#5b21b6;color:#fff}
.btn-outline{color:var(--blue);border-color:var(--blue)}
.btn-outline:hover{background:var(--blue-light);border-color:var(--blue);color:var(--blue-dark)}
.btn-add-cart{background:#7C3AED;color:#fff;border:1px solid #5b21b6}
.btn-add-cart:hover{background:#5b21b6;color:#fff}
.hero-slider__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:70px;border:0;background:rgba(255,255,255,.78);color:#111;font-size:2.25rem;line-height:1;cursor:pointer}
.hero-slider__nav:hover{background:#fff}
.hero-slider__nav--prev{left:0}
.hero-slider__nav--next{right:0}
.hero-slider__dots{position:absolute;z-index:3;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:8px}
.hero-slider__dots button{width:10px;height:10px;border-radius:50%;border:1px solid #fff;background:rgba(255,255,255,.45);cursor:pointer}
.hero-slider__dots button.is-active{background:#F5C842;border-color:#F5C842}
.hero-badge-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:18px}
.hero-trust-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:.78rem;font-weight:700;backdrop-filter:blur(6px)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.page-home .section-link.btn-outline{background:#fff;color:#1b1b1b;border-color:#d7d7d7}
.page-home .section-link.btn-outline:hover{background:var(--blue-light);color:var(--blue-dark);border-color:var(--blue)}
.product-card{border-radius:0}
.product-card:hover{border-color:#c4b5fd;box-shadow:0 2px 8px rgba(124,58,237,.14)}
.product-card__price-sale,.product-price-sale{color:#7C3AED}
.carousel-btn:hover{background:#F5C842;color:#111;border-color:#e0b530}
.why-us,.category-hero{background:#f5f3ff}
.product-benefits,.product-specs h2{background:#f5f3ff}
.product-specs h2{color:var(--blue-dark)}
.step__num{background:#7C3AED;color:#fff}
.trust-strip{background:#1f1235}
.site-footer{background:#1f1235}
.footer-certifications{background:#f3f3f3;border-top:0}
.footer-bottom{background:#140b24;border-top:0}
.page-link:hover,.page-link.active{background:#F5C842;color:#111;border-color:#e0b530}
@media(min-width:1290px){
  .hero-slide__content{text-align:left;margin-left:0;margin-right:auto}
  .hero-badge-row,.hero-actions{justify-content:flex-start}
}
@media(max-width:767px){
  .hero-slide::before{background:linear-gradient(180deg,rgba(31,18,53,.88),rgba(76,29,149,.45))}
  .hero-slide__content{text-align:center;margin:0 auto;padding:46px 16px 76px}
  .hero h1,.hero p{margin-left:auto;margin-right:auto}
  .hero-badge-row,.hero-actions{justify-content:center}
}
