:root {
    --font-fa: "Vazirmatn", Tahoma, Arial, sans-serif;
    --ink: #17181b;
    --ink-soft: #24262b;
    --muted: #71717a;
    --muted-2: #9ca3af;
    --line: #e6e7eb;
    --surface: #ffffff;
    --page: #f7f7f8;
    --amber: #ffb300;
    --amber-2: #ffc400;
    --orange: #ff7a00;
    --pink: #ff2864;
    --green: #00a67d;
    --purple: #7c22ff;
    --danger: #ef3355;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(20,20,30,.06), 0 3px 12px rgba(20,20,30,.05);
    --shadow-md: 0 10px 28px rgba(20,20,30,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--font-fa);
    font-size: 15px;
    direction: rtl;
    text-align: right;
}
button, input, select, textarea, optgroup { font: inherit; }
.form-control, .form-select, .btn, .dropdown-menu, .modal, .offcanvas, .toast { font-family: var(--font-fa) !important; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
.shell { width: min(1280px, calc(100% - 36px)); margin-inline: auto; }
.main-content { min-height: 60vh; }

/* Header */
.announcement-bar { background: #17181b; color: #f7f7f7; font-size: 11px; }
.announcement-inner { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.announcement-inner span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.announcement-inner i { color: var(--amber); }
.announcement-inner strong { color: #ffd45c; letter-spacing: .4px; }
.announcement-center { color: #dedee2; }
.site-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.header-main { min-height: 66px; display: flex; align-items: center; gap: 14px; }
.site-header:has(.header-main) { background: linear-gradient(90deg, #ff9e00, #ffc400 58%, #ffb000); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-weight: 950; font-size: 16px; box-shadow: 0 5px 14px rgba(0,0,0,.18); direction: ltr; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 18px; font-weight: 950; letter-spacing: -.4px; direction: ltr; text-align: right; }
.brand-copy small { margin-top: 5px; font-size: 9px; color: rgba(23,24,27,.72); }
.delivery { display: flex; align-items: center; gap: 7px; min-width: 100px; padding: 5px 8px; border-right: 1px solid rgba(0,0,0,.12); }
.delivery i { font-size: 18px; }
.delivery span { display: flex; flex-direction: column; line-height: 1.1; font-size: 10px; }
.delivery small { font-weight: 900; margin-top: 4px; font-size: 12px; }
.site-search { flex: 1 1 480px; height: 43px; display: flex; align-items: center; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.search-category { position: relative; display: flex; align-items: center; align-self: stretch; border-left: 1px solid var(--line); background: #fafafa; }
.search-category select { width: 108px; border: 0; outline: 0; background: transparent; appearance: none; padding: 0 13px 0 30px; color: #444; font-size: 11px; }
.search-category i { position: absolute; left: 10px; font-size: 10px; pointer-events: none; }
.site-search input { flex: 1; height: 100%; border: 0; outline: 0; min-width: 80px; padding: 0 16px; color: var(--ink); }
.site-search input::placeholder { color: #9b9ca3; }
.site-search > button { width: 48px; height: 100%; border: 0; background: transparent; font-size: 19px; }
.site-search > button:hover { background: #fff6d3; }
.header-account { display: flex; flex-direction: column; min-width: 102px; line-height: 1.1; }
.header-account small { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; color: rgba(23,24,27,.72); }
.header-account strong { margin-top: 5px; font-size: 11px; white-space: nowrap; }
.header-account i { font-size: 9px; }
.header-icon-link { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 18px; }
.header-icon-link:hover { background: rgba(255,255,255,.28); }
.header-icon-link span { position: absolute; top: -3px; left: -2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; display: grid; place-items: center; background: var(--pink); color: #fff; font-size: 9px; font-weight: 900; }
.cart-link { position: relative; border: 0; background: transparent; min-width: 94px; height: 42px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 0 8px; border-right: 1px solid rgba(0,0,0,.12); color: var(--ink); }
.cart-link > i { font-size: 23px; }
.cart-link > span { display: flex; flex-direction: column; text-align: right; line-height: 1.1; }
.cart-link small { font-size: 9px; color: rgba(23,24,27,.68); }
.cart-link strong { margin-top: 4px; font-size: 11px; }
.cart-link em { position: absolute; top: -2px; right: 18px; min-width: 18px; height: 18px; border-radius: 10px; display: grid; place-items: center; background: var(--pink); color: #fff; font-style: normal; font-size: 9px; font-weight: 900; }
.mobile-menu-button { display: none; border: 0; background: transparent; font-size: 25px; }
.department-nav { background: #ff9900; border-top: 1px solid rgba(0,0,0,.06); }
.department-nav .shell { min-height: 38px; display: flex; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.department-nav .shell::-webkit-scrollbar { display: none; }
.department-nav a { font-size: 11px; font-weight: 650; white-space: nowrap; }
.department-nav a:hover { color: #fff; }
.department-nav .deal-link { font-weight: 900; }
.department-nav .deal-link i { margin-left: 5px; }

/* drawers */
.drawer-backdrop, .admin-modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(12,13,16,.58); backdrop-filter: blur(2px); }
.mobile-drawer, .cart-drawer { position: fixed; z-index: 100; top: 0; bottom: 0; right: 0; width: min(390px, 90vw); background: #fff; box-shadow: -18px 0 45px rgba(0,0,0,.18); animation: slideIn .22s ease-out; overflow-y: auto; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-heading { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-heading h2 { margin: 4px 0 0; font-size: 20px; }
.drawer-heading small { color: var(--muted); }
.drawer-heading > button { border: 0; background: #f4f4f5; width: 36px; height: 36px; border-radius: 50%; }
.mobile-drawer > a { display: flex; align-items: center; gap: 12px; padding: 13px 22px; border-bottom: 1px solid #f1f1f2; font-weight: 700; }
.mobile-drawer > a i { width: 22px; color: var(--orange); font-size: 18px; }
.mobile-drawer hr { margin: 10px 0; border: 0; border-top: 1px solid var(--line); }
.cart-drawer { right: auto; left: 0; animation-name: slideLeft; }
@keyframes slideLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.drawer-empty { min-height: calc(100vh - 75px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.drawer-empty > span, .empty-state > span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: #fff4cb; color: var(--orange); font-size: 35px; }
.drawer-empty h3 { margin: 22px 0 8px; font-size: 19px; }
.drawer-empty p { color: var(--muted); line-height: 1.9; }
.drawer-cart-lines { padding: 5px 18px; }
.drawer-cart-lines article { display: grid; grid-template-columns: 70px 1fr 30px; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-cart-lines img { width: 70px; height: 70px; object-fit: contain; background: #f5f5f6; border-radius: 9px; }
.drawer-cart-lines article > div { display: flex; flex-direction: column; gap: 4px; }
.drawer-cart-lines a { font-weight: 800; font-size: 12px; }
.drawer-cart-lines small { color: var(--muted); }
.drawer-cart-lines strong { font-size: 12px; }
.drawer-cart-lines button { border: 0; background: transparent; color: var(--danger); }
.drawer-cart-total { display: flex; align-items: center; justify-content: space-between; margin: 12px 18px 0; padding: 15px 0; border-top: 1px solid var(--line); }
.drawer-cart-total strong { font-size: 16px; }
.drawer-cart-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 0 18px 20px; }
.drawer-cart-actions > a { height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; font-weight: 800; }

/* general controls */
.primary-cta, .hero-primary, .hero-secondary, .secondary-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 9px; font-weight: 850; }
.primary-cta { background: var(--amber); color: var(--ink); border: 0; }
.primary-cta:hover { background: #ffc72a; transform: translateY(-1px); }
.secondary-button { border: 1px solid var(--line); background: #fff; }
.section-label { display: inline-flex; align-items: center; width: max-content; padding: 4px 9px; border-radius: 7px; background: #f1ebff; color: var(--purple); font-size: 10px; font-weight: 900; }
.section-label.orange { background: #fff0dd; color: #ef7100; }
.section-label.neutral { background: #f2f2f3; color: #555; }
.breadcrumbs { min-height: 48px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; overflow: hidden; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs span { color: #35363b; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.page-shell { padding-block: 35px 60px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 8px 0 6px; font-size: 28px; font-weight: 950; }
.page-heading p { margin: 0; color: var(--muted); }
.page-heading > a { color: var(--orange); font-weight: 800; }
.empty-state { min-height: 390px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; box-shadow: var(--shadow-sm); }
.empty-state h1, .empty-state h2 { margin: 22px 0 8px; font-size: 23px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); max-width: 520px; line-height: 2; }

/* home */
.home-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 28px; }
.home-benefits > div { min-height: 98px; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 48px 1fr; align-content: center; padding: 14px 18px; }
.home-benefits > div > span { grid-row: 1/3; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: #fff2c7; color: var(--orange); font-size: 18px; }
.home-benefits strong { align-self: end; font-size: 13px; }
.home-purchase-benefits > div { min-height: 70px; grid-template-columns: 42px 1fr; grid-template-rows: 1fr; padding: 10px 14px; }
.home-purchase-benefits strong { align-self: center; white-space: nowrap; }
.home-benefits small { align-self: start; margin-top: 4px; color: var(--muted); font-size: 10px; }
.home-hero { position: relative; min-height: 390px; margin-top: 20px; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; padding: 35px 55px; background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.25), transparent 28%), linear-gradient(115deg, #ff8a00, #ff6400); color: #fff; box-shadow: 0 12px 34px rgba(255,103,0,.22); }
.home-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; left: -180px; bottom: -300px; box-shadow: 0 0 0 80px rgba(255,255,255,.04), 0 0 0 160px rgba(255,255,255,.035); }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 7px; background: rgba(255,255,255,.19); font-size: 11px; font-weight: 800; }
.hero-copy h1 { margin: 16px 0 12px; font-size: clamp(35px, 5vw, 54px); line-height: 1.35; font-weight: 950; letter-spacing: -1.5px; }
.hero-copy h1 em { color: #fff9ce; font-style: normal; }
.hero-copy > p { margin: 0; max-width: 560px; font-size: 14px; line-height: 2; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; gap: 10px; margin-top: 23px; }
.hero-primary { background: #fff; color: var(--ink); box-shadow: 0 8px 18px rgba(0,0,0,.13); }
.hero-secondary { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.hero-proof { display: flex; gap: 28px; margin-top: 26px; }
.hero-proof span { display: flex; flex-direction: column; }
.hero-proof strong { font-size: 17px; }
.hero-proof small { color: rgba(255,255,255,.72); font-size: 9px; margin-top: 3px; }
.hero-art { position: relative; z-index: 2; display: grid; place-items: center; }
.hero-image-frame { width: min(360px, 90%); aspect-ratio: 1.15; border: 6px solid rgba(255,255,255,.45); border-radius: 22px; background: linear-gradient(145deg,#fff4cb,#ffd43c); display: grid; place-items: center; box-shadow: 0 24px 45px rgba(74,24,0,.25); transform: rotate(-2deg); }
.hero-image-frame img { width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 25px 20px rgba(30,10,0,.24)); }
.hero-orbit { position: absolute; width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); box-shadow: var(--shadow-md); }
.hero-orbit-one { right: 10%; top: 4%; }
.hero-orbit-two { left: 8%; bottom: 7%; }
.hero-dots { position: absolute; right: 0; left: 0; bottom: 13px; display: flex; justify-content: center; gap: 5px; }
.hero-dots i { width: 6px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.5); }
.hero-dots i.active { width: 24px; background: #fff; }
.home-section { padding-top: 34px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading > div { display: flex; flex-direction: column; align-items: flex-start; }
.section-heading h2 { margin: 7px 0 4px; font-size: 24px; font-weight: 950; }
.section-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.section-heading > a { font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 4px; }
.section-heading.compact h2 { margin-top: 0; }
.category-scroll { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.category-scroll a { min-width: 0; text-align: center; font-size: 10px; }
.category-scroll a > span { aspect-ratio: 1; display: grid; place-items: center; background: #fffdf7; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 8px; box-shadow: 0 2px 5px rgba(0,0,0,.03); transition: .2s; }
.category-scroll a:hover > span { border-color: var(--amber); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.category-scroll i { font-size: 30px; color: #3f4249; }
.category-scroll b { white-space: nowrap; }
.deal-showcase { margin-top: 35px; padding: 22px; border: 1px solid #ffb5c6; border-radius: 18px; background: linear-gradient(105deg,#fff7f8,#fff0f4); }
.deal-showcase-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 16px; }
.deal-showcase-heading > div:first-child > span { color: var(--pink); font-weight: 900; font-size: 11px; }
.deal-showcase-heading h2 { margin: 6px 0 3px; font-size: 22px; }
.deal-showcase-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.deal-clock { display: flex; direction: ltr; align-items: center; gap: 5px; }
.deal-clock > span { min-width: 42px; height: 44px; border-radius: 8px; background: #fff; border: 1px solid #ffd0da; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.deal-clock b { font-size: 13px; }
.deal-clock small { font-size: 7px; color: var(--muted); }
.deal-products, .product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.deal-more { width: max-content; margin: 17px auto 0; display: flex; align-items: center; gap: 6px; color: var(--pink); font-size: 11px; font-weight: 900; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 35px; }
.promo-tile { position: relative; min-height: 180px; overflow: hidden; border-radius: 16px; padding: 26px 30px; color: #fff; }
.promo-tile > span { display: inline-block; padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.15); font-size: 9px; }
.promo-tile h2 { margin: 9px 0 5px; font-size: 22px; }
.promo-tile p { margin: 0; max-width: 72%; color: rgba(255,255,255,.82); line-height: 1.9; font-size: 11px; }
.promo-tile b { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 8px 13px; border-radius: 8px; background: #fff; color: var(--ink); font-size: 10px; }
.promo-purple { background: linear-gradient(120deg,#5d00d7,#9127ff); }
.promo-green { background: linear-gradient(120deg,#007f67,#00b98a); }
.promo-icon { position: absolute; left: 34px; bottom: -25px; font-size: 125px; color: rgba(255,255,255,.13); }
.brand-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; }
.brand-grid a { min-height: 82px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-items: center; align-content: center; gap: 5px; color: #3d424a; text-decoration: none; box-shadow: var(--shadow-sm); transition: .18s ease; }
.brand-grid a:hover { border-color: #e8aa1b; background: #fffaf0; box-shadow: 0 7px 18px rgba(41,44,49,.11); transform: translateY(-2px); }
.brand-grid strong { font-size: 13px; font-weight: 950; letter-spacing: .2px; }
.brand-grid small { color: var(--muted); font-size: 10px; font-weight: 700; }
.trust-band { margin-top: 40px; background: #fff7dc; border-block: 1px solid #ffe18a; }
.trust-band > div { min-height: 105px; display: flex; align-items: center; justify-content: space-between; }
.trust-band > div > div { display: flex; align-items: center; gap: 14px; }
.trust-band i { font-size: 32px; color: var(--orange); }
.trust-band span { display: flex; flex-direction: column; }
.trust-band strong { font-size: 17px; }
.trust-band small { color: var(--muted); margin-top: 4px; }
.trust-band a { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 16px; background: var(--ink); color: #fff; border-radius: 8px; font-weight: 800; }

/* product cards */
.product-card { position: relative; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,20,20,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d5d6da; }
.product-card-media { position: relative; height: 225px; background: #f4f4f5; overflow: hidden; }
.product-card-media > a { display: grid; place-items: center; width: 100%; height: 100%; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .28s; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-badges { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.discount-badge, .new-badge { min-height: 20px; padding: 2px 7px; border-radius: 7px; color: #fff; font-size: 8px; font-weight: 900; }
.discount-badge { background: var(--pink); }
.new-badge { background: var(--orange); }
.wishlist-button { position: absolute; left: 8px; top: 8px; width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); display: grid; place-items: center; color: #5f6168; }
.wishlist-button.active { color: var(--pink); border-color: #ffbdcc; }
.product-hover-actions { position: absolute; left: 8px; top: 46px; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(-8px); transition: .2s; }
.product-card:hover .product-hover-actions { opacity: 1; transform: none; }
.product-hover-actions a, .product-hover-actions button { width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: #555861; }
.product-hover-actions .active { color: var(--orange); }
.product-card-body { padding: 11px 12px 12px; }
.product-meta { min-height: 17px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 9px; color: var(--orange); font-weight: 800; }
.product-meta em { font-style: normal; color: var(--pink); font-size: 8px; }
.product-card h3 { height: 38px; overflow: hidden; margin: 3px 0 5px; font-size: 12px; line-height: 1.65; font-weight: 850; }
.product-card h3 a:hover { color: var(--orange); }
.product-card-body > p { height: 42px; overflow: hidden; margin: 0 0 5px; color: var(--muted); font-size: 9px; line-height: 1.75; }
.product-rating { display: flex; align-items: center; gap: 5px; direction: ltr; justify-content: flex-end; }
.product-rating span, .rating-stars { color: #ffb000; letter-spacing: -1px; font-size: 10px; }
.product-rating small { color: var(--muted); font-size: 8px; direction: rtl; }
.product-pricing { min-height: 48px; display: flex; align-items: flex-end; justify-content: space-between; padding-top: 6px; }
.product-pricing > div { display: flex; flex-direction: column; align-items: flex-end; width: 100%; }
.product-pricing del { color: var(--muted-2); font-size: 8px; }
.product-pricing strong { font-size: 14px; font-weight: 950; white-space: nowrap; }
.add-cart { width: 100%; min-height: 34px; border: 0; border-radius: 8px; background: var(--amber); color: var(--ink); font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 6px; }
.add-cart:hover { background: #ffc52a; }
.add-cart:disabled { background: #e6e7ea; color: #8f9299; cursor: not-allowed; }
.compact-card .product-card-media { height: 180px; }
.compact-card .product-card-body > p { display: none; }

/* catalog */
.catalog-shell { display: grid; grid-template-columns: 248px minmax(0,1fr); gap: 18px; padding-bottom: 55px; }
.filters { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 16px; align-self: start; position: sticky; top: 124px; box-shadow: var(--shadow-sm); }
.filter-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-title h2 { margin: 0; font-size: 16px; }
.filter-title a { color: var(--orange); font-size: 9px; font-weight: 800; }
.filter-block { padding: 16px 0; border-bottom: 1px solid var(--line); }
.filter-block h3 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 10px; font-size: 12px; }
.filter-block > a { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #555861; font-size: 10px; border-radius: 7px; padding: 0 8px; }
.filter-block > a > span { display: flex; gap: 7px; align-items: center; }
.filter-block > a.selected { background: #fff4cf; color: #a95300; font-weight: 900; }
.filter-check { justify-content: flex-start !important; }
.filter-check i { color: var(--orange); }
.price-range-control { height: 26px; margin: 18px 5px 8px; position: relative; }
.price-range-rail { position: absolute; top: 11px; right: 0; left: 0; height: 4px; border-radius: 4px; background: linear-gradient(to right, #ececef 0 var(--price-start), var(--amber) var(--price-start) var(--price-end), #ececef var(--price-end) 100%); }
.price-range-control input { position: absolute; inset: 0; width: 100%; height: 26px; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; }
.price-range-control input::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.price-range-control input::-webkit-slider-thumb { width: 14px; height: 14px; margin-top: -5px; border: 3px solid var(--amber); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(54,43,0,.18); cursor: grab; pointer-events: auto; appearance: none; -webkit-appearance: none; }
.price-range-control input::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.08); }
.price-range-control input::-moz-range-track { height: 4px; background: transparent; }
.price-range-control input::-moz-range-thumb { width: 10px; height: 10px; border: 3px solid var(--amber); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(54,43,0,.18); cursor: grab; pointer-events: auto; }
.price-range-min { z-index: 2; }
.price-range-max { z-index: 3; }
.price-range-values { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 8px; direction: rtl; }
.filter-assurance { display: flex; gap: 9px; margin-top: 14px; padding: 12px; background: #f5fbf8; border-radius: 9px; color: var(--green); }
.filter-assurance > i { font-size: 19px; }
.filter-assurance span { display: flex; flex-direction: column; }
.filter-assurance small { color: #75817c; font-size: 8px; line-height: 1.7; margin-top: 3px; }
.catalog-banner { min-height: 125px; border-radius: 14px; padding: 20px 25px; background: linear-gradient(105deg,#fff6d7,#fff0c4); border: 1px solid #ffe3a0; display: flex; justify-content: space-between; align-items: center; overflow: hidden; }
.catalog-banner span { color: #e66f00; font-size: 10px; font-weight: 900; }
.catalog-banner h1 { margin: 5px 0 3px; font-size: 25px; }
.catalog-banner p { margin: 0; color: var(--muted); font-size: 10px; }
.catalog-banner > i { font-size: 78px; color: rgba(255,143,0,.18); }
.catalog-toolbar { min-height: 57px; margin: 12px 0; padding: 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: space-between; }
.catalog-toolbar > div { display: flex; align-items: center; gap: 10px; }
.catalog-toolbar span { color: var(--muted); font-size: 10px; }
.catalog-toolbar strong { color: var(--ink); }
.catalog-toolbar label { display: flex; align-items: center; gap: 7px; }
.catalog-toolbar select { height: 34px; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 0 9px; outline: 0; font-size: 10px; }
.mobile-filter-trigger { display: none; border: 1px solid var(--line); background: #fff; border-radius: 7px; padding: 7px 10px; }
.catalog-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Product detail */
.product-loading { min-height: 500px; display: grid; grid-template-columns: 230px 1fr 420px; gap: 18px; padding: 35px 0; }
.product-loading span { background: linear-gradient(90deg,#eee,#f7f7f7,#eee); background-size: 200% 100%; border-radius: 15px; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.product-detail { display: grid; grid-template-columns: minmax(300px,420px) minmax(0,1fr) 235px; gap: 20px; align-items: start; padding-bottom: 30px; }
.product-spec-card { order: 3; position: sticky; top: 128px; background: #fff; border: 1px solid #e3e5e9; border-radius: 18px; padding: 18px; box-shadow: 0 10px 26px rgba(26,31,40,.06); }
.spec-card-title { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.spec-card-title i { color: var(--orange); }
.spec-card-title h3 { margin: 0; font-size: 14px; }
.product-spec-card dl { margin: 8px 0; }
.product-spec-card dl div { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: 10px; border-bottom: 1px dashed #ececef; }
.product-spec-card dt { color: var(--muted); font-weight: 500; }
.product-spec-card dd { margin: 0; font-weight: 800; }
.delivery-points { display: flex; flex-direction: column; gap: 9px; padding: 8px 0 12px; }
.delivery-points span { font-size: 10px; }
.delivery-points i { color: var(--orange); margin-left: 5px; }
.support-box { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 10px; border-radius: 9px; background: #fff8e7; }
.support-box > span { width: 31px; height: 31px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; }
.support-box div { display: flex; flex-direction: column; }
.support-box b { font-size: 9px; }
.support-box small { color: var(--muted); font-size: 7px; line-height: 1.7; }
.support-box a { grid-column: 1/-1; min-height: 29px; display: grid; place-items: center; background: var(--amber); border-radius: 6px; font-size: 8px; font-weight: 900; }
.product-main-info { order: 2; background: linear-gradient(145deg,#fff 0%,#fffefd 100%); border: 1px solid #e3e5e9; border-radius: 18px; padding: 26px; min-height: 500px; box-shadow: 0 10px 26px rgba(26,31,40,.045); }
.product-title-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.detail-brand { color: var(--orange); font-size: 10px; font-weight: 900; }
.product-title-line h1 { margin: 7px 0 0; font-size: 26px; line-height: 1.55; font-weight: 950; letter-spacing: -.25px; }
.detail-discount { flex: 0 0 auto; padding: 5px 8px; border-radius: 7px; background: var(--pink); color: #fff; font-size: 9px; font-weight: 900; }
.detail-rating-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 9px; }
.detail-rating-row :is(a, .detail-review-link) { color: #4b72c5; }
.detail-review-link { padding: 0; border: 0; background: transparent; font: inherit; }
.detail-rating-row > i { width: 1px; height: 14px; background: var(--line); }
.detail-description { padding: 18px 0; margin: 0; color: #555861; line-height: 2.1; font-size: 11px; border-bottom: 1px solid var(--line); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.feature-list span { color: #3f4249; font-size: 10px; }
.feature-list i { color: var(--green); margin-left: 5px; }
.detail-purchase-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 16px 0 13px; }
.detail-price { display: flex; flex-direction: column; align-items: flex-start; }
.detail-price del { color: var(--muted-2); font-size: 10px; }
.detail-price strong { font-size: 24px; font-weight: 950; }
.detail-price small { color: var(--muted); font-size: 8px; }
.stock { display: flex; gap: 8px; align-items: center; color: var(--green); }
.stock > i { font-size: 18px; }
.stock span { display: flex; flex-direction: column; }
.stock b { font-size: 10px; }
.stock small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.stock.low { color: var(--danger); }
.stock.out { color: var(--danger); }
.purchase-actions { padding-top: 4px; }
.purchase-summary { display: flex; align-items: center; gap: 14px; min-height: 50px; }
.purchase-summary .stock { margin-left: auto; }
.selected-product-total { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.selected-product-total b { color: var(--ink); font-size: 11px; }
.buy-box { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; margin-top: 10px; }
.quantity-stepper { height: 43px; display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.quantity-stepper button { height: 100%; border: 0; background: #f5f5f6; font-size: 17px; }
.quantity-stepper span { text-align: center; font-weight: 900; }
.add-cart.large { min-height: 43px; font-size: 11px; }
.buy-now { min-height: 43px; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-weight: 900; font-size: 11px; }
.buy-now:disabled, .add-cart:disabled { cursor: not-allowed; opacity: .55; filter: grayscale(.2); }
.detail-secondary-actions { display: flex; gap: 8px; margin-top: 10px; }
.detail-secondary-actions button { flex: 1; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 7px; font-size: 9px; color: #555861; }
.detail-secondary-actions button.active { color: var(--pink); border-color: #ffc1cf; background: #fff8fa; }
.detail-gallery { order: 1; display: flex; flex-direction: column; gap: 11px; }
.main-product-image { position: relative; height: 472px; border: 1px solid #e3e5e9; border-radius: 18px; background: radial-gradient(circle at 50% 34%,#fff 0%,#fff 54%,#fafafa 100%); display: grid; place-items: center; overflow: hidden; box-shadow: 0 10px 26px rgba(26,31,40,.045); }
.main-product-image img { width: 93%; height: 93%; object-fit: contain; padding: 16px; transition: transform .25s ease; }
.main-product-image:hover img { transform: scale(1.025); }
.main-product-image { cursor: zoom-in; }
.image-zoom-button { position: absolute; left: 14px; bottom: 14px; z-index: 3; width: 38px; height: 38px; border: 1px solid #e5e7eb; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); cursor: zoom-in; box-shadow: 0 4px 14px rgba(26,31,40,.12); }
.product-image-lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 28px; background: rgba(12,16,24,.82); cursor: zoom-out; }
.product-image-lightbox img { max-width: min(94vw, 1100px); max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 18px 60px rgba(0,0,0,.35); cursor: default; }
.product-image-lightbox-close { position: fixed; top: 22px; left: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #20242c; cursor: pointer; font-size: 18px; }
.main-product-image > span { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 9px; border-radius: 7px; background: var(--pink); color: #fff; font-size: 9px; font-weight: 900; }
.thumbnail-row { display: flex; gap: 8px; justify-content: center; }
.thumbnail-row button { width: 64px; height: 64px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 4px; }
.thumbnail-row button.active { border: 2px solid var(--orange); box-shadow: 0 4px 12px rgba(235,139,0,.16); }
.thumbnail-row img { width: 100%; height: 100%; object-fit: contain; }
.product-information, .reviews-section { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.product-tabs { display: flex; gap: 26px; min-height: 52px; align-items: center; padding: 0 24px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.product-tabs button { position: relative; padding: 0; border: 0; background: transparent; white-space: nowrap; font: inherit; font-size: 11px; color: var(--muted); font-weight: 800; }
.product-tabs button.active { color: var(--ink); }
.product-tabs button.active::after { content:""; position:absolute; right:0; left:0; bottom:-18px; height:3px; background:var(--amber); border-radius:3px; }
.product-specifications, .product-questions { padding: 28px; }
.product-specifications > div:first-child > span, .product-questions > span { color: var(--orange); font-size: 9px; font-weight: 900; }
.product-specifications h2, .product-questions h2 { margin: 8px 0; font-size: 20px; }
.product-specifications > div:first-child > p, .product-questions > p { margin: 0 0 22px; color: #555861; font-size: 11px; line-height: 2.1; }
.product-specifications dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; margin: 0; }
.product-specifications dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 10px; }
.product-specifications dd { margin: 0; font-weight: 850; }
.product-all-features { margin-top: 22px; padding: 16px; border-radius: 10px; background: #f8f8f9; }
.product-all-features h3 { margin: 0 0 10px; font-size: 12px; }
.product-all-features ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px 16px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 9px; }
.product-all-features i { color: var(--green); }
.product-questions > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 17px; border: 1px solid #d5ede4; border-radius: 10px; background: #f2fbf7; color: #087b55; font-size: 10px; }
.product-questions > div > i { font-size: 20px; }
.product-questions > div > a { margin-right: auto; padding: 8px 11px; border-radius: 7px; background: #0b8a61; color: #fff; font-size: 9px; font-weight: 850; }
.product-info-content { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 28px; }
.product-info-content article > span { color: var(--orange); font-size: 9px; font-weight: 900; }
.product-info-content h2 { margin: 8px 0; font-size: 20px; }
.product-info-content article > p { color: #555861; line-height: 2.1; font-size: 11px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pros-cons > div { padding: 15px; border-radius: 10px; background: #f8f8f9; }
.pros-cons h3 { margin: 0 0 8px; font-size: 12px; }
.pros-cons > div:first-child h3 { color: var(--green); }
.pros-cons > div:last-child h3 { color: var(--danger); }
.pros-cons ul { margin: 0; padding-right: 18px; color: var(--muted); font-size: 9px; line-height: 2; }
.product-info-content aside { border-right: 1px solid var(--line); padding-right: 25px; }
.product-info-content aside h3 { margin-top: 0; font-size: 14px; }
.product-info-content dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 9px; }
.product-info-content dd { margin: 0; font-weight: 800; }
.reviews-section { padding: 24px; }
.review-button { min-height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 800; }
.review-overview { display: grid; grid-template-columns: 190px 1fr 220px; gap: 30px; padding: 22px; background: #fafafa; border-radius: 12px; }
.review-score { display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.review-score strong { font-size: 45px; }
.review-score span { color: var(--amber); letter-spacing: 1px; }
.review-score small { color: var(--muted); font-size: 8px; }
.rating-bars { display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.rating-bars div { display: grid; grid-template-columns: 50px 1fr 28px; gap: 8px; align-items: center; font-size: 8px; color: var(--muted); }
.rating-bars div > i { height: 5px; background: #e7e7e9; border-radius: 4px; overflow: hidden; }
.rating-bars b { display: block; height: 100%; background: var(--amber); }
.review-recommend { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); text-align: center; }
.review-recommend i { color: var(--green); font-size: 25px; }
.review-recommend strong { font-size: 25px; }
.review-recommend span { color: var(--muted); font-size: 8px; line-height: 1.7; }
.review-list article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-list header { display: flex; align-items: center; gap: 10px; }
.review-list header > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #222; color: #fff; font-weight: 900; }
.review-list header > div { display: flex; flex-direction: column; }
.review-list header small { color: var(--muted); font-size: 8px; }
.review-list header em { margin-right: auto; color: var(--amber); font-style: normal; }
.review-list h3 { margin: 13px 0 5px; font-size: 13px; }
.review-list p { margin: 0; color: #555861; font-size: 10px; line-height: 2; }
.review-list footer { display: flex; justify-content: space-between; margin-top: 12px; }
.review-list footer span { color: var(--green); font-size: 9px; }
.review-list footer button { border: 0; background: #f4f4f5; border-radius: 7px; font-size: 8px; padding: 6px 9px; }
.related-section { padding-bottom: 20px; }
.related-grid { grid-template-columns: repeat(4,1fr); }

/* cart and checkout */
.cart-page { padding-top: 38px; }
.cart-empty > div { margin-top: 18px; }
.cart-empty > div a { color: var(--pink); font-weight: 800; }
.shipping-progress { display: flex; align-items: center; gap: 13px; padding: 13px 17px; background: #f2fbf7; border: 1px solid #bfe8d6; border-radius: 11px; margin-bottom: 14px; }
.shipping-progress > i { color: var(--green); font-size: 24px; }
.shipping-progress > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.shipping-progress b { font-size: 10px; }
.shipping-progress span { height: 5px; background: #dbece5; border-radius: 5px; overflow: hidden; }
.shipping-progress span i { display: block; height: 100%; background: var(--green); }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 18px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 0 18px; }
.cart-items > header { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.cart-items > header h2 { margin: 0; font-size: 15px; }
.cart-items > header h2 span { color: var(--muted); font-size: 9px; font-weight: 500; }
.cart-items > header button { border: 0; background: transparent; color: var(--danger); font-size: 9px; }
.cart-line { display: grid; grid-template-columns: 125px minmax(0,1fr) 150px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line-image { position: relative; width: 125px; height: 125px; border-radius: 10px; background: #f4f4f5; display: grid; place-items: center; }
.cart-line-image img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.cart-line-image span { position: absolute; top: 6px; right: 6px; padding: 3px 6px; background: var(--pink); color: #fff; border-radius: 5px; font-size: 7px; }
.cart-line-info > small { color: var(--orange); font-size: 8px; font-weight: 800; }
.cart-line-info h2 { margin: 5px 0 8px; font-size: 13px; }
.cart-line-info ul { list-style: none; margin: 0; padding: 0; color: #666972; font-size: 8px; line-height: 1.9; }
.cart-line-info li i { color: var(--green); margin-left: 4px; }
.cart-line-actions { display: flex; gap: 13px; margin-top: 8px; }
.cart-line-actions button { border: 0; background: transparent; padding: 0; color: #656870; font-size: 8px; }
.cart-line-actions button:last-child { color: var(--danger); }
.cart-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cart-line-side .quantity-stepper { width: 100px; margin-bottom: 8px; }
.cart-line-side del { color: var(--muted-2); font-size: 8px; }
.cart-line-side strong { font-size: 14px; }
.order-summary { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 19px; position: sticky; top: 126px; box-shadow: var(--shadow-sm); }
.order-summary h2 { margin: 0 0 15px; font-size: 16px; }
.order-summary > div:not(.coupon-box):not(.accepted-payments):not(.checkout-products):not(.checkout-summary-title):not(.checkout-security) { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; font-size: 10px; }
.order-summary strong { font-size: 11px; }
.order-summary .saving { color: var(--green); }
.order-summary hr { border: 0; border-top: 1px solid var(--line); margin: 15px 0; }
.order-summary .summary-total { align-items: flex-start !important; }
.summary-total span { font-weight: 900; }
.summary-total strong { font-size: 17px; }
.coupon-box { padding: 12px 0; border-top: 1px dashed var(--line); margin-top: 15px; }
.coupon-box label { font-size: 9px; font-weight: 800; }
.coupon-box > div { display: grid; grid-template-columns: 1fr 55px; margin-top: 6px; }
.coupon-box input { min-width: 0; height: 36px; border: 1px solid var(--line); border-radius: 0 7px 7px 0; padding: 0 9px; outline: 0; font-size: 9px; }
.coupon-box button { border: 0; border-radius: 7px 0 0 7px; background: #292b30; color: #fff; font-size: 9px; }
.checkout-button { width: 100%; min-height: 43px; border: 0; border-radius: 8px; background: var(--amber); color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 950; }
.checkout-button:hover { background: #ffc62c; }
.checkout-button:disabled { opacity: .65; cursor: progress; }
.order-summary > p { color: var(--muted); font-size: 8px; text-align: center; line-height: 1.8; }
.accepted-payments { display: flex; align-items: center; gap: 5px; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); }
.accepted-payments span { font-size: 7px; color: var(--muted); }
.accepted-payments b { padding: 4px; border: 1px solid var(--line); border-radius: 4px; font-size: 7px; }
.checkout-shell { padding: 32px 0 60px; }
.checkout-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 18px; }
.checkout-heading > div { text-align: center; }
.checkout-heading h1 { margin: 7px 0 0; font-size: 27px; }
.checkout-heading > a { justify-self: start; color: var(--muted); font-size: 10px; }
.checkout-heading > span { justify-self: end; color: var(--green); font-size: 9px; }
.checkout-steps { display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; max-width: 650px; }
.checkout-steps > span { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; }
.checkout-steps > span i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-size: 14px; }
.checkout-steps > span.done i, .checkout-steps > span.active i { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.checkout-steps > i { width: 100px; height: 2px; background: var(--line); margin: 0 8px 18px; }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 0 22px; }
.form-section { display: grid; grid-template-columns: 39px 1fr; gap: 15px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.step-number { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-weight: 950; }
.form-content h2 { margin: 0 0 4px; font-size: 15px; }
.form-content > p { margin: 0 0 15px; color: var(--muted); font-size: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .wide { grid-column: 1/-1; }
.form-grid label, .admin-editor label { display: flex; flex-direction: column; gap: 5px; font-size: 9px; font-weight: 800; }
.form-grid input, .form-grid textarea, .admin-editor input, .admin-editor textarea, .admin-editor select { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 0 11px; outline: 0; font-size: 10px; }
.form-grid input, .admin-editor input, .admin-editor select { height: 40px; }
.form-grid textarea, .admin-editor textarea { padding-block: 9px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .admin-editor input:focus, .admin-editor textarea:focus, .admin-editor select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,179,0,.14); }
.validation-message { color: var(--danger); font-size: 8px; }
.save-address { display: flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 9px; color: var(--muted); }
.shipping-options, .payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.shipping-options label, .payment-options label { min-height: 70px; border: 1px solid var(--line); border-radius: 9px; padding: 11px; display: grid; grid-template-columns: 16px 31px 1fr auto; gap: 7px; align-items: center; cursor: pointer; }
.shipping-options label.selected, .payment-options label.selected { border-color: var(--amber); background: #fffaf0; }
.shipping-options label > i, .payment-options label > i { font-size: 20px; color: var(--orange); }
.shipping-options label > span, .payment-options label > span { display: flex; flex-direction: column; }
.shipping-options b, .payment-options b { font-size: 9px; }
.shipping-options small, .payment-options small { font-size: 7px; color: var(--muted); margin-top: 3px; }
.shipping-options strong { font-size: 8px; }
.checkout-summary-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.checkout-summary-title h2 { margin: 0; }
.checkout-summary-title a { color: var(--orange); font-size: 8px; font-weight: 800; }
.checkout-products { max-height: 270px; overflow-y: auto; }
.checkout-item { display: grid !important; grid-template-columns: 53px 1fr auto; gap: 8px; align-items: center !important; padding: 9px 0; border-bottom: 1px solid #f0f0f1; margin: 0 !important; }
.checkout-item > span { position: relative; width: 50px; height: 50px; border-radius: 7px; background: #f4f4f5; }
.checkout-item img { width: 100%; height: 100%; object-fit: contain; }
.checkout-item em { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; background: #222; color: #fff; font-size: 7px; font-style: normal; }
.checkout-item > div { display: flex; flex-direction: column; min-width: 0; }
.checkout-item b { font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-item small { color: var(--muted); font-size: 7px; }
.checkout-item strong { font-size: 8px; }
.checkout-security { display: flex; gap: 8px; padding: 10px; background: #f2fbf7; border-radius: 8px; color: var(--green); }
.checkout-security > i { font-size: 18px; }
.checkout-security span { display: flex; flex-direction: column; }
.checkout-security b { font-size: 8px; }
.checkout-security small { color: #74817b; font-size: 7px; }
.confirmation { max-width: 750px; margin: 35px auto; background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 45px; text-align: center; box-shadow: var(--shadow-md); }
.confirmation > span { width: 74px; height: 74px; margin: auto; border-radius: 50%; display: grid; place-items: center; background: #e9fbf4; color: var(--green); font-size: 35px; }
.confirmation > small { display: block; color: var(--green); font-weight: 900; margin-top: 15px; }
.confirmation h1 { font-size: 25px; }
.confirmation p { color: var(--muted); line-height: 2; }
.confirmation-number { max-width: 300px; margin: 18px auto; padding: 13px; background: #fafafa; border-radius: 9px; display: flex; justify-content: space-between; }
.confirmation-steps { display: flex; align-items: center; justify-content: center; margin: 30px 0; }
.confirmation-steps span { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); font-size: 8px; }
.confirmation-steps span i { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.confirmation-steps span.active i { background: var(--green); color: #fff; border-color: var(--green); }
.confirmation-steps > i { width: 80px; height: 2px; background: var(--line); margin: 0 8px 17px; }
.confirmation-actions { display: flex; justify-content: center; gap: 9px; }

/* wishlist/compare/account */
.wishlist-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.wishlist-toolbar button { border: 0; background: transparent; color: var(--danger); font-size: 9px; }
.wishlist-grid { grid-template-columns: repeat(5,1fr); }
.compare-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.compare-table { min-width: 850px; display: grid; grid-template-columns: 145px repeat(var(--compare-count), minmax(180px,1fr)); }
.compare-table > div { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px; }
.compare-label { background: #fafafa; display: flex; align-items: center; font-weight: 900; font-size: 10px; }
.product-row-label { min-height: 330px; align-items: flex-start; padding-top: 25px !important; }
.compare-product { position: relative; text-align: center; min-height: 330px; }
.compare-product > button:first-child { position: absolute; top: 7px; left: 7px; width: 27px; height: 27px; border: 0; border-radius: 50%; background: #f1f1f2; }
.compare-product img { width: 160px; height: 160px; object-fit: contain; margin: auto; }
.compare-product small { color: var(--orange); font-size: 8px; }
.compare-product h2 { height: 40px; margin: 5px 0; font-size: 11px; line-height: 1.7; }
.compare-product strong { display: block; margin-bottom: 10px; font-size: 13px; }
.compare-cell { display: grid; place-items: center; text-align: center; font-size: 10px; }
.compare-cell.warning { color: var(--danger); }
.account-page { display: grid; grid-template-columns: 235px 1fr; gap: 18px; padding-block: 35px 60px; }
.account-sidebar { background: #fff; border: 1px solid var(--line); border-radius: 13px; align-self: start; overflow: hidden; position: sticky; top: 126px; }
.account-user { display: flex; gap: 10px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.account-user > span { width: 42px; height: 42px; border-radius: 50%; background: #fff2c7; color: var(--orange); display: grid; place-items: center; font-size: 20px; }
.account-user > div { display: flex; flex-direction: column; }
.account-user small { color: var(--muted); font-size: 8px; margin-top: 3px; }
.account-sidebar nav { padding: 8px; }
.account-sidebar nav a { min-height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 11px; border-radius: 8px; color: #555861; font-size: 10px; }
.account-sidebar nav a.active { background: #fff2c7; color: #9b5300; font-weight: 900; }
.account-logout { display: flex; gap: 9px; padding: 14px 18px; border-top: 1px solid var(--line); color: var(--danger); font-size: 10px; }
.order-tabs { display: flex; gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; }
.order-tabs button { min-height: 40px; border: 0; background: transparent; padding: 0 13px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.order-tabs button.active { color: var(--ink); border-bottom: 3px solid var(--amber); font-weight: 900; }
.order-tabs span { min-width: 18px; height: 18px; border-radius: 9px; display: inline-grid; place-items: center; background: #f0f0f1; }
.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 18px; }
.order-card > header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.order-card > header > div:first-child { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; }
.order-status { grid-row: 1/3; display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: #fff4d0; color: #a65c00; font-size: 8px; font-weight: 900; }
.order-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.order-card h2 { margin: 0; font-size: 13px; }
.order-card header small { color: var(--muted); font-size: 8px; }
.order-card header > div:last-child { display: flex; flex-direction: column; align-items: flex-end; }
.order-card header strong { font-size: 14px; }
.order-products { display: flex; gap: 7px; padding: 14px 0; }
.order-products > span { position: relative; width: 58px; height: 58px; border-radius: 8px; background: #f4f4f5; border: 1px solid var(--line); }
.order-products img { width: 100%; height: 100%; object-fit: contain; }
.order-products em { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; background: #222; color: #fff; font-size: 7px; font-style: normal; }
.order-products > b { align-self: center; color: var(--muted); }
.order-progress { display: flex; align-items: center; justify-content: center; margin: 5px 0 15px; }
.order-progress > span { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-size: 7px; }
.order-progress > span i { width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.order-progress > span.done i { background: var(--green); border-color: var(--green); color: #fff; }
.order-progress > i { width: 70px; height: 2px; background: var(--line); margin: 0 6px 14px; }
.order-progress > i.done { background: var(--green); }
.order-card > footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: center; padding-top: 13px; border-top: 1px solid var(--line); }
.order-card > footer > div { display: flex; gap: 8px; align-items: center; }
.order-card footer > div > i { color: var(--orange); }
.order-card footer span { display: flex; flex-direction: column; }
.order-card footer b { font-size: 8px; }
.order-card footer small { color: var(--muted); font-size: 7px; }
.order-card footer button { border: 1px solid var(--line); background: #fff; border-radius: 7px; min-height: 34px; padding: 0 12px; font-size: 8px; font-weight: 800; }

/* footer */
.site-footer { margin-top: 45px; background: #191a1e; color: #fff; }
.back-to-top { height: 42px; display: flex; align-items: center; justify-content: center; gap: 7px; background: #222329; color: #d5d5d8; font-size: 9px; }
.footer-benefits { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-benefits > span { display: grid; grid-template-columns: 42px 1fr; align-items: center; }
.footer-benefits i { grid-row: 1/3; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,179,0,.12); color: var(--amber); }
.footer-benefits b { font-size: 10px; }
.footer-benefits small { color: #9799a0; font-size: 8px; margin-top: 3px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 45px; padding: 36px 0; }
.footer-grid section { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .brand-mark { background: var(--amber); color: var(--ink); }
.footer-brand .brand-copy small { color: #9c9ea5; }
.footer-about p { color: #a4a5ab; line-height: 2; font-size: 9px; max-width: 330px; }
.footer-grid h4 { margin: 0 0 12px; font-size: 12px; }
.footer-grid section > a:not(.brand) { color: #9c9ea5; font-size: 9px; line-height: 2.5; }
.footer-grid section > a:hover { color: var(--amber); }
.socials { display: flex; gap: 7px; margin-top: 8px; }
.socials a { width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; display: grid; place-items: center; color: #b2b3b8; }
.newsletter-band { background: #0e0f12; border-top: 1px solid rgba(255,255,255,.08); }
.newsletter-band > div { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.newsletter-band h3 { margin: 0 0 4px; font-size: 13px; }
.newsletter-band p { margin: 0; color: #8d8f96; font-size: 8px; }
.subscribe { width: 390px; height: 39px; display: grid; grid-template-columns: 1fr 65px; border-radius: 7px; overflow: hidden; }
.subscribe input { min-width: 0; border: 0; background: #1c1d22; color: #fff; padding: 0 12px; outline: 0; font-size: 9px; }
.subscribe button { border: 0; background: var(--amber); font-weight: 900; font-size: 9px; }
.footer-bottom { min-height: 43px; display: flex; justify-content: space-between; align-items: center; color: #74767e; font-size: 8px; }

/* Admin */
.admin-root { min-height: 100vh; background: #f4f4f5; }
.admin-app { min-height: 100vh; display: grid; grid-template-columns: 245px minmax(0,1fr); direction: rtl; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; background: #191a1e; color: #fff; display: flex; flex-direction: column; }
.admin-brand { min-height: 70px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-brand > span { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-weight: 950; direction: ltr; }
.admin-brand > div { display: flex; flex-direction: column; }
.admin-brand strong { font-size: 14px; }
.admin-brand small { color: #8f9198; margin-top: 3px; font-size: 8px; direction: ltr; text-align: right; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; }
.admin-sidebar nav :is(button, a) { position: relative; min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: #c6c7cc; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 10px; text-align: right; text-decoration: none; }
.admin-sidebar nav :is(button, a):hover { background: rgba(255,255,255,.05); }
.admin-sidebar nav :is(button, a).active { background: var(--amber); color: var(--ink); font-weight: 950; }
.admin-sidebar nav :is(button, a) > i { font-size: 16px; }
.admin-sidebar nav :is(button, a) > span { margin-right: auto; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 7px; }
.admin-sidebar nav :is(button, a).active > span { background: rgba(0,0,0,.12); }
.admin-sidebar-footer { margin-top: auto; padding: 14px 17px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 12px; }
.admin-sidebar-footer a { color: #c4c5ca; font-size: 9px; }
.admin-sidebar-footer a:last-child { color: #ff5d7b; }
.admin-sidebar-footer i { margin-left: 8px; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 70px; background: #fff; border-bottom: 1px solid #dddde1; display: flex; align-items: center; justify-content: space-between; padding: 0 25px; position: sticky; top: 0; z-index: 20; }
.admin-topbar > div { display: flex; align-items: center; gap: 12px; }
.admin-topbar h1 { margin: 0; font-size: 18px; }
.admin-topbar label { width: 230px; height: 36px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 7px; padding: 0 10px; }
.admin-topbar label i { color: var(--muted); }
.admin-topbar input { border: 0; outline: 0; min-width: 0; width: 100%; font-size: 9px; }
.admin-notification { position: relative; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.admin-notification span { position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); border: 1px solid #fff; }
.admin-user { display: flex; align-items: center; gap: 7px; padding-right: 10px; border-right: 1px solid var(--line); font-size: 9px; font-weight: 800; }
.admin-user i { width: 32px; height: 32px; border-radius: 50%; background: #f1f1f2; display: grid; place-items: center; font-size: 16px; }
.admin-mobile-menu { display: none; border: 0; background: transparent; font-size: 20px; }
.admin-content { padding: 24px; }
.admin-page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-page-heading span { color: var(--orange); font-size: 8px; font-weight: 900; }
.admin-page-heading h2 { margin: 5px 0 3px; font-size: 22px; }
.admin-page-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.admin-primary { min-height: 38px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--amber); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 9px; font-weight: 900; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.admin-stats > div { position: relative; min-height: 130px; padding: 17px; border: 1px solid #dddde1; border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start; }
.admin-stats > div > span { position: absolute; left: 15px; top: 15px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.admin-stats .green { color: #00a574; background: #ecfaf5; }
.admin-stats .blue { color: #2689e8; background: #eef7ff; }
.admin-stats .pink { color: #ef2c63; background: #fff0f4; }
.admin-stats .orange { color: #f17c00; background: #fff5e9; }
.admin-stats small { color: var(--muted); font-size: 9px; }
.admin-stats strong { margin-top: 13px; font-size: 17px; }
.admin-stats em { margin-top: auto; color: var(--muted); font-size: 7px; font-style: normal; }
.admin-stats em i { color: var(--green); }
.admin-panel { background: #fff; border: 1px solid #dddde1; border-radius: 13px; box-shadow: var(--shadow-sm); }
.admin-chart-panel { margin-top: 13px; }
.admin-panel-heading { min-height: 65px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid var(--line); }
.admin-panel-heading h3 { margin: 0 0 3px; font-size: 14px; }
.admin-panel-heading p { margin: 0; color: var(--muted); font-size: 8px; }
.admin-panel-heading select, .admin-panel-heading button { height: 32px; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 0 10px; font-size: 8px; }
.fake-chart { height: 290px; display: grid; grid-template-columns: 45px 1fr; padding: 25px 25px 18px; direction: ltr; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; color: var(--muted); font-size: 7px; padding-bottom: 22px; }
.chart-bars { position: relative; display: flex; align-items: flex-end; justify-content: space-around; gap: 13px; border-left: 1px solid #dedee1; border-bottom: 1px solid #dedee1; background-image: linear-gradient(#ededf0 1px,transparent 1px); background-size: 100% 25%; padding: 0 18px; }
.chart-bars > span { position: relative; width: 7%; min-width: 22px; border-radius: 7px 7px 0 0; background: linear-gradient(#ffc400,#ff8a00); box-shadow: 0 7px 15px rgba(255,160,0,.22); }
.chart-bars i { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 7px; font-style: normal; white-space: nowrap; direction: rtl; }
.admin-dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 13px; }
.admin-empty { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.admin-empty > i { font-size: 28px; color: #c9cacf; }
.admin-empty h3 { margin: 10px 0 4px; color: var(--ink); }
.admin-empty p { font-size: 9px; }
.mini-orders, .low-stock-list { padding: 7px 17px; }
.mini-orders > div, .low-stock-list > div { min-height: 56px; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.mini-orders span, .low-stock-list span { display: flex; flex-direction: column; }
.mini-orders b, .low-stock-list b { font-size: 9px; }
.mini-orders small, .low-stock-list small { color: var(--muted); font-size: 7px; }
.mini-orders em { padding: 4px 7px; border-radius: 6px; background: #fff4d0; color: #a45a00; font-size: 7px; font-style: normal; }
.mini-orders strong { font-size: 9px; }
.low-stock-list > div { grid-template-columns: 42px 1fr auto; }
.low-stock-list img { width: 38px; height: 38px; object-fit: contain; background: #f4f4f5; border-radius: 7px; }
.low-stock-list em { color: var(--danger); font-size: 8px; font-style: normal; }
.admin-table-toolbar { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); }
.admin-table-toolbar label { width: 285px; height: 36px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 7px; padding: 0 10px; }
.admin-table-toolbar input { width: 100%; border: 0; outline: 0; font-size: 9px; }
.admin-table-toolbar > div { display: flex; gap: 7px; }
.admin-table-toolbar select { height: 34px; border: 1px solid var(--line); border-radius: 7px; background: #fff; padding: 0 9px; font-size: 8px; }
.admin-table { overflow-x: auto; }
.admin-table-head, .admin-table-row { min-width: 850px; display: grid; grid-template-columns: 2fr 1fr 1fr .65fr .65fr .65fr; align-items: center; gap: 10px; padding: 0 17px; }
.admin-table-head { min-height: 42px; background: #fafafa; color: var(--muted); font-size: 8px; font-weight: 800; }
.admin-table-row { min-height: 70px; border-bottom: 1px solid var(--line); font-size: 9px; }
.admin-table-row > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.admin-table-row small { color: var(--muted); font-size: 7px; }
.inventory-product { display: grid !important; grid-template-columns: 48px 1fr; gap: 9px; align-items: center !important; }
.inventory-product img { width: 45px; height: 45px; object-fit: contain; background: #f4f4f5; border-radius: 7px; }
.inventory-product > span { display: flex; flex-direction: column; }
.stock-low { color: var(--danger); font-weight: 900; }
.admin-table-row em.live, .admin-table-row em.out { padding: 5px 8px; border-radius: 6px; font-style: normal; font-size: 7px; }
.admin-table-row em.live { background: #eaf9f3; color: var(--green); }
.admin-table-row em.out { background: #fff0f3; color: var(--danger); }
.row-actions { display: flex !important; flex-direction: row !important; gap: 5px !important; }
.row-actions button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.row-actions button:last-child { color: var(--danger); }
.orders-table .admin-table-head, .orders-table .admin-table-row { grid-template-columns: 1.1fr 1.2fr .8fr 1fr .7fr .6fr; }
.category-admin-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.category-admin-grid article { min-height: 105px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 52px 1fr 32px; gap: 10px; align-items: center; }
.category-admin-grid article > span { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff3cd; color: var(--orange); font-size: 22px; }
.category-admin-grid h3 { margin: 0 0 5px; font-size: 12px; }
.category-admin-grid p { margin: 0; color: var(--muted); font-size: 8px; }
.category-admin-grid button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.admin-editor { position: fixed; z-index: 110; top: 0; bottom: 0; left: 0; width: min(510px,94vw); background: #fff; box-shadow: 15px 0 45px rgba(0,0,0,.2); overflow-y: auto; animation: slideLeft .22s ease-out; }
.admin-editor-heading { min-height: 75px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.admin-editor-heading span { color: var(--orange); font-size: 8px; font-weight: 900; }
.admin-editor-heading h2 { margin: 5px 0 0; font-size: 17px; }
.admin-editor-heading button { width: 35px; height: 35px; border: 0; border-radius: 50%; background: #f2f2f3; }
.admin-editor form { display: flex; flex-direction: column; gap: 13px; padding: 20px; }
.editor-image-preview { height: 170px; min-height: 170px; max-height: 170px; overflow: hidden; isolation: isolate; border: 1px dashed #d5d6da; border-radius: 10px; background: #fafafa; display: grid; place-items: center; position: relative; }
.editor-image-preview img { width: 100% !important; height: 100% !important; max-width: 100%; max-height: 100%; min-width: 0; min-height: 0; box-sizing: border-box; object-fit: contain; padding: 10px; }
.editor-image-preview span { position: absolute; z-index: 1; bottom: 7px; right: 8px; padding: 3px 7px; border-radius: 5px; background: rgba(0,0,0,.7); color: #fff; font-size: 7px; }
.admin-editor label > small { color: var(--muted); font-weight: 400; }
.admin-editor .switches { display: flex; flex-wrap: wrap; gap: 15px; padding: 12px; border-radius: 8px; background: #fafafa; }
.admin-editor .switches label { flex-direction: row; align-items: center; }
.product-media-editor { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.product-media-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-media-editor-heading > div { display: flex; flex-direction: column; gap: 3px; }
.product-media-editor-heading b { font-size: 10px; }
.product-media-editor-heading small, .product-media-help, .product-media-empty { color: var(--muted); font-size: 8px; line-height: 1.8; }
.product-media-editor .media-upload-button { width: auto; min-height: 34px; flex-direction: row; white-space: nowrap; }
.product-media-thumbnails { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.product-media-thumbnails article { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.product-media-thumbnails article.is-primary { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(255,179,0,.18); }
.product-media-thumbnails img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 4px; background: #fff; }
.product-media-thumbnails article > div { display: grid; grid-template-columns: 1fr 29px; gap: 4px; padding: 4px; }
.product-media-thumbnails button, .product-media-videos button { min-height: 27px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 7px; }
.product-media-thumbnails .danger-link, .product-media-videos .danger-link { color: var(--danger); }
.product-media-videos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.product-media-videos article { display: grid; gap: 5px; }
.product-media-videos video { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #18191d; }
.product-media-empty { margin: 0; }
.editor-actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; margin-top: 5px; }
.editor-actions > button:first-child { border: 1px solid var(--line); background: #fff; border-radius: 8px; }

/* account identity template helpers */
.content, .container { direction: rtl; }
.form-control:focus { border-color: var(--amber); box-shadow: 0 0 0 .2rem rgba(255,179,0,.18); }
.btn-primary { background: var(--amber); border-color: var(--amber); color: var(--ink); font-weight: 800; }
.btn-primary:hover { background: #ffc52a; border-color: #ffc52a; color: var(--ink); }

#blazor-error-ui { display: none; position: fixed; z-index: 9999; bottom: 0; left: 0; right: 0; padding: 12px 20px; background: #fff4c5; color: #4d3900; box-shadow: 0 -2px 8px rgba(0,0,0,.12); }
#blazor-error-ui .dismiss { position: absolute; left: 12px; cursor: pointer; }

/* Responsive */
@media (max-width: 1180px) {
    .header-main { gap: 9px; }
    .delivery { display: none; }
    .header-account { min-width: 86px; }
    .category-scroll { grid-template-columns: repeat(8, 110px); overflow-x: auto; padding-bottom: 4px; }
    .product-grid, .deal-products { grid-template-columns: repeat(4,1fr); }
    .deal-products .product-card:nth-child(5), .home-product-grid .product-card:nth-child(5) { display: none; }
    .catalog-grid { grid-template-columns: repeat(3,1fr); }
    .product-detail { grid-template-columns: 210px 1fr 350px; }
    .main-product-image { height: 400px; }
    .admin-stats { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 980px) {
    .announcement-center { display: none !important; }
    .mobile-menu-button { display: grid; place-items: center; }
    .department-nav { display: none; }
    .header-main { min-height: 112px; display: grid; grid-template-columns: auto auto 1fr auto auto auto; padding-block: 9px; }
    .site-search { grid-column: 1/-1; grid-row: 2; width: 100%; }
    .brand-copy small { display: none; }
    .header-account { margin-right: auto; }
    .home-benefits { grid-template-columns: repeat(2,1fr); }
    .home-hero { grid-template-columns: 1fr 1fr; padding: 35px; }
    .hero-copy h1 { font-size: 38px; }
    .catalog-shell { grid-template-columns: 1fr; }
    .filters { display: none; }
    .mobile-filter-trigger { display: inline-flex; gap: 6px; }
    .product-detail { grid-template-columns: 1fr 340px; }
    .product-spec-card { position: static; grid-column: 1/-1; order: 3; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
    .spec-card-title { grid-column: 1/-1; }
    .product-spec-card dl { margin: 0; }
    .support-box { align-self: start; }
    .product-info-content { grid-template-columns: 1fr; }
    .product-info-content aside { border-right: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
    .review-overview { grid-template-columns: 150px 1fr; }
    .review-recommend { grid-column: 1/-1; border-right: 0; border-top: 1px solid var(--line); padding-top: 15px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .order-summary { position: static; }
    .account-page { grid-template-columns: 1fr; }
    .account-sidebar { position: static; }
    .account-sidebar nav { display: grid; grid-template-columns: repeat(4,1fr); }
    .account-logout { display: none; }
    .admin-app { grid-template-columns: 78px minmax(0,1fr); }
    .admin-brand { justify-content: center; padding: 0; }
    .admin-brand > div, .admin-sidebar nav :is(button, a):not(.active) > span, .admin-sidebar nav :is(button, a) { font-size: 0; }
    .admin-sidebar nav :is(button, a) { justify-content: center; padding: 0; }
    .admin-sidebar nav :is(button, a) i { font-size: 18px; }
    .admin-sidebar-footer a { font-size: 0; text-align: center; }
    .admin-sidebar-footer i { font-size: 18px; margin: 0; }
    .category-admin-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 20px, 1280px); }
    .announcement-inner { min-height: 25px; font-size: 9px; }
    .announcement-inner > span:first-child { max-width: 65%; overflow: hidden; }
    .header-main { grid-template-columns: auto auto 1fr auto auto; min-height: 106px; }
    .brand-mark { width: 36px; height: 36px; font-size: 13px; }
    .brand-copy strong { font-size: 14px; }
    .header-account { display: none; }
    .header-icon-link:first-of-type { display: none; }
    .cart-link { min-width: 42px; border: 0; padding: 0; }
    .cart-link > span { display: none; }
    .cart-link em { top: -4px; right: 25px; }
    .search-category { display: none; }
    .home-benefits { padding-top: 14px; gap: 7px; }
    .home-benefits > div { min-height: 77px; grid-template-columns: 36px 1fr; padding: 10px; }
    .home-benefits > div > span { width: 31px; height: 31px; font-size: 15px; }
    .home-benefits strong { font-size: 10px; }
    .home-benefits small { font-size: 7px; }
    .home-hero { min-height: 480px; grid-template-columns: 1fr; padding: 24px; text-align: center; }
    .hero-art { order: 2; }
    .hero-copy { order: 1; display: flex; flex-direction: column; align-items: center; }
    .hero-copy h1 { font-size: 31px; }
    .hero-copy > p { font-size: 11px; }
    .hero-image-frame { width: 230px; margin-top: 22px; }
    .hero-proof { display: none; }
    .hero-actions { flex-wrap: wrap; justify-content: center; }
    .home-section { padding-top: 27px; }
    .section-heading h2 { font-size: 19px; }
    .section-heading p { display: none; }
    .section-heading > a { font-size: 9px; }
    .deal-showcase { margin-top: 27px; padding: 13px; }
    .deal-showcase-heading { align-items: flex-start; }
    .deal-clock { display: none; }
    .product-grid, .deal-products, .catalog-grid, .wishlist-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .deal-products .product-card:nth-child(5), .home-product-grid .product-card:nth-child(5) { display: block; }
    .product-card-media { height: 180px; }
    .product-card-body { padding: 9px; }
    .product-card-body > p { display: none; }
    .product-card h3 { font-size: 10px; }
    .product-pricing strong { font-size: 11px; }
    .promo-grid { grid-template-columns: 1fr; }
    .promo-tile { min-height: 160px; padding: 22px; }
    .brand-grid { grid-template-columns: repeat(3,1fr); }
    .trust-band > div { padding: 18px 0; }
    .trust-band small { display: none; }
    .catalog-banner { min-height: 105px; }
    .catalog-banner h1 { font-size: 20px; }
    .catalog-banner > i { font-size: 55px; }
    .catalog-toolbar label span { display: none; }
    .product-detail { grid-template-columns: 1fr; }
    .detail-gallery { order: 1; }
    .product-main-info { order: 2; }
    .product-spec-card { order: 3; grid-template-columns: 1fr; }
    .main-product-image { height: 350px; }
    .product-title-line h1 { font-size: 20px; }
    .purchase-summary { flex-wrap: wrap; gap: 10px; }
    .purchase-summary .stock { width: 100%; margin-left: 0; }
    .buy-box { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .detail-purchase-row { align-items: flex-start; flex-direction: column; }
    .product-info-content, .product-specifications, .product-questions, .reviews-section { padding: 18px; }
    .product-tabs { padding: 0 15px; gap: 20px; }
    .pros-cons { grid-template-columns: 1fr; }
    .product-specifications dl, .product-all-features ul { grid-template-columns: 1fr; }
    .product-questions > div > a { margin-right: 0; }
    .review-overview { grid-template-columns: 1fr; }
    .review-score { border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 15px; }
    .review-recommend { grid-column: auto; }
    .related-grid { grid-template-columns: repeat(2,1fr); }
    .cart-line { grid-template-columns: 90px 1fr; align-items: start; }
    .cart-line-image { width: 90px; height: 90px; }
    .cart-line-side { grid-column: 1/-1; flex-direction: row; align-items: center; justify-content: flex-end; }
    .cart-line-side .quantity-stepper { margin: 0 auto 0 0; }
    .checkout-heading { grid-template-columns: 1fr auto; }
    .checkout-heading > div { text-align: right; }
    .checkout-heading > span { display: none; }
    .checkout-steps > i { width: 45px; }
    .shipping-options, .payment-options { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .wide { grid-column: auto; }
    .confirmation { padding: 30px 18px; }
    .account-sidebar nav { grid-template-columns: repeat(2,1fr); }
    .order-card > footer { grid-template-columns: 1fr; }
    .order-progress > i { width: 25px; }
    .order-progress > span b { display: none; }
    .footer-benefits { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
    .footer-about { grid-column: 1/-1; }
    .newsletter-band > div { flex-direction: column; align-items: stretch; padding: 18px 0; }
    .subscribe { width: 100%; }
    .footer-bottom { flex-direction: column; justify-content: center; gap: 5px; text-align: center; }
    .admin-app { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-topbar { padding: 0 13px; }
    .admin-mobile-menu { display: block; }
    .admin-topbar label { display: none; }
    .admin-content { padding: 14px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
    .category-admin-grid { grid-template-columns: 1fr; }
    .admin-page-heading p { display: none; }
}

@media (max-width: 480px) {
    .announcement-inner > span:first-child { display: none; }
    .announcement-inner { justify-content: flex-end; }
    .home-benefits { grid-template-columns: 1fr 1fr; }
    .category-scroll { grid-template-columns: repeat(8, 88px); }
    .category-scroll i { font-size: 25px; }
    .product-card-media, .compact-card .product-card-media { height: 145px; }
    .product-meta em { display: none; }
    .product-card h3 { height: 34px; }
    .product-rating small { display: none; }
    .add-cart { font-size: 8px; }
    .brand-grid { grid-template-columns: repeat(2,1fr); }
    .trust-band strong { font-size: 13px; }
    .trust-band a { font-size: 8px; padding: 0 10px; }
    .product-main-info { padding: 15px; }
    .detail-rating-row > span:last-child, .detail-rating-row > i { display: none; }
    .detail-price strong { font-size: 18px; }
    .detail-secondary-actions button { font-size: 0; }
    .detail-secondary-actions i { font-size: 15px; }
    .review-list footer { flex-direction: column; gap: 8px; }
    .cart-items { padding: 0 11px; }
    .cart-line { grid-template-columns: 75px 1fr; gap: 10px; }
    .cart-line-image { width: 75px; height: 75px; }
    .checkout-form { padding: 0 13px; }
    .form-section { grid-template-columns: 1fr; }
    .step-number { width: 29px; height: 29px; }
    .checkout-steps > span b { display: none; }
    .confirmation-steps > i { width: 40px; }
    .page-heading { align-items: flex-start; }
    .page-heading h1 { font-size: 23px; }
    .page-heading p { display: none; }
    .order-card > header { align-items: flex-start; }
    .order-card header > div:last-child small { display: none; }
    .footer-benefits { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about { grid-column: auto; }
    .admin-stats { grid-template-columns: 1fr; }
    .admin-topbar .admin-user span { display: none; }
    .fake-chart { height: 240px; padding-inline: 12px; }
}

/* Authentication */
.auth-shell { min-height: 680px; display: grid; grid-template-columns: minmax(360px, .8fr) 1.2fr; align-items: stretch; padding-block: 38px 60px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 0 16px 16px 0; padding: 34px 42px; box-shadow: var(--shadow-md); position: relative; z-index: 2; }
.auth-brand { display: inline-flex; align-items: center; gap: 9px; }
.auth-brand > span { width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-weight: 950; direction: ltr; }
.auth-brand > div { display: flex; flex-direction: column; }
.auth-brand strong { direction: ltr; font-size: 15px; }
.auth-brand small { color: var(--muted); font-size: 8px; }
.auth-heading { margin-top: 34px; }
.auth-heading > span { color: var(--orange); font-size: 9px; font-weight: 900; }
.auth-heading h1 { margin: 7px 0 5px; font-size: 25px; }
.auth-heading p { margin: 0; color: var(--muted); font-size: 9px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.auth-form > label { display: flex; flex-direction: column; gap: 6px; font-size: 9px; font-weight: 800; }
.auth-form input:not([type="checkbox"]) { width: 100%; height: 43px; border: 1px solid var(--line); border-radius: 8px; padding: 0 11px; outline: 0; font-size: 10px; }
.auth-form input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,179,0,.14); }
.auth-form-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 8px; }
.remember-me { display: flex; align-items: center; gap: 6px; }
.auth-form-row a, .auth-switch a { color: var(--orange); font-weight: 900; }
.auth-submit, .auth-passkey { width: 100%; min-height: 43px; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 900; font-size: 10px; }
.auth-submit { border: 0; background: var(--amber); color: var(--ink); }
.otp-message { margin: 14px 0 0; padding: 9px 11px; border: 1px solid #bfe8d6; border-radius: 8px; background: #f2fbf7; color: #087b55; font-size: 10px; }
.otp-message.error { border-color: #f0c4bf; background: #fff4f3; color: #b42318; }
.otp-demo-code { margin: -6px 0 0; padding: 8px 10px; border: 1px dashed #e6c769; border-radius: 8px; background: #fffbef; color: #8d6100; font-size: 10px; }
.otp-demo-code strong { padding: 1px 5px; border-radius: 4px; background: #fff; color: #4a3c18; letter-spacing: 1px; }

/* Mobile OTP: one focused, low-friction customer journey */
.auth-otp-page { min-height: calc(100vh - 100px); display: grid; place-items: center; padding: 42px 18px; background: radial-gradient(circle at 15% 18%,rgba(255,196,0,.2),transparent 28%), radial-gradient(circle at 88% 86%,rgba(255,122,0,.12),transparent 25%), #f7f7f8; }
.auth-otp-card { width: min(100%, 440px); padding: 24px; border: 1px solid #e7e7ea; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(25,26,30,.1); }
.auth-otp-top { display: flex; align-items: center; justify-content: space-between; }
.auth-otp-brand { display: inline-flex; align-items: center; gap: 8px; direction: ltr; font-size: 16px; font-weight: 950; }
.auth-otp-brand > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--amber); font-size: 13px; }
.auth-otp-close { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #696b72; font-size: 13px; }
.auth-otp-heading { margin-top: 30px; text-align: center; }
.auth-otp-icon { width: 50px; height: 50px; margin: 0 auto 13px; display: grid; place-items: center; border-radius: 15px; background: #fff2c7; color: var(--orange); font-size: 23px; }
.auth-otp-heading h1 { margin: 0; font-size: 20px; font-weight: 950; outline: 0; border: 0; user-select: none; }
.auth-otp-heading { outline: 0; border: 0; user-select: none; }
.auth-otp-heading p { margin: 8px auto 0; max-width: 300px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.auth-otp-progress { display: flex; justify-content: center; gap: 5px; margin: 20px 0; }
.auth-otp-progress i { width: 24px; height: 4px; border-radius: 5px; background: #e6e7eb; }
.auth-otp-progress i.active { background: var(--amber); }
.auth-otp-form { display: flex; flex-direction: column; gap: 14px; }
.auth-otp-form > label { position: relative; display: flex; flex-direction: column; gap: 7px; color: #393b42; font-size: 11px; font-weight: 850; }
.auth-otp-form input:not([type="hidden"]) { width: 100%; height: 46px; border: 1px solid #dfe0e4; border-radius: 10px; padding: 0 12px; outline: 0; background: #fff; color: var(--ink); font-size: 13px; transition: border-color .15s, box-shadow .15s; }
.auth-otp-form input[readonly] { background: #f8f8f9; color: #777981; }
.auth-otp-form input:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,179,0,.14); }
.auth-otp-profile-fields { display: grid; gap: 13px; }
.auth-otp-profile-fields label small { color: var(--muted); font-size: 9px; font-weight: 600; }
.field-required { position: absolute; left: 9px; top: 0; color: #bd6300; font-size: 8px; font-weight: 800; }
.auth-otp-submit { width: 100%; min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 10px; background: var(--amber); color: var(--ink); font-size: 12px; font-weight: 950; transition: background .15s, transform .15s; }
.auth-otp-submit:hover { background: #ffc62c; transform: translateY(-1px); }
.auth-otp-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.auth-otp-change { display: block; width: max-content; margin: 16px auto 0; color: #9a5a00; font-size: 10px; font-weight: 850; }
.auth-otp-terms { margin: 22px 0 0; color: #878991; text-align: center; font-size: 9px; line-height: 1.9; }
.auth-otp-terms a { color: #8b5700; font-weight: 850; }

@media (max-width: 480px) {
    .auth-otp-page { min-height: calc(100vh - 70px); padding: 20px 12px; }
    .auth-otp-card { padding: 20px 16px; border-radius: 15px; }
    .auth-otp-heading { margin-top: 24px; }
}
.auth-passkey { border: 1px solid var(--line); background: #fff; color: #4e5159; }
.auth-divider { position: relative; height: 20px; display: grid; place-items: center; }
.auth-divider::before { content:""; position:absolute; right:0; left:0; top:50%; height:1px; background:var(--line); }
.auth-divider span { position: relative; padding: 0 10px; background: #fff; color: var(--muted); font-size: 8px; }
.auth-switch { text-align: center; color: var(--muted); font-size: 9px; margin: 22px 0 0; }
.auth-aside { position: relative; border-radius: 16px 0 0 16px; overflow: hidden; padding: 55px; background: linear-gradient(135deg,#ff8a00,#ff6500); color: #fff; display: flex; align-items: center; }
.auth-aside::before { content:""; position:absolute; width:420px; height:420px; border-radius:50%; border:1px solid rgba(255,255,255,.15); left:-180px; bottom:-190px; box-shadow:0 0 0 70px rgba(255,255,255,.04),0 0 0 140px rgba(255,255,255,.03); }
.auth-aside > div { position: relative; z-index: 2; max-width: 420px; align-self: flex-start; }
.auth-aside > div > span { display: inline-block; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.16); font-size: 8px; }
.auth-aside h2 { margin: 15px 0 8px; font-size: 30px; line-height: 1.5; }
.auth-aside p { color: rgba(255,255,255,.82); font-size: 10px; line-height: 2; }
.auth-aside ul { list-style:none; padding:0; margin:20px 0; font-size:9px; line-height:2.4; }
.auth-aside li i { margin-left:6px; color:#fff5b1; }
.auth-aside > img { position:absolute; left:20px; bottom:5px; width:45%; max-height:300px; object-fit:contain; filter:drop-shadow(0 22px 22px rgba(60,15,0,.25)); }
.auth-aside-register { background: linear-gradient(135deg,#6a00d9,#8d2fff); }

@media (max-width: 800px) {
    .auth-shell { grid-template-columns: 1fr; padding-block: 20px 40px; }
    .auth-card { border-radius: 15px; padding: 28px 22px; }
    .auth-aside { display: none; }
}

/* Logout forms */
.admin-sidebar-footer form,
.account-logout-form { margin: 0; }
.admin-sidebar-footer form button,
.account-logout { width: 100%; border: 0; background: transparent; color: inherit; text-align: right; }
.admin-sidebar-footer form button { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; color: #a9abb3; font-size: 10px; }
.admin-sidebar-footer form button:hover { background: rgba(255,255,255,.06); color: #fff; }

/* Admin access and operational controls */
.admin-nav-link { margin-right: auto; border-right: 1px solid rgba(255,255,255,.18); padding-right: 14px !important; color: #ffd36a !important; }
.admin-nav-link i { margin-left: 5px; }
.admin-sidebar-close { display: none; margin-right: auto; width: 34px; height: 34px; border: 0; border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; }
.admin-sidebar-backdrop { display: none; position: fixed; inset: 0; z-index: 98; background: rgba(10,11,14,.6); backdrop-filter: blur(2px); }
.admin-status { min-height: 48px; margin-bottom: 15px; padding: 0 14px; border: 1px solid; border-radius: 10px; display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 750; }
.admin-status.success { color: #087b55; background: #effbf7; border-color: #bcebdc; }
.admin-status.error { color: #b42318; background: #fff4f3; border-color: #f4c7c3; }
.admin-status button { margin-right: auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.admin-loading { min-height: 480px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 10px; }
.admin-loading span { width: 34px; height: 34px; border: 3px solid #e2e2e5; border-top-color: var(--amber); border-radius: 50%; animation: adminSpin .7s linear infinite; }
@keyframes adminSpin { to { transform: rotate(360deg); } }
.mini-order-button { width: 100%; min-height: 56px; border: 0; border-bottom: 1px solid var(--line); background: transparent; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; text-align: right; }
.mini-order-button span { display: flex; flex-direction: column; }
.mini-order-button b { font-size: 9px; }
.mini-order-button small { color: var(--muted); font-size: 7px; }
.mini-order-button strong { font-size: 9px; }
.mini-order-button:hover { background: #fcfcfd; }
.row-actions a, .row-actions button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; display: grid; place-items: center; color: #575a62; }
.row-actions a:hover, .row-actions button:hover { border-color: #bfc0c5; background: #f7f7f8; }
.row-actions button:last-child { color: var(--danger); }
.category-admin-grid article { grid-template-columns: 52px 1fr auto; }
.category-actions { display: flex; gap: 5px; }
.category-actions button:last-child { color: var(--danger); }
.admin-table-row em.status-processing, .mini-order-button em.status-processing,
.admin-table-row em.status-waiting, .mini-order-button em.status-waiting,
.admin-table-row em.status-ready, .mini-order-button em.status-ready,
.admin-table-row em.status-shipped, .mini-order-button em.status-shipped,
.admin-table-row em.status-delivered, .mini-order-button em.status-delivered,
.admin-table-row em.status-cancelled, .mini-order-button em.status-cancelled { display: inline-flex; width: max-content; padding: 5px 8px; border-radius: 7px; font-size: 7px; font-style: normal; white-space: nowrap; }
.status-processing { background: #fff4d0 !important; color: #9d5d00 !important; }
.status-waiting { background: #fff0f0 !important; color: #b42318 !important; }
.status-ready { background: #eef6ff !important; color: #1d69b5 !important; }
.status-shipped { background: #f1efff !important; color: #6145c8 !important; }
.status-delivered { background: #eaf9f2 !important; color: #087b55 !important; }
.status-cancelled { background: #f1f1f3 !important; color: #686b73 !important; }
.admin-editor-compact { width: min(440px,94vw); }
.category-icon-preview { width: 82px; height: 82px; margin: 5px auto 6px; border-radius: 20px; background: #fff3cd; color: var(--orange); display: grid; place-items: center; font-size: 36px; }
.order-editor-body { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.order-customer-card { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fafafa; }
.order-customer-card > div { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.order-customer-card > div > span { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff1c1; color: var(--orange); font-size: 18px; }
.order-customer-card p { margin: 7px 0 0; color: #62656d; font-size: 9px; line-height: 1.8; }
.order-customer-card > div p { display: flex; flex-direction: column; margin: 0; }
.order-customer-card small { color: var(--muted); font-size: 7px; }
.order-customer-card b { color: var(--ink); font-size: 11px; }
.order-customer-card i { margin-left: 6px; color: var(--orange); }
.order-status-editor { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; padding: 14px; border: 1px solid #f1d78f; border-radius: 11px; background: #fffaf0; }
.order-status-editor label { margin: 0; }
.order-status-editor .admin-primary { min-width: 120px; height: 40px; }
.order-items-admin { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.order-items-admin h3 { margin: 0; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.order-items-admin article { min-height: 70px; display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 9px 13px; border-bottom: 1px solid var(--line); }
.order-items-admin article:last-child { border-bottom: 0; }
.order-items-admin img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #f5f5f6; }
.order-items-admin article span { display: flex; flex-direction: column; gap: 4px; }
.order-items-admin b { font-size: 9px; }
.order-items-admin small { color: var(--muted); font-size: 7px; }
.order-items-admin strong { font-size: 9px; }
.order-totals-admin { padding: 14px; border: 1px solid var(--line); border-radius: 11px; }
.order-totals-admin p { margin: 0; min-height: 31px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 9px; }
.order-totals-admin b { color: var(--ink); }
.order-totals-admin .total { margin-top: 5px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); }
.order-totals-admin .total strong { font-size: 13px; color: var(--orange); }
.admin-confirm-dialog { position: fixed; z-index: 120; top: 50%; left: 50%; width: min(400px,calc(100vw - 28px)); transform: translate(-50%,-50%); padding: 25px; border-radius: 15px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.24); text-align: center; }
.admin-confirm-dialog > span { width: 58px; height: 58px; margin: 0 auto; border-radius: 16px; display: grid; place-items: center; font-size: 25px; }
.admin-confirm-dialog > span.danger { color: #c62828; background: #fff0f0; }
.admin-confirm-dialog h3 { margin: 14px 0 6px; font-size: 16px; }
.admin-confirm-dialog p { margin: 0; color: var(--muted); font-size: 9px; line-height: 2; }
.admin-confirm-dialog > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.admin-confirm-dialog button { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 9px; font-weight: 850; }
.admin-confirm-dialog .danger-button { border-color: #d83b3b; background: #d83b3b; color: #fff; }

/* Dedicated administrator login */
.admin-login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, .75fr) 1.25fr; direction: rtl; background: #f4f4f5; }
.admin-login-card { width: min(520px,100%); min-height: 100vh; padding: 48px 58px; background: #fff; box-shadow: -15px 0 45px rgba(20,20,24,.08); }
.admin-login-alert { min-height: 44px; margin-top: 18px; padding: 8px 11px; border: 1px solid #f0c4bf; border-radius: 8px; background: #fff4f3; color: #b42318; display: flex; align-items: center; gap: 8px; font-size: 9px; }
.admin-demo-credentials { margin-top: 20px; padding: 14px; border: 1px dashed #e3bb54; border-radius: 10px; background: #fffbef; }
.admin-demo-credentials > div { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 10px; }
.admin-demo-credentials > div i { color: var(--orange); }
.admin-demo-credentials p { margin: 6px 0; display: grid; grid-template-columns: 48px 1fr; align-items: center; font-size: 8px; }
.admin-demo-credentials code { padding: 5px 7px; border-radius: 5px; background: #fff; color: #34363c; direction: ltr; text-align: left; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.admin-demo-credentials small { display: block; margin-top: 10px; color: #9d5d00; font-size: 7px; }
.admin-back-store { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--muted); font-size: 9px; }
.admin-login-aside { position: relative; overflow: hidden; padding: 80px; background: radial-gradient(circle at 20% 80%,rgba(255,196,0,.18),transparent 38%), linear-gradient(135deg,#15161a,#25272e); color: #fff; display: flex; align-items: center; }
.admin-login-aside::after { content:"2D"; position: absolute; left: -30px; bottom: -95px; color: rgba(255,255,255,.03); font-size: 340px; font-weight: 950; direction: ltr; }
.admin-login-aside > div { position: relative; z-index: 2; width: min(610px,100%); }
.admin-login-aside > div > span { display: inline-block; padding: 6px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: var(--amber); font-size: 8px; direction: ltr; }
.admin-login-aside h2 { max-width: 600px; margin: 22px 0 35px; font-size: 38px; line-height: 1.55; }
.admin-login-aside ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.admin-login-aside li { min-height: 76px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.045); display: flex; align-items: center; gap: 13px; }
.admin-login-aside li > i { width: 44px; height: 44px; border-radius: 11px; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-size: 20px; }
.admin-login-aside li span { display: flex; flex-direction: column; gap: 5px; }
.admin-login-aside li b { font-size: 12px; }
.admin-login-aside li small { color: #aeb0b8; font-size: 8px; }

@media (max-width: 800px) {
    .admin-sidebar-backdrop { display: block; }
    .admin-sidebar { display: flex !important; position: fixed; z-index: 100; top: 0; right: 0; width: min(290px,86vw); transform: translateX(105%); transition: transform .22s ease; box-shadow: -18px 0 50px rgba(0,0,0,.28); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-sidebar-close { display: grid; place-items: center; }
    .admin-sidebar nav :is(button, a) { justify-content: flex-start; padding: 0 12px; font-size: 10px; }
    .admin-sidebar nav :is(button, a) i { font-size: 16px; }
    .admin-sidebar nav :is(button, a) > span { display: grid; font-size: 7px; }
    .admin-sidebar .admin-brand > div { display: flex; }
    .admin-sidebar-footer a, .admin-sidebar-footer form button { font-size: 10px; text-align: right; }
    .admin-sidebar-footer i { font-size: 16px; margin-left: 8px; }
    .admin-login-shell { grid-template-columns: 1fr; }
    .admin-login-card { width: 100%; padding: 34px 23px; }
    .admin-login-aside { display: none; }
    .order-status-editor { grid-template-columns: 1fr; }
    .order-status-editor .admin-primary { width: 100%; }
}

/* Complete commerce administration */
.admin-review-list { display: grid; gap: 10px; padding: 15px; }
.admin-review-list article { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.admin-review-list header { display: flex; align-items: center; gap: 9px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #1b1c20; color: #fff; font-weight: 900; }
.admin-review-list header > div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.admin-review-list header b { font-size: 10px; }
.admin-review-list header small { color: var(--muted); font-size: 8px; }
.admin-review-list header em { color: var(--amber); letter-spacing: 1px; font-style: normal; }
.admin-review-list h3 { margin: 12px 0 4px; font-size: 11px; }
.admin-review-list p { margin: 0; color: #5f626a; font-size: 9px; line-height: 1.9; }
.admin-review-list footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f0f0f2; }
.admin-review-list footer > span { padding: 5px 8px; border-radius: 7px; font-size: 8px; }
.review-approved { background: #eaf9f2; color: #087b55; }
.review-pending { background: #fff4d0; color: #9d5d00; }
.admin-review-list footer > div { display: flex; gap: 6px; }
.admin-review-list footer button { min-height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 8px; }
.admin-review-list footer button.danger-button { color: var(--danger); }

.media-upload-button { position: relative; overflow: hidden; cursor: pointer; }
.media-upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.media-library-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.media-library-heading > div { display: flex; flex-direction: column; gap: 3px; }
.media-library-heading b { font-size: 11px; }
.media-library-heading small { color: var(--muted); font-size: 8px; }
.media-library-heading label { width: min(280px,100%); height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.media-library-heading input { width: 100%; border: 0; outline: 0; font-size: 9px; }
.admin-media-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; padding: 15px; }
.admin-media-grid article { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-media-grid article > a { aspect-ratio: 1; display: block; background: #f4f4f5; }
.admin-media-grid img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.admin-media-grid a > span { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; background: #202126; color: #fff; }
.admin-media-grid a > span i { font-size: 28px; }
.admin-media-grid article > div { display: flex; flex-direction: column; gap: 3px; padding: 8px; }
.admin-media-grid b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.admin-media-grid small { color: var(--muted); font-size: 7px; }
.admin-media-grid article > button { position: absolute; top: 6px; left: 6px; width: 28px; height: 28px; border: 0; border-radius: 7px; background: rgba(225,42,73,.93); color: #fff; opacity: 0; transition: opacity .15s; }
.admin-media-grid article:hover > button { opacity: 1; }

.admin-segmented { display: inline-flex; gap: 6px; margin-bottom: 14px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.admin-segmented button { min-height: 34px; padding: 0 13px; border: 0; border-radius: 7px; background: transparent; color: #60636b; font-size: 9px; }
.admin-segmented button.active { background: var(--amber); color: var(--ink); font-weight: 850; }
.admin-form-panel { width: min(620px,100%); padding: 20px; }
.admin-form-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.admin-form-panel form > label { display: flex; flex-direction: column; gap: 6px; font-size: 9px; font-weight: 750; }
.admin-form-panel form > label:nth-of-type(3), .admin-form-panel .admin-form-help { grid-column: 1 / -1; }
.admin-form-panel input, .admin-form-panel select, .admin-form-panel textarea, .settings-fields input, .settings-fields select { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; outline: 0; background: #fff; font-size: 9px; }
.admin-form-panel input:focus, .admin-form-panel textarea:focus, .settings-fields input:focus, .settings-fields select:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,179,0,.12); }
.sms-compose-icon { grid-column: 1 / -1; width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: #f1eaff; color: var(--purple); font-size: 25px; }
.admin-form-panel .admin-primary { width: max-content; }
.admin-form-help { margin: 0; color: var(--muted); font-size: 8px; }
.sms-table .admin-table-head, .sms-table .admin-table-row { grid-template-columns: .7fr 2fr .7fr .7fr 1fr; }
.sms-table .admin-table-row > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; line-height: 1.7; }
.sms-table small { color: var(--danger); }

.payment-stats { grid-template-columns: repeat(3,1fr); }
.payments-table .admin-table-head, .payments-table .admin-table-row { grid-template-columns: 1fr 1fr 1fr 1fr .8fr 1fr; }
.payment-guide { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 16px; border-color: #efd78b; background: #fffaf0; }
.payment-guide > i { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #fff1bd; color: #a66300; font-size: 18px; }
.payment-guide b { font-size: 10px; }
.payment-guide p { margin: 4px 0 0; color: #755e2b; font-size: 8px; line-height: 1.9; }

.settings-grid { width: min(900px,100%); display: grid; gap: 14px; }
.settings-card { padding: 17px; }
.settings-card header { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.settings-card header > span { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; }
.settings-card header > span.orange { color: #aa6200; background: #fff1bd; }
.settings-card header > span.violet { color: #6d32bd; background: #f1eaff; }
.settings-card header > span.green { color: #087b55; background: #eaf9f2; }
.settings-card h3 { margin: 0; font-size: 12px; }
.settings-card p { margin: 3px 0 0; color: var(--muted); font-size: 8px; }
.settings-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.settings-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 9px; font-weight: 750; }
.settings-fields label.wide { grid-column: 1 / -1; }
.settings-fields small { color: var(--muted); font-size: 7px; }
.settings-save { display: flex; justify-content: flex-end; padding-bottom: 25px; }
.weight-shipping-rates { display: grid; gap: 10px; }
.weight-shipping-rate { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfd; }
.weight-shipping-rate label { display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 10px; font-weight: 800; }
.weight-shipping-rate input { min-height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 11px; }
.weight-shipping-rate .admin-filter-reset, .add-weight-tier { min-height: 38px; white-space: nowrap; }
.add-weight-tier { justify-self: start; }
.shipping-weight-summary { color: #27725e; }
.shipping-weight-summary span { display: inline-flex; align-items: center; gap: 5px; }
.shipping-weight-summary i { color: #09a67b; font-size: 14px; }
.order-operation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.order-operation-grid input, .order-operation-grid select { width: 100%; min-height: 38px; border: 1px solid #e4d1a0; border-radius: 8px; padding: 0 9px; background: #fff; font-size: 9px; }
.order-operation-grid .order-paid-toggle { min-height: 38px; display: flex; flex-direction: row; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #e4d1a0; border-radius: 8px; background: #fff; }
.order-operation-grid .order-paid-toggle input { width: 15px; min-height: 15px; }
.order-profit { margin-top: 7px !important; padding: 10px !important; border-radius: 8px; font-weight: 850; }
.order-profit.positive { background: #eaf9f2; color: #087b55 !important; }
.order-profit.negative { background: #fff0f0; color: #b42318 !important; }

@media (max-width: 1100px) { .admin-media-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 800px) {
    .admin-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 10px; }
    .media-library-heading { align-items: stretch; flex-direction: column; }
    .media-library-heading label { width: 100%; }
    .admin-review-list footer { align-items: stretch; flex-direction: column; }
    .payment-stats { grid-template-columns: 1fr; }
    .settings-fields, .admin-form-panel form, .order-operation-grid { grid-template-columns: 1fr; }
    .weight-shipping-rate { grid-template-columns: 1fr; align-items: stretch; }
    .weight-shipping-rate .admin-filter-reset, .add-weight-tier { justify-self: stretch; }
    .settings-fields label.wide, .admin-form-panel form > label:nth-of-type(3), .admin-form-panel .admin-form-help { grid-column: auto; }
    .sms-table, .payments-table { overflow-x: auto; }
    .sms-table .admin-table-head, .sms-table .admin-table-row { min-width: 760px; }
    .payments-table .admin-table-head, .payments-table .admin-table-row { min-width: 820px; }
}

/* Customer operations and content */
.review-form { margin: 12px 0 18px; padding: 18px; border: 1px solid #efd78b; border-radius: 12px; background: #fffaf0; }
.review-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.review-form label { display: flex; flex-direction: column; gap: 6px; font-size: 9px; font-weight: 750; }
.review-form label.wide { grid-column: 1 / -1; }
.review-form input, .review-form select, .review-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; background: #fff; outline: 0; }
.review-form > div:nth-last-of-type(1) { display: flex; justify-content: flex-end; gap: 7px; margin-top: 12px; }
.review-form > div:nth-last-of-type(1) button { min-height: 38px; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 800; }
.review-form > div:nth-last-of-type(1) .primary-cta { border: 0; background: var(--amber); }
.review-form > small { display: block; margin-top: 8px; color: var(--muted); font-size: 8px; }
.review-success { margin-bottom: 14px; padding: 11px 13px; border: 1px solid #bcebdc; border-radius: 9px; background: #effbf7; color: #087b55; font-size: 9px; font-weight: 750; }
.product-video-list { display: grid; gap: 8px; margin-top: 8px; }
.product-video-list video { width: 100%; max-height: 230px; border-radius: 10px; background: #111; }
.confirmation > span.failed { background: #fff0f0; color: var(--danger); }
.payment-reference, .payment-error { margin: 12px auto; padding: 10px 13px; border-radius: 9px; font-size: 9px; }
.payment-reference { width: max-content; max-width: 100%; background: #effbf7; color: #087b55; }
.payment-error { width: min(580px,100%); border: 1px solid #f4c7c3; background: #fff4f3; color: #b42318; }
.customer-order-detail { position: fixed; z-index: 110; top: 0; bottom: 0; left: 0; width: min(520px,94vw); overflow-y: auto; background: #fff; box-shadow: 18px 0 50px rgba(0,0,0,.2); animation: slideLeft .2s ease-out; }
.customer-order-detail > header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.customer-order-detail header small { color: var(--orange); font-size: 8px; }
.customer-order-detail h2 { margin: 4px 0 0; font-size: 18px; }
.customer-order-detail header button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f4f4f5; }
.customer-order-body { padding: 18px; }
.order-detail-status { margin-bottom: 13px; padding: 13px; border-radius: 10px; background: #fffaf0; }
.order-detail-status p { margin: 9px 0 0; font-size: 9px; }
.customer-order-body > section { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; }
.customer-order-body article { min-height: 76px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.customer-order-body article:last-child { border-bottom: 0; }
.customer-order-body article img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; background: #f5f5f6; }
.customer-order-body article div { display: flex; flex-direction: column; gap: 4px; }
.customer-order-body article a { font-size: 10px; font-weight: 800; }
.customer-order-body article small { color: var(--muted); font-size: 8px; }
.customer-order-body article strong { font-size: 9px; }
.customer-order-totals { margin-top: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.customer-order-totals p { display: flex; justify-content: space-between; margin: 0; padding: 7px 0; color: var(--muted); font-size: 9px; }
.customer-order-totals p:last-child { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); }
.customer-order-totals strong { color: var(--orange); font-size: 12px; }

/* Customer account, saved addresses and readable storefront text */
.announcement-bar { font-size: 12px; }
.brand-copy small, .header-account small, .cart-link small { font-size: 10px; }
.header-account strong, .cart-link strong, .department-nav a { font-size: 12px; }
.search-category select { font-size: 12px; }
.section-label { font-size: 11px; }
.breadcrumbs { font-size: 12px; }
.page-heading p { font-size: 15px; }
.shipping-progress b, .cart-items > header h2 span, .cart-items > header button, .cart-line-info > small,
.cart-line-info ul, .cart-line-actions button, .cart-line-side del, .order-summary > div:not(.coupon-box):not(.accepted-payments):not(.checkout-products):not(.checkout-summary-title):not(.checkout-security),
.coupon-box label, .coupon-box input, .coupon-box button, .order-summary > p, .accepted-payments span, .accepted-payments b { font-size: 11px; }
.form-content > p, .form-grid label, .save-address, .shipping-options b, .payment-options b { font-size: 11px; }
.form-grid input, .form-grid textarea { font-size: 12px; }
.shipping-options small, .payment-options small, .validation-message { font-size: 9px; }
.checkout-heading > a, .checkout-heading > span, .checkout-steps > span, .checkout-item b, .checkout-item small, .checkout-item strong,
.checkout-security b, .checkout-security small { font-size: 10px; }
.account-user small { font-size: 10px; }
.account-sidebar nav a, .account-logout { font-size: 12px; }
.order-tabs button { font-size: 11px; }
.order-status, .order-card header small, .order-card footer b, .order-card footer small, .order-card footer button { font-size: 10px; }
.order-card h2 { font-size: 15px; }
.order-progress > span { font-size: 9px; }
.order-products em { font-size: 8px; }
.customer-order-detail header small, .customer-order-body article small, .customer-order-body article strong, .customer-order-totals p { font-size: 10px; }
.customer-order-body article a { font-size: 12px; }
.footer-benefits b, .footer-about p, .footer-grid section > a:not(.brand), .newsletter-band p, .subscribe input, .subscribe button, .footer-bottom, .back-to-top { font-size: 10px; }

.saved-address-picker { margin: 0 0 14px; padding: 11px; border: 1px solid #f0d793; border-radius: 10px; background: #fffaf0; }
.saved-address-picker > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 11px; }
.saved-address-picker a { color: #a45a00; font-size: 10px; font-weight: 800; }
.saved-address-picker > div:last-child { display: flex; flex-wrap: wrap; gap: 7px; }
.saved-address-picker button { max-width: 100%; display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid #ead9ad; border-radius: 8px; background: #fff; color: #4f5056; text-align: right; }
.saved-address-picker button.selected { border-color: var(--amber); background: #fff5d7; }
.saved-address-picker button > i { color: var(--orange); font-size: 16px; }
.saved-address-picker button span { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.saved-address-picker button b { font-size: 10px; }
.saved-address-picker button small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }

.customer-profile-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.customer-profile-avatar { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #fff2c7; color: var(--orange); font-size: 26px; }
.customer-profile-card > div:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.customer-profile-card small, .customer-profile-card p { color: var(--muted); font-size: 11px; }
.customer-profile-card h2 { margin: 0; font-size: 18px; }
.customer-profile-card p { margin: 0; direction: ltr; text-align: right; }
.customer-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.customer-account-grid article { min-height: 88px; display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.customer-account-grid article > i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #fff4d5; color: var(--orange); font-size: 18px; }
.customer-account-grid article > span { min-width: 0; display: flex; flex: 1; flex-direction: column; gap: 4px; }
.customer-account-grid small { color: var(--muted); font-size: 10px; }
.customer-account-grid b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.customer-account-grid a { color: #a45a00; font-size: 10px; font-weight: 850; }

.address-editor, .wallet-history { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.profile-editor { overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.profile-editor > header { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); }
.profile-editor > header > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #fff1c6; color: var(--orange); font-size: 19px; }
.profile-editor h2 { margin: 0; font-size: 16px; }
.profile-editor header p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.profile-editor form { padding: 19px; }
.profile-editor .form-grid label small { color: var(--muted); font-size: 9px; font-weight: 500; }
.profile-editor input[readonly] { background: #f6f6f7; color: #6d7078; direction: ltr; }
.profile-editor footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; }
.profile-editor-message { display: flex; align-items: center; gap: 7px; margin: 14px 19px -3px; padding: 9px 10px; border: 1px solid; border-radius: 8px; font-size: 10px; }
.profile-editor-message.success { border-color: #bfe8d6; background: #f2fbf7; color: #087b55; }
.profile-editor-message.error { border-color: #f0c4bf; background: #fff4f3; color: #b42318; }
.address-editor > header, .wallet-history > header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.address-editor h2, .wallet-history h2 { margin: 0; font-size: 16px; }
.address-editor header p, .wallet-history header p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.address-editor > header > button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f1f1f2; }
.address-editor form { padding: 18px; }
.address-editor footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.address-default { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: #555861; font-size: 11px; }
.address-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.address-list article { position: relative; min-height: 205px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.address-list article.default { border-color: #e8be49; background: linear-gradient(135deg,#fffdf7,#fff8e6); }
.address-list article > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.address-list header > div:first-child { display: flex; align-items: center; gap: 9px; }
.address-list header > div:first-child > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 9px; background: #fff1c6; color: var(--orange); }
.address-list h2 { margin: 0; font-size: 14px; }
.address-list header small { color: #9b6300; font-size: 9px; }
.address-list p { margin: 13px 0 0; color: #5a5c64; font-size: 11px; line-height: 1.8; }
.address-list p + p { margin-top: 3px; }
.address-actions { display: flex; gap: 5px; }
.address-actions button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #555861; }
.address-actions button.danger { color: var(--danger); }
.set-default { position: absolute; right: 16px; bottom: 14px; border: 0; background: transparent; color: #a45a00; font-size: 10px; font-weight: 850; }

.wallet-summary { display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 20px; padding: 22px; border-radius: 13px; background: linear-gradient(115deg,#22242b,#3a3d47); color: #fff; box-shadow: var(--shadow-md); }
.wallet-summary > div { display: flex; flex-direction: column; gap: 5px; }
.wallet-summary > div:first-child { position: relative; padding-right: 55px; }
.wallet-summary > div:first-child > span { position: absolute; right: 0; top: 3px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.12); color: var(--amber); font-size: 20px; }
.wallet-summary small { color: #bfc1c9; font-size: 10px; }
.wallet-summary strong { font-size: 20px; }
.wallet-summary p { margin: 0; color: #bfc1c9; font-size: 10px; }
.wallet-summary a { background: #fff; color: #26272c; white-space: nowrap; }
.wallet-history { margin-top: 16px; }
.wallet-table article { min-height: 72px; display: grid; grid-template-columns: 36px 1fr 1.1fr auto; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.wallet-table article:last-child { border-bottom: 0; }
.wallet-status { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: #fff3d2; color: #a56200; }
.wallet-status.success { background: #e8faf2; color: #087b55; }
.wallet-table article > div { display: flex; flex-direction: column; gap: 4px; }
.wallet-table a, .wallet-table b { font-size: 11px; font-weight: 850; }
.wallet-table small { color: var(--muted); font-size: 9px; }
.wallet-table strong { font-size: 12px; }
.wallet-empty { min-height: 185px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.wallet-empty i { font-size: 29px; color: #c8c9ce; }
.wallet-empty b { color: var(--ink); font-size: 13px; }
.wallet-empty span { font-size: 10px; }

@media (max-width: 760px) {
    .announcement-bar { font-size: 10px; }
    .customer-account-grid, .address-list { grid-template-columns: 1fr; }
    .customer-profile-card { align-items: flex-start; flex-wrap: wrap; }
    .customer-profile-card .secondary-button { width: 100%; }
    .wallet-summary { grid-template-columns: 1fr; gap: 14px; }
    .wallet-summary a { width: 100%; }
    .wallet-table article { grid-template-columns: 32px 1fr auto; gap: 9px; padding: 11px 13px; }
    .wallet-table article > div:nth-child(3) { display: none; }
}
.info-hero { padding: 58px 0; background: radial-gradient(circle at 15% 20%,rgba(255,196,0,.18),transparent 34%), linear-gradient(135deg,#17181b,#292b31); color: #fff; }
.info-hero .shell { display: flex; align-items: center; gap: 20px; }
.info-hero .shell > span { width: 72px; height: 72px; border-radius: 19px; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-size: 30px; }
.info-hero small { color: var(--amber); font-weight: 800; }
.info-hero h1 { margin: 7px 0 4px; font-size: 31px; }
.info-hero p { margin: 0; color: #c4c6cc; }
.info-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; padding-block: 30px 60px; }
.info-layout > aside { height: max-content; position: sticky; top: 150px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.info-layout > aside h3 { margin: 0 0 10px; font-size: 12px; }
.info-layout > aside a { display: block; padding: 9px 8px; border-radius: 7px; color: #5f626a; font-size: 9px; }
.info-layout > aside a:hover { background: #fff4d0; color: var(--ink); }
.info-layout > main { display: grid; gap: 14px; }
.info-layout main > section { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.info-layout h2 { margin: 0 0 7px; font-size: 17px; }
.info-layout main p { margin: 0; color: #62656d; line-height: 2; }
.info-layout ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.info-layout li { padding: 10px; border-radius: 8px; background: #f7f7f8; font-size: 9px; }
.info-layout li i { margin-left: 6px; color: var(--green); }
.info-contact { display: flex; align-items: center; gap: 12px; padding: 17px; border-radius: 13px; background: linear-gradient(135deg,#ffb300,#ff8a00); }
.info-contact > i { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.35); font-size: 21px; }
.info-contact div { flex: 1; }
.info-contact b { font-size: 11px; }
.info-contact p { color: #5e3900 !important; font-size: 8px; }
.info-contact a { padding: 9px 13px; border-radius: 8px; background: #17181b; color: #fff; direction: ltr; font-weight: 800; }
@media (max-width: 800px) {
    .review-form .form-grid, .info-layout { grid-template-columns: 1fr; }
    .review-form label.wide { grid-column: auto; }
    .info-layout > aside { position: static; }
    .info-layout ul { grid-template-columns: 1fr; }
    .info-hero { padding: 35px 0; }
    .info-hero .shell > span { width: 55px; height: 55px; font-size: 22px; }
    .info-hero h1 { font-size: 23px; }
    .info-contact { align-items: flex-start; flex-wrap: wrap; }
}

.quick-view-modal { position: fixed; z-index: 110; top: 50%; left: 50%; width: min(880px,calc(100vw - 28px)); max-height: min(680px,calc(100vh - 28px)); transform: translate(-50%,-50%); display: grid; grid-template-columns: .95fr 1.05fr; overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.quick-view-close { position: absolute; z-index: 2; top: 13px; left: 13px; width: 37px; height: 37px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: var(--shadow-sm); }
.quick-view-image { position: relative; min-height: 430px; display: grid; place-items: center; background: #f4f4f5; }
.quick-view-image img { width: 88%; height: 390px; object-fit: contain; }
.quick-view-image span { position: absolute; top: 16px; right: 16px; padding: 6px 9px; border-radius: 7px; background: var(--pink); color: #fff; font-size: 9px; font-weight: 850; }
.quick-view-info { padding: 38px 30px 28px; }
.quick-view-info > small { color: var(--orange); font-weight: 900; }
.quick-view-info h2 { margin: 7px 0 8px; font-size: 25px; line-height: 1.5; }
.quick-view-info .product-rating { justify-content: flex-start; gap: 7px; }
.quick-view-info .product-rating a { color: var(--muted); font-size: 8px; }
.quick-view-info > p { margin: 16px 0; color: #62656d; line-height: 2; }
.quick-view-info ul { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; list-style: none; padding: 0; }
.quick-view-info li { padding: 8px; border-radius: 7px; background: #f7f7f8; font-size: 8px; }
.quick-view-info li i { margin-left: 5px; color: var(--green); }
.quick-view-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 18px; }
.quick-view-price del { color: var(--muted); }
.quick-view-price strong { font-size: 21px; }
.quick-view-actions { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8px; margin-top: 15px; }
.quick-view-actions > * { min-height: 43px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 9px; font-weight: 850; }
.quick-view-actions a { border: 1px solid var(--line); }
@media (max-width: 680px) {
    .quick-view-modal { grid-template-columns: 1fr; }
    .quick-view-image { min-height: 270px; }
    .quick-view-image img { height: 250px; }
    .quick-view-info { padding: 24px 18px; }
    .quick-view-info h2 { font-size: 19px; }
}

/* Storefront typography: readable text hierarchy for product and content pages */
.catalog-banner p, .catalog-toolbar span, .catalog-toolbar select,
.filter-block > a, .filter-title a, .price-range-values, .filter-assurance small { font-size: 12px; }
.filter-block h3 { font-size: 14px; }
.catalog-toolbar label { font-size: 13px; }

.product-card-body { padding: 13px; }
.product-meta { min-height: 20px; font-size: 11px; }
.product-meta em { font-size: 10px; }
.product-card h3 { height: 45px; margin: 5px 0 7px; font-size: 14px; line-height: 1.7; }
.product-card-body > p { height: 46px; margin-bottom: 7px; font-size: 11px; line-height: 1.9; }
.product-rating span, .rating-stars { font-size: 12px; }
.product-rating small, .product-pricing del { font-size: 10px; }
.product-pricing { min-height: 53px; }
.product-pricing strong { font-size: 16px; }
.add-cart { min-height: 38px; font-size: 12px; }
.discount-badge, .new-badge { font-size: 10px; }

.product-spec-card dl div, .delivery-points span { font-size: 12px; }
.support-box b, .support-box a { font-size: 11px; }
.support-box small { font-size: 10px; }
.detail-brand, .detail-rating-row { font-size: 12px; }
.detail-discount { font-size: 11px; }
.detail-description { font-size: 14px; line-height: 2.05; }
.feature-list span { font-size: 12px; }
.detail-price del { font-size: 12px; }
.detail-price small, .stock small { font-size: 10px; }
.stock b, .detail-secondary-actions button, .add-cart.large, .buy-now { font-size: 12px; }
.main-product-image > span { font-size: 11px; }

.product-tabs button { font-size: 13px; }
.product-specifications > div:first-child > span, .product-questions > span,
.product-info-content article > span { font-size: 11px; }
.product-specifications > div:first-child > p, .product-questions > p,
.product-info-content article > p { font-size: 14px; line-height: 2.15; }
.product-specifications dl div { font-size: 12px; }
.product-all-features h3, .pros-cons h3 { font-size: 14px; }
.product-all-features ul, .pros-cons ul { font-size: 12px; line-height: 2.05; }
.product-questions > div { font-size: 12px; }
.product-questions > div > a { font-size: 11px; }
.product-info-content dl div { font-size: 12px; }

/* Reference product-detail composition */
@media (min-width: 1181px) {
    .product-detail {
        grid-template-columns: 345px 440px 250px;
        justify-content: space-between;
        gap: 22px;
        padding-bottom: 26px;
    }
    .product-spec-card {
        top: 104px;
        border-radius: 14px;
        padding: 15px;
        box-shadow: var(--shadow-sm);
    }
    .spec-card-title { padding-bottom: 11px; }
    .spec-card-title h3 { font-size: 13px; }
    .product-spec-card dl { margin: 7px 0; }
    .product-spec-card dl div { padding: 7px 0; font-size: 11px; }
    .delivery-points { gap: 8px; padding: 8px 0 11px; }
    .delivery-points span { font-size: 10px; }
    .support-box { padding: 9px; }
    .support-box b { font-size: 10px; }
    .support-box small { font-size: 8px; }
    .support-box a { min-height: 28px; font-size: 10px; }

    .product-main-info {
        min-height: 0;
        padding: 7px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .product-title-line h1 { margin-top: 5px; font-size: 27px; line-height: 1.35; }
    .detail-brand { font-size: 11px; }
    .detail-rating-row { margin-top: 9px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 10px; }
    .detail-description { padding: 15px 0 13px; border-bottom: 0; font-size: 12px; line-height: 2; }
    .feature-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        padding: 6px 0 14px;
        border-bottom: 0;
    }
    .feature-list span { font-size: 11px; }
    .detail-purchase-row { padding: 13px 0 12px; border-bottom: 1px solid var(--line); }
    .detail-price strong { font-size: 24px; }
    .detail-price small { font-size: 9px; }
    .purchase-actions { padding-top: 13px; }
    .purchase-summary { min-height: 34px; gap: 12px; }
    .purchase-summary .stock { margin-left: 0; }
    .stock > i { font-size: 16px; }
    .stock b { font-size: 11px; }
    .stock small { display: none; }
    .quantity-stepper { width: 104px; height: 36px; }
    .quantity-stepper button { font-size: 15px; }
    .selected-product-total { font-size: 10px; }
    .selected-product-total b { font-size: 10px; }
    .buy-box { margin-top: 12px; gap: 8px; }
    .add-cart.large, .buy-now { min-height: 45px; font-size: 12px; }
    .detail-secondary-actions { width: 380px; margin-top: 9px; }
    .detail-secondary-actions button { height: 32px; font-size: 10px; }

    .detail-gallery { gap: 9px; }
    .main-product-image {
        height: 347px;
        border-radius: 14px;
        box-shadow: var(--shadow-sm);
    }
    .main-product-image img { width: 88%; height: 88%; padding: 10px; }
    .main-product-image > span { top: 10px; right: 10px; padding: 4px 8px; font-size: 9px; }
    .thumbnail-row { gap: 8px; }
    .thumbnail-row button { width: 66px; height: 66px; border-radius: 10px; }
}
.product-info-content aside h3 { font-size: 16px; }

.review-button { font-size: 13px; }
.review-score small, .rating-bars div, .review-recommend span, .review-list header small { font-size: 11px; }
.review-list h3 { font-size: 16px; }
.review-list p { font-size: 13px; line-height: 2.1; }
.review-list footer span, .review-list footer button { font-size: 11px; }
.review-form label, .review-form > small, .review-success, .payment-reference, .payment-error { font-size: 12px; }

.info-hero p, .info-layout main p { font-size: 14px; line-height: 2.1; }
.info-layout > aside h3 { font-size: 14px; }
.info-layout > aside a, .info-layout li { font-size: 12px; }
.info-contact b { font-size: 13px; }
.info-contact p { font-size: 11px; }

.quick-view-image span, .quick-view-info .product-rating a, .quick-view-info li,
.quick-view-actions > * { font-size: 11px; }
.quick-view-info > p { font-size: 14px; line-height: 2.1; }

@media (max-width: 760px) {
    .product-card h3 { height: 42px; font-size: 12px; }
    .product-pricing strong { font-size: 13px; }
    .add-cart { min-height: 36px; font-size: 11px; }
    .product-tabs button { font-size: 12px; }
    .detail-description, .product-specifications > div:first-child > p,
    .product-questions > p, .product-info-content article > p,
    .info-hero p, .info-layout main p { font-size: 13px; }
}
