:root {
  --green: #006b45;
  --green-2: #00855a;
  --green-soft: #e9f4ef;
  --red: #e21f2f;
  --ink: #16221d;
  --muted: #66736d;
  --sand: #f7f5ef;
  --line: #dfe5e1;
  --white: #fff;
  --shadow: 0 18px 45px rgba(22, 34, 29, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Manrope", system-ui, sans-serif; font-size: 15px; line-height: 1.65; }
body.rtl { font-family: "Cairo", "Manrope", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1240px; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; background: #fff; padding: .8rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.announcement { background: var(--ink); color: #fff; min-height: 35px; padding: .35rem 0; font-size: .72rem; letter-spacing: .04em; }
.pulse-dot { width: 7px; height: 7px; background: #f8c84d; border-radius: 50%; box-shadow: 0 0 0 5px rgba(248, 200, 77, .12); }
.site-header { background: rgba(255,255,255,.96); position: relative; z-index: 30; border-bottom: 1px solid var(--line); }
.navbar { min-height: 78px; }
.navbar-brand { display: inline-flex; align-items: center; gap: .65rem; }
.navbar-brand img { object-fit: contain; border-radius: 50%; }
.navbar-brand span { display: flex; flex-direction: column; line-height: 1; font-size: .87rem; letter-spacing: .08em; }
.navbar-brand small { color: var(--red); font-weight: 800; font-size: .72rem; letter-spacing: .22em; margin-top: .28rem; }
.navbar-nav { gap: .35rem; }
.nav-link { font-weight: 650; color: #4e5b55; border-radius: 99px; padding: .5rem .85rem !important; }
.nav-link:hover, .nav-link.active { background: var(--green-soft); color: var(--green); }
.icon-link-btn { display: flex; align-items: center; gap: .38rem; color: var(--ink); padding: .5rem .65rem; }
.icon-link-btn span { font-size: 1.45rem; line-height: 1; }
.icon-link-btn em, .account-chip em { font-style: normal; font-weight: 650; font-size: .82rem; }
.language-switch { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; border: 1px solid var(--line); border-radius: 99px; padding: .35rem .65rem; font-size: .72rem; font-weight: 800; color: var(--green); }
.cart-chip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sand); }
.cart-chip b { position: absolute; top: -3px; right: -3px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 99px; background: var(--red); color: #fff; font-size: .62rem; }
.account-chip { display: flex; align-items: center; gap: .5rem; }
.account-chip > span { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--green); border-radius: 50%; font-weight: 800; }
.search-strip { border-top: 1px solid #eef1ef; padding: .72rem 0; background: #fff; }
.header-search { display: flex; align-items: center; max-width: 760px; margin-inline: auto; border: 1px solid #ccd5d0; border-radius: 14px; background: #f8faf9; overflow: hidden; transition: .2s; }
.header-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0,107,69,.1); background: #fff; }
.header-search > span { font-size: 1.25rem; margin-left: 1rem; color: var(--green); }
.header-search input { flex: 1; min-width: 0; padding: .78rem .9rem; border: 0; outline: 0; background: transparent; }
.header-search button { border: 0; background: var(--green); color: #fff; font-weight: 750; align-self: stretch; padding: 0 1.3rem; }
.btn { min-height: 44px; border-radius: 11px; font-weight: 750; padding: .68rem 1.05rem; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-deal { background: var(--green); color: #fff; border-color: var(--green); }
.btn-deal:hover { background: #00583a; color: #fff; border-color: #00583a; transform: translateY(-1px); }
.eyebrow { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.section-shell { padding: 5.5rem 0; }
.section-shell.soft { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.045em; margin: .35rem 0 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 550px; }
.section-head > a { font-weight: 750; color: var(--green); white-space: nowrap; }
.hero { background: var(--sand); padding: 4.6rem 0 3.5rem; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -260px; border: 80px solid rgba(0,107,69,.08); border-radius: 50%; }
.hero-copy { position: relative; z-index: 2; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #cddbd4; background: rgba(255,255,255,.72); padding: .42rem .75rem; border-radius: 99px; color: var(--green); font-size: .75rem; font-weight: 800; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.065em; font-weight: 800; max-width: 850px; margin: 1.2rem 0; }
.hero h1 .underline { color: var(--green); position: relative; }
.hero p { color: var(--muted); font-size: 1.05rem; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #d8dedb; }
.trust-item { display: flex; gap: .75rem; align-items: center; }
.trust-item span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--green); box-shadow: 0 5px 16px rgba(22,34,29,.07); font-weight: 800; }
.trust-item strong { display: block; font-size: .83rem; }
.trust-item small { color: var(--muted); font-size: .72rem; }
.hero-deal { background: var(--ink); color: #fff; border-radius: 26px; padding: 1.15rem; position: relative; z-index: 2; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.hero-deal-image { height: 330px; border-radius: 18px; overflow: hidden; position: relative; background: #fff; }
.hero-deal-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-price { position: absolute; right: 1rem; bottom: 1rem; background: var(--red); color: #fff; border-radius: 14px; padding: .6rem .8rem; font-weight: 800; }
.hero-deal-body { padding: 1.1rem .3rem .3rem; }
.hero-deal-body h2 { font-size: 1.35rem; font-weight: 750; margin: .5rem 0 .2rem; }
.platform-filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.platform-filters a { border: 1px solid var(--line); border-radius: 99px; padding: .58rem 1rem; font-weight: 700; background: #fff; }
.platform-filters a:hover, .platform-filters a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.deals-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.deal-card { background: #fff; border: 1px solid #e3e8e5; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; min-width: 0; }
.deal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.deal-image-wrap { background: #f4f4f1; aspect-ratio: 1.14; position: relative; overflow: hidden; }
.deal-image-wrap > a, .deal-image-wrap img { display: block; width: 100%; height: 100%; }
.deal-image-wrap img { object-fit: cover; transition: transform .35s; }
.deal-card:hover .deal-image-wrap img { transform: scale(1.035); }
.deal-badges { position: absolute; left: .8rem; top: .8rem; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; pointer-events: none; }
.deal-badges span { color: #fff; padding: .28rem .5rem; font-size: .63rem; font-weight: 800; border-radius: 7px; text-transform: uppercase; letter-spacing: .05em; }
.badge-discount { background: var(--red); }
.badge-special { background: #8f5e00; }
.badge-featured { background: var(--green); }
.favorite-form { position: absolute; right: .72rem; top: .72rem; }
.favorite-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); font-size: 1.25rem; box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.favorite-btn.active { color: var(--red); }
.deal-body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.deal-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--muted); font-size: .66rem; }
.stock-label { color: var(--green); font-weight: 800; }
.stock-label.out { color: var(--red); }
.platform { font-weight: 800; border-radius: 99px; padding: .22rem .5rem; }
.platform-amazon { background: #fff1d7; color: #714500; }
.platform-noon { background: #fff8c5; color: #655900; }
.platform-aliexpress { background: #ffebec; color: #a00c1c; }
.deal-body h3 { font-size: 1rem; line-height: 1.35; font-weight: 750; letter-spacing: -.015em; margin: .8rem 0 .4rem; }
.deal-body h3 a:hover { color: var(--green); }
.deal-body p { color: var(--muted); font-size: .76rem; line-height: 1.5; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; }
.price-row strong { font-size: 1.05rem; }
.price-row del { color: #9aa39f; font-size: .72rem; }
.deal-actions { display: grid; grid-template-columns: .75fr 1.25fr; gap: .5rem; margin-top: .9rem; }
.deal-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: .72rem; padding: .58rem .45rem; }
.special-strip { background: var(--green); color: #fff; border-radius: 30px; overflow: hidden; }
.special-strip img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.special-copy { padding: clamp(2rem, 6vw, 5rem); }
.special-copy h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 800; margin: .8rem 0 1rem; }
.special-copy p { color: rgba(255,255,255,.76); max-width: 530px; }
.special-copy .btn { background: #fff; color: var(--green); }
.newsletter { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 4rem); }
.newsletter h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; font-weight: 800; letter-spacing: -.05em; max-width: 650px; }
.newsletter p { color: #b9c1bd; }
.newsletter-form { display: flex; background: #fff; padding: .4rem; border-radius: 14px; max-width: 520px; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: .8rem; }
.newsletter-form button { border: 0; background: var(--red); color: #fff; border-radius: 10px; padding: .7rem 1rem; font-weight: 750; }
.disclosure-band { background: var(--sand); border-top: 1px solid var(--line); padding: 2.5rem 0; }
.disclosure-band h2 { font-size: 1.5rem; font-weight: 800; margin: .2rem 0 0; }
.disclosure-band p { max-width: 600px; color: var(--muted); margin: 0; font-size: .8rem; }
.disclosure-band a { color: var(--green); font-weight: 750; white-space: nowrap; }
.site-footer { background: #111914; color: #fff; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; }
.footer-brand p { color: #9aa59f; max-width: 330px; margin-top: 1rem; }
.footer-grid h3 { font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: #87928c; margin-bottom: 1rem; }
.footer-grid > div:not(.footer-brand) a { display: block; color: #d5dcd8; margin: .6rem 0; font-size: .83rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; color: #77827c; font-size: .7rem; border-top: 1px solid #2b332f; margin-top: 3rem; padding-top: 1.4rem; }
.page-hero { background: var(--sand); padding: 4rem 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.7rem); letter-spacing: -.055em; font-weight: 800; margin: .5rem 0; }
.page-hero p { color: var(--muted); max-width: 680px; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; margin-bottom: 2rem; box-shadow: 0 8px 25px rgba(22,34,29,.04); }
.filter-panel form { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: .7rem; align-items: end; }
.form-label { font-size: .72rem; font-weight: 750; }
.form-control, .form-select { border-radius: 11px; border-color: #cfd8d3; padding: .7rem .85rem; }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(0,107,69,.1); }
.empty-state { text-align: center; border: 1px dashed #c7d1cc; border-radius: 22px; padding: 4rem 1rem; background: #fbfcfb; }
.empty-state span { display: block; font-size: 2.5rem; color: var(--green); margin-bottom: .7rem; }
.pagination-wrap { display: flex; justify-content: center; gap: .45rem; margin-top: 2rem; }
.pagination-wrap a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); font-weight: 700; }
.pagination-wrap a.active, .pagination-wrap a:hover { background: var(--green); color: #fff; border-color: var(--green); }
.product-detail { padding: 4rem 0; }
.product-gallery-main { background: var(--sand); border-radius: 26px; overflow: hidden; aspect-ratio: 1.1; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumb-row { display: flex; gap: .6rem; margin-top: .7rem; overflow-x: auto; }
.thumb-row img { width: 78px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.product-info { padding-left: clamp(0rem, 4vw, 3rem); }
.product-info h1 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 800; margin: .8rem 0 1rem; }
.product-price { display: flex; align-items: baseline; gap: .8rem; margin: 1.2rem 0; }
.product-price strong { font-size: 2rem; }
.product-price del { color: #929d97; }
.product-price span { color: var(--red); background: #ffebed; border-radius: 8px; padding: .22rem .48rem; font-weight: 800; }
.feature-list { padding: 0; list-style: none; margin: 1.5rem 0; }
.feature-list li { padding: .55rem 0 .55rem 1.6rem; border-bottom: 1px solid #edf0ee; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.security-box { background: var(--sand); border: 1px solid var(--line); border-radius: 17px; padding: 1rem; margin-top: 1rem; font-size: .72rem; color: var(--muted); }
.purchase-box { display: grid; grid-template-columns: 84px 1fr 1fr; gap: .55rem; align-items: end; }
.purchase-box label { grid-column: 1; font-size: .72rem; font-weight: 750; }
.purchase-box input { grid-column: 1; }
.purchase-box button { grid-row: 1 / span 2; align-self: end; }
.content-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3.5rem); box-shadow: 0 10px 35px rgba(22,34,29,.04); }
.content-card h2 { font-weight: 800; letter-spacing: -.03em; }
.auth-shell { padding: 4rem 0 6rem; background: var(--sand); min-height: 68vh; }
.auth-card { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 24px; padding: clamp(1.5rem, 5vw, 3rem); box-shadow: var(--shadow); }
.auth-card h1 { font-weight: 800; letter-spacing: -.04em; margin-bottom: .5rem; }
.auth-card > p { color: var(--muted); }
.auth-card .form-control { padding: .8rem .9rem; }
.account-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.account-nav { background: var(--ink); color: #fff; padding: 1.5rem; border-radius: 20px; align-self: start; }
.account-nav a { display: block; padding: .7rem .8rem; border-radius: 9px; color: #ced6d2; }
.account-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.account-nav form { margin: .3rem .8rem; }
.account-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.address-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cart-list { border: 1px solid var(--line); border-radius: 20px; padding: 1rem; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0,1fr) 90px 110px auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item:last-of-type { border-bottom: 0; }
.cart-item img { width: 90px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--sand); }
.cart-item h2 { font-size: .95rem; font-weight: 800; margin: 0 0 .25rem; }
.cart-item-copy span { color: var(--muted); font-size: .78rem; }
.order-summary { position: sticky; top: 1rem; background: var(--sand); border: 1px solid var(--line); border-radius: 20px; padding: 1.35rem; }
.order-summary h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 1rem; }
.order-summary > div, .checkout-line { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.order-summary > div { border-bottom: 1px solid var(--line); }
.order-summary .summary-total { font-size: 1.08rem; border-bottom: 0; margin: .5rem 0; }
.checkout-line { font-size: .78rem; }
.payment-option { display: flex; align-items: center; gap: .8rem; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin-top: .7rem; cursor: pointer; }
.payment-option strong, .payment-option small { display: block; }
.payment-option small { color: var(--muted); }
.order-status-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.order-status-row > div { background: var(--sand); border-radius: 14px; padding: 1rem; }
.order-status-row span, .order-status-row strong { display: block; }
.order-status-row span { color: var(--muted); font-size: .7rem; }
.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; align-items: end; max-width: 850px; margin: 0 auto; }
.invoice-total { display: flex; flex-direction: column; align-items: end; gap: .35rem; }
.rtl .header-search > span { margin-left: 0; margin-right: 1rem; }
.rtl .feature-list li { padding-left: 0; padding-right: 1.6rem; }
.rtl .feature-list li::before { left: auto; right: 0; }
.rtl .product-info { padding-left: 0; padding-right: clamp(0rem, 4vw, 3rem); }
.rtl .deal-badges { left: auto; right: .8rem; }
.rtl .favorite-form { right: auto; left: .72rem; }
.policy-copy { white-space: pre-line; color: #4f5d56; }
.admin-body { background: #f3f5f4; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: #111914; color: #fff; padding: 1.4rem; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin-logo { display: flex; align-items: center; gap: .7rem; font-weight: 800; line-height: 1.2; }
.admin-logo img { border-radius: 50%; }
.admin-logo small { display: block; color: #7f8c85; font-size: .65rem; font-weight: 600; }
.admin-sidebar nav { margin-top: 2.5rem; }
.admin-sidebar nav a { display: flex; gap: .8rem; align-items: center; padding: .75rem; border-radius: 10px; color: #bdc7c1; margin: .25rem 0; }
.admin-sidebar nav a:hover { background: #24312a; color: #fff; }
.admin-sidebar-bottom { margin-top: auto; border-top: 1px solid #2a352f; padding-top: 1rem; }
.admin-sidebar-bottom a, .admin-sidebar-bottom button { display: block; color: #aab5af; border: 0; background: none; padding: .5rem 0; font: inherit; }
.admin-main { min-width: 0; }
.admin-topbar { height: 92px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; }
.admin-topbar h1 { font-size: 1.45rem; font-weight: 800; margin: 0; }
.admin-menu-btn { display: none; }
.admin-content { padding: 2rem; max-width: 1480px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; }
.metric-card span { color: var(--muted); font-size: .72rem; }
.metric-card strong { display: block; font-size: 1.8rem; letter-spacing: -.04em; margin-top: .25rem; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; margin-top: 1.2rem; overflow: auto; }
.admin-panel h2 { font-size: 1rem; font-weight: 800; }
.admin-panel table { min-width: 720px; }
.admin-panel .table { font-size: .78rem; vertical-align: middle; }
.status-pill { display: inline-block; border-radius: 99px; padding: .2rem .5rem; font-size: .64rem; font-weight: 800; background: var(--green-soft); color: var(--green); }
.status-pill.inactive { background: #f1f1f1; color: #667; }
.admin-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.admin-actions .btn { font-size: .68rem; padding: .35rem .55rem; }
.image-preview { width: 110px; height: 90px; object-fit: cover; background: var(--sand); border: 1px solid var(--line); border-radius: 10px; }

@media (max-width: 1100px) {
  .deals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-panel form { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .site-header .navbar-collapse { order: 4; width: 100%; padding: .75rem 0; }
  .hero-deal { margin-top: 2rem; transform: none; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .admin-shell { display: block; }
  .admin-sidebar { position: fixed; z-index: 50; width: 250px; transform: translateX(-100%); transition: .2s; }
  .admin-menu-open .admin-sidebar { transform: translateX(0); }
  .admin-menu-btn { display: block; border: 0; background: var(--sand); border-radius: 9px; width: 38px; height: 38px; }
  .admin-topbar { padding: 0 1rem; }
}
@media (max-width: 767px) {
  .section-shell { padding: 3.7rem 0; }
  .hero { padding-top: 3.2rem; }
  .deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .deal-body { padding: .8rem; }
  .deal-actions { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .account-grid { grid-template-columns: 1fr; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-nav a { white-space: nowrap; }
  .filter-panel form { grid-template-columns: 1fr 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 1rem; }
  .cart-item { grid-template-columns: 70px minmax(0,1fr) 74px; }
  .cart-item img { width: 70px; height: 65px; }
  .cart-item > strong { grid-column: 2; }
  .cart-item > button { grid-column: 3; grid-row: 2; }
  .purchase-box, .track-form { grid-template-columns: 1fr; }
  .purchase-box label, .purchase-box input, .purchase-box button { grid-column: auto; grid-row: auto; }
  .order-status-row, .address-grid { grid-template-columns: 1fr; }
  .account-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .navbar-brand img { width: 44px; height: 44px; }
  .navbar-brand span { font-size: .75rem; }
  .header-search button { padding: 0 .8rem; font-size: .72rem; }
  .header-search input { font-size: .76rem; }
  .hero h1 { font-size: 2.65rem; }
  .deals-grid { grid-template-columns: 1fr; }
  .deal-image-wrap { aspect-ratio: 1.35; }
  .filter-panel form { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; background: transparent; gap: .5rem; }
  .newsletter-form input { border-radius: 10px; }
  .footer-bottom { flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }
  .account-products { grid-template-columns: 1fr; }
  .admin-topbar .account-chip em { display: none; }
}

@media print {
  .admin-sidebar, .admin-topbar, [data-print], form.admin-panel { display: none !important; }
  .admin-shell { display: block; }
  .admin-content { padding: 0; }
  .admin-panel { border: 0; }
}
