/* ===========================================================================
   Dary — styles
   Clean modern sans, red logo accent, large touch targets, mobile friendly.
   =========================================================================== */
:root {
  --red: #f23827;
  --red-d: #d52a1b;
  --red-soft: #fdeceb;
  --ink: #16181d;
  --ink-2: #3d424d;
  --muted: #6b7280;
  --line: #e7e8eb;
  --line-2: #f0f1f3;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --bg-3: #eef0f3;
  --gold: #f6a609;
  --green: #1f9d5b;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(20,24,34,.05), 0 1px 3px rgba(20,24,34,.04);
  --shadow-md: 0 6px 24px rgba(20,24,34,.08);
  --shadow-lg: 0 14px 50px rgba(20,24,34,.14);
  --wrap: 1240px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
input, select, button { font-family: inherit; font-size: inherit; }
::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 22px; padding-right: 22px; width: 100%; }

/* ---- Logo ---------------------------------------------------------------- */
.dary-logo {
  border: 0; background: none; padding: 0; font-family: var(--font);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ink);
}
.dary-dot { color: var(--red); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 12px; font-weight: 700; letter-spacing: -0.01em;
  white-space: nowrap; transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-md { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-full { width: 100%; }

/* ---- Stars --------------------------------------------------------------- */
.stars { position: relative; display: inline-block; line-height: 1; white-space: nowrap; }
.stars-bg { color: #d8dadf; }
.stars-fg { color: var(--gold); position: absolute; left: 0; top: 0; overflow: hidden; }

/* ===========================================================================
   HEADER
   =========================================================================== */
.header { position: sticky; top: 0; z-index: 60; background: #fff; }
.topbar { background: var(--ink); color: #cfd2da; font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item:last-child { cursor: pointer; }

.header-main { border-bottom: 1px solid var(--line); }
.header-main-in { display: flex; align-items: center; gap: 22px; height: 78px; }
.hamburger { display: none; border: 0; background: none; color: var(--ink); padding: 6px; margin-left: -6px; }
.header-search { flex: 1; max-width: 640px; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.haction {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  border: 0; background: none; color: var(--ink); padding: 8px 12px; border-radius: 10px;
  min-width: 64px; font-weight: 600; transition: background .15s;
}
.haction:hover { background: var(--bg-2); }
.haction-label { font-size: 12.5px; }

/* search */
.search { position: relative; display: flex; align-items: center; }
.search-ico { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; height: 50px; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 44px 0 46px; font-size: 15px; background: var(--bg-2); color: var(--ink);
  transition: border .15s, background .15s;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { outline: none; border-color: var(--ink); background: #fff; }
.search-clear { position: absolute; right: 12px; border: 0; background: none; color: var(--muted); padding: 6px; border-radius: 8px; }
.search-clear:hover { background: var(--bg-3); }
.search-pop {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 80;
}
.search-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  width: 100%; border: 0; background: none; padding: 13px 16px; text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.search-row:last-child { border-bottom: 0; }
.search-row:hover { background: var(--bg-2); }
.search-row-name { font-weight: 600; font-size: 14.5px; }
.search-row-price { font-weight: 700; color: var(--red); white-space: nowrap; }
.header-search-mobile { display: none; padding-bottom: 14px; }

/* departments nav */
.deptnav { border-bottom: 1px solid var(--line); position: relative; background: #fff; }
.deptnav-in { display: flex; gap: 2px; height: 52px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.deptnav-in::-webkit-scrollbar { display: none; }
.dept { display: flex; }
.dept-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: none;
  color: var(--ink-2); padding: 0 15px; font-weight: 600; font-size: 14.5px; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.dept:hover .dept-btn { color: var(--red); border-color: var(--red); }

/* mega menu */
.mega {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); z-index: 70;
  animation: megaIn .14s ease;
}
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-in { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-top: 26px; padding-bottom: 26px; }
.mega-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mega-subs ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 26px; }
.mega-subs li { break-inside: avoid; margin-bottom: 4px; }
.mega-subs li button {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none;
  color: var(--ink-2); padding: 8px 0; font-size: 14.5px; text-align: left; width: 100%;
}
.mega-subs li button svg { color: var(--muted); }
.mega-subs li button:hover { color: var(--red); }
.mega-all {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; border: 0;
  background: none; color: var(--red); font-weight: 700; font-size: 14.5px; padding: 0;
}
.mega-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mega-card {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px;
  display: flex; flex-direction: column; gap: 8px; text-align: left; transition: box-shadow .15s, border-color .15s;
}
.mega-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.mega-card-name { font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.mega-card-price { font-size: 14px; font-weight: 800; color: var(--red); }

/* ---- mobile drawer ------------------------------------------------------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(16,18,22,.45); z-index: 100; animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.drawer {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #fff;
  display: flex; flex-direction: column; overflow-y: auto; animation: slideIn .2s ease; padding-bottom: 24px;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.drawer-close { border: 0; background: none; color: var(--ink); padding: 8px; border-radius: 10px; }
.drawer-close:hover { background: var(--bg-2); }
.drawer-link { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 16px 20px; font-size: 16px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-2); }
.drawer-link:hover { background: var(--bg-2); }
.drawer-section { padding: 18px 20px 8px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.drawer-cat { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; background: none; padding: 14px 20px; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.drawer-cat svg:first-child { color: var(--red); }
.drawer-cat:hover { background: var(--bg-2); }
.drawer-cat-arrow { margin-left: auto; color: var(--muted); }

/* ===========================================================================
   SECTIONS / GENERIC
   =========================================================================== */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.section-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.section-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--red); font-weight: 700; font-size: 15px; white-space: nowrap; }
.section-link:hover { color: var(--red-d); }
.page-title { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 28px 0 24px; }

/* ---- Hero (legacy, kept for reference) ----------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center;
  background: var(--bg-2); border-radius: 24px; padding: 54px; margin-top: 28px;
}
.hero-trust { display: flex; gap: 24px; margin-top: 26px; flex-wrap: wrap; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.hero-trust svg { color: var(--red); }

/* ---- Category tiles ------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.tile:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tile-ico {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--tint) 12%, #fff); color: var(--tint); margin-bottom: 6px;
}
.tile-name { font-weight: 800; font-size: 16px; letter-spacing: -0.01em; }
.tile-blurb { font-size: 13.5px; color: var(--muted); }

/* ---- Services ------------------------------------------------------------ */
.services { background: var(--ink); color: #fff; }
.services-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding: 30px 0; }
.service { display: flex; align-items: center; gap: 14px; }
.service-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--red); flex: none; }
.service-ico svg { color: #ff6a5c; }
.service-title { font-weight: 800; font-size: 15.5px; }
.service-text { font-size: 13.5px; color: #aeb2bd; }

/* ---- Rails / cards ------------------------------------------------------- */
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.rail-item { flex: 0 0 240px; scroll-snap-align: start; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s, transform .1s; height: 100%;
  cursor: pointer;
}
.card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.card-img { position: relative; background: #fff; border-bottom: 1px solid var(--line-2); }
.card-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.32; letter-spacing: -0.01em; min-height: 2.6em; }
.card-rating { display: flex; align-items: center; gap: 7px; }
.card-revs { font-size: 12.5px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.card-price { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }

/* ---- Banners ------------------------------------------------------------- */
.banners { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding: 8px 0 24px; }
.banner {
  position: relative; border: 0; border-radius: 20px; overflow: hidden; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); min-height: 220px;
  transition: box-shadow .15s, transform .1s;
}
.banner:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.banner-copy { padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.banner-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--red); }
.banner-title { margin: 0; font-size: 25px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.banner-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 700; font-size: 14.5px; margin-top: 8px; }
.banner-media { position: relative; background: #fff; }

/* ---- Newsletter ---------------------------------------------------------- */
.news { background: var(--bg-2); margin-top: 16px; }
.news-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 22px; flex-wrap: wrap; }
.news-title { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.news-sub { margin: 0; color: var(--ink-2); }
.news-form { display: flex; gap: 12px; flex: 1; min-width: 280px; max-width: 480px; }
.news-input { flex: 1; height: 56px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 18px; background: #fff; }
.news-input:focus { outline: none; border-color: var(--ink); }
.news-done { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); font-size: 17px; }

/* ===========================================================================
   SHOP LISTING
   =========================================================================== */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding: 18px 0 4px; flex-wrap: wrap; }
.crumbs button { border: 0; background: none; color: var(--muted); padding: 0; font-size: inherit; }
.crumbs button:hover { color: var(--red); }
.crumbs span { color: var(--ink); font-weight: 600; }

.shop-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 22px; flex-wrap: wrap; }
.shop-title { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.shop-count { margin: 4px 0 0; color: var(--muted); }
.shop-tools { display: flex; align-items: center; gap: 12px; }
.shop-filter-btn { display: none; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 11px; height: 48px; padding: 0 16px; font-weight: 700; color: var(--ink); }
.shop-sort { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); font-weight: 600; }
.shop-sort select { height: 48px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 14px; background: #fff; font-weight: 600; color: var(--ink); }
.shop-sort select:focus { outline: none; border-color: var(--ink); }

.shop-body { display: grid; grid-template-columns: 252px 1fr; gap: 32px; align-items: start; padding-bottom: 50px; }
.shop-side { position: sticky; top: 96px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.filters { display: flex; flex-direction: column; gap: 26px; }
.filter-group { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.filter-group:last-child { border-bottom: 0; }
.filter-title { margin: 0 0 12px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.filter-cat { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 0; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.filter-cat:hover { color: var(--red); }
.filter-cat.is-active { color: var(--red); }
.filter-range { width: 100%; accent-color: var(--red); height: 28px; }
.filter-range-val { font-weight: 700; font-size: 14.5px; }
.filter-rating { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: none; padding: 9px 0; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.filter-rating.is-active { color: var(--red); }
.empty { grid-column: 1/-1; padding: 60px 20px; text-align: center; color: var(--muted); font-size: 16px; background: var(--bg-2); border-radius: var(--radius); }

.filter-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 380px); background: #fff; display: flex; flex-direction: column; animation: slideInR .2s ease; }
@keyframes slideInR { from { transform: translateX(100%); } to { transform: none; } }
.filter-sheet .filters { padding: 18px 20px; overflow-y: auto; }
.filter-sheet-title { margin: 0; font-size: 19px; font-weight: 800; }
.filter-sheet-foot { margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--line); }

/* ===========================================================================
   PRODUCT DETAIL
   =========================================================================== */
.pdp-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 16px 0 12px; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pdp-thumb { cursor: pointer; border: 0; background: none; padding: 0; }

.pdp-cat { border: 0; background: none; color: var(--red); font-weight: 700; font-size: 14px; padding: 0; text-transform: uppercase; letter-spacing: .05em; }
.pdp-name { margin: 10px 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.pdp-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pdp-rating-val { font-weight: 800; }
.pdp-rating-count { color: var(--muted); font-size: 14.5px; }
.pdp-price { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
/* ---- Stock status (product page) ---------------------------------------- */
.pdp-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 800; padding: 6px 12px; border-radius: 999px; margin: -8px 0 20px; }
.pdp-stock-in { color: var(--green); background: rgba(31,157,91,.10); }
.pdp-stock-low { color: #b45309; background: rgba(217,131,36,.12); }
.pdp-stock-out { color: var(--red-d); background: rgba(242,56,39,.10); }
.pdp-specs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pdp-specs li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--ink-2); font-weight: 600; }
.pdp-specs svg { color: var(--green); flex: none; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { border: 0; background: #fff; width: 52px; height: 56px; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { background: var(--bg-2); }
.qty button:disabled { color: var(--line); cursor: not-allowed; background: #fff; }
.qty span { min-width: 44px; text-align: center; font-weight: 800; font-size: 17px; }
.qty-sm button { width: 40px; height: 40px; }
.qty-sm span { min-width: 36px; font-size: 15px; }

.pdp-reassure { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pdp-reassure span { display: inline-flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.pdp-reassure svg { color: var(--red); flex: none; }

.pdp-tabs { margin: 44px 0 10px; }
.pdp-tabbar { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); }
.pdp-tab { border: 0; background: none; padding: 14px 20px; font-weight: 700; font-size: 15.5px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.pdp-tab.is-active { color: var(--ink); border-color: var(--red); }
.pdp-tabpanel { padding: 26px 0; }
.pdp-prose { max-width: 760px; font-size: 16px; color: var(--ink-2); line-height: 1.7; margin: 0; }
.pdp-spectable { border-collapse: collapse; width: 100%; max-width: 620px; }
.pdp-spectable th, .pdp-spectable td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pdp-spectable th { font-weight: 700; width: 200px; color: var(--ink); background: var(--bg-2); }
.pdp-spectable td { color: var(--ink-2); }
.pdp-related { padding-bottom: 56px; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.footer { background: var(--ink); color: #c4c8d2; margin-top: 10px; }
.footer-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 52px 22px 40px; }
.footer-tag { margin: 14px 0 18px; font-size: 14.5px; color: #969ba8; max-width: 280px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.footer-contact svg { color: #ff6a5c; }
.footer-h { margin: 0 0 16px; font-size: 15px; font-weight: 800; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col button { border: 0; background: none; color: #b2b7c2; font-size: 14.5px; padding: 0; text-align: left; }
.footer-col button:hover { color: #fff; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-size: 13px; color: #888d99; flex-wrap: wrap; }
.footer-pay { display: flex; gap: 8px; }
.pay-chip { background: rgba(255,255,255,.1); border-radius: 5px; padding: 4px 9px; font-size: 11.5px; font-weight: 700; color: #d6d9e0; letter-spacing: .02em; }

/* ===========================================================================
   DARY ADDITIONS — real images, hero slider, zoom, order form
   =========================================================================== */

/* ---- Real product images ------------------------------------------------- */
.pimg { position: relative; width: 100%; overflow: hidden; background: #fff; display: grid; place-items: center; }
.pimg img { width: 100%; height: 100%; object-fit: contain; }
.card-img .pimg { aspect-ratio: 1 / 1; }
.card-tag {
  position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92);
  color: var(--ink-2); font-size: 11px; font-weight: 700; padding: 4px 9px;
  border-radius: 999px; box-shadow: var(--shadow-sm); backdrop-filter: blur(2px);
}
/* ---- Out-of-stock (card) ------------------------------------------------- */
.card-oos-badge {
  position: absolute; top: 10px; right: 10px; background: var(--ink);
  color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 999px; box-shadow: var(--shadow-sm); letter-spacing: .01em;
}
.card-oos .card-img .pimg { opacity: .58; filter: grayscale(.35); }
.card-oos .card-price { color: var(--muted); }
.card-view { display: inline-flex; align-items: center; gap: 2px; color: var(--red-d); font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.card:hover .card-view { color: var(--red); }
.mega-card .pimg { aspect-ratio: 1 / 1; border-radius: 10px; }
.banner-media .pimg { height: 100%; }

/* ---- Advanced hero slider ------------------------------------------------ */
.hero-slider { position: relative; margin-top: 28px; border-radius: 24px; overflow: hidden; background: var(--bg-2); }
.hs-stage { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 54px; min-height: 430px; }
.hs-text { position: relative; z-index: 2; }
.hs-eyebrow {
  display: inline-block; font-weight: 700; font-size: 13.5px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: 14px;
  opacity: 0; animation: hsUp .6s .12s cubic-bezier(.2,.8,.2,1) both;
}
.hs-title { margin: 0 0 16px; font-size: 50px; line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.hs-line { display: block; opacity: 0; animation: hsUp .7s cubic-bezier(.2,.8,.2,1) both; }
.hs-line:nth-child(1) { animation-delay: .22s; }
.hs-line:nth-child(2) { animation-delay: .34s; }
.hs-sub { margin: 0 0 26px; font-size: 18px; color: var(--ink-2); max-width: 460px; opacity: 0; animation: hsUp .7s .48s cubic-bezier(.2,.8,.2,1) both; }
.hs-cta { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: hsPop .6s .64s cubic-bezier(.2,.8,.2,1) both; }
.hs-media { position: relative; align-self: stretch; display: grid; place-items: center; }
.hs-imgwrap { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.hs-img {
  max-width: 100%; max-height: 360px; object-fit: contain; position: relative; z-index: 1;
  filter: drop-shadow(0 18px 40px rgba(20,24,34,.16));
  animation: hsImg 1.15s cubic-bezier(.2,.7,.2,1) both;
}
.hs-glow {
  position: absolute; width: 72%; height: 72%; border-radius: 50%; background: var(--accent);
  opacity: .14; filter: blur(60px); z-index: 0; animation: hsGlow 1.2s ease both;
}
@keyframes hsUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hsPop { 0% { opacity: 0; transform: translateY(16px) scale(.95); } 100% { opacity: 1; transform: none; } }
@keyframes hsImg { 0% { opacity: 0; transform: translateX(46px) scale(1.12); } 100% { opacity: 1; transform: none; } }
@keyframes hsGlow { from { opacity: 0; transform: scale(.6); } to { opacity: .14; transform: scale(1); } }

.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink);
  box-shadow: var(--shadow-md); display: grid; place-items: center; transition: background .15s, color .15s;
}
.hs-arrow:hover { background: #fff; color: var(--red); }
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs-dots { position: absolute; left: 54px; bottom: 24px; display: flex; gap: 8px; z-index: 5; }
.hs-dot { width: 30px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgba(20,24,34,.16); overflow: hidden; cursor: pointer; }
.hs-dot-fill { display: block; width: 100%; height: 100%; background: var(--accent); transform: translateX(-100%); }
.hs-dot.is-active .hs-dot-fill { animation: hsDot 6.5s linear forwards; }
@keyframes hsDot { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ---- PDP zoom gallery ---------------------------------------------------- */
.pdp-zoom {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: zoom-in;
}
.pdp-zoom-img { width: 100%; height: 100%; object-fit: contain; transform: scale(1); transition: transform .15s ease; will-change: transform; }
.pdp-zoom.is-zooming .pdp-zoom-img { transform: scale(2.2); transition: transform .05s ease; }
.pdp-zoom-hint {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.9); color: var(--ink-2); font-size: 12.5px; font-weight: 600;
  padding: 6px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); pointer-events: none;
  transition: opacity .15s;
}
.pdp-zoom.is-zooming .pdp-zoom-hint { opacity: 0; }
.pdp-thumb .pimg { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s; }
.pdp-thumb:hover .pimg { border-color: var(--ink-2); }
.pdp-thumb.is-active .pimg { border-color: var(--ink); }
.pdp-model { color: var(--muted); font-weight: 600; font-size: 14px; margin: 0 0 12px; }

/* ---- Order form ---------------------------------------------------------- */
.order-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.order-box-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.order-box-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.order-box-total { font-size: 21px; font-weight: 800; color: var(--red); letter-spacing: -0.02em; }
.order-box-note { margin: 6px 0 16px; font-size: 13.5px; color: var(--muted); }
.order-box-lowstock { color: #b45309; font-weight: 700; margin: -8px 0 14px; }
.order-box-error { margin: 4px 0 10px; font-size: 13px; font-weight: 700; color: var(--red-d); }
.order-box-oos .order-box-title { color: var(--red-d); }
.order-box-oos .btn { pointer-events: none; opacity: .6; }
.order-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.order-qty-label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.order-box .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.order-box .field label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.order-box .field input { height: 50px; border: 1.5px solid var(--line); border-radius: 11px; padding: 0 15px; background: #fff; font-size: 15px; transition: border-color .15s; }
.order-box .field input:focus { outline: none; border-color: var(--ink); }
.order-box .btn { margin-top: 8px; }
.order-box-trust { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.order-box-trust svg { color: var(--green); }

.order-done { border: 1.5px solid var(--green); border-radius: 16px; padding: 28px 22px; text-align: center; background: color-mix(in srgb, var(--green) 7%, #fff); margin-bottom: 6px; }
.order-done-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; margin-bottom: 14px; }
.order-done-title { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.order-done-sub { margin: 0 auto 18px; color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 340px; }

/* ===========================================================================
   RESPONSIVE
   =========================================================================== */
@media (max-width: 1080px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .deptnav { display: none; }
  .hamburger { display: inline-flex; }
  .haction-hide { display: none; }
  .header-search { display: none; }
  .header-search-mobile { display: block; }
  .header-main-in { height: 66px; gap: 14px; }
  .shop-side { display: none; }
  .shop-body { grid-template-columns: 1fr; }
  .shop-filter-btn { display: inline-flex; }
  .pdp-top { grid-template-columns: 1fr; gap: 28px; }
  .banners { grid-template-columns: 1fr; }
  .hs-stage { grid-template-columns: 1fr; padding: 34px; gap: 22px; min-height: 0; }
  .hs-media { order: -1; }
  .hs-title { font-size: 38px; }
  .hs-img { max-height: 240px; }
  .hs-dots { left: 34px; bottom: 16px; }
}
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .services-in { grid-template-columns: 1fr 1fr; gap: 18px; }
  .section { padding: 30px 0; }
  .section-title { font-size: 22px; }
  .topbar-hide { display: none; }
  .pdp-name { font-size: 26px; }
  .pdp-price { font-size: 28px; }
  .news-in { padding: 30px 16px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .hs-title { font-size: 31px; }
  .hs-sub { font-size: 16px; }
  .hs-arrow { width: 38px; height: 38px; }
  .hs-prev { left: 8px; }
  .hs-next { right: 8px; }
  .order-box { padding: 18px; }
}
@media (max-width: 460px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-name { font-size: 14px; min-height: 0; }
  .card-body { padding: 12px; }
  .card-price { font-size: 16px; }
  .services-in { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .hs-cta .btn { flex: 1; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .hs-eyebrow, .hs-line, .hs-sub, .hs-cta, .hs-img, .hs-glow { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hs-dot.is-active .hs-dot-fill { animation: none !important; transform: translateX(0) !important; }
}
