:root {
  --color-bg: #f5f7fb;
  --color-bg-muted: #edf1f7;
  --color-bg-accent: #0b3a6b;
  --color-white: #ffffff;
  --color-border: #dde3f0;
  --color-text: #1b2433;
  --color-text-soft: #5d6790;

  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.06);
  --shadow-elevated: 0 24px 60px rgba(15, 23, 42, 0.12);

  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --transition-fast: 180ms ease-out;
  --transition-med: 220ms ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e5f6ff 0, #f5f7fb 42%, #ffffff 100%);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.top-bar {
  background: linear-gradient(90deg, #0b3a6b, var(--blue));
  color: var(--color-white);
  font-size: 0.75rem;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}

.top-bar__badge {
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.06);
}

.top-bar__text {
  opacity: 0.9;
}

.top-bar__contact {
  font-weight: 500;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 235, 245, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo__mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 12px 30px rgba(31, 111, 235, 0.35);
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.logo__title {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.logo__subtitle {
  font-size: 0.7rem;
  color: var(--color-text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 0.9rem;
}

.nav__link {
  position: relative;
  padding-bottom: 0.1rem;
  color: var(--color-text-soft);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  transition: width var(--transition-med);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.header__cta {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.3rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 12px 32px rgba(32, 148, 106, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

.header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(32, 148, 106, 0.55);
}

.header__menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 18px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__menu span {
  height: 2px;
  border-radius: 999px;
  background: #111827;
}

.hero {
  padding: 3.3rem 0 3.6rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.1rem, 3vw + 1.2rem, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero__highlight {
  background: linear-gradient(120deg, var(--blue-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0;
  max-width: 36rem;
  color: var(--color-text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 0.75rem 1.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast),
    opacity var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--color-white);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.45);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.6);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--color-text);
}

.btn--ghost:hover {
  background: #ffffff;
}

.btn--light {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.btn--light:hover {
  background: #f9fafb;
}

.btn--block {
  width: 100%;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  min-width: 120px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
}

.stat__value {
  font-size: 0.95rem;
  font-weight: 600;
}

.stat__label {
  font-size: 0.7rem;
  color: var(--color-text-soft);
}

.hero__visual {
  position: relative;
  padding: 1.9rem 1.7rem;
  border-radius: 32px;
  background: radial-gradient(circle at top left, #e0f2fe 0, #edf1f7 40%, #ffffff 100%);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.hero__card {
  border-radius: 24px;
  padding: 1.25rem 1.3rem;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.hero__card h2,
.hero__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.hero__card p {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.hero__card--primary {
  border-left: 4px solid var(--green);
}

.hero__card--secondary {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 60%;
  border-left: 3px solid var(--blue);
}

.hero__badge {
  position: absolute;
  top: 1.4rem;
  right: 1.7rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.94);
  color: #e5f9ff;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Trust badges */
.trust-badges {
  background: var(--color-white);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.trust-badges__inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 1.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-muted);
  border: 1px solid rgba(226, 232, 240, 0.8);
  min-width: 0;
  flex: 1;
  max-width: 320px;
}

.trust-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: var(--color-white);
  flex-shrink: 0;
}

.trust-badge__icon svg {
  width: 26px;
  height: 26px;
}

.trust-badge__text {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.trust-badge__sub {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin-top: 0.15rem;
}

.section {
  padding: 3.2rem 0;
}

.section--muted {
  background: var(--color-bg-muted);
}

.section--accent {
  background: linear-gradient(120deg, #0b3a6b, var(--blue));
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.section__header--inline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.07);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section__eyebrow--light {
  background: rgba(255, 255, 255, 0.15);
  color: #e0f2fe;
}

.section__title {
  margin: 0.6rem 0 0.3rem;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
}

.section__title--light {
  color: #f9fafb;
}

.section__subtitle {
  margin: 0;
  color: var(--color-text-soft);
  max-width: 34rem;
}

.section__subtitle--light {
  color: rgba(241, 245, 249, 0.9);
}

.section__pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.75rem;
  color: var(--color-text-soft);
}

.section__link {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
}

/* Brands (Handuro, Wenxin) */
.brands-wrap {
  padding: 2.5rem 0;
  background: var(--color-white);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.brands-wrap .section__header {
  margin-bottom: 1.5rem;
}

.brands-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  margin: 0 auto;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  min-width: 140px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-muted);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.brand-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.25);
}

.brand-card.brand-card--active {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
  background: rgba(37, 99, 235, 0.06);
}

.brand-card__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.brand-card__logo-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.brand-card__logo-svg svg {
  display: block;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.brand-card__logo--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 700;
}

.brand-card__name {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.brand-card__count {
  font-size: 0.75rem;
  color: var(--color-text-soft);
}

.product-card__brand {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card__placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  color: var(--color-text-soft);
  font-size: 2.5rem;
  font-weight: 700;
}

.product-card__placeholder--fallback {
  display: none;
  position: absolute;
  inset: 0;
}

.product-card__placeholder--fallback.product-card__placeholder--show {
  display: flex;
}

.pd-modal__img-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-muted);
  color: var(--color-text-soft);
  font-size: 3rem;
}

.pd-modal__gallery {
  position: relative;
}

.categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.category-card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.13);
  border-color: rgba(165, 180, 203, 0.9);
}

.category-card__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.7rem;
}

.category-card__title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.category-card__text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.products-category-heading {
  grid-column: 1 / -1;
  margin: 0;
  margin-top: 1.25rem;
  padding: 0.5rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary, #2563eb);
  border-bottom: 2px solid var(--color-bg-muted, #e5e7eb);
}
.products-category-heading:first-child {
  margin-top: 0;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  flex-direction: column;
}

.product-card__image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #edf1f7, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.3s ease;
  background: #fff;
}

.product-card:hover .product-card__photo {
  transform: scale(1.05);
}

.product-card__body {
  padding: 1.1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.product-card__title {
  margin: 0;
  font-size: 1rem;
}

.product-card__category {
  margin: 0;
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
}

.product-card__desc {
  margin: 0.3rem 0 0.4rem;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.product-card__price {
  font-weight: 600;
}

.product-card__tag {
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  font-size: 0.72rem;
}

.product-card__tag--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.product-card__tag--orange {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-dark);
}

.product-card__btn {
  margin-top: 0.7rem;
}

.product-card__view {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.product-card__view::after {
  content: "\2192";
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card__view::after {
  transform: translateX(3px);
}

.product-card {
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.advantages {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.advantages__list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.advantages__list li + li {
  margin-top: 0.25rem;
}

.advantages__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  border-radius: 20px;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.stat-card__value {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-card__label {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.about__text p {
  margin-top: 0.5rem;
  color: var(--color-text-soft);
}

.about__highlights {
  display: grid;
  gap: 1rem;
}

.about-card {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.about-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.about-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.certificates {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 2.2rem;
  align-items: center;
}

.certificates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.certificate-card {
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.certificate-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
}

.certificate-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.workshop {
  border-radius: 24px;
  padding: 1.3rem 1.3rem 1.4rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(249, 115, 22, 0.08));
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.workshop__title {
  margin: 0.55rem 0 0.2rem;
  font-size: 1.1rem;
}

.workshop__subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.workshop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.workshop__image {
  border-radius: 18px;
  height: 110px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.2rem;
}

.news-card {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.news-card__date {
  font-size: 0.75rem;
  color: var(--color-text-soft);
}

.news-card__title {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.96rem;
}

.news-card__excerpt {
  margin: 0;
  font-size: 0.83rem;
  color: var(--color-text-soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2.4rem;
  align-items: center;
}

.contact-form {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 22px;
  padding: 1.2rem 1.3rem 1.3rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.form__field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #e5e7eb;
}

.form__field input,
.form__field textarea {
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(148, 163, 184, 0.95);
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: #22d3ee;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.form__note {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: rgba(226, 232, 240, 0.9);
}

.footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.4rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.8rem;
}

.footer__text {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #9ca3af;
  max-width: 18rem;
}

.footer__columns {
  display: flex;
  gap: 3rem;
}

.footer__col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer__col li + li {
  margin-top: 0.25rem;
}

.footer__bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.9rem 0 1.1rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cod-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: flex-end;
  z-index: 60;
}

.cod-overlay.cod-overlay--visible {
  display: flex;
}

.cod-sidebar {
  width: min(420px, 100%);
  background: #f3f4f6;
  height: 100%;
  padding: 1.4rem 1.45rem 1.5rem;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.3);
  border-radius: 1.4rem 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: slideInRight 280ms cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cod-sidebar__close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #e5e7eb;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.cod-sidebar__header {
  margin-top: 0.8rem;
}

.cod-sidebar__title {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.3rem;
}

.cod-sidebar__subtitle {
  margin: 0;
  font-size: 0.83rem;
  color: var(--color-text-soft);
}

.cod-sidebar__summary {
  margin-top: 1rem;
  padding: 0.8rem 0.8rem 0.9rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.cod-sidebar__product-name {
  margin: 0;
  font-size: 1rem;
}

.cod-sidebar__product-meta,
.cod-sidebar__product-price {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.cod-sidebar__product-price {
  font-weight: 600;
  color: var(--color-text);
}

.cod-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.cod-form .form__field label {
  color: #111827;
}

.cod-form .form__field input,
.cod-form .form__field textarea {
  background: #ffffff;
  border-color: var(--color-border);
  color: var(--color-text);
}

.cod-form .form__field input::placeholder,
.cod-form .form__field textarea::placeholder {
  color: #9ca3af;
}

.cod-form .form__field input:focus,
.cod-form .form__field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

.cod-form__success {
  margin: 0.6rem 0 0;
  font-size: 0.8rem;
  color: #15803d;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
}

#cod-submit-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.cod-btn__loading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cod-btn__loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cod-spin 0.6s linear infinite;
}

@keyframes cod-spin {
  to { transform: rotate(360deg); }
}

/* Filter bar */
.products-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--color-border);
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  background: #fff;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn--active {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  border-color: transparent;
}

/* Pagination */
.products-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.page-btn--active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Loading state */
.products-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* Hero card image */
.hero__card-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.6rem;
}

/* COD sidebar product image */
.cod-sidebar__product-img-wrap {
  margin-top: 0.8rem;
}

.cod-sidebar__product-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 14px;
  background: #edf1f7;
}

/* Category card clickable */
.category-card {
  cursor: pointer;
}

/* ── Product Detail Modal ── */
.pd-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 70;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 220ms ease-out;
}

.pd-overlay.pd-overlay--visible {
  display: flex;
}

.pd-overlay.pd-overlay--show {
  opacity: 1;
}

.pd-modal {
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.25);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
}

.pd-overlay--show .pd-modal {
  transform: translateY(0) scale(1);
}

.pd-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.pd-modal__close:hover {
  background: #111827;
}

.pd-modal__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pd-modal__gallery {
  background: linear-gradient(145deg, #edf1f7, #e0f2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 340px;
}

.pd-modal__img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  border-radius: 12px;
}

.pd-modal__info {
  padding: 2rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 0;
}

.pd-modal__category {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pd-modal__brand {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.pd-modal__title {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pd-modal__desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.65;
  max-width: 100%;
}

.pd-modal__price-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.pd-modal__price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
}

.pd-modal__badge {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 600;
}

.pd-modal__actions {
  margin-top: 0.3rem;
}

.pd-modal__details {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--color-border);
}

.pd-modal__detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

.pd-modal__detail-icon {
  color: #15803d;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Description images section */
.pd-modal__desc-images {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f8fafc;
}

.pd-modal__desc-images:empty {
  display: none;
}

.pd-modal__desc-images-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pd-modal__desc-images-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.pd-modal__desc-img-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pd-modal__desc-img-wrap {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.pd-modal__desc-img {
  width: 100%;
  display: block;
  object-fit: contain;
  max-height: 600px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET (≤960px)
   ══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
    gap: 0;
    z-index: 99;
  }

  .nav.nav--open {
    display: flex;
    animation: slideDown 250ms ease-out;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav__link {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    width: 100%;
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .header__cta {
    display: none;
  }

  .header__menu {
    display: flex;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    margin-top: 0.5rem;
  }

  .section__header--inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages {
    grid-template-columns: minmax(0, 1fr);
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .certificates {
    grid-template-columns: minmax(0, 1fr);
  }

  .certificates__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Filter bar: allow wrap on tablet so all JUSEN tabs (Tous + 4 categories) are visible */
  .products-filter {
    flex-wrap: wrap;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤720px)
   ══════════════════════════════════════════════ */
@media (max-width: 720px) {
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  .container {
    padding: 0 1rem;
  }

  .top-bar {
    font-size: 0.68rem;
  }

  .top-bar__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    padding: 0.35rem 0;
  }

  .top-bar__text {
    display: none;
  }

  .header__inner {
    padding: 0.65rem 0;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
    border-radius: 12px;
  }

  .logo__title {
    font-size: 0.8rem;
  }

  .logo__subtitle {
    font-size: 0.62rem;
  }

  .hero {
    padding: 2rem 0 2.2rem;
  }

  .hero__title {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  .hero__subtitle {
    font-size: 0.88rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.2rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.92rem;
  }

  .hero__stats {
    gap: 0.6rem;
    margin-top: 1.4rem;
  }

  .stat {
    min-width: 100px;
    padding: 0.55rem 0.75rem;
  }

  .stat__value {
    font-size: 0.88rem;
  }

  .hero__visual {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .hero__card {
    padding: 1rem;
    border-radius: 18px;
  }

  .hero__card h2,
  .hero__card h3 {
    font-size: 0.95rem;
  }

  .hero__card p {
    font-size: 0.8rem;
  }

  .hero__card--secondary {
    position: static;
    width: 100%;
    margin-top: 0.8rem;
  }

  .hero__badge {
    top: 0.8rem;
    right: 0.8rem;
    font-size: 0.62rem;
    padding: 0.3rem 0.65rem;
  }

  .hero__card-img {
    height: 100px;
    border-radius: 12px;
  }

  .section {
    padding: 2.2rem 0;
  }

  .section__title {
    font-size: 1.4rem;
  }

  .section__subtitle {
    font-size: 0.85rem;
  }

  .section__pill {
    font-size: 0.68rem;
  }

  .trust-badges__inner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1rem;
  }

  .trust-badge {
    max-width: none;
    padding: 0.65rem 1rem;
  }

  .trust-badge__icon {
    width: 42px;
    height: 42px;
  }

  .trust-badge__icon svg {
    width: 22px;
    height: 22px;
  }

  .trust-badge__text {
    font-size: 0.95rem;
  }

  .trust-badge__sub {
    font-size: 0.75rem;
  }

  .categories {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .category-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .category-card__img {
    height: 120px;
    border-radius: 12px;
  }

  .category-card__title {
    font-size: 0.95rem;
  }

  .brands-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .brand-card {
    min-width: 0;
    flex: 1 1 120px;
    max-width: 160px;
  }

  .brand-card {
    padding: 0.85rem 0.5rem;
  }

  .brand-card__logo,
  .brand-card__logo--initial {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  .brand-card__name {
    font-size: 0.85rem;
  }

  .brand-card__count {
    font-size: 0.7rem;
  }

  .category-card__text {
    font-size: 0.82rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .product-card {
    border-radius: 16px;
  }

  .product-card__image {
    height: 140px;
  }

  .product-card__photo {
    padding: 0.35rem;
  }

  .product-card__body {
    padding: 0.7rem 0.7rem 0.85rem;
    gap: 0.3rem;
  }

  .product-card__title {
    font-size: 0.82rem;
  }

  .product-card__category {
    font-size: 0.7rem;
  }

  .product-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.75rem;
  }

  .product-card__view {
    font-size: 0.75rem;
    margin-top: 0.3rem;
  }

  .advantages__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .stat-card {
    padding: 0.8rem;
    border-radius: 16px;
  }

  .stat-card__value {
    font-size: 1rem;
  }

  .advantages__list {
    font-size: 0.85rem;
  }

  .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .news-card {
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .contact-form {
    padding: 1rem;
    border-radius: 16px;
  }

  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__field input,
  .form__field textarea {
    padding: 0.65rem 0.75rem;
    font-size: 16px;
  }

  .btn--block {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .footer {
    padding-top: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__columns {
    flex-direction: column;
    gap: 1.4rem;
  }

  .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }

  /* ── COD Sidebar Mobile ── */
  .cod-sidebar {
    width: 100%;
    border-radius: 0;
    padding: 1.2rem 1rem 1.3rem;
  }

  .cod-sidebar__title {
    font-size: 1.15rem;
  }

  .cod-sidebar__summary {
    padding: 0.7rem;
    border-radius: 14px;
  }

  .cod-sidebar__product-img {
    height: 110px;
  }

  .cod-form .form__field input,
  .cod-form .form__field textarea {
    font-size: 16px;
    padding: 0.7rem 0.8rem;
  }

  #cod-submit-btn {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  /* ── Product Detail Modal Mobile ── */
  .pd-overlay {
    padding: 0;
    align-items: stretch;
  }

  .pd-modal {
    max-width: 100%;
    border-radius: 0;
    min-height: 100vh;
    min-height: 100dvh;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
  }

  .pd-overlay--show .pd-modal {
    transform: translateY(0);
  }

  .pd-modal__close {
    top: 0.6rem;
    right: 0.6rem;
    width: 36px;
    height: 36px;
    z-index: 10;
  }

  .pd-modal__top {
    grid-template-columns: 1fr;
  }

  .pd-modal__gallery {
    min-height: 200px;
    padding: 1.5rem 1rem;
  }

  .pd-modal__img {
    max-height: 220px;
  }

  .pd-modal__info {
    padding: 1.2rem 1rem 1.4rem;
  }

  .pd-modal__category {
    font-size: 0.68rem;
  }

  .pd-modal__title {
    font-size: 1.2rem;
  }

  .pd-modal__desc {
    font-size: 0.85rem;
  }

  .pd-modal__price {
    font-size: 1.05rem;
  }

  .pd-modal__detail-item {
    font-size: 0.78rem;
  }

  .pd-modal__actions .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .pd-modal__desc-images {
    padding: 1rem;
  }

  .pd-modal__desc-images-title {
    font-size: 0.92rem;
  }

  .pd-modal__desc-img-wrap {
    border-radius: 10px;
  }

  .pd-modal__desc-img {
    max-height: 400px;
  }

  .certificates__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
  }

  .certificate-card {
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
  }

  .workshop {
    border-radius: 18px;
    padding: 1rem;
  }

  .workshop__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .workshop__image {
    height: 85px;
    border-radius: 12px;
  }

  .products-pagination {
    margin-top: 1.2rem;
  }

  .page-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.88rem;
  }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — SMALL PHONE (≤480px)
   ══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container {
    padding: 0 0.8rem;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .hero__subtitle {
    font-size: 0.82rem;
  }

  .hero__stats {
    flex-direction: column;
  }

  .stat {
    min-width: 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .section__title {
    font-size: 1.25rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .product-card__image {
    height: 115px;
  }

  .product-card__body {
    padding: 0.55rem 0.55rem 0.7rem;
  }

  .product-card__title {
    font-size: 0.75rem;
  }

  .product-card__category {
    font-size: 0.65rem;
  }

  .product-card__view {
    font-size: 0.7rem;
  }

  .pd-modal__gallery {
    min-height: 160px;
    padding: 1rem 0.8rem;
  }

  .pd-modal__img {
    max-height: 180px;
  }

  .pd-modal__info {
    padding: 1rem 0.8rem 1.2rem;
  }

  .pd-modal__title {
    font-size: 1.1rem;
  }
}

/* ══════════════════════════════════════════════
   TOUCH & MOBILE UX ENHANCEMENTS
   ══════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  }

  .product-card:active {
    transform: scale(0.98);
    transition: transform 100ms ease;
  }

  .category-card:hover {
    transform: none;
  }

  .category-card:active {
    transform: scale(0.98);
    transition: transform 100ms ease;
  }

  .btn:active {
    transform: scale(0.97);
    transition: transform 100ms ease;
  }

  .filter-btn:active {
    transform: scale(0.96);
  }

  .nav__link:active {
    background: rgba(37, 99, 235, 0.06);
    border-radius: 8px;
  }
}

/* ══════════════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  z-index: 50;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 250ms ease, transform 250ms ease, visibility 250ms ease,
    background 150ms ease;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.5);
}

.back-to-top:active {
  transform: scale(0.92);
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }

/* ══════════════════════════════════════════════
   MOBILE POLISH
   ══════════════════════════════════════════════ */
@media (max-width: 720px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    bottom: 1rem;
    left: 0.8rem;
  }

  .cod-overlay {
    z-index: 80;
  }

  .cod-sidebar {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ── Thank You Overlay ── */
.ty-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 20, 40, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 350ms ease;
}

.ty-overlay--visible {
  display: flex;
}

.ty-overlay--show {
  opacity: 1;
}

.ty-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem 2.2rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transform: scale(0.8) translateY(30px);
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 350ms ease;
  opacity: 0;
}

.ty-overlay--show .ty-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.ty-card__check {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.ty-card__check-svg {
  width: 80px;
  height: 80px;
}

.ty-card__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
}

.ty-overlay--show .ty-card__circle {
  animation: tyCircle 600ms ease-out 200ms forwards;
}

@keyframes tyCircle {
  to { stroke-dashoffset: 0; }
}

.ty-card__tick {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

.ty-overlay--show .ty-card__tick {
  animation: tyTick 400ms ease-out 700ms forwards;
}

@keyframes tyTick {
  to { stroke-dashoffset: 0; }
}

.ty-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.ty-card__text {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 1.6rem;
}

.ty-card__bar {
  height: 5px;
  border-radius: 99px;
  background: #e2e8f0;
  overflow: hidden;
  width: 100%;
}

.ty-card__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

.ty-overlay--show .ty-card__bar-fill {
  animation: tyBar 2.8s linear 400ms forwards;
}

@keyframes tyBar {
  to { width: 100%; }
}

@media (max-width: 480px) {
  .ty-card {
    padding: 2.2rem 1.5rem 1.6rem;
    border-radius: 1.2rem;
  }

  .ty-card__check {
    width: 64px;
    height: 64px;
    margin-bottom: 1.2rem;
  }

  .ty-card__check-svg {
    width: 64px;
    height: 64px;
  }

  .ty-card__title {
    font-size: 1.25rem;
  }

  .ty-card__text {
    font-size: 0.88rem;
  }
}

