.jd-shop-page { --shop-blue: #1261cc; --shop-blue-bright: #1768d5; --shop-ink: #0f172a; --shop-muted: #64748b; --shop-border: #dce4f0; background: #f5f7fb; }
.jd-shop-page *, .jd-shop-page *::before, .jd-shop-page *::after { box-sizing: border-box; }
.jd-shop-page__container { max-width: none; padding-right: clamp(20px, 4vw, 80px); padding-left: clamp(20px, 4vw, 80px); }
.jd-shop-page__heading { margin: 4px 0 26px; }
.jd-shop-page__heading .jd-result-count { padding: 10px 17px; color: var(--shop-blue); background: #eaf2ff; font-size: 13px; }
.jd-shop-page__layout { align-items: flex-start; }
.jd-shop-page__results { min-width: 0; }
.jd-shop-page .toolbox { min-height: 76px; margin-bottom: 25px; padding: 14px 18px; background: #fff; border: 1px solid var(--shop-border); border-radius: 14px; box-shadow: 0 7px 20px rgba(15, 23, 42, .06); }
.jd-shop-page .toolbox-left, .jd-shop-page .toolbox-right { gap: 14px; }
.jd-shop-page .toolbox .sidebar-toggle { min-height: 42px; display: none; align-items: center; gap: 7px; padding: 0 12px; color: var(--shop-blue); background: #eaf2ff; border: 1px solid #cfe0fa; border-radius: 7px; font-size: 12px; font-weight: 700; }
.jd-shop-page .toolbox .sidebar-toggle svg { width: 22px; height: 22px; }
.jd-shop-page .toolbox-item { margin: 0 !important; }
.jd-shop-page .toolbox label { margin: 0 7px 0 0; color: var(--shop-muted); font-size: 12px; font-weight: 600; text-transform: none; }
.jd-shop-page .toolbox .select-custom .form-control { min-width: 142px; height: 42px; margin: 0; padding-left: 12px; color: var(--shop-ink); border-color: #cbd8ea; border-radius: 7px; font-size: 13px; }
.jd-shop-page__results-summary { margin: 0 8px 0 0; color: #475569; font-size: 13px; white-space: nowrap; }
.jd-shop-page .layout-modes { border-color: #cbd8ea; border-radius: 8px; }
.jd-shop-page .layout-modes .layout-btn { width: 42px; height: 42px; color: #475569; border-radius: 6px; }
.jd-shop-page .layout-modes .layout-btn.active { color: #fff; background: var(--shop-blue); }
.jd-shop-page__product-grid { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.jd-shop-page__product-grid > [data-infinite-item="shop"] { width: auto; max-width: none; padding: 0; display: flex; }
.jd-shop-page__product-grid .product-default { width: 100%; min-height: 570px; padding: 14px; border-color: var(--shop-border); border-radius: 15px; box-shadow: 0 8px 22px rgba(15, 23, 42, .07); }
.jd-shop-page__product-grid .product-default:hover { border-color: #99bdf3; box-shadow: 0 15px 29px rgba(15, 23, 42, .13); }
.jd-shop-page__product-grid .product-default figure { margin-bottom: 15px; border-radius: 11px; }
.jd-shop-page__product-grid .product-default figure img { aspect-ratio: 1.28 / 1; object-fit: cover; }
.jd-shop-page__product-grid .product-details { min-height: 285px; padding: 0 4px 3px; display: flex; flex-direction: column; align-items: stretch; text-align: left; }
.jd-shop-page__product-grid .category-wrap, .jd-shop-page__product-grid .category-list, .jd-shop-page__product-grid .price-box { text-align: left !important; }
.jd-shop-page__product-grid .product-category { color: var(--shop-blue); font-size: 11px; }
.jd-shop-page__product-grid .product-title { min-height: 0; margin: 7px 0 10px; font-size: 17px; }
.jd-shop-page__product-grid .product-price { color: #0c54b7; font-size: 21px; }
.jd-shop-page__product-grid .old-price { display: block; margin-bottom: 2px; }
.jd-shop-page__stock-badge { position: absolute; z-index: 3; top: 13px; left: 13px; 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-shop-page__stock-badge.is-out-of-stock { color: #991b1b; background: #fee2e2; border-color: #fecaca; }
.jd-shop-page__rating { min-height: 24px; margin: -1px 0 8px; display: flex; align-items: center; gap: 8px; }
.jd-shop-page__rating > a { color: #64748b; font-size: 12px; }
.jd-shop-page__rating-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-shop-page__rating-stars::before, .jd-shop-page__rating-stars > span::before { content: "★★★★★"; }
.jd-shop-page__rating-stars::before { color: #dbe3ed; }
.jd-shop-page__rating-stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #f59e0b; white-space: nowrap; }
.jd-shop-page__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(--shop-border); font-size: 12px; }
.jd-shop-page__availability > span:first-child { display: inline-flex; align-items: center; gap: 6px; color: #16a34a; font-weight: 700; }
.jd-shop-page__availability > span:first-child i { width: 8px; height: 8px; display: inline-block; background: #22c55e; border-radius: 50%; }
.jd-shop-page__availability.is-out-of-stock > span:first-child { color: #dc2626; }
.jd-shop-page__availability.is-out-of-stock > span:first-child i { background: #ef4444; }
.jd-shop-page__availability-note::before { margin-right: 7px; content: "•"; color: #94a3b8; }
.jd-shop-page__product-grid .product-action { margin-top: auto; padding-top: 15px; display: grid; grid-template-columns: 1fr; gap: 9px; border-top: 1px solid var(--shop-border); }
.jd-shop-page__product-grid .jd-shop-page__wishlist { position: absolute !important; z-index: 3; top: 13px !important; right: 13px !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-shop-page__product-grid .jd-shop-page__wishlist:hover { color: var(--shop-blue); border-color: #a9c8f5; }
.jd-shop-page__product-grid .btn-add-cart { width: 100%; min-height: 44px; gap: 9px; color: #fff; background: linear-gradient(180deg, #1768d5, #1261cc); border-radius: 7px; font-size: 12px; text-transform: none; }
.jd-shop-page__product-grid .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-shop-page__details-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: var(--shop-blue); background: #fff; border: 1px solid #bfd2ee; border-radius: 7px; font-size: 12px; font-weight: 700; }
.jd-shop-page__details-link:hover { color: #0b4da9; background: #f7faff; }
.jd-shop-page__product-grid--list { grid-template-columns: 1fr; gap: 18px; }
.jd-shop-page__product-grid--list > [data-infinite-item="shop"] { width: 100%; }
.jd-shop-page__product-grid--list .product-default { min-height: 0; display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); align-items: stretch; gap: 24px; }
.jd-shop-page__product-grid--list .product-default figure { height: 100%; min-height: 235px; margin: 0; }
.jd-shop-page__product-grid--list .product-default figure img { width: 100%; height: 100% !important; aspect-ratio: auto; object-fit: cover; }
.jd-shop-page__product-grid--list .product-details { min-width: 0; min-height: 0; padding: 12px 14px 12px 0; }
.jd-shop-page__product-grid--list .product-title { font-size: 20px; }
.jd-shop-page__product-grid--list .product-action { width: min(100%, 430px); }
.jd-shop-page__empty-state { padding: 65px 20px; text-align: center; }
.jd-shop-page__empty-state > i { display: block; margin-bottom: 14px; color: var(--shop-blue); font-size: 40px; }
.jd-shop-page__empty-state h2 { margin: 0 0 7px; color: var(--shop-ink); font-size: 21px; }
.jd-shop-page__empty-state p { margin: 0 0 15px; color: var(--shop-muted); }
.jd-shop-page__empty-state a { color: var(--shop-blue); font-weight: 700; }
.jd-shop-page .toolbox-pagination { margin-top: 20px; }
.jd-shop-page__sidebar { min-width: 0; }
.jd-shop-page__sidebar .sidebar-wrapper { padding: 0; }
.jd-shop-page__filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 5px 0 16px; }
.jd-shop-page__filter-heading h2 { margin: 0; color: var(--shop-ink); font-size: 20px; font-weight: 700; }
.jd-shop-page__filter-heading a { color: var(--shop-blue); font-size: 12px; font-weight: 700; }
.jd-shop-page__filter-heading button { display: none; }
.jd-shop-page__sidebar .widget { margin-bottom: 16px; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--shop-border); border-radius: 13px; box-shadow: 0 5px 16px rgba(15, 23, 42, .05); }
.jd-shop-page__sidebar .widget-title { margin: 0; padding: 17px 18px; border-bottom: 1px solid var(--shop-border); }
.jd-shop-page__sidebar .widget-title a, .jd-shop-page__sidebar .widget-title { color: var(--shop-ink); font-size: 15px; font-weight: 700; text-transform: none; }
.jd-shop-page__sidebar .widget-title i { margin-right: 8px; color: var(--shop-blue); }
.jd-shop-page__sidebar .widget-body { padding: 8px 18px 15px; }
.jd-shop-page__sidebar .cat-list > li > a { min-height: 42px; display: flex; align-items: center; color: #475569; font-size: 13px; }
.jd-shop-page__sidebar .cat-list > li > a::before { width: 20px; height: 20px; flex: 0 0 20px; margin-right: 10px; display: grid; place-items: center; color: #fff; background: #fff; border: 1px solid #b8c8dd; border-radius: 5px; content: ""; font-family: "porto"; font-size: 11px; }
.jd-shop-page__sidebar .cat-list > li.is-active > a::before { content: "\e84e"; background: var(--shop-blue); border-color: var(--shop-blue); }
.jd-shop-page__sidebar .cat-list .products-count, .jd-shop-page__sidebar .cat-sublist .products-count { color: var(--shop-muted); }
.jd-shop-page__sidebar .cat-sublist { padding-bottom: 5px; }
.jd-shop-page__sidebar .cat-sublist a { color: #475569; font-size: 12px; }
.jd-shop-page__sidebar .price-slider-wrapper { padding: 8px 0 2px; }
.jd-shop-page__sidebar .noUi-connect { background: var(--shop-blue); }
.jd-shop-page__sidebar .noUi-handle { background: var(--shop-blue); border-color: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .2); }
.jd-shop-page__sidebar .filter-price-text { color: #475569; font-size: 12px; }
.jd-shop-page__price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.jd-shop-page__price-inputs label { display: block; margin: 0; color: var(--shop-muted); font-size: 11px; font-weight: 700; }
.jd-shop-page__price-inputs input { width: 100%; height: 40px; margin-top: 5px; padding: 7px 9px; color: var(--shop-ink); border: 1px solid #cbd8ea; border-radius: 7px; font: inherit; font-size: 13px; }
.jd-shop-page__price-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.jd-shop-page__price-actions .price-apply-btn, .jd-shop-page__price-actions a { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; color: #fff; background: var(--shop-blue); border: 1px solid var(--shop-blue); border-radius: 7px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.jd-shop-page__price-actions a { color: var(--shop-blue); background: #fff; }
.jd-shop-page__sidebar .widget-color, .jd-shop-page__sidebar .widget-size { display: none; }
.jd-shop-page__sidebar .widget-featured .widget-title { color: var(--shop-ink); }
.jd-shop-page__sidebar .widget-featured .ratings-container { display: none; }
.jd-shop-page__sidebar .product-widget { padding: 0; border: 0; box-shadow: none; }
.jd-shop-page__sidebar .product-widget figure { border-radius: 7px; }
.jd-shop-page__sidebar .product-widget .product-title { min-height: 0; font-size: 13px; }
.jd-shop-page__sidebar .product-widget .product-price { color: #0c54b7; font-size: 16px; }
.jd-shop-page a:focus-visible, .jd-shop-page button:focus-visible, .jd-shop-page input:focus-visible, .jd-shop-page select:focus-visible { outline: 3px solid rgba(18, 97, 204, .28); outline-offset: 2px; }
@media (max-width: 991.98px) { .jd-shop-page .jd-shop-page__sidebar.mobile-sidebar { width: min(90vw, 390px); padding: 20px 18px 30px; } .jd-shop-page__layout { margin-right: 0; margin-left: 0; } .jd-shop-page__results { width: 100%; max-width: 100%; flex: 0 0 100%; padding-right: 0; padding-left: 0; } .jd-shop-page__sidebar .sidebar-wrapper { padding: 0; } .jd-shop-page__filter-heading { min-height: 46px; margin: 2px 4px 20px; padding: 0 2px; } .jd-shop-page__filter-heading button { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: var(--shop-ink); background: #fff; border: 1px solid var(--shop-border); border-radius: 9px; } .jd-shop-page__sidebar .widget { margin-bottom: 20px; border-radius: 15px; } .jd-shop-page__sidebar .widget-title { padding: 18px 20px; } .jd-shop-page__sidebar .widget-body { padding: 12px 20px 20px; } .jd-shop-page__sidebar .cat-list > li > a { min-height: 48px; } .jd-shop-page__price-inputs { gap: 12px; margin-top: 18px; } .jd-shop-page__price-inputs input { height: 46px; padding: 9px 11px; } .jd-shop-page__price-actions { gap: 12px; margin-top: 16px; } .jd-shop-page__price-actions .price-apply-btn, .jd-shop-page__price-actions a { min-height: 46px; } .jd-shop-page .toolbox { padding: 12px; } .jd-shop-page .toolbox .sidebar-toggle { display: inline-flex; } .jd-shop-page__results-summary { grid-column: 1 / -1; margin: 0; } .jd-shop-page__product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
@media (max-width: 767.98px) { .jd-shop-page__heading { align-items: flex-start; flex-direction: column; gap: 10px; } .jd-shop-page .toolbox { min-height: 0; } .jd-shop-page .toolbox .sidebar-toggle { width: 100%; } .jd-shop-page__results-summary { white-space: normal; } .jd-shop-page__product-grid { width: 100%; grid-template-columns: minmax(0, 1fr); } .jd-shop-page__product-grid > [data-infinite-item="shop"] { width: 100%; max-width: 100%; flex: 0 0 100%; } .jd-shop-page__product-grid .product-default { width: 100%; max-width: none; min-height: 0; margin: 0; } }
@media (max-width: 767.98px) { .jd-shop-page__product-grid--list .product-default { grid-template-columns: 1fr; gap: 14px; } .jd-shop-page__product-grid--list .product-default figure { min-height: 0; } .jd-shop-page__product-grid--list .product-default figure img { height: auto !important; aspect-ratio: 1.28 / 1; } .jd-shop-page__product-grid--list .product-details { padding: 0 4px 3px; } }
@media (max-width: 575.98px) { .jd-shop-page .jd-shop-page__sidebar.mobile-sidebar { width: calc(100vw - 24px); max-width: 390px; padding: 18px 14px 26px; } .jd-shop-page__filter-heading { margin-right: 3px; margin-left: 3px; } .jd-shop-page__sidebar .widget-title { padding: 17px 18px; } .jd-shop-page__sidebar .widget-body { padding: 11px 18px 19px; } }
@media (max-width: 390px) { .jd-shop-page .jd-shop-page__sidebar.mobile-sidebar { width: calc(100vw - 16px); padding-right: 12px; padding-left: 12px; } .jd-shop-page__price-inputs, .jd-shop-page__price-actions { grid-template-columns: 1fr; } .jd-shop-page__heading .jd-result-count { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .jd-shop-page__product-grid .product-default { transition: none; } .jd-shop-page__product-grid .product-default:hover { transform: none; } }
