/* ===== Ltd MTN GROUP — Marketplace Theme (Trendyol / AliExpress style) ===== */
:root {
  --orange: #F27A1A;
  --orange-dark: #E86A0A;
  --orange-light: #FFF3E8;
  --red: #EB0028;
  --blue: #0066CC;
  --bg: #F5F5F5;
  --white: #FFFFFF;
  --text: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #E8E8E8;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 120px;
  --transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.section { padding: 32px 0; }
.section--white { background: var(--white); }

/* Top bar */
.topbar { background: var(--orange); color: #fff; font-size: 0.8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; gap: 12px; flex-wrap: wrap; }
.topbar__promo { font-weight: 500; }
.topbar__links { display: flex; gap: 16px; }
.topbar__links a { color: rgba(255,255,255,0.9); font-weight: 500; }
.topbar__links a:hover { color: #fff; text-decoration: underline; }

/* Header */
.header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: box-shadow var(--transition); }
.header--scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.header__main { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; background: var(--orange); color: #fff; font-weight: 900; font-size: 1.2rem; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo__text { font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -0.02em; }
.logo__accent { color: var(--orange); }
.logo--footer .logo__mark { width: 36px; height: 36px; font-size: 1rem; }

/* Search (Trendyol style) */
.search-hero { flex: 1; max-width: 560px; display: flex; border: 2px solid var(--orange); border-radius: 8px; overflow: hidden; background: var(--white); }
.search-hero__input { flex: 1; border: none; padding: 12px 16px; font-size: 0.9rem; outline: none; color: var(--text); }
.search-hero__input::placeholder { color: var(--text-light); }
.search-hero__btn { background: var(--orange); color: #fff; padding: 0 20px; display: flex; align-items: center; transition: background var(--transition); }
.search-hero__btn:hover { background: var(--orange-dark); }

.header__icons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-icon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 12px; color: var(--text); border-radius: var(--radius); transition: var(--transition); }
.header-icon:hover { background: var(--orange-light); color: var(--orange); }
.header-icon__label { font-size: 0.65rem; font-weight: 600; }
.header-icon__badge { position: absolute; top: 0; right: 4px; background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.lang-switcher { display: flex; gap: 2px; background: var(--bg); border-radius: 6px; padding: 2px; }
.lang-btn { padding: 5px 8px; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); border-radius: 4px; }
.lang-btn--active { background: var(--orange); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); }

/* Category nav */
.cat-nav { border-top: 1px solid var(--border); background: var(--white); overflow: hidden; }
.cat-nav__scroll { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.cat-nav__scroll::-webkit-scrollbar { display: none; }
.cat-nav__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 14px; border-radius: var(--radius); white-space: nowrap; flex-shrink: 0; transition: var(--transition); min-width: 72px; }
.cat-nav__item:hover { background: var(--orange-light); }
.cat-nav__item--active { background: var(--orange-light); color: var(--orange); }
.cat-nav__item--active .cat-nav__icon { background: var(--orange); transform: scale(1.05); }
.cat-nav__icon { width: 44px; height: 44px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: var(--transition); }
.cat-nav__name { font-size: 0.7rem; font-weight: 600; text-align: center; max-width: 72px; overflow: hidden; text-overflow: ellipsis; }

/* Banners */
.banners { padding: 16px 0; }
.banners__grid { display: grid; grid-template-columns: 1fr 280px; gap: 12px; }
.banner { border-radius: var(--radius); overflow: hidden; }
.banner--main { position: relative; min-height: 280px; background: linear-gradient(135deg, #FF8C42 0%, #F27A1A 50%, #E86A0A 100%); }
.banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; padding: 32px; display: flex; align-items: center; }
.banner__slide--active { opacity: 1; z-index: 1; }
.banner__content { color: #fff; max-width: 420px; }
.banner__tag { display: inline-block; background: rgba(255,255,255,0.25); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 12px; }
.banner__tag--red { background: var(--red); }
.banner__content h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.banner__content p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; }
.banner__dots { position: absolute; bottom: 16px; left: 32px; display: flex; gap: 8px; z-index: 2; }
.banner__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.banner__dot--active { background: #fff; width: 24px; border-radius: 4px; }
.banner--side { display: flex; flex-direction: column; gap: 12px; }
.deal-card { flex: 1; padding: 20px; border-radius: var(--radius); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.deal-card--orange { background: linear-gradient(135deg, #FF6000, #EB0028); }
.deal-card--blue { background: linear-gradient(135deg, #0066CC, #004499); }
.deal-card__label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; opacity: 0.9; }
.deal-card strong { font-size: 1rem; margin: 6px 0 10px; display: block; }
.deal-card__link { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.95); }
.deal-card__link:hover { text-decoration: underline; }

/* Trust pills */
.trust-pills { background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 0; }
.trust-pills__row { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.trust-pill { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }

/* Section heads */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.section-head__left { display: flex; align-items: center; gap: 12px; }
.section-head__icon { font-size: 1.5rem; }
.section-head h2 { font-size: 1.25rem; font-weight: 800; }
.section-head__link { color: var(--orange); font-weight: 600; font-size: 0.9rem; }
.section-head__link:hover { text-decoration: underline; }
.section-head--simple { margin-bottom: 16px; }
.section-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.section-title--center { text-align: center; margin-bottom: 24px; }
.text-muted { color: var(--text-muted); line-height: 1.7; }

.countdown { display: flex; align-items: center; gap: 2px; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.85rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Flash deals */
.flash-deals { background: var(--white); padding: 24px 0; margin-bottom: 8px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.product-grid--scroll { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 8px; scrollbar-width: thin; }
.product-grid--scroll .mp-card { min-width: 200px; max-width: 220px; flex-shrink: 0; }

/* Marketplace product card */
.mp-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.mp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.mp-card__img-wrap { position: relative; aspect-ratio: 1; background: #FAFAFA; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; }
.mp-card__img,
.mp-card__video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; background: #111; }
.mp-card:hover .mp-card__img,
.mp-card:hover .mp-card__video { transform: scale(1.05); }
.mp-card__play {
  position: absolute; bottom: 8px; right: 8px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; pointer-events: none;
  opacity: 0; transition: opacity 0.2s;
}
.mp-card:hover .mp-card__play { opacity: 1; }
.mp-card__emoji,
.product-media__fallback { font-size: 3.5rem; }
.mp-card__discount { position: absolute; top: 8px; left: 8px; background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; z-index: 1; }
.mp-card__badge { position: absolute; top: 8px; right: 8px; background: var(--orange); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.mp-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mp-card__name { font-size: 0.85rem; font-weight: 600; line-height: 1.35; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mp-card__name:hover { color: var(--orange); }
.mp-card__rating { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; }
.mp-card__stars { color: #FFB800; letter-spacing: -1px; }
.mp-card__rating-num { font-weight: 700; color: var(--text); }
.mp-card__reviews { color: var(--text-light); }
.mp-card__price-row { display: flex; align-items: baseline; gap: 8px; }
.mp-card__price { font-size: 1.15rem; font-weight: 800; color: var(--orange); }
.mp-card__old { font-size: 0.8rem; color: var(--text-light); text-decoration: line-through; }
.mp-card__meta { display: flex; flex-direction: column; gap: 2px; font-size: 0.7rem; color: var(--text-muted); }
.mp-card__ship { color: #00A650; font-weight: 600; }
.mp-card__cart { margin-top: auto; width: 100%; padding: 10px; background: var(--orange-light); color: var(--orange); border: 1px solid var(--orange); border-radius: 6px; font-weight: 700; font-size: 0.8rem; transition: var(--transition); }
.mp-card__cart:hover:not(:disabled) { background: var(--orange); color: #fff; }
.mp-card__cart:disabled { opacity: 0.5; cursor: not-allowed; background: var(--bg); border-color: var(--border); color: var(--text-light); }

/* Filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; background: var(--white); border: 1px solid var(--border); color: var(--text-muted); transition: var(--transition); }
.filter-chip:hover, .filter-chip--active { background: var(--orange-light); border-color: var(--orange); color: var(--orange); font-weight: 600; }

.sort-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.85rem; background: var(--white); color: var(--text); cursor: pointer; }
.catalog-empty { text-align: center; padding: 48px; color: var(--text-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 0.9rem; transition: var(--transition); }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-dark); }
.btn--secondary { background: var(--white); color: var(--text); border: 1px solid var(--border); }
.btn--secondary:hover { border-color: var(--orange); color: var(--orange); }
.btn--full { width: 100%; }
.btn--large { padding: 14px 28px; font-size: 1rem; }

/* About / info */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.stats-row { display: flex; gap: 24px; margin-top: 24px; }
.stat-box { text-align: center; }
.stat-box strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--orange); }
.stat-box span { font-size: 0.8rem; color: var(--text-muted); }
.info-card { background: var(--bg); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.info-card h3 { font-size: 1rem; margin-bottom: 16px; }
.info-card--center { text-align: center; }
.info-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.check-list { list-style: none; }
.check-list li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.delivery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-item { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.contact-item strong { display: block; font-size: 0.75rem; color: var(--text-light); margin-bottom: 2px; }
.contact-item a { color: var(--orange); }

/* Forms */
.form-card, .checkout-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-label { display: flex; gap: 8px; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; }
.checkbox-label input { accent-color: var(--orange); }

/* Footer */
.footer { background: #2D2D2D; color: #ccc; padding: 40px 0 0; margin-top: 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer__brand p { font-size: 0.85rem; margin-top: 8px; color: #999; }
.footer__col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 12px; }
.footer__col a { display: block; font-size: 0.85rem; color: #999; padding: 4px 0; }
.footer__col a:hover { color: var(--orange); }
.footer__bottom { border-top: 1px solid #444; padding: 16px 0; text-align: center; font-size: 0.8rem; color: #777; }
.footer .logo__text { color: #fff; }

/* Cart sidebar */
.cart-sidebar { position: fixed; inset: 0; z-index: 2000; pointer-events: none; }
.cart-sidebar[aria-hidden="false"] { pointer-events: auto; }
.cart-sidebar__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: opacity var(--transition); }
.cart-sidebar[aria-hidden="false"] .cart-sidebar__overlay { opacity: 1; }
.cart-sidebar__panel { position: absolute; top: 0; right: 0; width: 400px; max-width: 100%; height: 100%; background: var(--white); display: flex; flex-direction: column; transform: translateX(100%); transition: transform var(--transition); box-shadow: -4px 0 24px rgba(0,0,0,0.15); }
.cart-sidebar[aria-hidden="false"] .cart-sidebar__panel { transform: translateX(0); }
.cart-sidebar__header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.cart-sidebar__header h2 { font-size: 1.1rem; }
.cart-sidebar__close { font-size: 1.5rem; color: var(--text-muted); }
.cart-sidebar__items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-sidebar__footer { padding: 20px; border-top: 1px solid var(--border); }
.cart-sidebar__total { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1.1rem; }
.cart-sidebar__total strong { color: var(--orange); font-size: 1.25rem; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item__media-wrap {
  width: 48px; height: 48px; background: var(--bg); border-radius: 6px;
  overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.cart-item__media { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.cart-item__media-wrap .product-media__fallback { font-size: 1.3rem; }
.cart-item__name { font-weight: 600; font-size: 0.85rem; }
.cart-item__price { color: var(--orange); font-weight: 700; font-size: 0.85rem; }
.cart-item__controls { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.cart-item__qty-btn { width: 26px; height: 26px; border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.cart-item__remove { margin-left: auto; font-size: 0.75rem; color: var(--red); }
.cart-empty { text-align: center; padding: 40px; color: var(--text-muted); }
.cart-empty__icon { font-size: 2.5rem; margin-bottom: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity var(--transition); }
.modal[aria-hidden="false"] { pointer-events: auto; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.modal__content { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.modal__content--wide { max-width: 680px; }
.modal__content--product { max-width: 960px; padding: 0; overflow-y: auto; max-height: 92vh; }
.modal__close { position: absolute; top: 12px; right: 12px; font-size: 1.5rem; color: var(--text-muted); z-index: 1; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg); }
.modal__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 20px; }

/* Checkout */
.checkout-fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.checkout-fieldset legend { font-weight: 700; font-size: 0.9rem; color: var(--orange); padding: 0 6px; }
.payment-options { display: flex; flex-direction: column; gap: 8px; }
.payment-option input { display: none; }
.payment-option__box { display: flex; gap: 12px; padding: 12px; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: var(--transition); }
.payment-option input:checked + .payment-option__box { border-color: var(--orange); background: var(--orange-light); }
.payment-notice { display: flex; gap: 8px; margin-top: 12px; padding: 10px; background: #E8F5E9; border-radius: 6px; font-size: 0.8rem; color: #2E7D32; }
.checkout-summary { background: var(--bg); border-radius: var(--radius); padding: 14px; margin-bottom: 16px; }
.checkout-summary__item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.checkout-summary__total { display: flex; justify-content: space-between; padding-top: 10px; font-weight: 800; font-size: 1.05rem; }
.checkout-summary__total span:last-child { color: var(--orange); }

/* Product detail (pd-*) — light theme */
.pd-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 16px 24px 0; font-size: 0.8rem; }
.pd-breadcrumb__link { color: var(--text-muted); }
.pd-breadcrumb__link:hover { color: var(--orange); }
.pd-breadcrumb__sep { color: var(--border); }
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 20px 24px 24px; border-bottom: 1px solid var(--border); }
.pd-gallery__main { aspect-ratio: 1; background: #FAFAFA; border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-gallery__img,
.pd-gallery__video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.pd-gallery__emoji { font-size: 6rem; }
.pd-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.pd-gallery__thumb { width: 64px; height: 64px; border: 2px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: #111; }
.pd-gallery__thumb video,
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery__thumb--active { border-color: var(--orange); }
.pd-badge { display: inline-block; background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; margin-bottom: 6px; }
.pd-category { display: block; color: var(--orange); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.pd-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.pd-meta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.pd-sku { font-size: 0.8rem; color: var(--text-muted); }
.pd-price-block { background: var(--orange-light); padding: 14px 18px; border-radius: var(--radius); margin-bottom: 14px; }
.pd-price { font-size: 1.75rem; font-weight: 800; color: var(--orange); }
.pd-price-unit { font-size: 0.8rem; color: var(--text-muted); }
.pd-excerpt { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.6; }
.pd-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pd-qty label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); display: block; margin-bottom: 6px; }
.pd-qty__control { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.pd-qty__btn { width: 36px; height: 36px; background: var(--bg); display: flex; align-items: center; justify-content: center; }
.pd-qty__control input { width: 48px; text-align: center; border: none; font-weight: 700; outline: none; }
.pd-btn-cart { width: 100%; padding: 14px; }
.pd-btn-buy { width: 100%; }
.pd-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
.pd-tabs { padding: 0 24px 24px; }
.pd-tabs__nav { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.pd-tabs__btn { padding: 12px 20px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; }
.pd-tabs__btn--active { color: var(--orange); border-bottom-color: var(--orange); }
.pd-tabs__panel { display: none; }
.pd-tabs__panel--active { display: block; }
.pd-desc p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.pd-specs { width: 100%; border-collapse: collapse; }
.pd-specs th, .pd-specs td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.pd-specs th { width: 40%; color: var(--text-muted); background: var(--bg); }
.pd-delivery__item { display: flex; gap: 14px; padding: 16px; background: var(--bg); border-radius: var(--radius); margin-bottom: 10px; font-size: 1.3rem; }
.pd-delivery__item strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.pd-delivery__item p { font-size: 0.8rem; color: var(--text-muted); }
.pd-related { padding: 20px 24px 24px; border-top: 1px solid var(--border); }
.pd-related__title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.pd-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-related__card { background: var(--bg); border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--border); transition: var(--transition); }
.pd-related__card:hover { border-color: var(--orange); }
.pd-related__img { height: 70px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--white); overflow: hidden; }
.pd-related__video { width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.pd-related__info { padding: 8px; }
.pd-related__name { font-size: 0.75rem; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-related__price { font-size: 0.8rem; font-weight: 700; color: var(--orange); }

.stock { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.stock--in { background: #E8F5E9; color: #2E7D32; }
.stock--low { background: #FFF3E0; color: #E65100; }
.stock--out { background: #FFEBEE; color: #C62828; }

/* Toast & back-top */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--text); color: #fff; padding: 12px 24px; border-radius: var(--radius); font-size: 0.9rem; z-index: 5000; opacity: 0; transition: all 0.3s; pointer-events: none; }
.toast--show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast--success { background: #2E7D32; }
.toast--error { background: var(--red); }
.back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.2rem; font-weight: 700; box-shadow: var(--shadow-hover); z-index: 900; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s, transform 0.5s; }
.reveal--visible { opacity: 1; transform: translateY(0); }

.pd-gallery__thumb--video { background: linear-gradient(135deg, #333, #111); color: #fff; }
.pd-gallery__thumb-play { font-size: 1.2rem; }

/* Mobile search bar */
.mobile-search { display: none; background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 0; }
.mobile-search__bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0 14px; transition: border-color var(--transition), box-shadow var(--transition);
}
.mobile-search__bar:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-light); }
.mobile-search__bar svg { color: var(--text-light); flex-shrink: 0; }
.mobile-search__input { flex: 1; border: none; background: transparent; padding: 12px 0; font-size: 0.95rem; outline: none; }

/* Responsive */
@media (max-width: 992px) {
  .banners__grid { grid-template-columns: 1fr; }
  .banner--side { flex-direction: row; }
  .banner--main { min-height: 220px; }
  .about-grid, .contact-grid, .delivery-grid, .footer__grid { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-related__grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 24px 0; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .topbar__links { display: none; }
  .topbar__promo { font-size: 0.72rem; text-align: center; flex: 1; }
  .search-hero { display: none; }
  .mobile-search { display: block; }
  .burger { display: flex; }
  .header__main { padding: 10px 0; gap: 12px; }
  .logo__text { font-size: 1rem; }
  .logo__mark { width: 36px; height: 36px; font-size: 1rem; }
  .header-icon { padding: 8px; min-width: 44px; min-height: 44px; }
  .header-icon__label { display: none; }
  .lang-switcher { padding: 3px; }
  .lang-btn { padding: 6px 8px; font-size: 0.65rem; min-width: 32px; }

  .cat-nav {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, box-shadow 0.3s;
    border-top: none;
  }
  .cat-nav--open, body.nav-open .cat-nav {
    max-height: 70vh; overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border);
  }
  .cat-nav__scroll { flex-wrap: wrap; padding: 12px; gap: 8px; }
  .cat-nav__item { min-width: calc(33.33% - 6px); padding: 10px 6px; border-radius: 12px; background: var(--bg); }
  .cat-nav__icon { width: 40px; height: 40px; font-size: 1.15rem; }

  .banners { padding: 12px 0; }
  .banner__slide { padding: 24px 20px; }
  .banner__content h1 { font-size: 1.35rem; }
  .banner--side { flex-direction: column; }
  .deal-card { padding: 16px; }

  .trust-pills__row { gap: 12px 20px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .trust-pill { white-space: nowrap; font-size: 0.78rem; flex-shrink: 0; }

  .section-head h2 { font-size: 1.1rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-grid--scroll { gap: 10px; padding-bottom: 12px; }
  .product-grid--scroll .mp-card { min-width: 160px; max-width: 170px; }

  .mp-card { border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
  .mp-card__body { padding: 10px; gap: 4px; }
  .mp-card__name { font-size: 0.78rem; min-height: 2.4em; }
  .mp-card__price { font-size: 1rem; }
  .mp-card__cart { padding: 11px 8px; font-size: 0.75rem; border-radius: 8px; min-height: 40px; }
  .mp-card__discount { font-size: 0.65rem; padding: 2px 6px; }

  .filter-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; scrollbar-width: none; }
  .filter-chip { flex-shrink: 0; padding: 10px 14px; font-size: 0.8rem; }

  .cart-sidebar__panel { width: 100%; max-width: 100%; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__content { max-height: 95vh; border-radius: 16px 16px 0 0; padding: 20px; }
  .modal__content--product { max-width: 100%; max-height: 100vh; border-radius: 16px 16px 0 0; }
  .pd-info { padding: 16px; }
  .pd-breadcrumb { padding: 12px 16px 0; font-size: 0.75rem; }
  .pd-price { font-size: 1.5rem; }
  .pd-tabs { padding: 0 16px 16px; }
  .pd-related { padding: 16px; }
  .pd-related__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .form-row { grid-template-columns: 1fr; }
  .pd-features { grid-template-columns: 1fr; }
  .footer__grid { gap: 24px; }
  .back-top { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  .toast { left: 16px; right: 16px; transform: translateY(80px); max-width: none; text-align: center; }
  .toast--show { transform: translateY(0); }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mp-card__meta { display: none; }
  .cat-nav__item { min-width: calc(50% - 4px); }
}
