/* ==========================================================================
   Printiva Theme — Persian RTL Ecommerce CSS
   Namespace: pv-
   CMS: ShopMaker
   Font: system/local-safe stack
   ========================================================================== */

/* ==========================================================================
   Printiva local font
   ========================================================================== */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --pv-bg: #F6F7F5;
  --pv-white: #FFFFFF;
  --pv-ink: #16191D;
  --pv-navy: #10253F;
  --pv-muted: #6B7280;
  --pv-border: #E5E7EB;
  --pv-cyan: #00A7D9;
  --pv-cyan-deep: #007FA8;
  --pv-cyan-light: #E6F7FC;
  --pv-red: #DC2626;
  --pv-green: #16A34A;
  --pv-accent-cyan: #00AEEF;
  --pv-accent-magenta: #EC268F;
  --pv-accent-yellow: #FFD400;

  /* Radius */
  --pv-radius-card: 14px;
  --pv-radius-btn: 10px;
  --pv-radius-sm: 8px;

  /* Shadows */
  --pv-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --pv-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --pv-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* Layout */
  --pv-container: 1280px;

  /* Typography */
  --pv-font: 'Vazirmatn', Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transitions */
  --pv-transition: 0.2s ease;
  --pv-transition-slow: 0.35s ease;
}

/* --------------------------------------------------------------------------
   1. Reset / Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  font-family: var(--pv-font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--pv-bg);
  color: var(--pv-ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--pv-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--pv-transition);
}

a:hover {
  color: var(--pv-cyan);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--pv-font);
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: var(--pv-font);
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Accessibility: focus rings */
:focus-visible {
  outline: 2px solid var(--pv-cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   2. Typography Utilities
   -------------------------------------------------------------------------- */
.pv-heading-1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--pv-navy);
  letter-spacing: -0.02em;
}

.pv-heading-2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--pv-navy);
  letter-spacing: -0.01em;
}

.pv-heading-3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--pv-navy);
}

.pv-heading-4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--pv-navy);
}

.pv-body-lg {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
}

.pv-body {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
}

.pv-body-sm {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

.pv-caption {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--pv-muted);
}

.pv-label {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.pv-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pv-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-price-old {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--pv-muted);
  text-decoration: line-through;
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pv-text-muted { color: var(--pv-muted); }
.pv-text-cyan  { color: var(--pv-cyan); }
.pv-text-navy  { color: var(--pv-navy); }
.pv-text-red   { color: var(--pv-red); }
.pv-text-green { color: var(--pv-green); }

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.pv-container {
  width: 100%;
  max-width: var(--pv-container);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .pv-container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pv-container {
    padding-inline: 2rem;
  }
}

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

.pv-grid-3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.pv-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .pv-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .pv-grid-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .pv-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.pv-flex {
  display: flex;
}

.pv-flex-col {
  display: flex;
  flex-direction: column;
}

.pv-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pv-flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pv-flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pv-flex-wrap {
  flex-wrap: wrap;
}

.pv-gap-1 { gap: 0.25rem; }
.pv-gap-2 { gap: 0.5rem; }
.pv-gap-3 { gap: 0.75rem; }
.pv-gap-4 { gap: 1rem; }
.pv-gap-6 { gap: 1.5rem; }
.pv-gap-8 { gap: 2rem; }

/* --------------------------------------------------------------------------
   4. pv-topbar
   -------------------------------------------------------------------------- */
.pv-topbar {
  background: var(--pv-navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78125rem;
  padding-block: 0.375rem;
  line-height: 1.4;
}

.pv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pv-topbar__left,
.pv-topbar__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pv-topbar__item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.pv-topbar a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--pv-transition);
}

.pv-topbar a:hover {
  color: var(--pv-accent-cyan);
}

.pv-topbar__sep {
  width: 1px;
  height: 0.875rem;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
  .pv-topbar__left {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. pv-header
   -------------------------------------------------------------------------- */
.pv-header {
  background: var(--pv-white);
  border-bottom: 1px solid var(--pv-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--pv-shadow-sm);
}

.pv-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.875rem;
}

.pv-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.pv-header__logo-img {
  height: 40px;
  width: auto;
}

.pv-header__logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--pv-navy);
  line-height: 1;
}

.pv-header__logo-text span {
  color: var(--pv-cyan);
}

.pv-header__search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.pv-header__search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-btn);
  overflow: hidden;
  background: var(--pv-bg);
  transition: border-color var(--pv-transition), box-shadow var(--pv-transition);
}

.pv-header__search-form:focus-within {
  border-color: var(--pv-cyan);
  box-shadow: 0 0 0 3px rgba(0, 167, 217, 0.12);
}

.pv-header__search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.6rem 1rem;
  font-size: 0.9375rem;
  color: var(--pv-ink);
  outline: none;
  text-align: right;
}

.pv-header__search-input::placeholder {
  color: var(--pv-muted);
}

.pv-header__search-btn {
  padding: 0.6rem 1rem;
  background: var(--pv-cyan);
  color: var(--pv-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--pv-font);
  transition: background var(--pv-transition);
  white-space: nowrap;
}

.pv-header__search-btn:hover {
  background: var(--pv-cyan-deep);
}

.pv-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pv-header__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pv-navy);
  color: var(--pv-white);
  border-radius: var(--pv-radius-btn);
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--pv-font);
  transition: background var(--pv-transition), transform var(--pv-transition);
}

.pv-header__cart-btn:hover {
  background: var(--pv-cyan-deep);
  transform: translateY(-1px);
}

.pv-header__cart-count {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pv-accent-magenta);
  color: var(--pv-white);
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pv-header__account-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.875rem;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-btn);
  color: var(--pv-navy);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--pv-font);
  background: var(--pv-white);
  transition: border-color var(--pv-transition), color var(--pv-transition);
}

.pv-header__account-btn:hover {
  border-color: var(--pv-cyan);
  color: var(--pv-cyan);
}

@media (max-width: 1023px) {
  .pv-header {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. pv-nav (Desktop category navigation)
   -------------------------------------------------------------------------- */
.pv-nav {
  background: var(--pv-white);
  border-bottom: 1px solid var(--pv-border);
  position: sticky;
  top: 73px;
  z-index: 190;
}

.pv-nav__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.pv-nav__item {
  position: relative;
}

.pv-nav__link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pv-navy);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color var(--pv-transition), border-color var(--pv-transition),
    background var(--pv-transition);
}

.pv-nav__link:hover,
.pv-nav__link.is-active {
  color: var(--pv-cyan);
  border-bottom-color: var(--pv-cyan);
  background: var(--pv-cyan-light);
}

.pv-nav__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform var(--pv-transition);
}

.pv-nav__item:hover .pv-nav__link svg {
  transform: rotate(180deg);
}

.pv-nav__item:hover .pv-mega-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1023px) {
  .pv-nav {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. pv-mega-menu
   -------------------------------------------------------------------------- */
.pv-mega-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 680px;
  background: var(--pv-white);
  border: 1px solid var(--pv-border);
  border-radius: 0 0 var(--pv-radius-card) var(--pv-radius-card);
  box-shadow: var(--pv-shadow-lg);
  z-index: 300;
  transition: opacity var(--pv-transition), visibility var(--pv-transition),
    transform var(--pv-transition);
  overflow: hidden;
}

.pv-mega-menu.is-open {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pv-mega-menu__children {
  flex: 1;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  align-content: start;
}

.pv-mega-menu__child-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--pv-radius-sm);
  font-size: 0.875rem;
  color: var(--pv-ink);
  transition: background var(--pv-transition), color var(--pv-transition);
}

.pv-mega-menu__child-link:hover {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
}

.pv-mega-menu__child-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pv-mega-menu__parent-list {
  width: 200px;
  background: var(--pv-bg);
  border-right: 1px solid var(--pv-border);
  padding: 0.75rem 0;
}

.pv-mega-menu__parent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pv-navy);
  transition: background var(--pv-transition), color var(--pv-transition);
  cursor: pointer;
}

.pv-mega-menu__parent-link:hover,
.pv-mega-menu__parent-link.is-active {
  background: var(--pv-white);
  color: var(--pv-cyan);
}

.pv-mega-menu__footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--pv-border);
  padding: 0.75rem 0.75rem 0.5rem;
  margin-top: 0.5rem;
}

.pv-mega-menu__promo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  background: var(--pv-cyan-light);
  border-radius: var(--pv-radius-sm);
  font-size: 0.8125rem;
  color: var(--pv-cyan-deep);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   8. pv-mobile-header
   -------------------------------------------------------------------------- */
.pv-mobile-header {
  display: none;
  background: var(--pv-white);
  border-bottom: 1px solid var(--pv-border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--pv-shadow-sm);
}

.pv-mobile-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 0.75rem;
}

.pv-mobile-header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--pv-radius-sm);
  transition: background var(--pv-transition);
}

.pv-mobile-header__hamburger:hover {
  background: var(--pv-bg);
}

.pv-mobile-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pv-navy);
  border-radius: 2px;
  transition: transform var(--pv-transition), opacity var(--pv-transition);
}

.pv-mobile-header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pv-mobile-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.pv-mobile-header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pv-mobile-header__brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pv-navy);
  text-decoration: none;
}

.pv-mobile-header__brand span {
  color: var(--pv-cyan);
}

.pv-mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pv-mobile-header__cart {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: var(--pv-radius-sm);
  color: var(--pv-navy);
  transition: background var(--pv-transition);
}

.pv-mobile-header__cart:hover {
  background: var(--pv-bg);
}

.pv-mobile-header__cart-count {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pv-accent-magenta);
  color: var(--pv-white);
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .pv-mobile-header {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   9. pv-search-bar (mobile)
   -------------------------------------------------------------------------- */
.pv-search-bar {
  background: var(--pv-white);
  border-bottom: 1px solid var(--pv-border);
  padding-block: 0.625rem;
}

.pv-search-bar__form {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-btn);
  overflow: hidden;
  background: var(--pv-bg);
  transition: border-color var(--pv-transition);
}

.pv-search-bar__form:focus-within {
  border-color: var(--pv-cyan);
}

.pv-search-bar__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.55rem 0.875rem;
  font-size: 0.9rem;
  color: var(--pv-ink);
  outline: none;
  text-align: right;
}

.pv-search-bar__input::placeholder {
  color: var(--pv-muted);
}

.pv-search-bar__btn {
  padding: 0.55rem 0.875rem;
  background: var(--pv-cyan);
  color: var(--pv-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background var(--pv-transition);
}

.pv-search-bar__btn:hover {
  background: var(--pv-cyan-deep);
}

@media (min-width: 1024px) {
  .pv-search-bar {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   10. pv-drawer (mobile slide-in menu)
   -------------------------------------------------------------------------- */
.pv-drawer {
  position: fixed;
  top: 0;
  right: -85vw;
  width: 85vw;
  max-width: 380px;
  height: 100vh;
  background: var(--pv-white);
  z-index: 500;
  overflow-y: auto;
  overflow-x: hidden;
  transition: right var(--pv-transition-slow);
  box-shadow: var(--pv-shadow-lg);
  display: flex;
  flex-direction: column;
}

.pv-drawer.is-open {
  right: 0;
}

.pv-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--pv-border);
  flex-shrink: 0;
  background: var(--pv-navy);
  color: var(--pv-white);
}

.pv-drawer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-white);
}

.pv-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--pv-radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: var(--pv-white);
  cursor: pointer;
  transition: background var(--pv-transition);
}

.pv-drawer__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.pv-drawer__body {
  flex: 1;
  overflow-y: auto;
}

.pv-drawer__footer {
  border-top: 1px solid var(--pv-border);
  padding: 1rem 1.25rem;
  flex-shrink: 0;
}

.pv-drawer__user-links {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.pv-drawer__user-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--pv-radius-sm);
  font-size: 0.9rem;
  color: var(--pv-navy);
  transition: background var(--pv-transition);
}

.pv-drawer__user-link:hover {
  background: var(--pv-bg);
  color: var(--pv-cyan);
}

/* --------------------------------------------------------------------------
   11. pv-drawer-overlay
   -------------------------------------------------------------------------- */
.pv-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 37, 63, 0.5);
  z-index: 490;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--pv-transition-slow), visibility var(--pv-transition-slow);
  backdrop-filter: blur(2px);
}

.pv-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   12. pv-drawer-accordion
   -------------------------------------------------------------------------- */
.pv-drawer-accordion {
  padding: 0.5rem 0;
}

.pv-drawer-accordion__item {
  border-bottom: 1px solid var(--pv-border);
}

.pv-drawer-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pv-navy);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--pv-font);
  transition: background var(--pv-transition), color var(--pv-transition);
  text-align: right;
}

.pv-drawer-accordion__trigger:hover {
  background: var(--pv-bg);
  color: var(--pv-cyan);
}

.pv-drawer-accordion__trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--pv-transition);
  flex-shrink: 0;
  color: var(--pv-muted);
}

.pv-drawer-accordion__item.is-open .pv-drawer-accordion__trigger svg {
  transform: rotate(180deg);
}

.pv-drawer-accordion__item.is-open .pv-drawer-accordion__trigger {
  color: var(--pv-cyan);
}

.pv-drawer-accordion__content {
  display: none;
  background: var(--pv-bg);
  padding: 0.5rem 0;
}

.pv-drawer-accordion__item.is-open .pv-drawer-accordion__content {
  display: block;
}

.pv-drawer-accordion__child-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.75rem;
  font-size: 0.875rem;
  color: var(--pv-ink);
  transition: background var(--pv-transition), color var(--pv-transition);
}

.pv-drawer-accordion__child-link:hover {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
}

/* --------------------------------------------------------------------------
   13. pv-hero
   -------------------------------------------------------------------------- */
.pv-hero {
  padding-block: 2rem;
}

.pv-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.pv-hero__card {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  padding: 2rem 1.5rem;
  box-shadow: var(--pv-shadow-md);
  position: relative;
  overflow: hidden;
}

.pv-hero__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 100% 0%, var(--pv-cyan-light) 0%, transparent 70%);
  pointer-events: none;
}

.pv-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.pv-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--pv-navy);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

.pv-hero__title mark {
  background: none;
  color: var(--pv-cyan);
}

.pv-hero__desc {
  font-size: 0.9375rem;
  color: var(--pv-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pv-hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pv-hero__image {
  border-radius: var(--pv-radius-card);
  overflow: hidden;
  background: var(--pv-white);
  box-shadow: var(--pv-shadow-md);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-hero__image img,
.pv-hero__image svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .pv-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .pv-hero__card {
    padding: 2.5rem 2rem;
    order: 2;
  }

  .pv-hero__image {
    order: 1;
  }
}

@media (min-width: 1024px) {
  .pv-hero {
    padding-block: 3rem;
  }

  .pv-hero__inner {
    grid-template-columns: 3fr 4fr;
    gap: 3rem;
  }

  .pv-hero__card {
    padding: 3rem 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   14. pv-section
   -------------------------------------------------------------------------- */
.pv-section {
  padding-block: 2rem;
}

@media (min-width: 768px) {
  .pv-section {
    padding-block: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .pv-section {
    padding-block: 3rem;
  }
}

.pv-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.pv-section__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pv-navy);
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pv-section__title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.25rem;
  background: var(--pv-cyan);
  border-radius: 2px;
  flex-shrink: 0;
}

.pv-section__see-all {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pv-cyan);
  white-space: nowrap;
  transition: gap var(--pv-transition);
}

.pv-section__see-all:hover {
  gap: 0.625rem;
  color: var(--pv-cyan-deep);
}

/* --------------------------------------------------------------------------
   15. pv-category-grid
   -------------------------------------------------------------------------- */
.pv-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .pv-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .pv-category-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .pv-category-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

.pv-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 0.75rem;
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  text-decoration: none;
  transition: box-shadow var(--pv-transition), transform var(--pv-transition),
    border-color var(--pv-transition);
  text-align: center;
}

.pv-category-card:hover {
  box-shadow: var(--pv-shadow-md);
  transform: translateY(-2px);
  border-color: var(--pv-cyan);
  color: var(--pv-cyan-deep);
}

.pv-category-card__image {
  width: 64px;
  height: 64px;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pv-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.pv-category-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pv-navy);
  line-height: 1.4;
  transition: color var(--pv-transition);
}

.pv-category-card:hover .pv-category-card__title {
  color: var(--pv-cyan-deep);
}

.pv-category-card__arrow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pv-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  transition: background var(--pv-transition), transform var(--pv-transition);
}

.pv-category-card:hover .pv-category-card__arrow {
  background: var(--pv-cyan-light);
  transform: translateX(-2px);
}

/* --------------------------------------------------------------------------
   16. pv-product-card
   -------------------------------------------------------------------------- */
.pv-product-card {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--pv-transition), transform var(--pv-transition),
    border-color var(--pv-transition);
  position: relative;
}

.pv-product-card:hover {
  box-shadow: var(--pv-shadow-md);
  transform: translateY(-3px);
  border-color: rgba(0, 167, 217, 0.3);
}

.pv-product-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--pv-bg);
  overflow: hidden;
  flex-shrink: 0;
}

.pv-product-card__image-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.pv-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform var(--pv-transition-slow);
}

.pv-product-card:hover .pv-product-card__image {
  transform: scale(1.04);
}

.pv-product-card__badges {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 10;
}

.pv-product-card__wishlist {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pv-white);
  box-shadow: var(--pv-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pv-muted);
  cursor: pointer;
  transition: color var(--pv-transition), background var(--pv-transition);
  z-index: 10;
}

.pv-product-card__wishlist:hover,
.pv-product-card__wishlist.is-active {
  color: var(--pv-accent-magenta);
  background: #fff0f8;
}

.pv-product-card__body {
  padding: 0.875rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pv-product-card__category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pv-muted);
  text-decoration: none;
  transition: color var(--pv-transition);
}

.pv-product-card__category:hover {
  color: var(--pv-cyan);
}

.pv-product-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pv-navy);
  line-height: 1.45;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--pv-transition);
  margin-bottom: 0.25rem;
}

.pv-product-card__title:hover {
  color: var(--pv-cyan);
}

.pv-product-card__pricing {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pv-product-card__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pv-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-product-card__price-old {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--pv-muted);
  text-decoration: line-through;
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-product-card__currency {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--pv-muted);
}

.pv-product-card__footer {
  padding: 0 0.875rem 0.875rem;
}

.pv-product-card__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--pv-cyan);
  color: var(--pv-white);
  border: none;
  border-radius: var(--pv-radius-btn);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--pv-font);
  cursor: pointer;
  transition: background var(--pv-transition), transform var(--pv-transition);
}

.pv-product-card__add-btn:hover {
  background: var(--pv-cyan-deep);
  transform: translateY(-1px);
}

.pv-product-card__add-btn:active {
  transform: translateY(0);
}

.pv-product-card__add-btn:disabled,
.pv-product-card__add-btn.is-oos {
  background: var(--pv-border);
  color: var(--pv-muted);
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   17. pv-badge
   -------------------------------------------------------------------------- */
.pv-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.55em;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.pv-badge--discount {
  background: var(--pv-cyan);
  color: var(--pv-white);
}

.pv-badge--new {
  background: var(--pv-green);
  color: var(--pv-white);
}

.pv-badge--hot {
  background: var(--pv-accent-magenta);
  color: var(--pv-white);
}

.pv-badge-oos {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.55em;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: #FEF2F2;
  color: var(--pv-red);
  border: 1px solid #FECACA;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   18. pv-btn
   -------------------------------------------------------------------------- */
.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--pv-radius-btn);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--pv-font);
  line-height: 1.2;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background var(--pv-transition), color var(--pv-transition),
    border-color var(--pv-transition), box-shadow var(--pv-transition),
    transform var(--pv-transition);
  white-space: nowrap;
  user-select: none;
}

.pv-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.pv-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.pv-btn-primary {
  background: var(--pv-cyan);
  color: var(--pv-white);
  border-color: var(--pv-cyan);
}

.pv-btn-primary:hover:not(:disabled) {
  background: var(--pv-cyan-deep);
  border-color: var(--pv-cyan-deep);
  color: var(--pv-white);
  box-shadow: 0 4px 12px rgba(0, 167, 217, 0.3);
  transform: translateY(-1px);
}

.pv-btn-outline {
  background: transparent;
  color: var(--pv-cyan);
  border-color: var(--pv-cyan);
}

.pv-btn-outline:hover:not(:disabled) {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
}

.pv-btn-ghost {
  background: transparent;
  color: var(--pv-navy);
  border-color: transparent;
}

.pv-btn-ghost:hover:not(:disabled) {
  background: var(--pv-bg);
  color: var(--pv-cyan);
}

.pv-btn-danger {
  background: var(--pv-red);
  color: var(--pv-white);
  border-color: var(--pv-red);
}

.pv-btn-danger:hover:not(:disabled) {
  background: #b91c1c;
  border-color: #b91c1c;
  color: var(--pv-white);
}

.pv-btn-navy {
  background: var(--pv-navy);
  color: var(--pv-white);
  border-color: var(--pv-navy);
}

.pv-btn-navy:hover:not(:disabled) {
  background: #0d1e34;
  border-color: #0d1e34;
  color: var(--pv-white);
  transform: translateY(-1px);
}

.pv-btn-icon {
  padding: 0.625rem;
  width: 40px;
  height: 40px;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-bg);
  color: var(--pv-navy);
  border-color: var(--pv-border);
}

.pv-btn-icon:hover:not(:disabled) {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan);
  border-color: var(--pv-cyan);
}

.pv-btn-sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  border-radius: var(--pv-radius-sm);
}

.pv-btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.0625rem;
  border-radius: var(--pv-radius-btn);
}

/* --------------------------------------------------------------------------
   19. pv-toast
   -------------------------------------------------------------------------- */
.pv-toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.625rem;
  pointer-events: none;
}

@media (min-width: 768px) {
  .pv-toast-container {
    bottom: 2rem;
    left: 2rem;
  }
}

.pv-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  box-shadow: var(--pv-shadow-lg);
  padding: 0.875rem 1.125rem;
  min-width: 260px;
  max-width: 360px;
  border-right: 3px solid var(--pv-cyan);
  pointer-events: all;
  animation: pv-toast-slide-in 0.3s ease;
}

.pv-toast--success { border-right-color: var(--pv-green); }
.pv-toast--error   { border-right-color: var(--pv-red); }
.pv-toast--warning { border-right-color: var(--pv-accent-yellow); }

.pv-toast__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pv-toast__icon--success { color: var(--pv-green); }
.pv-toast__icon--error   { color: var(--pv-red); }
.pv-toast__icon--info    { color: var(--pv-cyan); }
.pv-toast__icon--warning { color: var(--pv-accent-yellow); }

.pv-toast__body {
  flex: 1;
}

.pv-toast__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.125rem;
}

.pv-toast__msg {
  font-size: 0.8125rem;
  color: var(--pv-muted);
  line-height: 1.4;
}

.pv-toast__close {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pv-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: background var(--pv-transition), color var(--pv-transition);
  flex-shrink: 0;
}

.pv-toast__close:hover {
  background: var(--pv-bg);
  color: var(--pv-ink);
}

.pv-toast.is-exiting {
  animation: pv-toast-slide-out 0.3s ease forwards;
}

@keyframes pv-toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pv-toast-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-20px);
  }
}

/* --------------------------------------------------------------------------
   20. pv-print-guide-band
   -------------------------------------------------------------------------- */
.pv-print-guide-band {
  background: var(--pv-navy);
  color: var(--pv-white);
  padding-block: 2.5rem;
  position: relative;
  overflow: hidden;
}

.pv-print-guide-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 167, 217, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(236, 38, 143, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pv-print-guide-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.pv-print-guide-band__text {
  flex: 1;
  min-width: 200px;
}

.pv-print-guide-band__label {
  display: inline-block;
  background: var(--pv-cyan);
  color: var(--pv-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pv-print-guide-band__title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.pv-print-guide-band__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.pv-print-guide-band__visual {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.pv-print-guide-band__action {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   21. pv-breadcrumb
   -------------------------------------------------------------------------- */
.pv-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding-block: 0.875rem;
  font-size: 0.8125rem;
}

.pv-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pv-breadcrumb__link {
  color: var(--pv-muted);
  text-decoration: none;
  transition: color var(--pv-transition);
}

.pv-breadcrumb__link:hover {
  color: var(--pv-cyan);
}

.pv-breadcrumb__sep {
  color: var(--pv-border);
  font-size: 0.75rem;
  user-select: none;
  transform: scaleX(-1);
  display: inline-block;
}

.pv-breadcrumb__current {
  color: var(--pv-navy);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   22. pv-product-page
   -------------------------------------------------------------------------- */
.pv-product-page {
  padding-block: 1.5rem 3rem;
}

.pv-product-page__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pv-product-page__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .pv-product-page__inner {
    grid-template-columns: 5fr 4fr;
    gap: 3rem;
  }
}

/* --------------------------------------------------------------------------
   23. pv-product-gallery
   -------------------------------------------------------------------------- */
.pv-product-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 90px;
}

.pv-product-gallery__main {
  aspect-ratio: 1 / 1;
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.pv-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform var(--pv-transition-slow);
}

.pv-product-gallery__main:hover img {
  transform: scale(1.05);
}

.pv-product-gallery__thumbs {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.pv-product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--pv-radius-sm);
  border: 2px solid var(--pv-border);
  background: var(--pv-white);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--pv-transition), box-shadow var(--pv-transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.375rem;
}

.pv-product-gallery__thumb.is-active,
.pv-product-gallery__thumb:hover {
  border-color: var(--pv-cyan);
  box-shadow: 0 0 0 2px var(--pv-cyan-light);
}

/* --------------------------------------------------------------------------
   24. pv-product-panel
   -------------------------------------------------------------------------- */
.pv-product-panel {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pv-product-panel__category {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pv-cyan);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pv-product-panel__title {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--pv-navy);
  line-height: 1.35;
}

.pv-product-panel__divider {
  height: 1px;
  background: var(--pv-border);
  margin-block: 0.25rem;
}

.pv-product-panel__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pv-product-panel__meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.pv-product-panel__meta-label {
  color: var(--pv-muted);
  min-width: 90px;
  flex-shrink: 0;
}

.pv-product-panel__meta-value {
  color: var(--pv-ink);
  font-weight: 500;
}

.pv-product-panel__pricing {
  background: var(--pv-bg);
  border-radius: var(--pv-radius-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pv-product-panel__price-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pv-product-panel__price {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--pv-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-product-panel__price-currency {
  font-size: 0.875rem;
  color: var(--pv-muted);
  font-weight: 400;
}

.pv-product-panel__price-old {
  font-size: 0.9375rem;
  color: var(--pv-muted);
  text-decoration: line-through;
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-product-panel__savings {
  font-size: 0.8125rem;
  color: var(--pv-green);
  font-weight: 600;
}

.pv-product-panel__stock {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.pv-product-panel__stock--in {
  color: var(--pv-green);
}

.pv-product-panel__stock--out {
  color: var(--pv-red);
}

.pv-product-panel__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pv-product-panel__stock--in .pv-product-panel__stock-dot {
  background: var(--pv-green);
}

.pv-product-panel__stock--out .pv-product-panel__stock-dot {
  background: var(--pv-red);
}

.pv-product-panel__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pv-product-panel__option-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pv-navy);
  margin-bottom: 0.375rem;
}

.pv-product-panel__option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pv-product-panel__option-chip {
  padding: 0.375rem 0.875rem;
  border: 1.5px solid var(--pv-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pv-ink);
  cursor: pointer;
  transition: all var(--pv-transition);
}

.pv-product-panel__option-chip.is-selected,
.pv-product-panel__option-chip:hover {
  border-color: var(--pv-cyan);
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
}

.pv-product-panel__add-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.pv-product-panel__add-btn {
  flex: 1;
  min-width: 140px;
}

.pv-product-panel__trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.pv-product-panel__trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--pv-muted);
}

.pv-product-panel__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--pv-green);
}

/* --------------------------------------------------------------------------
   25. pv-qty-control
   -------------------------------------------------------------------------- */
.pv-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-btn);
  overflow: hidden;
  background: var(--pv-white);
}

.pv-qty-control__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pv-bg);
  color: var(--pv-navy);
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 500;
  font-family: var(--pv-font);
  transition: background var(--pv-transition), color var(--pv-transition);
  flex-shrink: 0;
}

.pv-qty-control__btn:hover:not(:disabled) {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan);
}

.pv-qty-control__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pv-qty-control__input {
  width: 52px;
  height: 40px;
  border: none;
  border-inline: 1px solid var(--pv-border);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--pv-font);
  color: var(--pv-navy);
  background: var(--pv-white);
  outline: none;
  -moz-appearance: textfield;
}

.pv-qty-control__input::-webkit-outer-spin-button,
.pv-qty-control__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

/* --------------------------------------------------------------------------
   26. pv-product-description (prose area)
   -------------------------------------------------------------------------- */
.pv-product-description {
  margin-block: 3rem;
}

.pv-product-description__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--pv-border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.pv-product-description__tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pv-muted);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--pv-transition), border-color var(--pv-transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--pv-font);
}

.pv-product-description__tab.is-active,
.pv-product-description__tab:hover {
  color: var(--pv-cyan);
  border-bottom-color: var(--pv-cyan);
}

.pv-product-description__prose {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--pv-ink);
}

.pv-product-description__prose h2,
.pv-product-description__prose h3,
.pv-product-description__prose h4 {
  color: var(--pv-navy);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

.pv-product-description__prose h2 { font-size: 1.25rem; }
.pv-product-description__prose h3 { font-size: 1.0625rem; }
.pv-product-description__prose h4 { font-size: 0.9375rem; }

.pv-product-description__prose p {
  margin-bottom: 1rem;
}

.pv-product-description__prose ul,
.pv-product-description__prose ol {
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

.pv-product-description__prose ul {
  list-style: disc;
}

.pv-product-description__prose ol {
  list-style: decimal;
}

.pv-product-description__prose li {
  margin-bottom: 0.375rem;
}

.pv-product-description__prose a {
  color: var(--pv-cyan);
  text-decoration: underline;
}

.pv-product-description__prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--pv-radius-sm);
  margin-block: 1rem;
}

.pv-product-description__prose strong {
  font-weight: 700;
  color: var(--pv-navy);
}

.pv-product-description__prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  overflow-x: auto;
  display: block;
}

.pv-product-description__prose table thead {
  background: var(--pv-navy);
  color: var(--pv-white);
}

.pv-product-description__prose table th,
.pv-product-description__prose table td {
  padding: 0.625rem 1rem;
  text-align: right;
  border: 1px solid var(--pv-border);
}

.pv-product-description__prose table tbody tr:nth-child(even) {
  background: var(--pv-bg);
}

.pv-product-description__prose blockquote {
  border-right: 4px solid var(--pv-cyan);
  padding: 0.75rem 1.25rem;
  background: var(--pv-cyan-light);
  border-radius: 0 var(--pv-radius-sm) var(--pv-radius-sm) 0;
  margin-block: 1rem;
  color: var(--pv-navy);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   27. pv-related-products
   -------------------------------------------------------------------------- */
.pv-related-products {
  margin-block: 3rem;
}

/* --------------------------------------------------------------------------
   28. pv-category-page
   -------------------------------------------------------------------------- */
.pv-category-page {
  padding-block: 1.5rem 3rem;
}

.pv-category-page__header {
  margin-bottom: 1.5rem;
}

.pv-category-page__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.375rem;
}

.pv-category-page__count {
  font-size: 0.8125rem;
  color: var(--pv-muted);
}

.pv-category-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .pv-category-page__layout {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }
}

.pv-category-page__sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .pv-category-page__sidebar {
    display: block;
    position: sticky;
    top: 90px;
  }
}

.pv-category-page__main {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   29. pv-filter-sidebar
   -------------------------------------------------------------------------- */
.pv-filter-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pv-filter-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.25rem;
}

.pv-filter-group {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  overflow: hidden;
}

.pv-filter-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: background var(--pv-transition);
}

.pv-filter-group__header:hover {
  background: var(--pv-bg);
}

.pv-filter-group__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pv-navy);
}

.pv-filter-group__toggle svg {
  width: 16px;
  height: 16px;
  color: var(--pv-muted);
  transition: transform var(--pv-transition);
}

.pv-filter-group.is-open .pv-filter-group__toggle svg {
  transform: rotate(180deg);
}

.pv-filter-group__body {
  display: none;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--pv-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pv-filter-group.is-open .pv-filter-group__body {
  display: flex;
}

.pv-filter-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--pv-ink);
  user-select: none;
}

.pv-filter-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--pv-cyan);
  cursor: pointer;
  flex-shrink: 0;
}

.pv-filter-check__count {
  margin-right: auto;
  margin-left: 0;
  font-size: 0.75rem;
  color: var(--pv-muted);
}

.pv-filter-price {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pv-filter-price__range {
  width: 100%;
  accent-color: var(--pv-cyan);
}

.pv-filter-price__inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pv-filter-price__input {
  flex: 1;
  padding: 0.4rem 0.625rem;
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-sm);
  font-size: 0.8125rem;
  font-family: var(--pv-font);
  text-align: center;
  outline: none;
  transition: border-color var(--pv-transition);
}

.pv-filter-price__input:focus {
  border-color: var(--pv-cyan);
}

.pv-filter-sidebar__clear {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pv-red);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--pv-font);
  transition: opacity var(--pv-transition);
}

.pv-filter-sidebar__clear:hover {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   30. pv-filter-drawer (mobile bottom sheet)
   -------------------------------------------------------------------------- */
.pv-filter-drawer {
  position: fixed;
  inset-inline: 0;
  bottom: -100%;
  background: var(--pv-white);
  border-radius: var(--pv-radius-card) var(--pv-radius-card) 0 0;
  z-index: 600;
  max-height: 85vh;
  overflow-y: auto;
  transition: bottom var(--pv-transition-slow);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}

.pv-filter-drawer.is-open {
  bottom: 0;
}

.pv-filter-drawer__handle {
  display: flex;
  justify-content: center;
  padding-top: 0.75rem;
  padding-bottom: 0.375rem;
}

.pv-filter-drawer__handle-bar {
  width: 40px;
  height: 4px;
  background: var(--pv-border);
  border-radius: 2px;
}

.pv-filter-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--pv-border);
}

.pv-filter-drawer__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
}

.pv-filter-drawer__body {
  padding: 1rem 1.25rem;
}

.pv-filter-drawer__footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--pv-border);
  position: sticky;
  bottom: 0;
  background: var(--pv-white);
}

.pv-filter-drawer__footer .pv-btn {
  flex: 1;
}

@media (min-width: 1024px) {
  .pv-filter-drawer {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   31. pv-sort-bar
   -------------------------------------------------------------------------- */
.pv-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.pv-sort-bar__right {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pv-sort-bar__label {
  font-size: 0.875rem;
  color: var(--pv-muted);
  white-space: nowrap;
}

.pv-sort-bar__select {
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-sm);
  font-size: 0.875rem;
  font-family: var(--pv-font);
  color: var(--pv-navy);
  background: var(--pv-white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--pv-transition);
}

.pv-sort-bar__select:focus {
  border-color: var(--pv-cyan);
}

.pv-sort-bar__filter-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.875rem;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--pv-font);
  background: var(--pv-white);
  color: var(--pv-navy);
  cursor: pointer;
  transition: border-color var(--pv-transition), color var(--pv-transition);
}

.pv-sort-bar__filter-btn:hover {
  border-color: var(--pv-cyan);
  color: var(--pv-cyan);
}

@media (min-width: 1024px) {
  .pv-sort-bar__filter-btn {
    display: none;
  }
}

.pv-sort-bar__view-toggles {
  display: flex;
  gap: 0.25rem;
}

.pv-sort-bar__view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--pv-radius-sm);
  border: 1.5px solid var(--pv-border);
  background: var(--pv-white);
  color: var(--pv-muted);
  cursor: pointer;
  transition: all var(--pv-transition);
}

.pv-sort-bar__view-btn.is-active,
.pv-sort-bar__view-btn:hover {
  border-color: var(--pv-cyan);
  color: var(--pv-cyan);
  background: var(--pv-cyan-light);
}

/* --------------------------------------------------------------------------
   32. pv-search-page
   -------------------------------------------------------------------------- */
.pv-search-page {
  padding-block: 1.5rem 3rem;
}

.pv-search-page__header {
  margin-bottom: 1.5rem;
}

.pv-search-page__query {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.375rem;
}

.pv-search-page__query mark {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.pv-search-page__count {
  font-size: 0.875rem;
  color: var(--pv-muted);
}

/* --------------------------------------------------------------------------
   33. pv-cart-page
   -------------------------------------------------------------------------- */
.pv-cart-page {
  padding-block: 1.5rem 3rem;
}

.pv-cart-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .pv-cart-page__layout {
    grid-template-columns: 1fr 340px;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .pv-cart-page__layout {
    grid-template-columns: 1fr 380px;
  }
}

.pv-cart-page__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pv-cart-page__title-count {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--pv-muted);
}

.pv-cart-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   34. pv-cart-item
   -------------------------------------------------------------------------- */
.pv-cart-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1rem;
  align-items: start;
  transition: box-shadow var(--pv-transition);
}

.pv-cart-item:hover {
  box-shadow: var(--pv-shadow-sm);
}

@media (min-width: 480px) {
  .pv-cart-item {
    grid-template-columns: 110px 1fr;
  }
}

.pv-cart-item__image {
  aspect-ratio: 1 / 1;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.pv-cart-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.pv-cart-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pv-navy);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--pv-transition);
}

.pv-cart-item__title:hover {
  color: var(--pv-cyan);
}

.pv-cart-item__attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.pv-cart-item__attr {
  font-size: 0.75rem;
  color: var(--pv-muted);
  background: var(--pv-bg);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.pv-cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.pv-cart-item__pricing {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  align-items: flex-end;
}

.pv-cart-item__price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--pv-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-cart-item__price-old {
  font-size: 0.8125rem;
  color: var(--pv-muted);
  text-decoration: line-through;
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-cart-item__remove {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pv-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--pv-font);
  transition: color var(--pv-transition);
  padding: 0.25rem;
}

.pv-cart-item__remove:hover {
  color: var(--pv-red);
}

/* --------------------------------------------------------------------------
   35. pv-cart-summary
   -------------------------------------------------------------------------- */
.pv-cart-summary {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1.25rem;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.pv-cart-summary__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--pv-border);
}

.pv-cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.pv-cart-summary__label {
  color: var(--pv-muted);
}

.pv-cart-summary__value {
  font-weight: 600;
  color: var(--pv-ink);
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-cart-summary__value--discount {
  color: var(--pv-green);
}

.pv-cart-summary__divider {
  height: 1px;
  background: var(--pv-border);
}

.pv-cart-summary__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.25rem;
}

.pv-cart-summary__total-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pv-navy);
}

.pv-cart-summary__total-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pv-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.pv-cart-summary__coupon {
  display: flex;
  gap: 0.5rem;
}

.pv-cart-summary__coupon-input {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-sm);
  font-size: 0.875rem;
  font-family: var(--pv-font);
  outline: none;
  transition: border-color var(--pv-transition);
}

.pv-cart-summary__coupon-input:focus {
  border-color: var(--pv-cyan);
}

.pv-cart-summary__checkout-btn {
  width: 100%;
}

.pv-cart-summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--pv-muted);
}

/* --------------------------------------------------------------------------
   36. pv-checkout-page
   -------------------------------------------------------------------------- */
.pv-checkout-page {
  padding-block: 1.5rem 3rem;
}

.pv-checkout-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .pv-checkout-page__layout {
    grid-template-columns: 1fr 360px;
  }
}

@media (min-width: 1024px) {
  .pv-checkout-page__layout {
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
  }
}

.pv-checkout-page__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 1.5rem;
}

.pv-checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.pv-checkout-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: var(--pv-muted);
  font-weight: 500;
}

.pv-checkout-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pv-border);
  color: var(--pv-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pv-checkout-step.is-active {
  color: var(--pv-cyan-deep);
}

.pv-checkout-step.is-active .pv-checkout-step__num {
  background: var(--pv-cyan);
  color: var(--pv-white);
}

.pv-checkout-step.is-done .pv-checkout-step__num {
  background: var(--pv-green);
  color: var(--pv-white);
}

.pv-checkout-step__line {
  width: 40px;
  height: 1px;
  background: var(--pv-border);
  flex-shrink: 0;
}

.pv-checkout-form-section {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.pv-checkout-form-section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--pv-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pv-checkout-form-section__title svg {
  width: 18px;
  height: 18px;
  color: var(--pv-cyan);
}

.pv-checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .pv-checkout-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pv-checkout-form-grid .pv-form-group--full {
  grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
   37. pv-form-group, pv-input, pv-select, pv-textarea
   -------------------------------------------------------------------------- */
.pv-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pv-form-group__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pv-navy);
}

.pv-form-group__label--required::after {
  content: ' *';
  color: var(--pv-red);
}

.pv-form-group__hint {
  font-size: 0.75rem;
  color: var(--pv-muted);
  margin-top: 0.125rem;
}

.pv-form-group__error {
  font-size: 0.75rem;
  color: var(--pv-red);
  margin-top: 0.125rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pv-input,
.pv-select,
.pv-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--pv-border);
  border-radius: var(--pv-radius-sm);
  font-size: 0.9375rem;
  font-family: var(--pv-font);
  color: var(--pv-ink);
  background: var(--pv-white);
  transition: border-color var(--pv-transition), box-shadow var(--pv-transition);
  outline: none;
  text-align: right;
}

.pv-input::placeholder,
.pv-textarea::placeholder {
  color: var(--pv-muted);
}

.pv-input:focus,
.pv-select:focus,
.pv-textarea:focus {
  border-color: var(--pv-cyan);
  box-shadow: 0 0 0 3px rgba(0, 167, 217, 0.12);
}

.pv-input.has-error,
.pv-select.has-error,
.pv-textarea.has-error {
  border-color: var(--pv-red);
}

.pv-input.has-error:focus,
.pv-select.has-error:focus,
.pv-textarea.has-error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.pv-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  background-size: 16px;
  padding-left: 2.25rem;
}

.pv-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   38. pv-order-success-page
   -------------------------------------------------------------------------- */
.pv-order-success-page {
  padding-block: 2rem 4rem;
}

.pv-order-success-page__status-card {
  text-align: center;
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
}

.pv-order-success-page__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #F0FDF4;
  border: 3px solid var(--pv-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  color: var(--pv-green);
}

.pv-order-success-page__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.625rem;
}

.pv-order-success-page__desc {
  color: var(--pv-muted);
  font-size: 0.9375rem;
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
}

.pv-order-success-page__code {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pv-bg);
  border: 1px solid var(--pv-border);
  border-radius: var(--pv-radius-sm);
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-top: 1rem;
  direction: ltr;
}

.pv-order-success-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pv-order-success-page__layout {
    grid-template-columns: 1fr 320px;
  }
}

.pv-order-success-page__items {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  overflow: hidden;
}

.pv-order-success-page__items-title {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--pv-border);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pv-navy);
}

/* --------------------------------------------------------------------------
   39. pv-payment-card
   -------------------------------------------------------------------------- */
.pv-payment-card {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1.5px solid var(--pv-border);
  padding: 1.25rem;
  cursor: pointer;
  transition: box-shadow var(--pv-transition), border-color var(--pv-transition),
    transform var(--pv-transition);
  position: relative;
  overflow: hidden;
}

.pv-payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--pv-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--pv-transition);
}

.pv-payment-card:hover,
.pv-payment-card.is-selected {
  box-shadow: var(--pv-shadow-md);
  border-color: var(--pv-cyan);
  transform: translateY(-2px);
}

.pv-payment-card:hover::before,
.pv-payment-card.is-selected::before {
  transform: scaleX(1);
}

.pv-payment-card__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pv-payment-card__logo {
  width: 60px;
  height: 40px;
  border-radius: var(--pv-radius-sm);
  background: var(--pv-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pv-payment-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pv-payment-card__body {
  flex: 1;
  min-width: 0;
}

.pv-payment-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.125rem;
}

.pv-payment-card__desc {
  font-size: 0.8125rem;
  color: var(--pv-muted);
}

.pv-payment-card__radio {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--pv-cyan);
}

/* Gateway-specific accent lines */
.pv-payment-card--zarinpal::before { background: #5D4037; }
.pv-payment-card--idpay::before    { background: #1976D2; }
.pv-payment-card--mellat::before   { background: #C62828; }
.pv-payment-card--saman::before    { background: #558B2F; }
.pv-payment-card--parsian::before  { background: #E65100; }

.pv-payment-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .pv-payment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   40. pv-payment-result-page
   -------------------------------------------------------------------------- */
.pv-payment-result-page {
  padding-block: 3rem 5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 60vh;
}

.pv-payment-result-page__card {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--pv-shadow-md);
}

.pv-payment-result-page__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.pv-payment-result-page__icon--success {
  background: #F0FDF4;
  border: 3px solid var(--pv-green);
  color: var(--pv-green);
}

.pv-payment-result-page__icon--failure {
  background: #FEF2F2;
  border: 3px solid var(--pv-red);
  color: var(--pv-red);
}

.pv-payment-result-page__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.75rem;
}

.pv-payment-result-page__desc {
  color: var(--pv-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.pv-payment-result-page__info {
  background: var(--pv-bg);
  border-radius: var(--pv-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  text-align: right;
}

.pv-payment-result-page__info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding-block: 0.375rem;
}

.pv-payment-result-page__info-label {
  color: var(--pv-muted);
}

.pv-payment-result-page__info-value {
  font-weight: 600;
  color: var(--pv-navy);
}

.pv-payment-result-page__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

/* --------------------------------------------------------------------------
   41. pv-tracking-page
   -------------------------------------------------------------------------- */
.pv-tracking-page {
  padding-block: 1.5rem 3rem;
  max-width: 720px;
  margin-inline: auto;
}

.pv-tracking-page__search {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.pv-tracking-page__search-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 1rem;
}

.pv-tracking-page__search-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pv-tracking-page__search-form .pv-input {
  flex: 1;
  min-width: 180px;
}

.pv-tracking-steps {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 1.5rem;
}

.pv-tracking-steps__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 1.5rem;
}

.pv-tracking-step {
  display: flex;
  gap: 1rem;
  position: relative;
}

.pv-tracking-step:not(:last-child)::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 32px;
  bottom: -16px;
  width: 2px;
  background: var(--pv-border);
}

.pv-tracking-step.is-done:not(:last-child)::before {
  background: var(--pv-green);
}

.pv-tracking-step:not(:last-child) {
  padding-bottom: 1.5rem;
}

.pv-tracking-step__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pv-border);
  background: var(--pv-white);
  position: relative;
  z-index: 1;
}

.pv-tracking-step.is-done .pv-tracking-step__dot {
  background: var(--pv-green);
  border-color: var(--pv-green);
  color: var(--pv-white);
}

.pv-tracking-step.is-current .pv-tracking-step__dot {
  background: var(--pv-cyan);
  border-color: var(--pv-cyan);
  color: var(--pv-white);
}

.pv-tracking-step__body {
  flex: 1;
  padding-top: 0.25rem;
}

.pv-tracking-step__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pv-navy);
  margin-bottom: 0.25rem;
}

.pv-tracking-step.is-pending .pv-tracking-step__label {
  color: var(--pv-muted);
}

.pv-tracking-step__time {
  font-size: 0.8125rem;
  color: var(--pv-muted);
}

.pv-tracking-step__desc {
  font-size: 0.875rem;
  color: var(--pv-muted);
  margin-top: 0.375rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   42. pv-static-page
   -------------------------------------------------------------------------- */
.pv-static-page {
  padding-block: 2rem 4rem;
}

.pv-static-page__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .pv-static-page__layout {
    grid-template-columns: 220px 1fr;
  }
}

.pv-static-page__sidebar {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.pv-static-page__sidebar-title {
  padding: 0.875rem 1.125rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pv-navy);
  border-bottom: 1px solid var(--pv-border);
  background: var(--pv-bg);
}

.pv-static-page__sidebar-link {
  display: block;
  padding: 0.75rem 1.125rem;
  font-size: 0.875rem;
  color: var(--pv-ink);
  border-bottom: 1px solid var(--pv-border);
  transition: background var(--pv-transition), color var(--pv-transition);
}

.pv-static-page__sidebar-link:last-child {
  border-bottom: none;
}

.pv-static-page__sidebar-link:hover,
.pv-static-page__sidebar-link.is-active {
  background: var(--pv-cyan-light);
  color: var(--pv-cyan-deep);
}

.pv-static-page__content {
  background: var(--pv-white);
  border-radius: var(--pv-radius-card);
  border: 1px solid var(--pv-border);
  padding: 2rem;
}

.pv-static-page__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pv-border);
}

/* --------------------------------------------------------------------------
   43. pv-footer
   -------------------------------------------------------------------------- */
.pv-footer {
  background: var(--pv-navy);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3rem;
  margin-top: 4rem;
}

.pv-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 480px) {
  .pv-footer__main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .pv-footer__main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pv-footer__main {
    grid-template-columns: 2.5fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.pv-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pv-footer__logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--pv-white);
  text-decoration: none;
}

.pv-footer__logo span {
  color: var(--pv-cyan);
}

.pv-footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
}

.pv-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pv-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.pv-footer__contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--pv-cyan);
  flex-shrink: 0;
}

.pv-footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pv-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--pv-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background var(--pv-transition), color var(--pv-transition);
}

.pv-footer__social-link:hover {
  background: var(--pv-cyan);
  color: var(--pv-white);
}

.pv-footer__col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pv-white);
  margin-bottom: 1rem;
}

.pv-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pv-footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--pv-transition), padding-right var(--pv-transition);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.pv-footer__link::before {
  content: '›';
  color: var(--pv-cyan);
  font-size: 1rem;
}

.pv-footer__link:hover {
  color: var(--pv-white);
  padding-right: 4px;
}

.pv-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pv-footer__trust-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--pv-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color var(--pv-transition);
}

.pv-footer__trust-badge:hover {
  border-color: var(--pv-cyan);
}

.pv-footer__trust-badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.3) brightness(1.1);
}

.pv-footer__bottom {
  padding-block: 1.25rem;
}

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

.pv-footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

.pv-footer__bottom-links {
  display: flex;
  gap: 1.25rem;
}

.pv-footer__bottom-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color var(--pv-transition);
}

.pv-footer__bottom-link:hover {
  color: var(--pv-cyan);
}

/* --------------------------------------------------------------------------
   44. pv-empty-state
   -------------------------------------------------------------------------- */
.pv-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  min-height: 320px;
}

.pv-empty-state__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--pv-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--pv-muted);
}

.pv-empty-state__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pv-navy);
  margin-bottom: 0.5rem;
}

.pv-empty-state__desc {
  font-size: 0.9375rem;
  color: var(--pv-muted);
  line-height: 1.65;
  max-width: 360px;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   45. pv-cmyk-dots
   -------------------------------------------------------------------------- */
.pv-cmyk-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pv-cmyk-dots__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pv-cmyk-dots__dot--c { background: var(--pv-accent-cyan); }
.pv-cmyk-dots__dot--m { background: var(--pv-accent-magenta); }
.pv-cmyk-dots__dot--y { background: var(--pv-accent-yellow); }
.pv-cmyk-dots__dot--k { background: #1a1a1a; }

.pv-cmyk-dots--sm .pv-cmyk-dots__dot {
  width: 7px;
  height: 7px;
}

.pv-cmyk-dots--lg .pv-cmyk-dots__dot {
  width: 14px;
  height: 14px;
}

/* CMYK Registration Cross */
.pv-cmyk-cross {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pv-cmyk-cross::before,
.pv-cmyk-cross::after {
  content: '';
  position: absolute;
  background: var(--pv-ink);
  border-radius: 1px;
}

.pv-cmyk-cross::before {
  width: 2px;
  height: 100%;
}

.pv-cmyk-cross::after {
  width: 100%;
  height: 2px;
}

.pv-cmyk-cross__circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--pv-ink);
  position: relative;
  z-index: 1;
  background: transparent;
}

/* --------------------------------------------------------------------------
   46. pv-chip
   -------------------------------------------------------------------------- */
.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  background: var(--pv-bg);
  border: 1px solid var(--pv-border);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pv-navy);
  text-decoration: none;
  transition: all var(--pv-transition);
  white-space: nowrap;
  cursor: default;
}

.pv-chip--link {
  cursor: pointer;
}

.pv-chip--link:hover {
  background: var(--pv-cyan-light);
  border-color: var(--pv-cyan);
  color: var(--pv-cyan-deep);
}

.pv-chip--active {
  background: var(--pv-cyan);
  border-color: var(--pv-cyan);
  color: var(--pv-white);
}

.pv-chip--active .pv-chip__remove {
  color: rgba(255, 255, 255, 0.7);
}

.pv-chip__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--pv-muted);
  cursor: pointer;
  transition: color var(--pv-transition);
}

.pv-chip__remove:hover {
  color: var(--pv-red);
}

.pv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Utility / Misc
   -------------------------------------------------------------------------- */
.pv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pv-divider {
  height: 1px;
  background: var(--pv-border);
  margin-block: 1.5rem;
}

.pv-divider--dashed {
  border-top: 1px dashed var(--pv-border);
  background: none;
}

.pv-spacer { flex: 1; }

.pv-text-start { text-align: right; }
.pv-text-end   { text-align: left; }
.pv-text-center{ text-align: center; }

.pv-mt-auto { margin-top: auto; }
.pv-mb-0    { margin-bottom: 0; }

/* Skeleton loading */
@keyframes pv-skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.pv-skeleton {
  background: var(--pv-border);
  border-radius: var(--pv-radius-sm);
  animation: pv-skeleton-pulse 1.5s ease-in-out infinite;
}

/* Pagination */
.pv-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pv-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--pv-radius-sm);
  border: 1.5px solid var(--pv-border);
  background: var(--pv-white);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--pv-font);
  color: var(--pv-navy);
  cursor: pointer;
  transition: all var(--pv-transition);
  text-decoration: none;
}

.pv-pagination__btn:hover {
  border-color: var(--pv-cyan);
  color: var(--pv-cyan);
  background: var(--pv-cyan-light);
}

.pv-pagination__btn.is-active {
  background: var(--pv-cyan);
  border-color: var(--pv-cyan);
  color: var(--pv-white);
}

.pv-pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pv-pagination__ellipsis {
  color: var(--pv-muted);
  font-size: 0.9rem;
  padding-inline: 0.25rem;
}

/* Alert / Notice */
.pv-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--pv-radius-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  border-width: 1px;
  border-style: solid;
}

.pv-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pv-alert--info {
  background: var(--pv-cyan-light);
  border-color: rgba(0, 167, 217, 0.3);
  color: var(--pv-cyan-deep);
}

.pv-alert--success {
  background: #F0FDF4;
  border-color: #86EFAC;
  color: #15803D;
}

.pv-alert--warning {
  background: #FFFBEB;
  border-color: #FDE68A;
  color: #92400E;
}

.pv-alert--error {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #991B1B;
}

/* Back to top */
.pv-back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pv-navy);
  color: var(--pv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--pv-transition), visibility var(--pv-transition),
    transform var(--pv-transition), background var(--pv-transition);
  box-shadow: var(--pv-shadow-md);
  z-index: 100;
  border: none;
}

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

.pv-back-to-top:hover {
  background: var(--pv-cyan);
}

/* --------------------------------------------------------------------------
   Responsive Refinements
   -------------------------------------------------------------------------- */

/* 360px — very small phones */
@media (max-width: 360px) {
  .pv-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pv-product-card__add-btn {
    font-size: 0.8125rem;
    padding: 0.55rem 0.75rem;
  }

  .pv-footer__main {
    grid-template-columns: 1fr;
  }
}

/* 768px — tablets */
@media (min-width: 768px) {
  .pv-hero__card {
    padding: 2.5rem 2rem;
  }

  .pv-section__title {
    font-size: 1.375rem;
  }

  .pv-product-panel {
    padding: 2rem;
  }

  .pv-cart-item {
    grid-template-columns: 120px 1fr;
  }

  .pv-checkout-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pv-order-success-page__status-card {
    padding: 3rem 2.5rem;
  }
}

/* 1024px — desktop */
@media (min-width: 1024px) {
  .pv-hero {
    padding-block: 3rem;
  }

  .pv-product-gallery {
    top: 80px;
  }

  .pv-cart-summary {
    top: 80px;
  }

  .pv-filter-sidebar {
    top: 80px;
  }

  .pv-product-description__prose {
    padding: 2rem;
  }
}

/* 1280px — wide */
@media (min-width: 1280px) {
  .pv-container {
    padding-inline: 2rem;
  }

  .pv-hero__title {
    font-size: 2.25rem;
  }

  .pv-footer__main {
    gap: 4rem;
  }
}

/* Print */
@media print {
  .pv-topbar,
  .pv-header,
  .pv-nav,
  .pv-mobile-header,
  .pv-search-bar,
  .pv-footer,
  .pv-back-to-top,
  .pv-toast-container,
  .pv-drawer,
  .pv-drawer-overlay,
  .pv-filter-drawer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .pv-product-page__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================================================== 
   SHOPMAKER COMPATIBILITY LAYER — PRINTIVA FINAL
   This layer maps the production PHP markup to the original Figma visual system.
   ========================================================================== */

/* Core helpers */
.pv-icon { width: 1.25rem; height: 1.25rem; display: inline-block; flex: 0 0 auto; }
.pv-icon--xs { width: .85rem; height: .85rem; }
.pv-icon--sm, .pv-icon-sm { width: 1rem; height: 1rem; }
.pv-container--narrow { max-width: 780px; }
.pv-container--content { max-width: 980px; }
.pv-page-title { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.35; color: var(--pv-navy); font-weight: 800; margin: 0 0 1.25rem; }
.pv-muted { color: var(--pv-muted); }
.pv-link { color: var(--pv-cyan-deep); font-weight: 600; }
.pv-line-clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pv-grid-4, .pv-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }

/* Button aliases used by production templates */
.pv-btn--primary { background: var(--pv-cyan); color: var(--pv-white); border-color: var(--pv-cyan); }
.pv-btn--primary:hover:not(:disabled) { background: var(--pv-cyan-deep); border-color: var(--pv-cyan-deep); color: var(--pv-white); }
.pv-btn--secondary { background: var(--pv-navy); color: var(--pv-white); border-color: var(--pv-navy); }
.pv-btn--secondary:hover:not(:disabled) { background: #1a3657; color: var(--pv-white); }
.pv-btn--outline { background: var(--pv-white); color: var(--pv-navy); border-color: var(--pv-border); }
.pv-btn--outline:hover:not(:disabled) { border-color: var(--pv-cyan); color: var(--pv-cyan-deep); background: var(--pv-cyan-light); }
.pv-btn--ghost { background: transparent; color: var(--pv-navy); border-color: transparent; }
.pv-btn--ghost:hover:not(:disabled) { background: var(--pv-bg); color: var(--pv-cyan-deep); }
.pv-btn--danger { color: var(--pv-red); }
.pv-btn--danger:hover:not(:disabled) { background: #fef2f2; color: var(--pv-red); }
.pv-btn--sm { min-height: 36px; padding: .45rem .8rem; font-size: .82rem; }
.pv-btn--lg { min-height: 48px; padding: .75rem 1.2rem; font-size: .95rem; }
.pv-btn--block { width: 100%; }
.pv-btn--disabled { opacity: .55; pointer-events: none; }

/* Badges */
.pv-badge { display: inline-flex; align-items: center; justify-content: center; gap: .25rem; border-radius: 999px; padding: .25rem .6rem; font-size: .75rem; font-weight: 750; white-space: nowrap; }
.pv-badge--discount, .pv-badge--danger, .pv-badge--no { background: #fef2f2; color: #b91c1c; }
.pv-badge--oos, .pv-badge--neutral { background: #f3f4f6; color: #4b5563; }
.pv-badge--success, .pv-badge--ok { background: #f0fdf4; color: #15803d; }
.pv-badge--warning, .pv-badge--warn { background: #fffbeb; color: #92400e; }
.pv-badge--info { background: var(--pv-cyan-light); color: var(--pv-cyan-deep); }
.pv-badge--fire { background: transparent; padding: 0; font-size: 1.1rem; }

/* Top bar + header search */
.pv-topbar__message { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-topbar__links { display: flex; align-items: center; gap: 1rem; }
.pv-topbar__link { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.82); font-size: .78rem; }
.pv-topbar__link:hover { color: #fff; }
.pv-search-form { flex: 1; max-width: 650px; display: flex; align-items: stretch; border: 1.5px solid var(--pv-border); border-radius: var(--pv-radius-btn); overflow: hidden; background: var(--pv-bg); transition: border-color var(--pv-transition), box-shadow var(--pv-transition); }
.pv-search-form:focus-within { border-color: var(--pv-cyan); box-shadow: 0 0 0 3px rgba(0,167,217,.12); }
.pv-search-form__inner { width: 100%; display: flex; align-items: stretch; }
.pv-search-form__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .7rem 1rem; text-align: right; color: var(--pv-ink); font-size: .92rem; }
.pv-search-form__btn { min-width: 48px; padding: .65rem .95rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; background: var(--pv-cyan); color: #fff; }
.pv-search-form__btn:hover { background: var(--pv-cyan-deep); color: #fff; }
.pv-search-form--lg { max-width: 760px; margin-inline: auto; }
.pv-search-form--mobile { max-width: none; width: 100%; }
.pv-cart-badge { min-width: 19px; height: 19px; padding-inline: 4px; border-radius: 999px; background: var(--pv-accent-magenta); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 800; line-height: 1; }

/* Desktop navigation and click-only mega menu */
.pv-nav__cat-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1rem; background: var(--pv-navy); color: #fff; font-size: .88rem; font-weight: 700; min-width: 190px; }
.pv-nav__cat-btn:hover { background: var(--pv-cyan-deep); }
.pv-nav__cat-chevron { transition: transform var(--pv-transition); }
.pv-nav__cat-btn[aria-expanded="true"] .pv-nav__cat-chevron { transform: rotate(180deg); }
.pv-nav__links { display: flex; align-items: stretch; }
.pv-mega-menu { left: 0; right: 0; width: 100%; min-width: 0; border-radius: 0 0 var(--pv-radius-card) var(--pv-radius-card); }
.pv-mega-menu[hidden] { display: none !important; }
.pv-mega-menu.is-open { display: block; }
.pv-mega-menu__inner { min-height: 300px; max-height: min(68vh,560px); display: grid; grid-template-columns: minmax(210px,250px) 1fr; padding: 0; overflow: hidden; }
.pv-mega-parents { overflow: auto; background: var(--pv-bg); border-left: 1px solid var(--pv-border); padding: .5rem; }
.pv-mega-parents__item { margin-bottom: .2rem; }
.pv-mega-parents__btn { width: 100%; display: flex; align-items: center; gap: .55rem; text-align: right; padding: .65rem .7rem; border-radius: 9px; color: var(--pv-navy); font-size: .86rem; }
.pv-mega-parents__item.is-active .pv-mega-parents__btn, .pv-mega-parents__btn:hover { background: #fff; color: var(--pv-cyan-deep); box-shadow: var(--pv-shadow-sm); }
.pv-mega-parents__icon, .pv-mega-parents__icon-fallback { width: 24px; height: 24px; object-fit: contain; }
.pv-mega-parents__arrow { margin-right: auto; }
.pv-mega-children { min-width: 0; overflow: auto; padding: 1.1rem 1.25rem; }
.pv-children-panel { display: none; }
.pv-children-panel.is-active { display: block; }
.pv-children-panel__head { padding-bottom: .8rem; margin-bottom: .7rem; border-bottom: 1px solid var(--pv-border); }
.pv-children-panel__parent-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--pv-navy); }
.pv-children-panel__list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem .8rem; }
.pv-children-panel__link { display: block; padding: .55rem .65rem; border-radius: 8px; font-size: .86rem; color: #374151; }
.pv-children-panel__link:hover { background: var(--pv-cyan-light); color: var(--pv-cyan-deep); }
.pv-children-panel__empty { color: var(--pv-muted); font-size: .86rem; padding: .6rem; }

/* Mobile header/drawer aliases */
.pv-mobile-header__menu-btn, .pv-mobile-header__cart-btn { position: relative; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--pv-navy); background: var(--pv-bg); }
.pv-mobile-header__logo { display: flex; align-items: center; justify-content: center; min-width: 0; }
.pv-mobile-header__logo-img { max-height: 36px; width: auto; object-fit: contain; }
.pv-mobile-header__logo-text { font-size: 1.2rem; font-weight: 850; color: var(--pv-navy); }
.pv-mobile-header__cart-btn .pv-cart-badge { position: absolute; top: -3px; left: -3px; }
.pv-drawer-overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.pv-drawer__brand { font-size: 1.1rem; font-weight: 800; color: var(--pv-navy); }
.pv-drawer__section { padding: 1rem; border-bottom: 1px solid var(--pv-border); }
.pv-drawer__section-title { font-size: .8rem; color: var(--pv-muted); margin-bottom: .65rem; }
.pv-drawer-accordion__btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .65rem; border-radius: 9px; font-size: .9rem; color: var(--pv-navy); text-align: right; }
.pv-drawer-accordion__btn:hover { background: var(--pv-bg); }
.pv-drawer-accordion__chevron { transition: transform var(--pv-transition); }
.pv-drawer-accordion__item.is-open .pv-drawer-accordion__chevron { transform: rotate(180deg); }
.pv-drawer-accordion__children { padding: .25rem .8rem .55rem 0; }
.pv-drawer-accordion__child-link { display: block; padding: .55rem .65rem; color: #4b5563; font-size: .84rem; border-right: 2px solid var(--pv-border); }
.pv-drawer-accordion__child-link:hover, .pv-drawer-accordion__child-link--all { color: var(--pv-cyan-deep); border-right-color: var(--pv-cyan); }
.pv-drawer__links { display: grid; gap: .2rem; }
.pv-drawer__link { display: flex; align-items: center; gap: .5rem; padding: .65rem; border-radius: 9px; font-size: .87rem; }
.pv-drawer__link:hover { background: var(--pv-bg); }

/* Homepage category/product grids */
.pv-category-card__body { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .8rem .9rem; border-top: 1px solid var(--pv-border); }
.pv-category-card__svg-fallback { width: 64px; height: 64px; color: var(--pv-cyan-deep); }
.pv-category-card__arrow { width: 18px; height: 18px; color: var(--pv-muted); }
.pv-section__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pv-section__more { display: inline-flex; align-items: center; gap: .3rem; font-size: .84rem; color: var(--pv-cyan-deep); white-space: nowrap; }

/* Production product card aliases */
.pv-product-card__image-ratio { aspect-ratio: 1 / .82; display: flex; align-items: center; justify-content: center; padding: .8rem; }
.pv-product-card__old-price { color: var(--pv-muted); text-decoration: line-through; font-size: .78rem; }
.pv-product-card__price-wrap { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }
.pv-product-card__title-link { color: inherit; }
.pv-product-card__price--discounted { color: var(--pv-red); }
.pv-product-card__price--oos { color: var(--pv-muted); }
.pv-product-card__cart-form { margin: 0; }
.pv-product-card__cart-btn { width: 39px; height: 39px; padding: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--pv-navy); color: #fff; }
.pv-product-card__cart-btn:hover { background: var(--pv-cyan); color: #fff; }

/* Product detail */
.pv-product-panel__short-desc { color: #4b5563; line-height: 1.8; font-size: .9rem; }
.pv-product-panel__discount-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .35rem; }
.pv-product-panel__stock-wrap { margin-top: .75rem; }
.pv-product-panel__cart-section { margin-top: 1rem; }
.pv-product-panel__submit-btn { flex: 1; }
.pv-product-panel__oos { margin-top: 1rem; }
.pv-product-panel__notes { display: grid; gap: .45rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--pv-border); }
.pv-product-panel__note { display: flex; align-items: flex-start; gap: .5rem; color: var(--pv-muted); font-size: .8rem; }
.pv-qty-control { display: flex; align-items: center; border: 1px solid var(--pv-border); border-radius: 10px; overflow: hidden; background: #fff; }
.pv-qty-control__btn { width: 42px; height: 46px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--pv-navy); }
.pv-qty-control__btn:hover:not(:disabled) { background: var(--pv-cyan-light); }
.pv-qty-control__btn:disabled { opacity: .4; cursor: not-allowed; }
.pv-qty-control__input { width: 50px; height: 46px; border: 0; border-inline: 1px solid var(--pv-border); text-align: center; outline: 0; appearance: textfield; }
.pv-product-description { margin-top: 2rem; }
.pv-product-description__tabs { display: flex; gap: .4rem; border-bottom: 1px solid var(--pv-border); }
.pv-product-description__tab { padding: .75rem 1rem; border-bottom: 2px solid var(--pv-cyan); font-weight: 700; color: var(--pv-navy); }
.pv-product-description__prose { background: #fff; border: 1px solid var(--pv-border); border-top: 0; border-radius: 0 0 var(--pv-radius-card) var(--pv-radius-card); padding: clamp(1rem,3vw,2rem); }

/* Rich admin content */
.pv-rich-content, .pv-product-description__prose { line-height: 1.9; color: #374151; }
.pv-rich-content > * + *, .pv-product-description__prose > * + * { margin-top: 1rem; }
.pv-rich-content h2, .pv-rich-content h3, .pv-product-description__prose h2, .pv-product-description__prose h3 { color: var(--pv-navy); line-height: 1.5; margin-top: 1.5rem; }
.pv-rich-content ul, .pv-rich-content ol, .pv-product-description__prose ul, .pv-product-description__prose ol { list-style: revert; padding-right: 1.3rem; }
.pv-rich-content img, .pv-rich-content video, .pv-product-description__prose img, .pv-product-description__prose video { max-width: 100%; height: auto; border-radius: 10px; }
.pv-rich-content table, .pv-product-description__prose table { min-width: 560px; }
.pv-rich-content table, .pv-rich-content iframe, .pv-product-description__prose table, .pv-product-description__prose iframe { max-width: 100%; }
.pv-rich-content { overflow-wrap: anywhere; }
.pv-rich-content > table, .pv-product-description__prose > table { display: block; overflow-x: auto; }

/* Category and Search */
.pv-category-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 1rem 0; padding: 1.2rem 1.35rem; background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); }
.pv-category-header__title { color: var(--pv-navy); font-size: clamp(1.35rem,3vw,1.8rem); margin-bottom: .2rem; }
.pv-category-header__desc { color: var(--pv-muted); font-size: .86rem; }
.pv-category-header__count { white-space: nowrap; color: var(--pv-muted); font-size: .82rem; }
.pv-chip-list { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pv-chip-list .pv-chip { cursor: pointer; }
.pv-category-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 1.2rem; align-items: start; }
.pv-product-area { min-width: 0; }
.pv-filter-form { display: grid; gap: .9rem; }
.pv-filter-group { display: grid; gap: .45rem; }
.pv-filter-group__label, .pv-filter-bar__label { color: var(--pv-navy); font-size: .8rem; font-weight: 700; }
.pv-price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4rem; }
.pv-price-range__sep { color: var(--pv-muted); }
.pv-checkbox { display: inline-flex; align-items: center; gap: .45rem; font-size: .84rem; cursor: pointer; }
.pv-checkbox input { accent-color: var(--pv-cyan); }
.pv-filter-reset { font-size: .8rem; color: var(--pv-red); }
.pv-filter-bar { display: flex; align-items: flex-end; flex-wrap: wrap; gap: .75rem; padding: .8rem; margin-bottom: 1rem; background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); }
.pv-filter-bar__group { display: grid; gap: .3rem; }
.pv-filter-bar__group--price { min-width: 260px; }
.pv-filter-bar__group--check { align-self: center; }
.pv-mobile-filter-bar { display: none; align-items: center; justify-content: space-between; gap: .65rem; margin: .8rem 0; }
.pv-mobile-filter-bar__count { color: var(--pv-muted); font-size: .8rem; margin-right: auto; }
.pv-filter-badge { font-size: .72rem; background: var(--pv-cyan-light); color: var(--pv-cyan-deep); border-radius: 999px; padding: .2rem .5rem; }
.pv-search-hero { text-align: center; padding: 2rem 0 1.2rem; }
.pv-search-hero__title { color: var(--pv-navy); font-size: clamp(1.4rem,3vw,2rem); margin-bottom: .55rem; }
.pv-search-hero__query { color: var(--pv-cyan-deep); }
.pv-search-hero__subtitle { color: var(--pv-muted); margin-bottom: 1rem; }
.pv-results-count { margin: .3rem 0 1rem; color: var(--pv-muted); font-size: .84rem; }

/* Mobile filter drawer production structure */
.pv-filter-drawer { inset: 0; transform: none; background: transparent; max-height: none; border-radius: 0; z-index: 1000; pointer-events: none; }
.pv-filter-drawer[hidden] { display: none !important; }
.pv-filter-drawer.is-open { display: block; pointer-events: auto; }
.pv-filter-drawer__backdrop { position: fixed; inset: 0; background: rgba(16,37,63,.48); opacity: 0; transition: opacity var(--pv-transition); }
.pv-filter-drawer__backdrop.is-visible { opacity: 1; }
.pv-filter-drawer__panel { position: fixed; bottom: 0; right: 0; left: 0; max-height: 84vh; overflow: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 1rem; box-shadow: var(--pv-shadow-lg); transform: translateY(100%); transition: transform .25s ease; }
.pv-filter-drawer.is-open .pv-filter-drawer__panel { transform: translateY(0); }
.pv-filter-drawer__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--pv-border); }
.pv-filter-drawer__title { font-size: 1rem; color: var(--pv-navy); }
.pv-filter-drawer__close { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--pv-bg); }
.pv-filter-drawer__form { padding-top: .9rem; }
.pv-filter-drawer__actions { display: grid; gap: .5rem; margin-top: .4rem; }

/* Forms */
.pv-form-section { border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); background: #fff; padding: 1.1rem; }
.pv-form-section + .pv-form-section { margin-top: 1rem; }
.pv-form-section__legend { width: 100%; color: var(--pv-navy); font-weight: 800; font-size: .95rem; margin-bottom: .8rem; }
.pv-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.pv-form-label { display: block; color: var(--pv-navy); font-size: .8rem; font-weight: 700; margin-bottom: .35rem; }
.pv-form-required { color: var(--pv-red); }
.pv-form-control { width: 100%; min-height: 44px; border: 1.5px solid var(--pv-border); border-radius: 9px; padding: .65rem .75rem; background: #fff; color: var(--pv-ink); outline: 0; text-align: right; }
textarea.pv-form-control { min-height: 100px; resize: vertical; }
.pv-form-control:focus { border-color: var(--pv-cyan); box-shadow: 0 0 0 3px rgba(0,167,217,.1); }
.pv-form-control--narrow { min-width: 130px; }
.pv-form-hint, .pv-form-hint-inline { color: var(--pv-muted); font-size: .72rem; margin-top: .3rem; }

/* Cart */
.pv-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 1.2rem; align-items: start; }
.pv-cart-items-col { min-width: 0; }
.pv-cart-item { display: grid; grid-template-columns: 100px minmax(0,1fr) auto auto 40px; align-items: center; gap: 1rem; }
.pv-cart-item__image-wrap { width: 100px; height: 92px; border-radius: 10px; border: 1px solid var(--pv-border); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pv-cart-item__image { width: 100%; height: 100%; object-fit: contain; padding: .4rem; }
.pv-cart-item__info { min-width: 0; }
.pv-cart-item__unit-price { display: flex; flex-wrap: wrap; gap: .35rem; color: var(--pv-muted); font-size: .78rem; margin-top: .35rem; }
.pv-cart-item__price-value { color: var(--pv-navy); font-weight: 700; }
.pv-cart-item__line-total { color: var(--pv-navy); font-weight: 800; white-space: nowrap; }
.pv-cart-item__remove { margin: 0; }
.pv-cart-item__remove-btn { width: 36px; height: 36px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: var(--pv-red); }
.pv-cart-item__remove-btn:hover { background: #fef2f2; }
.pv-qty-stepper { display: grid; grid-template-columns: 34px 48px 34px; align-items: stretch; border: 1px solid var(--pv-border); border-radius: 9px; overflow: hidden; background: #fff; }
.pv-qty-stepper__btn { display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--pv-navy); }
.pv-qty-stepper__btn:hover { background: var(--pv-cyan-light); }
.pv-qty-stepper__input { width: 48px; min-width: 0; border: 0; border-inline: 1px solid var(--pv-border); text-align: center; outline: 0; }
.pv-cart-actions { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: .8rem; }
.pv-cart-summary-col { min-width: 0; }
.pv-sticky-summary { position: sticky; top: 135px; }
.pv-cart-summary__rows { margin-bottom: 1rem; }
.pv-cart-summary__row--total { margin-top: .7rem; padding-top: .8rem; border-top: 1px solid var(--pv-border); }
.pv-cart-summary__value--total { color: var(--pv-cyan-deep); font-size: 1.05rem; }
.pv-cart-summary__continue { display: block; text-align: center; margin-top: .75rem; font-size: .82rem; color: var(--pv-muted); }

/* Checkout */
.pv-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 1.2rem; align-items: start; }
.pv-checkout-form-col { min-width: 0; }
.pv-checkout-form { display: grid; gap: 1rem; }
.pv-checkout-summary { position: sticky; top: 135px; }
.pv-order-summary-card { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); overflow: hidden; }
.pv-order-summary-card__title { padding: 1rem; border-bottom: 1px solid var(--pv-border); color: var(--pv-navy); font-size: 1rem; }
.pv-order-summary-card__items { padding: .5rem 1rem; display: grid; gap: .2rem; }
.pv-order-summary-card__item { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; gap: .65rem; padding: .6rem 0; border-bottom: 1px dashed var(--pv-border); }
.pv-order-summary-card__item:last-child { border-bottom: 0; }
.pv-order-summary-card__item-img { width: 58px; height: 58px; object-fit: contain; border-radius: 8px; border: 1px solid var(--pv-border); }
.pv-order-summary-card__item-info { min-width: 0; }
.pv-order-summary-card__item-title { font-size: .8rem; color: var(--pv-navy); }
.pv-order-summary-card__item-qty { font-size: .72rem; color: var(--pv-muted); }
.pv-order-summary-card__item-price { font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pv-order-summary-card__divider { height: 1px; background: var(--pv-border); }
.pv-order-summary-card__total { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem; }
.pv-order-summary-card__total-label { color: var(--pv-muted); }
.pv-order-summary-card__total-value { color: var(--pv-cyan-deep); font-size: 1.05rem; font-weight: 850; }
.pv-checkout-submit { display: grid; gap: .5rem; }
.pv-checkout-submit__note { color: var(--pv-muted); font-size: .74rem; text-align: center; }

/* Order success */
.pv-order-success-page { padding-block: 1.5rem 3rem; }
.pv-order-status-card { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); padding: 1.3rem; margin-bottom: 1rem; box-shadow: var(--pv-shadow-sm); }
.pv-order-status-card__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--pv-cyan-light); color: var(--pv-cyan-deep); margin-bottom: .7rem; }
.pv-order-status-card__title { color: var(--pv-navy); font-size: 1.25rem; margin-bottom: .6rem; }
.pv-order-status-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pv-order-status-card__code { display: flex; align-items: center; gap: .45rem; }
.pv-order-status-card__code-label { color: var(--pv-muted); font-size: .78rem; }
.pv-order-status-card__code-value { font-weight: 800; color: var(--pv-navy); }
.pv-order-status-card__badges { display: flex; gap: .45rem; flex-wrap: wrap; }
.pv-order-status-card__total { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--pv-border); font-weight: 800; color: var(--pv-navy); }
.pv-order-success-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 1rem; align-items: start; }
.pv-order-success-main, .pv-order-success-side { display: grid; gap: 1rem; }
.pv-order-detail-section, .pv-payment-section { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); padding: 1rem; }
.pv-order-detail-section__title, .pv-payment-section__title { color: var(--pv-navy); font-size: .96rem; margin-bottom: .8rem; }
.pv-table-wrap { overflow-x: auto; }
.pv-order-items-table { min-width: 560px; font-size: .82rem; }
.pv-order-items-table th { text-align: right; color: var(--pv-muted); font-weight: 600; background: var(--pv-bg); }
.pv-order-items-table th, .pv-order-items-table td { padding: .7rem; border-bottom: 1px solid var(--pv-border); }
.pv-info-list { display: grid; gap: .2rem; }
.pv-info-list__row { display: grid; grid-template-columns: 110px 1fr; gap: .6rem; padding: .5rem 0; border-bottom: 1px dashed var(--pv-border); }
.pv-info-list__label { color: var(--pv-muted); font-size: .78rem; }
.pv-info-list__value { color: var(--pv-navy); font-size: .84rem; }
.pv-payment-section__desc { color: var(--pv-muted); font-size: .8rem; margin-bottom: .7rem; }
.pv-payment-gateways { display: grid; gap: .55rem; }
.pv-payment-card { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.pv-payment-card__icon-placeholder { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--pv-cyan-light); color: var(--pv-cyan-deep); }
.pv-payment-card__info { min-width: 0; }
.pv-payment-card__name { margin: 0; }
.pv-payment-success-state, .pv-payment-empty-state { text-align: center; padding: 1rem .5rem; }
.pv-payment-success-state__icon, .pv-payment-empty-state__icon { width: 50px; height: 50px; margin: 0 auto .6rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f0fdf4; color: #15803d; }
.pv-payment-empty-state__icon { background: var(--pv-bg); color: var(--pv-muted); }
.pv-payment-success-state__title, .pv-payment-empty-state__title { color: var(--pv-navy); font-size: 1rem; margin-bottom: .3rem; }
.pv-payment-success-state__desc, .pv-payment-empty-state__desc { color: var(--pv-muted); font-size: .78rem; }

/* Payment result + shared result details/items */
.pv-result-card { background: #fff; border: 1px solid var(--pv-border); border-radius: 18px; padding: clamp(1.2rem,4vw,2rem); text-align: center; box-shadow: var(--pv-shadow-md); }
.pv-result-card--success { border-top: 3px solid var(--pv-green); }
.pv-result-card--failure { border-top: 3px solid var(--pv-red); }
.pv-result-card__icon { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pv-result-card__icon svg { width: 40px; height: 40px; }
.pv-result-card__icon--success { background: #f0fdf4; color: var(--pv-green); }
.pv-result-card__icon--failure { background: #fef2f2; color: var(--pv-red); }
.pv-result-card__title { color: var(--pv-navy); font-size: 1.4rem; margin-bottom: .35rem; }
.pv-result-card__subtitle { color: var(--pv-muted); line-height: 1.8; font-size: .86rem; }
.pv-result-details { margin-top: 1rem; background: var(--pv-bg); border-radius: 12px; padding: .4rem .9rem; text-align: right; }
.pv-result-details__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--pv-border); }
.pv-result-details__row:last-child { border-bottom: 0; }
.pv-result-details__label { color: var(--pv-muted); font-size: .78rem; }
.pv-result-details__value { color: var(--pv-navy); font-size: .84rem; font-weight: 700; text-align: left; }
.pv-result-details__value--mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.pv-result-details__value--muted { color: #4b5563; font-weight: 500; }
.pv-result-items { margin-top: 1rem; text-align: right; }
.pv-result-items__title, .pv-tracking-result-card__items-title { color: var(--pv-navy); font-size: .9rem; margin-bottom: .45rem; }
.pv-result-items__list { display: grid; gap: .2rem; }
.pv-result-items__item { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: .65rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--pv-border); font-size: .8rem; }
.pv-result-items__item-title { min-width: 0; color: var(--pv-navy); }
.pv-result-items__item-meta { color: var(--pv-muted); }
.pv-result-items__item-price { white-space: nowrap; font-weight: 750; color: var(--pv-navy); }
.pv-result-card__actions { display: grid; gap: .5rem; margin-top: 1.1rem; }

/* Tracking */
.pv-tracking-hero { text-align: center; margin: .5rem 0 1rem; }
.pv-tracking-hero__eyebrow, .pv-tracking-result-card__eyebrow { color: var(--pv-cyan-deep); font-size: .74rem; font-weight: 800; }
.pv-tracking-hero .pv-page-title { margin: .25rem 0 .3rem; }
.pv-tracking-hero p { color: var(--pv-muted); font-size: .84rem; }
.pv-tracking-form-wrap { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); padding: 1rem; margin-bottom: 1rem; }
.pv-tracking-form { display: grid; gap: .8rem; }
.pv-tracking-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.pv-tracking-result-card { background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); padding: 1rem; box-shadow: var(--pv-shadow-sm); }
.pv-tracking-result-card__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--pv-border); }
.pv-tracking-result-card__title { color: var(--pv-navy); font-size: 1rem; margin-top: .15rem; }
.pv-tracking-result-card__meta { margin-top: .75rem; }
.pv-tracking-result-card__items { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--pv-border); }

/* Static page */
.pv-static-page-wrapper { padding-block: 1.5rem 3rem; }
.pv-static-page__content { padding: clamp(1rem,4vw,2rem); }
.pv-static-page__content .pv-page-title { padding-bottom: .8rem; border-bottom: 1px solid var(--pv-border); }

/* Footer production markup */
.pv-trust-bar { background: #fff; border-top: 1px solid var(--pv-border); padding: 1rem 0; }
.pv-trust-bar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.pv-footer__grid { display: grid; grid-template-columns: 1.35fr repeat(3,minmax(0,1fr)); gap: clamp(1rem,3vw,2rem); padding-block: 2.2rem; }
.pv-footer__logo-link { display: inline-flex; margin-bottom: .8rem; }
.pv-footer__logo-img { max-width: 145px; max-height: 50px; object-fit: contain; }
.pv-footer__logo-text { color: #fff; font-weight: 850; font-size: 1.3rem; }
.pv-footer__empty { color: rgba(255,255,255,.48); font-size: .8rem; }
.pv-footer__contact-link { color: inherit; }
.pv-footer__address { font-style: normal; line-height: 1.7; }
.pv-copyright-bar { background: #0b1a2d; color: rgba(255,255,255,.5); }
.pv-copyright-bar__inner { padding-block: 1rem; }
.pv-copyright-bar__text { text-align: center; font-size: .78rem; }

/* Responsive production layer */
@media (max-width: 1023px) {
  .pv-grid-4, .pv-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pv-category-layout, .pv-cart-layout, .pv-checkout-layout, .pv-order-success-layout { grid-template-columns: 1fr; }
  .pv-filter-sidebar, .pv-filter-bar--inline { display: none; }
  .pv-mobile-filter-bar { display: flex; }
  .pv-sticky-summary, .pv-checkout-summary { position: static; }
  .pv-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .pv-topbar__links { display: none; }
  .pv-grid-4, .pv-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .pv-children-panel__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pv-form-row, .pv-tracking-form__grid { grid-template-columns: 1fr; }
  .pv-cart-item { grid-template-columns: 78px minmax(0,1fr) 36px; gap: .65rem; align-items: start; }
  .pv-cart-item__image-wrap { width: 78px; height: 76px; grid-row: 1 / span 2; }
  .pv-cart-item__qty-wrap { grid-column: 2; }
  .pv-cart-item__line-total { grid-column: 2; font-size: .86rem; }
  .pv-cart-item__remove { grid-column: 3; grid-row: 1; }
  .pv-cart-actions { align-items: stretch; flex-direction: column; }
  .pv-cart-actions .pv-btn, .pv-cart-actions form { width: 100%; }
  .pv-footer__grid { grid-template-columns: 1fr; }
  .pv-footer__col--brand { padding-bottom: .5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pv-result-details__row { align-items: flex-start; }
  .pv-result-items__item { grid-template-columns: minmax(0,1fr) auto; }
  .pv-result-items__item-price { grid-column: 1 / -1; }
  .pv-info-list__row { grid-template-columns: 1fr; gap: .2rem; }
  .pv-order-status-card__meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .pv-grid-4, .pv-product-grid { gap: .5rem; }
  .pv-product-card__body { padding: .65rem; }
  .pv-product-card__title { font-size: .78rem; }
  .pv-product-card__price { font-size: .86rem; }
  .pv-product-card__cart-btn { width: 36px; height: 36px; }
}

/* Final small alignment fixes */
.pv-product-card__cart-btn { width: 100%; min-height: 40px; height: auto; padding: .55rem .7rem; gap: .4rem; font-size: .78rem; }
.pv-product-card__cart-form { width: 100%; }
.pv-product-card__footer { display: flex; }
.pv-product-card__image-wrap > .pv-badge { position: absolute; top: .6rem; right: .6rem; z-index: 3; }
.pv-order-summary-card__item { grid-template-columns: minmax(0,1fr) auto; }
.pv-order-summary-card__item-info { display: flex; align-items: center; gap: .65rem; }
.pv-order-summary-card__item-price { align-self: center; }

@media (max-width: 480px) {
  .pv-product-card__cart-btn { font-size: .72rem; padding-inline: .45rem; }
  .pv-product-card__cart-btn .pv-icon { width: .9rem; height: .9rem; }
}
.pv-payment-card__info { display: flex; align-items: center; gap: .65rem; flex: 1; }

/* Structural aliases required by the final PHP markup */
.pv-hero__content { background: var(--pv-white); border: 1px solid var(--pv-border); border-radius: var(--pv-radius-card); padding: clamp(1.25rem,4vw,2.5rem); box-shadow: var(--pv-shadow-md); position: relative; overflow: hidden; }
.pv-hero__content::before { content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px; background: radial-gradient(circle at 100% 0%, var(--pv-cyan-light) 0%, transparent 70%); pointer-events: none; }
.pv-hero__text { font-size: .94rem; color: var(--pv-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.pv-breadcrumb__list { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.pv-breadcrumb__separator { color: #cbd5e1; user-select: none; }
.pv-breadcrumb__item--active { color: var(--pv-navy); font-weight: 650; }
.pv-print-guide-band__printer { position: relative; width: 104px; height: 90px; flex: 0 0 auto; }
.pv-pgb-body { position: absolute; right: 5px; left: 5px; bottom: 8px; height: 50px; border: 2px solid rgba(255,255,255,.75); border-radius: 10px; background: rgba(255,255,255,.08); }
.pv-pgb-slot { position: absolute; top: 10px; right: 18px; left: 18px; height: 4px; border-radius: 9px; background: rgba(255,255,255,.42); }
.pv-pgb-paper { position: absolute; width: 64px; height: 64px; top: 0; right: 20px; border-radius: 5px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.pv-pgb-lines { padding: 17px 10px; display: grid; gap: 6px; }
.pv-pgb-lines span { display: block; height: 3px; border-radius: 10px; background: #dbe7ef; }
.pv-pgb-lines span:first-child { background: var(--pv-cyan); width: 65%; }
.pv-print-guide-band__content { flex: 1; min-width: 220px; }
.pv-print-guide-band__text { color: rgba(255,255,255,.7); font-size: .88rem; }

@media (max-width: 767px) {
  .pv-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pv-print-guide-band__inner { align-items: center; }
  .pv-print-guide-band__printer { display: none; }
  .pv-print-guide-band__action { width: 100%; }
  .pv-print-guide-band__action .pv-btn { width: 100%; }
}


/* ==========================================================================
   PRINTIVA HOME POLISH — v2
   Homepage redesign + slider + local Vazirmatn alignment.
   ========================================================================== */

html,
body,
button,
input,
select,
textarea {
  font-family: var(--pv-font);
}

body {
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 174, 239, .035), transparent 24rem),
    var(--pv-bg);
}

/* Header polish */
.pv-header {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pv-header__inner {
  min-height: 76px;
  gap: 1.4rem;
}

.pv-header__logo-text,
.pv-mobile-header__logo-text {
  letter-spacing: -.035em;
  font-weight: 900;
}

.pv-search-form {
  max-width: 720px;
  background: #f7f9fb;
  border-color: #dce4ea;
  border-radius: 14px;
}

.pv-search-form__input {
  min-height: 48px;
  font-size: .92rem;
}

.pv-search-form__btn {
  min-width: 58px;
}

.pv-header__cart-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
}

.pv-nav {
  position: sticky;
  top: 0;
  z-index: 850;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,37,63,.08);
  box-shadow: 0 8px 28px rgba(16,37,63,.035);
}

.pv-nav__inner {
  min-height: 54px;
}

.pv-nav__cat-btn {
  min-height: 54px;
  padding-inline: 1.15rem;
  border-radius: 0;
}

.pv-nav__link {
  font-weight: 700;
  color: var(--pv-navy);
  padding-inline: 1.2rem;
}

/* ---------------------------
   Homepage showcase / slider
   --------------------------- */
.pv-home-showcase {
  padding: 1.5rem 0 1rem;
}

.pv-home-showcase__shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  min-height: 440px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 22%, rgba(0,174,239,.22), transparent 26rem),
    radial-gradient(circle at 18% 90%, rgba(236,38,143,.11), transparent 18rem),
    linear-gradient(125deg, #06182c 0%, #0d2947 48%, #10253f 100%);
  box-shadow: 0 26px 70px rgba(11,31,55,.20);
}

.pv-home-showcase__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 100%);
}

.pv-home-showcase__cmyk {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 8;
}

.pv-home-showcase__cmyk span:nth-child(1) { background: #00aeef; }
.pv-home-showcase__cmyk span:nth-child(2) { background: #ec268f; }
.pv-home-showcase__cmyk span:nth-child(3) { background: #ffd400; }
.pv-home-showcase__cmyk span:nth-child(4) { background: #151515; }

.pv-home-showcase__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
}

.pv-home-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .42rem .78rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 700;
}

.pv-home-showcase__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pv-cyan);
  box-shadow: 0 0 0 5px rgba(0,174,239,.12);
}

.pv-home-showcase__title {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.18;
}

.pv-home-showcase__text {
  max-width: 590px;
  margin-top: 1rem;
  color: rgba(255,255,255,.72);
  font-size: clamp(.9rem, 1.2vw, 1.02rem);
  line-height: 1.95;
}

.pv-home-showcase__actions {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-top: 1.55rem;
  flex-wrap: wrap;
}

.pv-home-showcase__primary-btn {
  min-width: 155px;
  min-height: 49px;
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(0,174,239,.18);
}

.pv-home-showcase__ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 49px;
  padding-inline: 1rem;
  color: #fff;
  font-size: .87rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.055);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.pv-home-showcase__ghost-btn:hover {
  color: #fff;
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.30);
  transform: translateY(-1px);
}

.pv-home-showcase__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  margin-top: 1.5rem;
  color: rgba(255,255,255,.56);
  font-size: .73rem;
  font-weight: 600;
}

.pv-home-showcase__trust span {
  position: relative;
  padding-right: .9rem;
}

.pv-home-showcase__trust span::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pv-cyan);
  transform: translateY(-50%);
}

.pv-home-slider {
  position: relative;
  min-width: 0;
  padding: 2rem 2rem 3.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-home-slider__viewport {
  position: relative;
  width: min(100%, 540px);
  height: 360px;
}

.pv-home-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-22px) scale(.985);
  pointer-events: none;
  transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1), visibility .45s ease;
}

.pv-home-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.pv-home-slide__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.pv-home-slide__halo {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,174,239,.22), rgba(0,174,239,.08) 45%, transparent 70%);
}

.pv-home-slide__paper {
  position: absolute;
  width: min(88%, 430px);
  height: 84%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(243,247,250,.94));
  box-shadow: 0 26px 70px rgba(1,12,27,.28), inset 0 1px 0 rgba(255,255,255,.8);
  transform: rotate(-2deg);
}

.pv-home-slide__paper::before {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00aeef;
  box-shadow: 17px 0 #ec268f, 34px 0 #ffd400, 51px 0 #151515;
}

.pv-home-slide__image {
  position: relative;
  z-index: 2;
  width: min(76%, 350px);
  height: min(78%, 255px);
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(6,24,44,.20));
}

.pv-home-slide.is-active .pv-home-slide__image {
  animation: pvHeroFloat 5.2s ease-in-out infinite;
}

@keyframes pvHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.pv-home-slide__discount {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 18px;
  padding: .42rem .72rem;
  border-radius: 999px;
  background: var(--pv-accent-magenta);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(236,38,143,.24);
}

.pv-home-slide__discount--new {
  background: var(--pv-cyan);
  box-shadow: 0 10px 24px rgba(0,174,239,.24);
}

.pv-home-slide__discount--muted {
  background: #667085;
  box-shadow: none;
}

.pv-home-slide__meta {
  position: relative;
  z-index: 5;
  width: min(92%, 470px);
  margin: -3.25rem auto 0;
  padding: .85rem 1rem .9rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(6,24,44,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(1,12,27,.18);
}

.pv-home-slide__category {
  display: block;
  margin-bottom: .15rem;
  color: #56d3f2;
  font-size: .68rem;
  font-weight: 700;
}

.pv-home-slide__title {
  display: block;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-home-slide__title:hover {
  color: #fff;
}

.pv-home-slide__price-row {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-top: .32rem;
}

.pv-home-slide__price {
  color: #fff;
  font-size: .88rem;
  font-weight: 900;
}

.pv-home-slide__price--muted {
  color: rgba(255,255,255,.58);
}

.pv-home-slide__old-price {
  color: rgba(255,255,255,.38);
  font-size: .68rem;
}

.pv-home-slider__controls {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .65rem;
}

.pv-home-slider__arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-size: 1rem;
  transition: background .2s ease, transform .2s ease;
}

.pv-home-slider__arrow:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-1px);
}

.pv-home-slider__dots {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.pv-home-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  padding: 0;
  transition: width .25s ease, background .25s ease;
}

.pv-home-slider__dot.is-active {
  width: 22px;
  background: var(--pv-cyan);
}

/* Quick categories below hero */
.pv-home-quickcats {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: .8rem;
  padding: .8rem .9rem;
  border: 1px solid rgba(16,37,63,.07);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(16,37,63,.04);
}

.pv-home-quickcats__label {
  flex: 0 0 auto;
  color: var(--pv-muted);
  font-size: .72rem;
  font-weight: 800;
}

.pv-home-quickcats__list {
  display: flex;
  align-items: center;
  gap: .45rem;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.pv-home-quickcats__list::-webkit-scrollbar {
  display: none;
}

.pv-home-quickcats__item {
  flex: 0 0 auto;
  padding: .45rem .72rem;
  border-radius: 999px;
  background: #f4f7f9;
  color: var(--pv-navy);
  font-size: .72rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.pv-home-quickcats__item:hover {
  color: var(--pv-cyan-deep);
  background: var(--pv-cyan-light);
  border-color: rgba(0,167,217,.16);
}

/* Homepage sections */
.pv-home-section {
  padding-block: 2.8rem;
}

.pv-home-section--tint {
  background: linear-gradient(180deg, rgba(238,244,247,.62), rgba(246,247,245,0));
}

.pv-home-section__header {
  margin-bottom: 1.25rem;
}

.pv-home-section__kicker {
  display: block;
  margin-bottom: .2rem;
  color: var(--pv-cyan-deep);
  font-size: .68rem;
  font-weight: 800;
}

.pv-home-section .pv-section__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -.025em;
}

.pv-home-section .pv-section__title::before {
  width: 4px;
  height: 1.25em;
  border-radius: 999px;
}

.pv-home-section .pv-section__more {
  padding: .5rem .72rem;
  border: 1px solid rgba(0,127,168,.12);
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
}

/* Category cards */
.pv-category-grid--home {
  gap: .8rem;
}

.pv-category-grid--home .pv-category-card {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,37,63,.035);
}

.pv-category-grid--home .pv-category-card__image {
  width: 100%;
  height: 105px;
  border-radius: 0;
  background: radial-gradient(circle at 50% 34%, #fff, #f3f6f8 72%);
}

.pv-category-grid--home .pv-category-card__image img {
  width: 88%;
  height: 88%;
  padding: .35rem;
}

.pv-category-grid--home .pv-category-card__svg-fallback {
  width: 52px;
  height: 52px;
  color: var(--pv-cyan-deep);
}

.pv-category-grid--home .pv-category-card__body {
  width: 100%;
  padding: .7rem .8rem;
  border-top: 1px solid #eef2f4;
  text-align: right;
}

.pv-category-grid--home .pv-category-card__title {
  font-size: .77rem;
  font-weight: 800;
}

.pv-category-grid--home .pv-category-card__arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

/* Product cards */
.pv-product-grid--home {
  gap: .9rem;
}

.pv-product-grid--home .pv-product-card {
  border-radius: 16px;
  box-shadow: 0 9px 28px rgba(16,37,63,.035);
  transform: translateZ(0);
}

.pv-product-grid--home .pv-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16,37,63,.09);
}

.pv-product-grid--home .pv-product-card__image-wrap {
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #f7f9fa, #f1f4f6);
}

.pv-product-grid--home .pv-product-card__image-ratio {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: .65rem;
}

.pv-product-grid--home .pv-product-card__image {
  padding: .35rem;
  max-height: 100%;
}

.pv-product-grid--home .pv-product-card__body {
  min-height: 128px;
  padding: .8rem .85rem .55rem;
}

.pv-product-grid--home .pv-product-card__category {
  font-size: .68rem;
  color: #8b95a3;
}

.pv-product-grid--home .pv-product-card__title {
  margin-top: .28rem;
  font-size: .84rem;
  line-height: 1.65;
}

.pv-product-grid--home .pv-product-card__price-wrap {
  margin-top: auto;
  padding-top: .55rem;
}

.pv-product-grid--home .pv-product-card__price {
  font-size: .96rem;
  font-weight: 900;
}

.pv-product-grid--home .pv-product-card__footer {
  padding: .55rem .75rem .75rem;
  border-top: 0;
}

.pv-product-grid--home .pv-product-card__cart-btn {
  min-height: 42px;
  border-radius: 11px;
  font-weight: 800;
}

/* Print guide */
.pv-print-guide-band--home {
  margin-block: 1rem 2.2rem;
  border-radius: 0;
  background:
    radial-gradient(circle at 14% 50%, rgba(0,174,239,.16), transparent 19rem),
    linear-gradient(115deg, #071a30, #102d4d 62%, #11233f);
}

.pv-print-guide-band--home .pv-print-guide-band__inner {
  min-height: 190px;
  gap: 1.5rem;
}

.pv-print-guide-band__mini {
  display: block;
  margin-bottom: .25rem;
  color: #49cdef;
  font-size: .7rem;
  font-weight: 800;
}

.pv-print-guide-band--home .pv-print-guide-band__title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.pv-print-guide-band--home .pv-print-guide-band__text {
  max-width: 690px;
  margin-top: .45rem;
  line-height: 1.8;
}

.pv-footer {
  margin-top: 0;
}

.pv-footer__main {
  padding-block: 3rem 2.2rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .pv-home-showcase__shell {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
  }

  .pv-home-showcase__copy {
    padding: 2.4rem;
  }

  .pv-home-slider {
    padding-inline: 1rem;
  }

  .pv-home-slider__viewport {
    height: 330px;
  }

  .pv-product-grid--home {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}

@media (max-width: 860px) {
  .pv-home-showcase {
    padding-top: .8rem;
  }

  .pv-home-showcase__shell {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .pv-home-showcase__copy {
    padding: 2rem 1.4rem 1rem;
  }

  .pv-home-showcase__title {
    max-width: 720px;
    font-size: clamp(1.8rem, 7vw, 2.65rem);
  }

  .pv-home-showcase__text {
    max-width: 720px;
  }

  .pv-home-slider {
    min-height: 390px;
    padding: 0 1rem 3.2rem;
  }

  .pv-home-slider__viewport {
    height: 330px;
    max-width: 580px;
  }

  .pv-home-slide__paper {
    height: 80%;
  }

  .pv-home-quickcats {
    margin-top: .65rem;
  }

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

  .pv-print-guide-band--home .pv-print-guide-band__inner {
    min-height: 0;
    padding-block: 2rem;
  }
}

@media (max-width: 640px) {
  .pv-home-showcase__shell {
    border-radius: 18px;
  }

  .pv-home-showcase__copy {
    padding: 1.45rem 1rem .5rem;
  }

  .pv-home-showcase__eyebrow {
    font-size: .68rem;
  }

  .pv-home-showcase__title {
    font-size: 1.85rem;
  }

  .pv-home-showcase__text {
    font-size: .84rem;
    line-height: 1.8;
  }

  .pv-home-showcase__actions {
    gap: .55rem;
  }

  .pv-home-showcase__primary-btn,
  .pv-home-showcase__ghost-btn {
    min-height: 44px;
    font-size: .78rem;
  }

  .pv-home-showcase__trust {
    gap: .5rem .75rem;
    font-size: .65rem;
  }

  .pv-home-slider {
    min-height: 330px;
    padding: 0 .5rem 3rem;
  }

  .pv-home-slider__viewport {
    height: 275px;
  }

  .pv-home-slide__paper {
    width: 90%;
    height: 80%;
    border-radius: 17px;
  }

  .pv-home-slide__image {
    width: 74%;
    height: 70%;
  }

  .pv-home-slide__meta {
    width: 92%;
    margin-top: -2.55rem;
    padding: .65rem .75rem;
  }

  .pv-home-slide__title {
    font-size: .78rem;
  }

  .pv-home-slide__price {
    font-size: .78rem;
  }

  .pv-home-slide__discount {
    top: 9px;
    left: 12px;
    font-size: .62rem;
  }

  .pv-home-quickcats {
    border-radius: 12px;
    padding: .65rem;
  }

  .pv-home-quickcats__label {
    display: none;
  }

  .pv-home-section {
    padding-block: 2rem;
  }

  .pv-category-grid--home {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .6rem;
  }

  .pv-category-grid--home .pv-category-card__image {
    height: 92px;
  }

  .pv-product-grid--home {
    gap: .55rem;
  }

  .pv-product-grid--home .pv-product-card__image-wrap {
    aspect-ratio: 1 / .82;
  }

  .pv-product-grid--home .pv-product-card__body {
    min-height: 120px;
    padding: .65rem .6rem .45rem;
  }

  .pv-product-grid--home .pv-product-card__title {
    font-size: .76rem;
  }

  .pv-product-grid--home .pv-product-card__price {
    font-size: .82rem;
  }

  .pv-product-grid--home .pv-product-card__footer {
    padding: .45rem .55rem .6rem;
  }

  .pv-product-grid--home .pv-product-card__cart-btn {
    min-height: 38px;
    font-size: .68rem;
  }

  .pv-home-section__header {
    align-items: end;
  }

  .pv-home-section .pv-section__more {
    font-size: .72rem;
  }

  .pv-print-guide-band--home {
    margin-bottom: 1.3rem;
  }
}

@media (max-width: 390px) {
  .pv-home-showcase__title {
    font-size: 1.62rem;
  }

  .pv-home-showcase__actions {
    align-items: stretch;
  }

  .pv-home-showcase__primary-btn,
  .pv-home-showcase__ghost-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .pv-home-slider__viewport {
    height: 250px;
  }

  .pv-home-slide__meta {
    margin-top: -2.3rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .pv-home-slide,
  .pv-home-slide__image,
  .pv-home-slider__dot,
  .pv-home-slider__arrow {
    transition: none !important;
    animation: none !important;
  }
}
