:root {
    --jd-primary: #1464d2;
    --jd-primary-dark: #0b3f91;
    --jd-primary-soft: #eaf2ff;
    --jd-ink: #111827;
    --jd-muted: #64748b;
    --jd-surface: #ffffff;
    --jd-page: #f5f7fb;
    --jd-border: #e2e8f0;
    --jd-success: #16a34a;
    --jd-warning: #f59e0b;
    --jd-danger: #dc2626;
    --jd-radius-sm: 8px;
    --jd-radius: 12px;
    --jd-radius-lg: 14px;
    --jd-shadow-sm: 0 2px 10px rgba(15, 23, 42, .05);
    --jd-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

html { scroll-behavior: smooth; }
body {
    color: var(--jd-ink);
    background: var(--jd-page);
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    overflow-x: hidden;
}
body, button, input, select, textarea { -webkit-font-smoothing: antialiased; }
a { color: var(--jd-primary-dark); transition: color .2s ease; }
a:hover { color: var(--jd-primary); text-decoration: none; }
img { max-width: 100%; }
.page-wrapper { width: 100%; max-width: 100%; background: var(--jd-page); overflow-x: hidden; }
.container { width: min(calc(100% - 32px), 1200px); max-width: 1200px; }
.main { min-height: 45vh; }
.loading-overlay { display: none !important; }
.main > .container, .main > .container-fluid { padding-top: 24px; padding-bottom: 32px; }

h1, h2, h3, h4, h5, h6,
.product-title, .section-title {
    color: var(--jd-ink);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.2; }
.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -.03em !important;
    margin-bottom: 24px;
}
.section-title.heading-border::after, .section-title.heading-border::before { display: none; }
.text-muted, .text-body { color: var(--jd-muted) !important; }
.text-primary { color: var(--jd-primary) !important; }
.bg-primary { background-color: var(--jd-primary) !important; }

/* Header and navigation */
.header { background: var(--jd-surface); box-shadow: 0 1px 0 var(--jd-border); position: relative; z-index: 1001; }
.header-top { min-height: 38px; color: #dbeafe; background: var(--jd-primary-dark); border: 0; }
.header-top .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; }
.header-top a { color: #fff; }
.header-top a:hover { color: #bfdbfe; }
.header-top .top-message { margin: 0; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .01em; text-transform: none !important; }
.jd-utility-links { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 12px; }
.jd-utility-links a { display: inline-flex; align-items: center; gap: 7px; }
.header-middle { min-height: 78px; background: var(--jd-surface); border-bottom: 1px solid var(--jd-border); }
.header-middle .container, .header-middle .container > .jd-header-row { min-height: 78px; }
.header-middle.sticky-header.fixed { box-shadow: 0 8px 25px rgba(15, 23, 42, .1); }
.jd-header-row { display: flex; align-items: center; width: 100%; gap: 24px; }
.header .logo { flex: 0 0 auto; color: var(--jd-ink); }
.header .logo img, .header-middle .logo img { width: 64px; max-width: 64px; height: 64px; object-fit: contain; }
.jd-main-nav { flex: 1 1 auto; }
.jd-main-nav > ul { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.jd-main-nav > ul > li { position: relative; }
.jd-main-nav > ul > li > a {
    min-height: 44px; padding: 0 13px; display: inline-flex; align-items: center; gap: 6px;
    color: #334155; font-family: "Poppins", sans-serif; font-size: 13px; font-weight: 600; border-radius: var(--jd-radius-sm);
}
.jd-main-nav > ul > li > a:hover, .jd-main-nav > ul > li.active > a { color: var(--jd-primary); background: var(--jd-primary-soft); }
.jd-category-menu {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; margin: 0; padding: 10px;
    list-style: none; background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius);
    box-shadow: var(--jd-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s ease; z-index: 50;
}
.jd-nav-dropdown:hover .jd-category-menu, .jd-nav-dropdown:focus-within .jd-category-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.jd-category-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding: 8px 10px; color: #334155; border-radius: 7px; }
.jd-category-menu a:hover { color: var(--jd-primary); background: var(--jd-primary-soft); }
.jd-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header .user-dropdown, .header .user-toggle, .header .cart-dropdown { margin: 0 !important; }
.jd-header-action, .header .cart-toggle, .header .user-toggle {
    position: relative; min-width: 44px; min-height: 44px; padding: 6px 10px; display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; color: #334155; background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-sm);
}
.jd-header-action:hover, .header .cart-toggle:hover, .header .user-toggle:hover { color: var(--jd-primary); border-color: #b7cff4; background: var(--jd-primary-soft); }
.jd-header-action i, .header .user-toggle i { font-size: 20px; }
.jd-action-label { font-size: 12px; font-weight: 700; }
.header .cart-dropdown { margin: 0; }
.header .cart-count {
    position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center;
    color: #fff; background: var(--jd-primary); border: 2px solid #fff; border-radius: 999px; font-size: 10px; font-weight: 700;
}
.header .minicart-icon::before { color: currentColor; font-size: 18px; }
.mobile-menu-toggler { min-width: 44px; min-height: 44px; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-sm); background: #fff; }
.user-menu-dropdown { border: 1px solid var(--jd-border); border-radius: var(--jd-radius); box-shadow: var(--jd-shadow); }
.user-menu-dropdown .dropdown-item { min-height: 42px; }

/* Controls */
.btn {
    min-height: 44px; padding: 11px 20px; border-radius: var(--jd-radius-sm); font-family: "Poppins", sans-serif;
    font-size: 13px; font-weight: 700; letter-spacing: .01em; text-transform: none; transition: all .2s ease;
}
.btn-primary, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:focus,
button[style*="#4682B4"], a[style*="#4682B4"] { color: #fff !important; background: var(--jd-primary) !important; border-color: var(--jd-primary) !important; }
.btn-primary:hover { background: var(--jd-primary-dark) !important; border-color: var(--jd-primary-dark) !important; }
.btn-dark { color: #fff; background: var(--jd-ink); border-color: var(--jd-ink); }
.btn-dark:hover { color: #fff; background: var(--jd-primary-dark); border-color: var(--jd-primary-dark); }
.btn-outline-primary { color: var(--jd-primary); border-color: var(--jd-primary); background: transparent; }
.btn-outline-primary:hover { color: #fff; background: var(--jd-primary); border-color: var(--jd-primary); }
.btn:focus, .form-control:focus, button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(20, 100, 210, .24) !important; outline-offset: 2px; box-shadow: none !important;
}
.btn:disabled, .btn.disabled, button:disabled { cursor: not-allowed; opacity: .58; }
.form-control, select.form-control {
    min-height: 44px; padding: 10px 13px; color: var(--jd-ink); background-color: #fff; border: 1px solid #cbd5e1; border-radius: var(--jd-radius-sm); font-size: 14px;
}
.form-control:focus { border-color: var(--jd-primary); }
textarea.form-control { min-height: 120px; resize: vertical; }
label { color: #334155; font-weight: 600; }
.custom-control-label::before { border-color: #cbd5e1; }
.custom-control-input:checked ~ .custom-control-label::before { background: var(--jd-primary); border-color: var(--jd-primary); }
.alert { border-radius: var(--jd-radius); border-width: 1px; }
.alert-success { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }
.alert-danger { color: #991b1b; background: #fef2f2; border-color: #fecaca; }
.alert-info { color: var(--jd-primary-dark); background: #eff6ff; border-color: #bfdbfe; }

/* Homepage */
.jd-home-hero { padding: clamp(42px, 7vw, 88px) 0; overflow: hidden; background: linear-gradient(120deg, #071d3d 0%, var(--jd-primary-dark) 55%, var(--jd-primary) 100%); }
.jd-home-hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(32px, 6vw, 72px); }
.jd-hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 11px; color: #dbeafe; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.jd-hero-content h1 { max-width: 720px; margin: 0 0 18px; color: #fff; }
.jd-hero-content, .jd-trust-item > div { min-width: 0; }
.jd-hero-content p { max-width: 640px; margin: 0 0 28px; color: #dbeafe; font-size: clamp(15px, 1.6vw, 18px); }
.jd-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jd-hero-actions .btn-light { color: var(--jd-primary-dark); background: #fff; border-color: #fff; }
.jd-hero-actions .btn-outline-light { color: #fff; border-color: rgba(255,255,255,.65); }
.jd-hero-visual { position: relative; min-height: 445px; display: grid; place-items: center; }
.jd-hero-carousel { width: min(100%, 420px); }
.jd-hero-carousel-track { position: relative; min-height: 410px; }
.jd-hero-product-card { position: absolute; inset: 0; width: 100%; height: 100%; padding: 20px; display: block; overflow: hidden; color: var(--jd-ink); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translate3d(34px, 0, 0) rotate(3deg) scale(.96); transition: opacity .48s ease, transform .52s cubic-bezier(.22,.75,.24,1); }
.jd-hero-product-card.is-active { z-index: 1; opacity: 1; pointer-events: auto; transform: translate3d(0, 0, 0) rotate(2deg) scale(1); }
.jd-hero-product-card:hover { color: var(--jd-ink); }
.jd-hero-product-card img { display: block !important; width: 100%; height: 285px; object-fit: contain; border-radius: var(--jd-radius); background: #f8fafc; opacity: 1 !important; visibility: visible !important; }
.jd-hero-product-label { display: block; margin-top: 12px; color: var(--jd-muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.jd-hero-product-card strong { display: block; margin-top: 3px; overflow: hidden; color: var(--jd-ink); font-family: "Poppins", sans-serif; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.jd-hero-product-price { margin-top: 2px; display: block; color: var(--jd-primary); font-size: 15px; font-weight: 700; line-height: 1.35; }
.jd-hero-carousel-controls { position: relative; z-index: 3; margin-top: -3px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.jd-hero-control { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32); border-radius: 50%; cursor: pointer; }
.jd-hero-control:hover { background: rgba(255,255,255,.25); }
.jd-hero-carousel-dots { display: flex; align-items: center; gap: 6px; }
.jd-hero-dot { width: 7px; height: 7px; padding: 0; background: rgba(255,255,255,.42); border: 0; border-radius: 999px; cursor: pointer; transition: width .2s ease, background .2s ease; }
.jd-hero-dot.is-active { width: 22px; background: #fff; }
.jd-trust-strip { position: relative; z-index: 2; margin-top: -24px; }
.jd-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-lg); box-shadow: var(--jd-shadow); overflow: hidden; }
.jd-trust-item { min-height: 110px; padding: 24px; display: flex; align-items: center; gap: 16px; }
.jd-trust-item + .jd-trust-item { border-left: 1px solid var(--jd-border); }
.jd-trust-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: var(--jd-primary); background: var(--jd-primary-soft); border-radius: 50%; font-size: 21px; }
.jd-trust-item h3 { margin: 0 0 3px; font-size: 14px; font-weight: 700; }
.jd-trust-item p { margin: 0; color: var(--jd-muted); font-size: 12px; line-height: 1.5; }
.jd-section { padding: clamp(48px, 6vw, 76px) 0; }
.jd-section--white { background: #fff; }
.jd-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.jd-section-head .section-title { margin: 0; }
.jd-section-head p { max-width: 560px; margin: 5px 0 0; color: var(--jd-muted); }
.jd-section-link { flex: 0 0 auto; font-weight: 700; }
.jd-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.jd-category-card { min-width: 0; padding: 14px; color: var(--jd-ink); background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius); box-shadow: var(--jd-shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.jd-category-card:hover { color: var(--jd-ink); border-color: #b9cdf0; box-shadow: var(--jd-shadow); transform: translateY(-3px); }
.jd-category-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f8fafc; border-radius: var(--jd-radius-sm); }
.jd-category-card h3 { margin: 14px 0 3px; font-size: 15px; font-weight: 700; }
.jd-category-card p { margin: 0; color: var(--jd-muted); font-size: 12px; }
.jd-support-cta { padding: clamp(28px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #fff; background: linear-gradient(115deg, var(--jd-primary-dark), var(--jd-primary)); border-radius: var(--jd-radius-lg); }
.jd-support-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.jd-support-cta p { max-width: 720px; margin: 0; color: #dbeafe; }

/* Homepage: Why choose us */
.jd-why-choose-us { position: relative; isolation: isolate; overflow: hidden; padding: clamp(62px, 7vw, 106px) 0 clamp(72px, 8vw, 122px); background: radial-gradient(circle at 50% 42%, #fff 0, #f8faff 38%, #edf4ff 100%); }
.jd-why-choose-us::after { position: absolute; z-index: -1; right: 0; bottom: 0; left: 0; height: 28px; content: ""; background: linear-gradient(100deg, #1261cc, #1768d5); }
.jd-why-choose-us__container { position: relative; z-index: 1; max-width: 1300px; }
.jd-why-choose-us__header { max-width: 900px; margin: 0 auto clamp(34px, 4vw, 54px); text-align: center; }
.jd-why-choose-us__eyebrow { display: block; margin-bottom: 12px; color: #1261cc; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.jd-why-choose-us__header h2 { margin: 0; color: #0f172a; font-size: clamp(2.1rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.13; }
.jd-why-choose-us__header p { margin: 18px 0 0; color: #64748b; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.55; }
.jd-why-choose-us__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.3vw, 32px); }
.jd-why-choose-us__card { min-width: 0; min-height: 470px; padding: clamp(30px, 3vw, 44px) clamp(22px, 3vw, 38px) 32px; display: flex; flex-direction: column; align-items: center; color: #0f172a; background: #fff; border: 1px solid #dce4f0; border-top: 4px solid #1261cc; border-radius: 17px; box-shadow: 0 10px 22px rgba(15, 23, 42, .11); text-align: center; transition: transform .22s ease, box-shadow .22s ease; }
.jd-why-choose-us__card:hover { box-shadow: 0 17px 32px rgba(15, 23, 42, .15); transform: translateY(-6px); }
.jd-why-choose-us__icon { width: 154px; height: 154px; display: grid; place-items: center; color: #1261cc; background: #eaf2ff; border-radius: 28px; font-size: 70px; }
.jd-why-choose-us__icon i { line-height: 1; }
.jd-why-choose-us__card h3 { margin: 28px 0 0; color: #0f172a; font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.jd-why-choose-us__rule { width: 56px; height: 3px; flex: 0 0 3px; margin: 17px 0 20px; background: #1261cc; border-radius: 999px; }
.jd-why-choose-us__card p { max-width: 305px; margin: 0; color: #64748b; font-size: 16px; line-height: 1.75; }
.jd-why-choose-us__link { min-height: 44px; margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 14px; color: #1261cc; font-size: 17px; font-weight: 700; }
.jd-why-choose-us__link i { font-size: 20px; transition: transform .2s ease; }
.jd-why-choose-us__link:hover { color: #0b4da9; }
.jd-why-choose-us__link:hover i { transform: translateX(5px); }
.jd-why-choose-us__link:focus-visible { outline: 3px solid rgba(18, 97, 204, .35); outline-offset: 5px; border-radius: 4px; }
.jd-why-choose-us__dots, .jd-why-choose-us__curves { position: absolute; z-index: -1; pointer-events: none; }
.jd-why-choose-us__dots { width: 190px; height: 160px; opacity: .65; background-image: radial-gradient(#b8d2fb 1.5px, transparent 1.5px); background-size: 18px 18px; }
.jd-why-choose-us__dots--left { top: 0; left: 0; mask-image: linear-gradient(135deg, #000, transparent 74%); }
.jd-why-choose-us__dots--right { top: 0; right: 0; transform: scaleX(-1); mask-image: linear-gradient(135deg, #000, transparent 74%); }
.jd-why-choose-us__curves { width: 270px; height: 270px; right: -135px; bottom: 14px; border: 1px solid #c7dbfa; border-radius: 50%; box-shadow: 0 0 0 18px transparent, 0 0 0 19px #d8e6fb, 0 0 0 37px transparent, 0 0 0 38px #e1ecfc, 0 0 0 56px transparent, 0 0 0 57px #e9f1fd; opacity: .8; }
@media (max-width: 1199.98px) { .jd-why-choose-us__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jd-why-choose-us__card:last-child { grid-column: 1 / -1; width: min(100%, 510px); justify-self: center; } }
@media (max-width: 767.98px) { .jd-why-choose-us { padding: 52px 0 74px; } .jd-why-choose-us__grid { grid-template-columns: 1fr; } .jd-why-choose-us__card, .jd-why-choose-us__card:last-child { width: 100%; min-height: 0; } .jd-why-choose-us__icon { width: 122px; height: 122px; border-radius: 24px; font-size: 56px; } .jd-why-choose-us__card p { max-width: 400px; font-size: 15px; } .jd-why-choose-us__dots--right, .jd-why-choose-us__curves { display: none; } }
@media (prefers-reduced-motion: reduce) { .jd-why-choose-us__card, .jd-why-choose-us__link i { transition: none; } .jd-why-choose-us__card:hover { transform: none; } }

/* Product cards and catalog */
.products-slider .product-default, .products-row .product-default, .product-default {
    height: 100%; padding: 12px; background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius); box-shadow: var(--jd-shadow-sm); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.product-default:hover { border-color: #bfd2ee; box-shadow: var(--jd-shadow); transform: translateY(-3px); }
.product-default figure { position: relative; margin: 0 0 14px; overflow: hidden; background: #f8fafc; border-radius: var(--jd-radius-sm); }
.product-default figure > a { display: block; }
.product-default figure img { width: 100%; aspect-ratio: 1 / 1; height: auto !important; object-fit: contain; mix-blend-mode: multiply; }
.product-default figure img, .jd-category-card img { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.product-default .product-details { padding: 0 4px 5px; }
.product-default .category-list { margin-bottom: 5px; }
.product-default .product-category { color: var(--jd-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.product-default .product-title { min-height: 43px; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.product-default .product-title a { color: var(--jd-ink); }
.product-default .product-title a:hover { color: var(--jd-primary); }
.product-default .price-box { min-height: 28px; margin-bottom: 10px; }
.product-default .product-price { color: var(--jd-primary-dark); font-size: 17px; font-weight: 800; }
.product-default .old-price { color: #94a3b8; font-size: 12px; }
.product-default .product-action { display: flex; align-items: center; gap: 7px; }
.product-default .btn-add-cart { flex: 1; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--jd-primary); border-radius: 7px; font-size: 11px; font-weight: 700; }
.product-default .btn-add-cart:hover { color: #fff; background: var(--jd-primary-dark); }
.product-default .btn-icon-wish, .product-default .btn-quickview { width: 40px; height: 40px; flex: 0 0 40px; display: inline-flex; align-items: center; justify-content: center; color: #475569; background: #fff; border: 1px solid var(--jd-border); border-radius: 7px; }
.product-default .btn-icon-wish:hover, .product-default .btn-quickview:hover { color: var(--jd-primary); border-color: #b7cff4; background: var(--jd-primary-soft); }
.product-label { border-radius: 6px; }
.label-sale { background: var(--jd-danger); }
.label-hot { background: var(--jd-warning); }

/* Homepage product cards */
.jd-home-product-card { min-height: 570px; padding: 14px; }
.jd-home-product-card figure { margin-bottom: 15px; }
.jd-home-product-card figure img { aspect-ratio: 1.25 / 1; object-fit: cover; }
.jd-home-product-card .product-details { min-height: 285px; display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.jd-home-product-card .category-list, .jd-home-product-card .price-box { text-align: left !important; }
.jd-home-product-card .product-title { min-height: 0; margin: 6px 0 8px; font-size: 16px; }
.jd-home-product-card .product-price { color: #0c54b7; font-size: 20px; }
.jd-home-product-card__stock { position: absolute; z-index: 3; top: 12px; left: 12px; min-height: 25px; padding: 4px 10px; display: inline-flex; align-items: center; color: #166534; background: #dcfce7; border: 1px solid #bbf7d0; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1; }
.jd-home-product-card__stock.is-out-of-stock { color: #991b1b; background: #fee2e2; border-color: #fecaca; }
.jd-home-product-card .jd-home-product-card__wishlist { position: absolute !important; z-index: 3; top: 12px !important; right: 12px !important; bottom: auto !important; left: auto !important; width: 42px !important; height: 42px !important; margin: 0 !important; display: grid !important; place-items: center; color: #334155; background: rgba(255,255,255,.96); border: 1px solid #dce4f0; border-radius: 50% !important; box-shadow: 0 4px 12px rgba(15,23,42,.09); opacity: 1 !important; visibility: visible !important; transform: none !important; }
.jd-home-product-card__rating { min-height: 24px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; }
.jd-home-product-card__rating > a { color: #64748b; font-size: 12px; }
.jd-home-product-card__stars { position: relative; width: 94px; height: 18px; display: inline-block; overflow: hidden; color: #f59e0b; font-size: 17px; line-height: 18px; letter-spacing: 1px; white-space: nowrap; }
.jd-home-product-card__stars::before, .jd-home-product-card__stars > span::before { content: "★★★★★"; }
.jd-home-product-card__stars::before { color: #dbe3ed; }
.jd-home-product-card__stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #f59e0b; white-space: nowrap; }
.jd-home-product-card__availability { min-height: 31px; margin: 2px 0 12px; padding-bottom: 12px; display: flex; align-items: center; gap: 7px; color: #64748b; border-bottom: 1px solid var(--jd-border); font-size: 11px; }
.jd-home-product-card__availability > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: #16a34a; font-weight: 700; }
.jd-home-product-card__availability > span:first-child i { width: 8px; height: 8px; display: inline-block; background: #22c55e; border-radius: 50%; }
.jd-home-product-card__availability.is-out-of-stock > span:first-child { color: #dc2626; }
.jd-home-product-card__availability.is-out-of-stock > span:first-child i { background: #ef4444; }
.jd-home-product-card__availability-note::before { margin-right: 7px; content: "•"; color: #94a3b8; }
.jd-home-product-card .product-action { margin-top: auto; padding-top: 0; display: grid; grid-template-columns: 1fr; gap: 9px; }
.jd-home-product-card .btn-add-cart { width: 100%; min-height: 44px; gap: 9px; color: #fff; background: linear-gradient(180deg, #1768d5, #1261cc); border-radius: 7px; text-transform: none; }
.jd-home-product-card .btn-add-cart i { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; display: inline-block !important; color: #fff !important; font-size: 17px !important; line-height: 1 !important; opacity: 1 !important; visibility: visible !important; transform: none !important; }
.jd-home-product-card__details { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: var(--jd-primary); background: #fff; border: 1px solid #bfd2ee; border-radius: 7px; font-size: 12px; font-weight: 700; }
.jd-home-product-card__details:hover { color: var(--jd-primary-dark); background: #f7faff; }
.toolbox { padding: 12px; background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius); box-shadow: var(--jd-shadow-sm); }
.jd-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 8px 0 22px; }
.jd-catalog-heading h1 { margin: 0 0 4px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.jd-catalog-heading p { margin: 0; color: var(--jd-muted); }
.jd-result-count { flex: 0 0 auto; padding: 7px 11px; color: var(--jd-primary-dark); background: var(--jd-primary-soft); border-radius: 999px; font-size: 12px; font-weight: 700; }
.toolbox label { color: var(--jd-muted); font-size: 12px; }
.layout-modes { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-sm); }
.layout-modes .layout-btn { width: 44px; height: 44px; margin: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--jd-muted); background: #fff; border: 0; cursor: pointer; }
.layout-modes .layout-btn + .layout-btn { border-left: 1px solid var(--jd-border); }
.layout-modes .layout-btn:hover { color: var(--jd-primary); background: var(--jd-primary-soft); }
.layout-modes .layout-btn.active { color: var(--jd-primary); background: var(--jd-primary-soft); }
.services-layout-list [data-infinite-item="services"] { flex: 0 0 100%; max-width: 100%; }
.services-layout-list .product-default { display: grid; grid-template-columns: minmax(180px, 220px) minmax(0, 1fr); align-items: center; gap: 22px; }
.services-layout-list .product-default figure { margin: 0; }
.services-layout-list .product-default figure img { aspect-ratio: 4 / 3; }
.services-layout-list .product-default .product-details { min-width: 0; padding: 12px 14px 12px 0; }
.services-layout-list .product-default .product-title { min-height: 0; font-size: 17px; }
.services-layout-list .product-default .product-action { max-width: 330px; }
.sidebar-shop .widget { padding: 20px; background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius); box-shadow: var(--jd-shadow-sm); }
.sidebar-shop .widget-title { color: var(--jd-ink); font-size: 14px; font-weight: 700; }
.pagination .page-link, .pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px !important; }
.pagination .active > a, .pagination .active > span { color: #fff; background: var(--jd-primary); border-color: var(--jd-primary); }
.breadcrumb-nav { margin: 0; background: transparent; border: 0; }
.breadcrumb { padding: 15px 0; background: transparent; }
.breadcrumb-item, .breadcrumb-item a { color: var(--jd-muted); font-size: 12px; }
.breadcrumb-item.active { color: var(--jd-ink); }
.page-header { background-color: #eaf2ff; border: 0; }
.page-header h1, .page-title { color: var(--jd-ink); text-transform: none; }

/* About */
.jd-about-page { background: var(--jd-page); }
.jd-about-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(118deg, #082b63 0%, #0b4aa9 54%, #1670dc 100%); }
.jd-about-hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -220px; top: -420px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.045), 0 0 0 140px rgba(255,255,255,.035); }
.jd-about-hero__inner { position: relative; min-height: 370px; padding-top: 68px; padding-bottom: 68px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .55fr); align-items: center; gap: 56px; }
.jd-about-hero__copy { max-width: 690px; }
.jd-eyebrow, .jd-section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--jd-primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.jd-about-hero .jd-eyebrow { padding: 7px 11px; color: #dbeafe; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; }
.jd-about-hero h1 { max-width: 650px; margin: 17px 0; color: #fff; font-size: clamp(2.35rem, 4.3vw, 4.1rem); font-weight: 700; }
.jd-about-hero p { max-width: 620px; margin: 0; color: #dbeafe; font-size: clamp(15px, 1.5vw, 18px); }
.jd-about-hero__actions, .jd-about-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.jd-about-hero .btn-light, .jd-about-cta .btn-light { color: var(--jd-primary-dark); background: #fff; border-color: #fff; }
.jd-about-hero .btn-outline-light, .jd-about-cta .btn-outline-light { color: #fff; border-color: rgba(255,255,255,.65); }
.jd-about-hero__panel { position: relative; height: 230px; display: grid; place-content: center; justify-items: center; gap: 14px; overflow: hidden; color: #fff; background: linear-gradient(145deg, rgba(255,255,255,.2), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; box-shadow: 0 28px 55px rgba(2,20,55,.28); }
.jd-about-hero__panel::after { content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; }
.jd-about-hero__panel i { position: relative; z-index: 1; font-size: 70px; }
.jd-about-hero__panel span { position: relative; z-index: 1; color: #dbeafe; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.jd-about-hero__orb { position: absolute; width: 130px; height: 130px; top: -42px; right: -28px; background: #60a5fa; border-radius: 50%; filter: blur(3px); opacity: .42; }
.jd-about-story { padding: clamp(58px, 8vw, 106px) 0; background: #fff; }
.jd-about-story__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(38px, 8vw, 120px); }
.jd-about-story h2, .jd-about-section-heading h2, .jd-about-cta h2 { margin: 10px 0 0; font-size: clamp(1.85rem, 3.2vw, 2.8rem); font-weight: 700; }
.jd-about-story__body { max-width: 600px; padding-left: 28px; border-left: 3px solid #bfdbfe; }
.jd-about-story__body p { margin: 0 0 15px; color: #475569; font-size: 16px; line-height: 1.8; }
.jd-about-story__body p:last-child { margin: 0; }
.jd-about-values { padding: clamp(54px, 7vw, 90px) 0; background: #f1f5f9; }
.jd-about-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.jd-about-section-heading h2 { max-width: 650px; }
.jd-about-section-heading p { max-width: 380px; margin: 0; color: var(--jd-muted); font-size: 15px; }
.jd-about-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jd-about-value-card { min-height: 240px; padding: 30px; background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-lg); box-shadow: var(--jd-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.jd-about-value-card:hover { box-shadow: var(--jd-shadow); transform: translateY(-4px); }
.jd-about-value-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--jd-primary); background: var(--jd-primary-soft); border-radius: 13px; font-size: 22px; }
.jd-about-value-card h3 { margin: 22px 0 9px; font-size: 17px; font-weight: 700; }
.jd-about-value-card p { margin: 0; color: var(--jd-muted); font-size: 13px; line-height: 1.7; }
.jd-about-cta-section { padding: clamp(50px, 7vw, 82px) 0; background: #fff; }
.jd-about-cta { padding: clamp(30px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 36px; color: #fff; background: linear-gradient(115deg, var(--jd-primary-dark), var(--jd-primary)); border-radius: 18px; box-shadow: 0 20px 48px rgba(11,63,145,.22); }
.jd-about-cta .jd-section-kicker { color: #bfdbfe; }
.jd-about-cta h2 { color: #fff; }
.jd-about-cta p { max-width: 630px; margin: 12px 0 0; color: #dbeafe; font-size: 15px; }
.jd-about-cta__actions { flex: 0 0 auto; margin-top: 0; }

/* Product detail */
.product-single-container { padding: clamp(18px, 3vw, 34px); background: #fff; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-lg); box-shadow: var(--jd-shadow-sm); }
.product-single-gallery .product-slider-container { overflow: hidden; background: #f8fafc; border: 1px solid var(--jd-border); border-radius: var(--jd-radius); }
.product-single-image { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-single-gallery img, .product-single-gallery .owl-item, .product-single-gallery .product-item { opacity: 1 !important; visibility: visible !important; }
.product-single-details .product-title { color: var(--jd-ink); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 700; line-height: 1.25; }
.product-single-details .price-box .product-price { color: var(--jd-primary-dark); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.product-single-details .product-action { border-top-color: var(--jd-border); }
.product-single-tabs .nav-tabs { gap: 6px; border-bottom-color: var(--jd-border); }
.product-single-tabs .nav-link { border-radius: 8px 8px 0 0; text-transform: none; }
.product-single-tabs .nav-link.active { color: var(--jd-primary); border-color: var(--jd-border) var(--jd-border) #fff; }

/* Cards, tables, cart, checkout, accounts */
.card, .cart-card, .help-card, .login-container, .account-content, .dashboard-content {
    border: 1px solid var(--jd-border) !important; border-radius: var(--jd-radius) !important; box-shadow: var(--jd-shadow-sm) !important;
}
.card-header, .cart-card .card-header { background: #f8fafc !important; border-bottom-color: var(--jd-border) !important; }
.cart-item { border-color: var(--jd-border) !important; border-radius: var(--jd-radius-sm) !important; box-shadow: none !important; }
.cart-item img { object-fit: contain !important; background: #f8fafc; }
.qty-btn { color: var(--jd-primary-dark) !important; border-color: #cbd5e1 !important; border-radius: 7px !important; }
.qty-input { border-color: #cbd5e1 !important; border-radius: 7px !important; }
.table { background: #fff; }
.table thead th { color: #475569; background: #f8fafc; border-color: var(--jd-border); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.table td, .table th { padding: 14px; vertical-align: middle; border-color: var(--jd-border); }
.table-responsive { border: 1px solid var(--jd-border); border-radius: var(--jd-radius); }
.nav-tabs .nav-link { color: var(--jd-muted); }
.nav-tabs .nav-link.active { color: var(--jd-primary); }
.empty-state, .wishlist-empty-row td { padding: 60px 20px !important; background: #fff; border: 1px dashed #cbd5e1; border-radius: var(--jd-radius); text-align: center; }

/* Cart drawer and modals */
.dropdown-menu.mobile-cart { border-left: 1px solid var(--jd-border); box-shadow: -15px 0 45px rgba(15, 23, 42, .16); }
.mobile-cart .dropdownmenu-wrapper { padding: 24px; }
.cart-panel-title { color: var(--jd-ink); font-family: "Poppins", sans-serif; }
.dropdown-cart-products .product { padding: 14px 0; border-bottom: 1px solid var(--jd-border); }
.dropdown-cart-products .product-image img { object-fit: contain; background: #f8fafc; border-radius: 8px; }
.dropdown-cart-total { padding: 18px 0; border-top: 1px solid var(--jd-border); }
.add-to-cart-modal-dialog { margin: 16px; border: 1px solid var(--jd-border); border-radius: var(--jd-radius-lg); }
.add-to-cart-modal-header { background: var(--jd-primary-dark); }
.notify-toast { border: 1px solid var(--jd-border); border-radius: var(--jd-radius); box-shadow: var(--jd-shadow); }
.notify-toast-success { border-left-color: var(--jd-success); }
.notify-toast-error { border-left-color: var(--jd-danger); }

/* Footer */
.footer { color: #cbd5e1; background: #08152a !important; }
.footer-middle { padding: 64px 0 44px; }
.footer .widget-title { margin-bottom: 18px; color: #fff; font-size: 14px; font-weight: 700; text-transform: none; }
.footer .links li, .footer .contact-info li { margin-bottom: 10px; }
.footer a { color: #cbd5e1; }
.footer a:hover { color: #fff; }
.jd-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.jd-footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.jd-footer-brand strong { display: block; color: #fff; font-family: "Poppins", sans-serif; font-size: 16px; }
.jd-footer-summary { max-width: 340px; color: #94a3b8; }
.footer-bottom { padding: 20px 0; background: #050d1b; border-top: 1px solid rgba(255,255,255,.08); }
.footer-copyright { color: #94a3b8; }
.jd-footer-payment { display: inline-flex; align-items: center; gap: 8px; color: #cbd5e1; font-size: 12px; }
.jd-footer-payment i { color: var(--jd-success); }
#scroll-top { width: 44px; height: 44px; color: #fff; background: var(--jd-primary); border-radius: 10px; box-shadow: var(--jd-shadow); }

/* Mobile navigation */
.mobile-menu-container { background: #fff; }
.mobile-menu-wrapper { padding: 24px 20px; }
.mobile-menu-close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--jd-ink); border: 1px solid var(--jd-border); border-radius: 8px; }
.jd-mobile-brand { display: flex; align-items: center; gap: 10px; margin: 40px 0 24px; }
.jd-mobile-brand img { width: 52px; height: 52px; object-fit: contain; }
.jd-mobile-brand strong { color: var(--jd-ink); font-family: "Poppins", sans-serif; }
.mobile-menu > li > a { min-height: 46px; display: flex; align-items: center; color: #334155; border-bottom: 1px solid var(--jd-border); font-size: 14px; font-weight: 600; }
.mobile-menu .jd-mobile-submenu { padding: 5px 0 10px 14px; list-style: none; }
.mobile-menu .jd-mobile-submenu a { min-height: 40px; display: flex; align-items: center; color: var(--jd-muted); }
.jd-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.sticky-navbar { display: none !important; }

@media (max-width: 991.98px) {
    .container { width: min(calc(100% - 24px), 1200px); }
    .header-top .container { justify-content: center; }
    .header-top .jd-utility-links { display: none; }
    .header-middle, .header-middle .container, .header-middle .container > .jd-header-row { min-height: 68px; }
    .header .logo img, .header-middle .logo img { width: 48px; max-width: 48px; height: 48px; }
    .jd-header-row { gap: 10px; }
    .jd-main-nav, .jd-action-label, .jd-header-action--wishlist { display: none !important; }
    .jd-header-actions { flex: 0 0 auto; gap: 6px; margin-left: auto !important; }
    .jd-header-action, .header .cart-toggle, .header .user-toggle { padding: 6px; }
    .jd-home-hero .container { grid-template-columns: 1fr; }
    .jd-hero-visual { display: none; }
    .jd-trust-grid { grid-template-columns: 1fr; }
    .jd-trust-item { min-height: 92px; }
    .jd-trust-item + .jd-trust-item { border-left: 0; border-top: 1px solid var(--jd-border); }
    .jd-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jd-catalog-heading { align-items: flex-start; flex-direction: column; }
    .services-layout-list .product-default { grid-template-columns: 140px minmax(0, 1fr); gap: 14px; }
    .jd-support-cta { align-items: flex-start; flex-direction: column; }
    .jd-about-hero__inner { min-height: 0; grid-template-columns: 1fr; gap: 30px; }
    .jd-about-hero__panel { display: none; }
    .jd-about-story__grid { grid-template-columns: 1fr; gap: 28px; }
    .jd-about-section-heading, .jd-about-cta { align-items: flex-start; flex-direction: column; }
    .jd-about-value-grid { grid-template-columns: 1fr; }
    .jd-about-value-card { min-height: 0; }
    .sidebar-shop.mobile-sidebar { border-radius: 0 !important; }
    .product-single-container { padding: 16px; }
}

@media (max-width: 575.98px) {
    body { font-size: 13px; }
    .container { width: min(calc(100% - 20px), 1200px); }
    .header-top .top-message { font-size: 10px; text-align: center; }
    .jd-header-action--account { display: none !important; }
    .header .user-toggle, .header .cart-toggle { width: 44px; min-width: 44px; max-width: 44px; margin: 0 !important; }
    .jd-home-hero { padding: 42px 0 54px; }
    .jd-about-hero__inner { padding-top: 50px; padding-bottom: 50px; }
    .jd-about-hero h1 { font-size: 2.2rem; }
    .jd-about-story__body { padding-left: 18px; }
    .jd-about-value-card { padding: 24px; }
    .jd-about-cta__actions { width: 100%; margin-top: 6px; }
    .jd-about-cta__actions .btn { width: 100%; }
    .jd-hero-actions { display: grid; grid-template-columns: 1fr; }
    .jd-hero-actions .btn { width: 100%; }
    .jd-trust-strip { margin-top: -16px; }
    .jd-trust-item { padding: 18px; }
    .jd-category-grid { gap: 10px; }
    .jd-category-card { padding: 9px; }
    .jd-category-card h3 { font-size: 13px; }
    .jd-section-head { align-items: flex-start; flex-direction: column; }
    .product-default { padding: 9px; }
    .product-default .product-title { min-height: 39px; font-size: 12px; }
    .product-default .product-price { font-size: 14px; }
    .product-default .btn-add-cart span { font-size: 10px; }
    .product-default .btn-icon-wish, .product-default .btn-quickview { width: 38px; height: 38px; flex-basis: 38px; }
    .jd-home-product-card { width: min(100%, 420px); min-height: 550px; margin-right: auto; margin-left: auto; padding: 12px; }
    .jd-home-product-card .product-details { min-height: 270px; }
    .jd-home-product-card__availability { align-items: flex-start; flex-wrap: wrap; }
    .services-layout-list .product-default { grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 9px; }
    .services-layout-list .product-default .product-details { padding: 4px 2px 4px 0; }
    .services-layout-list .product-default .product-title { font-size: 13px; }
    .services-layout-list .product-default .product-action { max-width: none; }
    .cart-item { align-items: flex-start !important; flex-wrap: wrap; }
    .cart-item > .flex-grow-1 { min-width: calc(100% - 90px); }
    .table-responsive { border-radius: 8px; }
    .footer-middle { padding: 44px 0 24px; }
    .add-to-cart-modal-body { align-items: flex-start; flex-direction: column; }
    .add-to-cart-modal-actions { flex-direction: column-reverse; }
    .add-to-cart-modal-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
