*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; background: #f5f0eb; color: #1a1208; overflow-x: hidden; padding-bottom: 80px; -webkit-text-size-adjust: 100%; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.mt8 { margin-top: 8px; }
.mt12 { margin-top: 12px; }
.mt14 { margin-top: 14px; }

/* ===== MARQUEE BAR ===== */
.marquee-bar {
  background: #f5efe8;
  color: #5a4030;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 600;
  padding: 5px 0;
  border-bottom: 1px solid #e0d8ce;
  line-height: 1.4;
  height: 34px;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 200%;
  animation: marqueeMove 18s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
}

.marquee-group span {
  font-size: .8rem;
  font-weight: 600;
  flex-shrink: 0;
  padding-inline: 6px;
}

.marquee-group .sep {
  color: #c8843a;
  font-weight: 800;
  margin-inline: 22px;
}

@keyframes marqueeMove {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
  .marquee-bar {
    height: 32px;
  }

  .marquee-track {
    min-width: 260%;
    animation-duration: 26s;
  }

  .marquee-group {
    flex: 0 0 auto;
  }

  .marquee-group span {
    font-size: .76rem;
  }

  .marquee-group .sep {
    margin: 0 24px;
  }
}
/* ===== HEADER: TRANSPARENT OVER VIDEO ===== */
.site-header { position: absolute; top: 34px; left: 0; right: 0; z-index: 500; background: transparent; color: #f5efe8; }
.header-top { display: flex; align-items: center; justify-content: center; padding: 13px 20px; gap: 12px; position: relative; background: transparent; }
.brand-logo-only { display: flex; align-items: center; justify-content: center; }
.brand-logo-only img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}
.side-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.menu-btn { transform: translateY(-30%); }
.wa-btn { left: 16px; background: transparent; color: #fff; border-radius: 10px; padding: 9px 16px; font-size: .87rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.25); }
.wa-btn:hover { background: rgba(255,255,255,.1); }
.menu-btn { right: 16px; display: flex; background: transparent; color: #fff; width: 38px; height: 38px; border-radius: 8px; font-size: 1.1rem; align-items: center; justify-content: center; text-shadow: 0 1px 4px rgba(0,0,0,.6); top: 75%; }
.menu-btn:hover { background: rgba(255,255,255,.1); }

.lang-header {
  position: absolute;
  right: 55px;
  top: calc(75% + -8px);
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  z-index: 500;
}
.lang-header:hover { background: rgba(255,255,255,.1); }

.site-nav { display: none; }

/* ===== SIDE NAV DRAWER ===== */
.nav-drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(320px, 85vw); background: #1a1208; z-index: 700; display: flex; flex-direction: column; transform: translateX(110%); transition: transform .3s ease; box-shadow: -4px 0 40px rgba(0,0,0,.3); }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-items { flex: 1; overflow-y: auto; padding: 10px 16px; }
.nav-drawer-items a { display: block; padding: 14px 12px; color: #c0a080; font-weight: 600; border-radius: 10px; font-size: .95rem; transition: .2s; border-bottom: 1px solid #2d2010; }
.nav-drawer-items a:hover { background: #2d2010; color: #f5efe8; }
.nav-drawer-items a:last-child { border-bottom: none; margin-top: 10px; color: #27ae60; }

.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 600; }
.overlay.show { display: block; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(360px, 92vw); background: #fff; z-index: 700; display: flex; flex-direction: column; transform: translateX(110%); transition: transform .3s ease; box-shadow: -4px 0 40px rgba(0,0,0,.2); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid #ede6dd; background: #1a1208; color: #f5efe8; }
.drawer-head h3 { font-size: .97rem; }
.close-btn { background: none; color: #c0a080; font-size: 1.15rem; padding: 4px 8px; border-radius: 6px; }
.close-btn:hover { background: #2d2010; color: #fff; }
.drawer-items { flex: 1; overflow-y: auto; padding: 13px 16px; }
.drawer-foot { padding: 13px 16px; border-top: 1px solid #ede6dd; background: #faf7f4; }

.wish-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #ede6dd; }
.wish-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: #f0e8de; }
.wish-item-info { flex: 1; }
.wish-item-name { font-weight: 700; font-size: .87rem; line-height: 1.35; }
.wish-item-price { color: #c8843a; font-weight: 700; font-size: .85rem; margin-top: 3px; }
.wish-item-actions { display: flex; gap: 6px; margin-top: 6px; }
.wish-item-actions button { font-size: .78rem; padding: 5px 10px; border-radius: 8px; font-weight: 700; }
.wish-add { background: #1a1208; color: #f5efe8; }
.wish-add:hover { background: #c8843a; }
.wish-remove { background: #fce4e4; color: #c0392b; }
.wish-remove:hover { background: #c0392b; color: #fff; }

.checkout-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.95); width: min(520px, 94vw); max-height: 90vh; background: #fff; z-index: 800; border-radius: 18px; display: none; flex-direction: column; opacity: 0; transition: .3s; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.checkout-modal.open { display: flex; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #ede6dd; }
.modal-head h3 { font-size: 1rem; }
.modal-body { flex: 1; overflow-y: auto; padding: 16px 20px; }

.product-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.95); width: min(600px, 95vw); max-height: 92vh; background: #fff; z-index: 800; border-radius: 20px; display: none; flex-direction: column; opacity: 0; transition: .3s; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow: hidden; }
.product-modal.open { display: flex; opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-close { position: absolute; top: 12px; left: 12px; z-index: 10; background: rgba(0,0,0,.5); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.product-modal-body { overflow-y: auto; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1a1208; color: #f5efe8; padding: 12px 24px; border-radius: 12px; font-size: .9rem; font-weight: 700; z-index: 900; opacity: 0; transition: .4s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.btn { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 999px; padding: 11px 20px; font-weight: 700; font-size: .9rem; transition: .2s; }
.btn:active { transform: scale(.97); }
.btn-coffee { background: #c8843a; color: #fff; }
.btn-coffee:hover { background: #b0723a; }
.btn-outline { background: transparent; border: 1.5px solid #1a1208; color: #1a1208; }
.btn-outline:hover { background: #1a1208; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #f5efe8; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.flash-green { background: #27ae60 !important; color: #fff !important; }

/* ===== FLOATING ACTIONS: TRANSPARENT ===== */
.floating-actions { position: absolute; top: 20px; right: 20px; z-index: 510; display: flex; gap: 10px; }
.floating-btn { display: flex; align-items: center; gap: 6px; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: none; color: #fff; border-radius: 12px; padding: 10px 16px; font-size: .88rem; font-weight: 700; transition: .2s; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.floating-btn:hover { background: rgba(255,255,255,.1); }
.floating-btn .badge { background: #c8843a; color: #fff; border-radius: 999px; padding: 1px 7px; font-size: .74rem; font-weight: 700; }

/* ===== HERO VIDEO SLIDESHOW ===== */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; background: #1a1208; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,18,8,0.3) 0%, rgba(26,18,8,0.1) 40%, rgba(26,18,8,0.4) 100%); z-index: 1; pointer-events: none; }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; border: 2px solid transparent; }
.dot.active { background: #c8843a; border-color: #fff; }

/* ===== HERO CTA BUTTONS ===== */
.hero-cta { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-hero { background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff; border-radius: 999px; padding: 12px 28px; font-size: .92rem; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.5); transition: .2s; }
.btn-hero:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.9); }

.offers-section { padding: 40px 0 20px; }
.sec-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 18px; }
.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ===== STICKY CATEGORY BAR ===== */
.cat-bar-sticky { position: sticky; top: 0; z-index: 400; background: #f5f0eb; border-bottom: 1px solid #e0d8ce; padding: 10px 0; }
.cat-bar-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding: 0 16px; max-width: 1200px; margin: 0 auto; }
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-tab { flex-shrink: 0; scroll-snap-align: start; padding: 10px 18px; background: #fff; border: 1.5px solid #ddd5c8; border-radius: 999px; font-size: .85rem; font-weight: 700; color: #5a4030; white-space: nowrap; transition: .2s; position: relative; }
.cat-tab:hover { border-color: #1a1208; }
.cat-tab.active { background: #1a1208; color: #f5efe8; border-color: #1a1208; }
.cat-tab.active::after { content: ""; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); width: 20px; height: 3px; background: #c8843a; border-radius: 3px; }

.cat-section { padding: 20px 0 0; }
.shop-bar { display: flex; flex-direction: column; gap: 12px; }

.shop-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 200px; padding: 10px 14px; border: 1.5px solid #ddd5c8; border-radius: 12px; font-family: inherit; font-size: .9rem; background: #fff; }
.search-input:focus { outline: none; border-color: #c8843a; }
.sort-select { padding: 10px 14px; border: 1.5px solid #ddd5c8; border-radius: 12px; font-family: inherit; font-size: .9rem; background: #fff; appearance: none; }

.products-section { padding: 20px 0 60px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sec-head h2 { font-size: 1.2rem; font-weight: 800; }
.count { color: #7a6050; font-size: .87rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }

.p-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #ede6dd; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.p-card-img { height: 195px; overflow: hidden; background: #f0e8de; display: flex; align-items: center; justify-content: center; position: relative; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.p-card:hover .p-card-img img { transform: scale(1.05); }
.p-card-img .no-img { font-size: 2.5rem; }
.wish-btn { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9); border: none; width: 34px; height: 34px; border-radius: 50%; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: .2s; z-index: 5; }
.wish-btn:hover { background: #fff; transform: scale(1.1); }
.wish-btn.active { background: #c0392b; color: #fff; }
.p-card-body { padding: 12px 13px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.p-card-badge { display: inline-block; background: #c8843a; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .73rem; font-weight: 700; }
.p-card-title { font-weight: 800; font-size: .91rem; line-height: 1.35; }
.p-card-desc { color: #7a6050; font-size: .82rem; line-height: 1.6; }
.p-card-select { width: 100%; padding: 8px 11px; border: 1.5px solid #ddd5c8; border-radius: 10px; background: #faf7f4; font-size: .84rem; color: #1a1208; appearance: none; }
.p-card-price { font-weight: 800; font-size: .96rem; color: #1a1208; }
.p-card-add { width: 100%; background: #1a1208; color: #f5efe8; border-radius: 10px; padding: 10px; font-size: .87rem; font-weight: 700; transition: .2s; margin-top: auto; }
.p-card-add:hover { background: #c8843a; }
.sold-out-label { background: #fce4e4; color: #c0392b; border-radius: 10px; padding: 10px; text-align: center; font-weight: 700; font-size: .84rem; margin-top: auto; }

.pm-img { width: 100%; max-height: 500px; object-fit: contain; background: #f0e8de; }
.pm-body { padding: 20px; }
.pm-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.pm-desc { color: #7a6050; font-size: .92rem; line-height: 1.7; margin-bottom: 14px; }
.pm-price { font-size: 1.1rem; font-weight: 800; color: #1a1208; margin-bottom: 14px; }
.pm-actions { display: flex; gap: 10px; }

.cart-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid #ede6dd; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: .87rem; line-height: 1.35; }
.cart-item-var { color: #7a6050; font-size: .78rem; margin-top: 2px; }
.cart-item-price { color: #c8843a; font-weight: 700; font-size: .87rem; margin-top: 3px; }
.cart-item-del { background: none; color: #c0392b; font-size: .85rem; padding: 3px 6px; border-radius: 6px; flex-shrink: 0; }
.cart-item-del:hover { background: #fce4e4; }
.total-line { display: flex; justify-content: space-between; font-weight: 700; font-size: .94rem; }
.ship-line { display: flex; justify-content: space-between; font-size: .9rem; color: #7a6050; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #ddd5c8; }
.empty-state { color: #7a6050; font-size: .87rem; padding: 10px 0; }

.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f-group { display: flex; flex-direction: column; margin-bottom: 12px; }
.f-label { font-size: .85rem; font-weight: 700; margin-bottom: 5px; color: #3a2a1a; }
.req { color: #c0392b; }
.opt { color: #7a6050; font-weight: 400; font-size: .8rem; }
.f-input { padding: 11px 13px; border: 1.5px solid #ddd5c8; border-radius: 12px; font-family: inherit; font-size: .9rem; background: #fafaf8; color: #1a1208; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; width: 100%; }
.f-input:focus { outline: none; border-color: #c8843a; box-shadow: 0 0 0 3px rgba(200,132,58,.13); }
.f-input.error { border-color: #c0392b !important; background: #fff8f8; }
textarea.f-input { min-height: 86px; resize: vertical; }
.f-err { color: #c0392b; font-size: .78rem; margin-top: 4px; display: none; }
.f-err.show { display: block; }

.form-error { display: none; background: #fce4e4; border: 1px solid #f5a9a9; color: #c0392b; border-radius: 12px; padding: 12px 15px; font-size: .88rem; font-weight: 600; margin-bottom: 14px; }
.form-error.show { display: block; }

.payment-msg { display: none; background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; border-radius: 12px; padding: 14px; font-size: .88rem; margin: 10px 0; line-height: 1.8; }
.payment-msg.show { display: block; }

.order-summary { background: #faf7f4; border-radius: 12px; padding: 14px; margin-top: 10px; border: 1px solid #ede6dd; }
.order-summary h4 { margin-bottom: 10px; font-size: .92rem; }

.about-section { padding: 50px 0; background: #e8e0d6; }
.about-card { background: #fff; border-radius: 18px; padding: 30px; border: 1px solid #ede6dd; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.about-card h2 { font-size: 1.2rem; margin-bottom: 14px; }
.about-card p { color: #5a4030; line-height: 1.9; margin-bottom: 12px; font-size: .94rem; }

.policy-section { padding: 50px 0; }
.policy-card { background: #fff; border-radius: 18px; padding: 30px; border: 1px solid #ede6dd; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.policy-card h2 { font-size: 1.2rem; margin-bottom: 16px; }
.policy-card h3 { font-size: 1rem; margin: 18px 0 10px; color: #1a1208; }
.policy-card p, .policy-card li { color: #5a4030; line-height: 1.9; font-size: .9rem; margin-bottom: 8px; }
.policy-card ul { padding-right: 20px; margin-bottom: 12px; }
.policy-card li { margin-bottom: 6px; }

.thank-page { display: none; position: fixed; inset: 0; background: #f5f0eb; z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.thank-page.open { display: flex; }
.thank-card { background: #fff; border-radius: 20px; padding: 40px; text-align: center; max-width: 500px; width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.thank-icon { font-size: 3rem; margin-bottom: 16px; }
.thank-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.thank-card p { color: #7a6050; line-height: 1.8; margin-bottom: 20px; }
.thank-details { background: #faf7f4; border-radius: 12px; padding: 16px; margin-bottom: 20px; text-align: right; font-size: .88rem; line-height: 1.8; }

.site-footer { background: #1a1208; color: #c0a080; padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
.footer-grid h3, .footer-grid h4 { color: #f5efe8; margin-bottom: 10px; font-size: .97rem; }
.footer-grid p, .footer-grid a { line-height: 1.95; font-size: .87rem; color: #c0a080; }
.footer-grid a:hover { color: #f5c88a; }
.developer-bar { text-align: center; padding: 12px 0; border-top: 1px solid #2d2010; margin-top: 10px; }
.developer-bar p { font-size: .82rem; color: #7a6050; }
.developer-bar a { color: #c8843a; font-weight: 700; }
.developer-bar a:hover { color: #f5c88a; }
.footer-copy { border-top: 1px solid #2d2010; padding: 12px 0; text-align: center; font-size: .78rem; color: #5a4030; }

/* ===== LTR SUPPORT ===== */
html[dir="ltr"] body { direction: ltr; }
html[dir="ltr"] .brand-logo-only,
html[dir="ltr"] .header-top,
html[dir="ltr"] .sec-head,
html[dir="ltr"] .total-line,
html[dir="ltr"] .ship-line,
html[dir="ltr"] .cart-item,
html[dir="ltr"] .btn-row { direction: ltr; }
html[dir="ltr"] .about-card,
html[dir="ltr"] .policy-card,
html[dir="ltr"] .thank-details,
html[dir="ltr"] .modal-body,
html[dir="ltr"] .pm-body { text-align: left; }
html[dir="ltr"] .thank-details { text-align: left; }
html[dir="ltr"] .drawer { right: auto; left: 0; transform: translateX(-110%); }
html[dir="ltr"] .drawer.open { transform: translateX(0); }
html[dir="ltr"] .wish-btn { right: auto; left: 10px; }
html[dir="ltr"] .modal-close { left: auto; right: 12px; }
html[dir="ltr"] .nav-list { padding-right: 0; padding-left: 0; }
html[dir="ltr"] .policy-card ul { padding-right: 0; padding-left: 20px; }
html[dir="ltr"] .cat-bar-inner { padding: 0 16px; }
html[dir="ltr"] .floating-actions { right: auto; left: 20px; }
html[dir="ltr"] .menu-btn { right: auto; left: 16px; }
html[dir="ltr"] .wa-btn { left: auto; right: 16px; }
html[dir="ltr"] .lang-header {
  right: auto;
  left: 55px;
  top: calc(75% + -8px);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .wa-btn { display: none; }
  .hero-cta { bottom: 60px; gap: 10px; }
  .btn-hero { padding: 10px 20px; font-size: .85rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .offers-grid { grid-template-columns: 1fr; }
  .p-card-img { height: 155px; }
  .hero { min-height: 450px; }
  .form-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cat-bar-sticky { top: 0; padding: 8px 0; }
  .cat-tab { padding: 8px 14px; font-size: .8rem; }
  .cat-tab.active::after { bottom: -12px; width: 16px; height: 2px; }
  .floating-actions { top: 16px; right: 14px; }
  .floating-btn { padding: 8px 12px; font-size: .8rem; }
  .brand-logo-only img { width: 90px; height: 90px; }

  .lang-header {
    right: 55px;
    top: calc(75% + -8px);
    padding: 4px 10px;
    font-size: .72rem;
  }

  html[dir="ltr"] .lang-header {
    right: auto;
    left: 55px;
    top: calc(75% + -8px);
  }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .p-card-img { height: 135px; }
  body { padding-bottom: 100px; }
  .p-card-title { font-size: .82rem; }
  .p-card-desc { font-size: .76rem; }
  .p-card-price { font-size: .88rem; }
  .p-card-add { font-size: .8rem; padding: 8px; }
  .cat-bar-inner { padding: 0 12px; gap: 6px; }
  .cat-tab { padding: 7px 12px; font-size: .76rem; }
  .hero { min-height: 380px; }
  .header-top { padding: 10px 14px; }
  .brand-logo-only img { width: 80px; height: 80px; }
  .drawer { width: min(340px, 95vw); }
  .checkout-modal { width: min(480px, 96vw); }
  .product-modal { width: min(560px, 97vw); }
  .search-input, .sort-select { font-size: .85rem; padding: 8px 11px; }
  .floating-btn { padding: 7px 10px; font-size: .75rem; }
  .floating-btn .badge { font-size: .7rem; padding: 1px 5px; }
  .floating-actions { top: 14px; }
  .hero-cta { bottom: 55px; }
  .btn-hero { padding: 9px 18px; font-size: .8rem; }

  .lang-header {
    right: 55px;
    top: calc(75% + -8px);
    padding: 3px 8px;
    font-size: .7rem;
  }

  html[dir="ltr"] .lang-header {
    right: auto;
    left: 55px;
    top: calc(75% + -8px);
  }
}

@media (max-width: 360px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .p-card-img { height: 120px; }
  .p-card-title { font-size: .78rem; }
  .p-card-price { font-size: .84rem; }
  .p-card-add { font-size: .75rem; padding: 7px; }
  .cat-tab { padding: 6px 10px; font-size: .72rem; }
  .brand-logo-only img { width: 70px; height: 70px; }
}