﻿/* =========================================================
   Product Detail — design system (pd-*)
   ========================================================= */
:root {
  --pd-navy: #0b2a4a;
  --pd-cyan: #2cb5f0;
  --pd-ink: #0b2a4a;
  --pd-mute: #6b7c8f;
  --pd-tile: #f2f5f8;
  --pd-line: #e6ebf1;
  --pd-ease: cubic-bezier(.65, 0, .2, 1);
}

.pd {
  background: #fff;
  color: var(--pd-ink);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  padding: clamp(28px, 5vw, 56px) 20px 90px;
}
.pd *, .pd *::before, .pd *::after { box-sizing: border-box; }
.pd__wrap { max-width: 1240px; margin: 0 auto; }
@keyframes pd-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- breadcrumb ---------- */
.pd-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pd-mute); margin-bottom: 26px; flex-wrap: wrap; }
.pd-crumb a { color: var(--pd-mute); text-decoration: none; transition: color .3s; }
.pd-crumb a:hover { color: var(--pd-navy); }
.pd-crumb svg { width: 13px; height: 13px; transform: scaleX(-1); opacity: .6; flex: none; }
.pd-crumb b { color: var(--pd-ink); font-weight: 600; }

/* ---------- hero grid ---------- */
.pd-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }

/* ---------- gallery ---------- */
.pd-gal { display: flex; gap: 14px; position: sticky; top: 20px; }
.pd-gal__rail { display: flex; flex-direction: column; gap: 10px; }
.pd-gal__thumb {
  width: 68px; height: 68px; border-radius: 14px; border: 1.5px solid var(--pd-line);
  background: var(--pd-tile); overflow: hidden; cursor: pointer; padding: 0;
  transition: border-color .3s, transform .3s var(--pd-ease); flex: none;
}
.pd-gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gal__thumb:hover { transform: translateX(-3px); }
.pd-gal__thumb.is-active { border-color: var(--pd-cyan); box-shadow: 0 0 0 3px rgba(44, 181, 240, .15); }
.pd-gal__main {
  position: relative; flex: 1; aspect-ratio: 1/1; border-radius: 26px;
  background: var(--pd-tile); overflow: hidden; cursor: zoom-in;
}
.pd-gal__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--pd-ease), opacity .2s ease;
  transform-origin: var(--zx, 50%) var(--zy, 50%);
}
.pd-gal__main:hover img { transform: scale(1.5); }
.pd-gal__fav {
  position: absolute; top: 16px; inset-inline-start: 16px; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: transform .3s var(--pd-ease);
}
.pd-gal__fav svg { width: 19px; height: 19px; fill: transparent; stroke: var(--pd-navy); transition: fill .3s, stroke .3s; }
.pd-gal__fav:hover { transform: scale(1.1); }
.pd-gal__fav[aria-pressed="true"] svg,
.pd-gal__fav.is-active svg,
.pd-gal__fav.active svg { fill: #ff4d6d; stroke: #ff4d6d; animation: pd-heart .4s var(--pd-ease); }
@keyframes pd-heart { 40% { transform: scale(1.3); } }
.pd-gal__badges {
  position: absolute; top: 16px; inset-inline-end: 16px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.pd-gal__badge {
  font-size: 12px; font-weight: 700; padding: 7px 13px; border-radius: 99px;
  background: var(--pd-navy); color: #fff;
}
.pd-gal__badge--sale { background: #0b63e8; box-shadow: 0 4px 14px rgba(11, 99, 232, .35); }

/* ---------- info column ---------- */
.pd-info { animation: pd-in .6s var(--pd-ease) .05s both; }
.pd-info__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.pd-info__cat {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--pd-cyan);
  background: rgba(44, 181, 240, .1); padding: 7px 14px; border-radius: 99px;
}
.pd-info__sale {
  display: inline-block; font-size: 12.5px; font-weight: 800; color: #fff;
  background: #0b63e8; padding: 7px 14px; border-radius: 99px;
  box-shadow: 0 4px 14px rgba(11, 99, 232, .32);
}
.pd-info__title { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.pd-stars { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.pd-stars svg { width: 16px; height: 16px; color: var(--pd-line); }
.pd-stars svg.full { color: #f5b301; }
.pd-stars svg.empty { color: var(--pd-line); }
.pd-stars span { font-size: 13px; color: var(--pd-mute); }

.pd-info__desc { font-size: 14.5px; line-height: 2; color: var(--pd-mute); margin: 0 0 26px; }

/* ---------- price ---------- */
.pd-price {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--pd-line);
}
.pd-price__now { font-size: clamp(24px, 3vw, 30px); font-weight: 800; font-variant-numeric: tabular-nums; }
.pd-price__now small { font-size: 13px; font-weight: 400; color: var(--pd-mute); margin-inline-start: 5px; }
.pd-price__old { font-size: 14px; color: var(--pd-mute); text-decoration: line-through; }
.pd-price__off {
  font-size: 11.5px; font-weight: 700; color: #e0344c;
  background: rgba(224, 52, 76, .1); padding: 5px 10px; border-radius: 8px;
}

/* ---------- installments (collapsible) ---------- */
.pd-inst { margin-bottom: 24px; }
.pd-inst__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--pd-tile); border: 0; border-radius: 14px; padding: 14px 18px;
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--pd-ink); cursor: pointer;
  text-align: start;
}
.pd-inst__toggle svg { width: 16px; height: 16px; flex: none; transition: transform .4s var(--pd-ease); }
.pd-inst.is-open .pd-inst__toggle svg { transform: rotate(180deg); }
.pd-inst__panel { overflow: hidden; height: 0; transition: height .4s var(--pd-ease); }
.pd-inst__list { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.pd-inst__opt {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--pd-line);
  border-radius: 12px; padding: 11px 14px; transition: border-color .3s;
}
.pd-inst__opt:hover { border-color: var(--pd-cyan); }
.pd-inst__dot {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  color: #fff; font-size: 10.5px; font-weight: 800; overflow: hidden; background: #1978c8;
}
.pd-inst__dot img { width: 100%; height: 100%; object-fit: contain; background: #fff; border-radius: 50%; }
.pd-inst__opt--1 .pd-inst__dot { background: #1978c8; }
.pd-inst__opt--2 .pd-inst__dot { background: #16a67a; }
.pd-inst__opt--3 .pd-inst__dot { background: #5b9fd0; }
.pd-inst__opt--4 .pd-inst__dot { background: #e0761c; }
.pd-inst__txt { font-size: 12.5px; line-height: 1.7; }
.pd-inst__txt b { font-weight: 700; }
.pd-inst__txt small { display: block; color: var(--pd-mute); }

/* ---------- points ---------- */
.pd-points {
  display: flex; align-items: center; gap: 10px; border: 1px dashed var(--pd-cyan);
  background: rgba(44, 181, 240, .07); border-radius: 14px; padding: 12px 14px;
  font-size: 13px; margin-bottom: 22px; color: var(--pd-ink);
}
.pd-points svg { width: 17px; height: 17px; color: #f5b301; flex: none; }
.pd-points strong { font-weight: 800; }

/* ---------- variants ---------- */
.pd-variants {
  border: 1px solid var(--pd-line); border-radius: 16px; padding: 16px; margin-bottom: 22px;
  background: #fff;
}
.pd-variant-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pd-variant-group + .pd-variant-group { margin-top: 14px; }
.pd-variant-label { font-size: 13px; font-weight: 700; color: var(--pd-ink); }
.pd-combo-list, .pd-colors, .pd-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-combo-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--pd-line);
  background: #fff; border-radius: 12px; padding: 9px 13px; font: inherit;
  font-size: 12.5px; font-weight: 600; color: var(--pd-ink); cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--pd-ease);
}
.pd-combo-btn:hover { transform: translateY(-2px); }
.pd-combo-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
.pd-color-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--pd-line);
  background: var(--pd-tile); color: var(--pd-ink); font: inherit; font-size: 12px;
  font-weight: 800; cursor: pointer; padding: 0;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--pd-ease);
}
.pd-color-btn:hover { transform: translateY(-2px); }
.pd-size-btn {
  min-width: 46px; height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1.5px solid var(--pd-line); background: #fff; color: var(--pd-ink);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--pd-ease);
}
.pd-size-btn:hover { transform: translateY(-2px); }
.pd-combo-btn.is-active,
.pd-color-btn.is-active,
.pd-size-btn.is-active {
  border-color: var(--pd-cyan); box-shadow: 0 0 0 3px rgba(44, 181, 240, .15); color: var(--pd-navy);
}
.pd-variant-selected { font-size: 12.5px; color: var(--pd-mute); font-weight: 600; }
.pd-variant-info {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--pd-line);
  font-size: 12.5px; font-weight: 700;
}
.pd-variant-stock { color: var(--pd-mute); }
.pd-variant-stock.is-out { color: #dc2626; }
.pd-variant-stock.is-low { color: #b45309; }
.pd-variant-error { color: #dc2626; font-size: 13px; margin: 8px 0 0; }

/* ---------- stock ---------- */
.pd-stock {
  display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  margin-bottom: 22px; color: #16a67a; flex-wrap: wrap;
}
.pd-stock__dot { width: 9px; height: 9px; border-radius: 50%; background: #16a67a; position: relative; flex: none; }
.pd-stock__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #16a67a; animation: pd-ping 2s ease-out infinite;
}
@keyframes pd-ping { to { transform: scale(3); opacity: 0; } }
.pd-stock__hint { color: var(--pd-mute); font-weight: 400; font-size: 12px; }
.pd-stock.is-out { color: #dc2626; }
.pd-stock.is-out .pd-stock__dot, .pd-stock.is-out .pd-stock__dot::after { background: #dc2626; }
.pd-stock.is-out .pd-stock__dot::after { animation: none; }
.pd-stock.is-preorder { color: #b45309; }
.pd-stock.is-preorder .pd-stock__dot, .pd-stock.is-preorder .pd-stock__dot::after { background: #b45309; }
.pd-stock.is-preorder .pd-stock__dot::after { animation: none; }

/* ---------- qty + cta ---------- */
.pd-buy { display: flex; gap: 14px; margin-bottom: 28px; }
.pd-qty { display: flex; align-items: center; border: 1.5px solid var(--pd-line); border-radius: 14px; overflow: hidden; flex: none; }
.pd-qty button {
  width: 44px; height: 56px; border: 0; background: #fff; font-size: 17px;
  color: var(--pd-navy); cursor: pointer; transition: background .25s;
}
.pd-qty button:hover { background: var(--pd-tile); }
.pd-qty input {
  width: 46px; height: 56px; border: 0; border-inline: 1.5px solid var(--pd-line);
  text-align: center; font: inherit; font-size: 15px; font-weight: 700; color: var(--pd-ink);
  background: #fff;
}
.pd-cta {
  position: relative; overflow: hidden; flex: 1; height: 56px; border: 0; border-radius: 14px;
  background: var(--pd-navy); color: #fff; font: inherit; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  transition: background .3s;
}
.pd-cta__cart, .pd-cta__check { display: inline-flex; align-items: center; gap: 10px; }
.pd-cta svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--pd-ease); }
.pd-cta:hover svg { transform: translateY(-2px); }
.pd-cta__check { display: none; }
.pd-cta.is-added { background: #16a67a; }
.pd-cta.is-added .pd-cta__cart { display: none; }
.pd-cta.is-added .pd-cta__check { display: inline-flex; }
.pd-cta__check svg { stroke-dasharray: 22; stroke-dashoffset: 22; animation: pd-draw .5s .1s var(--pd-ease) forwards; }
@keyframes pd-draw { to { stroke-dashoffset: 0; } }
.pd-cta.is-disabled, .pd-cta:disabled { background: #9db0c2; cursor: not-allowed; }
.pd-cta.is-disabled:hover svg, .pd-cta:disabled:hover svg { transform: none; }

/* ---------- trust row ---------- */
.pd-trust { display: flex; gap: 0; border-top: 1px solid var(--pd-line); padding-top: 24px; }
.pd-trust__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; padding: 0 10px; position: relative;
}
.pd-trust__item + .pd-trust__item::before {
  content: ""; position: absolute; right: 100%; top: 6px; bottom: 6px; width: 1px; background: var(--pd-line);
}
.pd-trust__item svg { width: 24px; height: 24px; color: var(--pd-navy); }
.pd-trust__item strong { font-size: 12.5px; font-weight: 700; }
.pd-trust__item span { font-size: 11px; color: var(--pd-mute); line-height: 1.6; }

/* ---------- tabs ---------- */
.pd-tabs { margin-top: 70px; border-top: 1px solid var(--pd-line); }
.pd-tabs__nav {
  position: relative; display: flex; gap: 34px; border-bottom: 1px solid var(--pd-line);
  margin-bottom: 30px;
}
.pd-tabs__btn {
  position: relative; background: none; border: 0; padding: 20px 2px; font: inherit;
  font-size: 14.5px; font-weight: 700; color: var(--pd-mute); cursor: pointer;
  transition: color .3s; white-space: nowrap;
}
.pd-tabs__btn.is-active { color: var(--pd-navy); }
.pd-tabs__ind {
  position: absolute; bottom: -1px; height: 2px; background: var(--pd-cyan);
  transition: left .4s var(--pd-ease), width .4s var(--pd-ease);
}
.pd-tabs__panel {
  display: none; font-size: 14.5px; line-height: 2.1; color: var(--pd-mute);
  animation: pd-in .5s var(--pd-ease);
}
.pd-tabs__panel.is-active { display: block; }
.pd-tabs__panel p { margin: 0 0 18px; }
.pd-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pd-specs li {
  display: flex; justify-content: space-between; gap: 20px; padding: 14px 0;
  border-bottom: 1px solid var(--pd-line); font-size: 13.5px;
}
.pd-specs b { color: var(--pd-ink); font-weight: 600; text-align: start; }

/* ---------- care cards ---------- */
.pd-care { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pd-care-card {
  display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--pd-line);
  border-radius: 16px; padding: 18px; background: #fff;
  transition: border-color .3s, transform .3s var(--pd-ease);
}
.pd-care-card:hover { border-color: var(--pd-cyan); transform: translateY(-3px); }
.pd-care-icon {
  width: 38px; height: 38px; border-radius: 11px; background: var(--pd-tile);
  color: var(--pd-navy); display: grid; place-items: center;
}
.pd-care-icon svg { width: 18px; height: 18px; }
.pd-care-title { font-size: 14px; font-weight: 800; color: var(--pd-ink); }
.pd-care-text { font-size: 13px; line-height: 1.9; color: var(--pd-mute); }

/* ---------- reviews ---------- */
.pd-reviews-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding: 18px 20px; border: 1px solid var(--pd-line);
  border-radius: 16px; margin-bottom: 22px; background: var(--pd-tile);
}
.pd-reviews-score { display: flex; align-items: center; gap: 14px; }
.pd-reviews-score .pd-stars { margin-bottom: 0; }
.pd-reviews-num { font-size: 26px; font-weight: 800; color: var(--pd-ink); }
.pd-reviews-num small { font-size: 12px; font-weight: 600; color: var(--pd-mute); margin-inline-start: 4px; }
.pd-reviews-count { font-size: 13px; color: var(--pd-mute); }

.pd-comment {
  display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--pd-line);
}
.pd-comment--empty { border-bottom: 0; }
.pd-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--pd-navy); color: #fff; font-weight: 800; font-size: 15px;
}
.pd-comment-body { flex: 1; min-width: 0; }
.pd-comment-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pd-comment-name { font-size: 13.5px; font-weight: 700; color: var(--pd-ink); }
.pd-comment-date { font-size: 12px; color: var(--pd-mute); }
.pd-comment-stars { display: inline-flex; gap: 3px; margin: 6px 0; }
.pd-comment-stars svg { width: 14px; height: 14px; color: var(--pd-line); }
.pd-comment-stars svg.full { color: #f5b301; }
.pd-comment-text { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--pd-mute); }

.pd-comment-form {
  margin-top: 26px; border: 1px solid var(--pd-line); border-radius: 18px;
  padding: 22px; background: var(--pd-tile);
}
.pd-comment-form h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--pd-ink); }
.pd-comment-form p { margin: 0 0 16px; font-size: 13px; color: var(--pd-mute); }
.pd-comment-form a { color: var(--pd-cyan); font-weight: 700; text-decoration: none; }
.pd-form-grid { display: flex; flex-direction: column; gap: 14px; }
.pd-form-stars { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.pd-form-stars button {
  border: 0; background: none; font-size: 26px; line-height: 1; color: var(--pd-line);
  cursor: pointer; padding: 0; transition: color .2s, transform .2s var(--pd-ease);
}
.pd-form-stars button:hover { transform: translateY(-2px); }
.pd-form-stars button.is-on { color: #f5b301; }
textarea.pd-input, .pd-input {
  width: 100%; border: 1.5px solid var(--pd-line); border-radius: 12px; padding: 12px 14px;
  font: inherit; font-size: 13.5px; color: var(--pd-ink); background: #fff; resize: vertical;
  transition: border-color .25s;
}
textarea.pd-input:focus, .pd-input:focus { outline: none; border-color: var(--pd-cyan); }
.pd-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  align-self: flex-start; border: 0; border-radius: 12px; padding: 12px 22px;
  background: var(--pd-navy); color: #fff; font: inherit; font-size: 13.5px;
  font-weight: 700; cursor: pointer; transition: background .3s;
}
.pd-submit-btn:hover { background: #123c68; }
.pd-submit-btn svg { width: 16px; height: 16px; }

/* ---------- related ---------- */
.pd-related { margin-top: 80px; }
.pd-related__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 0 0 6px; }
.pd-related__sub { font-size: 13.5px; color: var(--pd-mute); margin: 0 0 26px; }
.pd-related__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.pd-r-wrap { display: flex; flex-direction: column; gap: 10px; }
.pd-r { text-decoration: none; color: inherit; display: block; }
.pd-r__img {
  position: relative; display: block; aspect-ratio: 1/1; border-radius: 18px;
  background: var(--pd-tile); overflow: hidden; margin-bottom: 12px;
}
.pd-r__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pd-ease); }
.pd-r:hover .pd-r__img img { transform: scale(1.07); }
.pd-r__badge {
  position: absolute; top: 10px; inset-inline-start: 10px; z-index: 1;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 99px;
  background: var(--pd-navy); color: #fff;
}
.pd-r__name { font-size: 13.5px; font-weight: 600; line-height: 1.6; margin: 0 0 8px; min-height: 2.6em; }
.pd-r__price { font-size: 15px; font-weight: 800; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pd-r__old { font-size: 12.5px; color: var(--pd-mute); text-decoration: line-through; font-weight: 600; }
.pd-r__new { color: var(--pd-ink); }
.pd-r__btn {
  width: 100%; border: 1.5px solid var(--pd-line); background: #fff; color: var(--pd-navy);
  border-radius: 12px; height: 40px; font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s;
}
.pd-r__btn:hover { background: var(--pd-navy); border-color: var(--pd-navy); color: #fff; }
.pd-r__btn.is-added { background: #16a67a; border-color: #16a67a; color: #fff; }
.pd-r__btn:disabled { opacity: .55; cursor: not-allowed; }
.pd-r__btn:disabled:hover { background: #fff; border-color: var(--pd-line); color: var(--pd-navy); }

/* ---------- sticky mobile buy bar ---------- */
.pd-sticky {
  position: fixed; z-index: 40; inset-inline: 0; bottom: 0; background: #fff;
  border-top: 1px solid var(--pd-line); padding: 12px 16px; display: none;
  align-items: center; gap: 12px; transform: translateY(100%);
  transition: transform .4s var(--pd-ease);
  box-shadow: 0 -10px 26px rgba(11, 42, 74, .08);
}
.pd-sticky.is-show { transform: none; }
.pd-sticky__price { font-size: 15px; font-weight: 800; flex: 1; color: var(--pd-ink); }
.pd-sticky__btn {
  height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--pd-navy);
  color: #fff; font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer;
}
.pd-sticky__btn:disabled { background: #9db0c2; cursor: not-allowed; }

/* ---------- toast ---------- */
.pd-toast {
  position: fixed; z-index: 9999; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  display: flex; align-items: center; gap: 10px; background: var(--pd-navy); color: #fff;
  padding: 12px 18px; border-radius: 14px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(11, 42, 74, .25); opacity: 0;
  transition: opacity .3s var(--pd-ease), transform .3s var(--pd-ease);
  max-width: calc(100vw - 32px);
}
.pd-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pd-toast.error { background: #dc2626; }
.pd-toast-icon { display: inline-flex; }
.pd-toast-icon svg { width: 18px; height: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .pd-hero { grid-template-columns: 1fr; gap: 30px; }
  .pd-gal { position: static; }
  .pd-trust__item span { display: none; }
  .pd-sticky { display: flex; }
}
@media (max-width: 560px) {
  .pd { padding-inline: 14px; }
  .pd-gal { flex-direction: column-reverse; }
  .pd-gal__rail { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .pd-tabs__nav { gap: 20px; overflow-x: auto; }
  .pd-tabs__nav::-webkit-scrollbar { display: none; }
  .pd-buy { flex-direction: column; }
  .pd-qty { align-self: flex-start; }
  .pd-related__track { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-info, .pd-tabs__panel, .pd-gal__main img, .pd-gal__thumb, .pd-cta svg,
  .pd-sticky, .pd-r__img img, .pd-care-card, .pd-combo-btn, .pd-color-btn, .pd-size-btn {
    transition: none; animation: none;
  }
  .pd-stock__dot::after { animation: none; }
}
