/* =============================================================================
   Panda Roz — design system
   ============================================================================= */

:root {
  --pr-rose: #c45c7a;
  --pr-rose-dark: #9e3f5c;
  --pr-rose-soft: #f7e6eb;
  --pr-rose-glow: #fdf2f5;
  --pr-ink: #2a2430;
  /* Mai închis pentru contrast AA pe cream (Lighthouse a11y) */
  --pr-ink-soft: #4a4352;
  --pr-cream: #faf6f3;
  --pr-sand: #f0e8e2;
  --pr-white: #ffffff;
  --pr-line: #e8ddd6;
  --pr-gold: #c9a227;
  --pr-radius: 16px;
  --pr-radius-sm: 10px;
  --pr-shadow: 0 10px 36px rgba(42, 36, 48, 0.08);
  --pr-shadow-lg: 0 20px 56px rgba(42, 36, 48, 0.12);
  --pr-max: 1180px;
  --pr-gutter: 1rem;
  --pr-font: "DM Sans", system-ui, sans-serif;
  --pr-display: "Fraunces", Georgia, serif;
  --pr-gradient-hero: linear-gradient(145deg, #2a2430 0%, #4a3540 45%, #6b3f52 100%);
  --pr-gradient-rose: linear-gradient(135deg, #9e3f5c 0%, #c45c7a 55%, #d47892 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--pr-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--pr-ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 92, 122, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(201, 162, 39, 0.08), transparent 50%),
    var(--pr-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--pr-rose);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pr-rose-dark);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.pr-container {
  width: min(100% - (var(--pr-gutter) * 2), var(--pr-max));
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  :root {
    --pr-gutter: 1.1rem;
  }

  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }

  .pr-container {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding-left: max(var(--pr-gutter), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--pr-gutter), env(safe-area-inset-right, 0px)) !important;
    box-sizing: border-box !important;
  }

  /* Doar vertical — fără padding-inline (nu anula gutter-ul) */
  .pr-section {
    padding-top: 1.35rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* overflow pe header taie drawer-ul — lăsăm visible */
  .pr-header {
    overflow: visible !important;
  }

  .pr-topbar,
  .pr-main,
  main.pr-main,
  #page {
    overflow-x: clip;
    max-width: 100%;
  }
}

.pr-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

/* Topbar (ca panda-roz.ro) */
.pr-topbar {
  background: linear-gradient(135deg, #9e3f5c 0%, #c45c7a 55%, #d47892 100%);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 700;
}

.pr-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1rem;
  padding: 0.45rem 0;
  min-width: 0;
}

.pr-topbar__phone,
.pr-topbar__ship {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pr-topbar a {
  color: #fff;
}

.pr-topbar a:hover {
  color: #ffe4ec;
}

/*
 * Header sticky. Fără backdrop-filter pe același element cu drawer-ul:
 * backdrop-filter creează containing block → position:fixed e tăiat la înălțimea barei
 * („meniul arată doar Magazin / ca și cum intră undeva”).
 */
.pr-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 246, 243, 0.98);
  border-bottom: 1px solid var(--pr-line);
  overflow: visible;
}

.pr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0;
  min-width: 0;
  max-width: 100%;
}

/* Hamburger — doar mobil */
.pr-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--pr-line);
  border-radius: 50%;
  background: var(--pr-white);
  color: var(--pr-ink);
  cursor: pointer;
}

.pr-nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.pr-nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pr-nav-toggle[aria-expanded="true"] .pr-nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pr-nav-toggle[aria-expanded="true"] .pr-nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.pr-nav-toggle[aria-expanded="true"] .pr-nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pr-nav-backdrop {
  display: none;
}

.pr-logo {
  font-family: var(--pr-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--pr-ink);
  letter-spacing: -0.02em;
  text-decoration: none;
  min-width: 0;
}

.pr-logo em {
  font-style: normal;
  color: var(--pr-rose);
}

.pr-logo .custom-logo-link img,
.pr-logo img {
  max-height: 48px;
  width: auto;
}

.pr-header__nav--desktop {
  display: none;
}

.pr-header__nav--drawer {
  display: none;
}

.pr-menu {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.pr-menu > li {
  position: relative;
}

.pr-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pr-ink-soft);
}

.pr-menu a:hover,
.pr-menu .current-menu-item > a {
  color: var(--pr-rose);
}

.pr-menu > li {
  /* zonă hover continuă până în dropdown */
  padding-bottom: 0;
}

.pr-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  /* padding-top = „pod” peste gap — mouse-ul nu pierde :hover */
  padding: 0.65rem 0.55rem 0.55rem;
  list-style: none;
  background: var(--pr-white);
  border: 1px solid var(--pr-line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(42, 36, 48, 0.12);
  z-index: 220;
}

.pr-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.75rem;
  height: 0.75rem;
}

.pr-menu > li:hover > .sub-menu,
.pr-menu > li:focus-within > .sub-menu,
.pr-menu > li.pr-menu--open > .sub-menu {
  display: grid;
  gap: 0.15rem;
}

.pr-menu .sub-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.pr-menu .sub-menu a:hover {
  background: var(--pr-rose-glow);
  color: var(--pr-rose-dark);
}

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

.pr-wishlist-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pr-white);
  border: 1px solid var(--pr-line);
  color: var(--pr-ink);
  transition: border-color 0.2s, color 0.2s;
}

.pr-wishlist-link:hover {
  border-color: var(--pr-rose);
  color: var(--pr-rose);
}

.pr-wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--pr-ink);
  color: var(--pr-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pr-wishlist-count.is-empty {
  display: none;
}

.pr-search--bar {
  display: none;
}

.pr-search--drawer {
  display: none;
}

.pr-search-open {
  display: none;
}

.pr-account-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pr-white);
  border: 1px solid var(--pr-line);
  color: var(--pr-ink);
  transition: border-color 0.2s, color 0.2s;
}

.pr-account-link:hover {
  border-color: var(--pr-rose);
  color: var(--pr-rose);
}

.pr-search input[type="search"] {
  width: 160px;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--pr-line);
  border-radius: 999px;
  background: var(--pr-white);
  font: inherit;
  font-size: 0.875rem;
  color: var(--pr-ink);
}

.pr-search input[type="search"]:focus {
  outline: 2px solid var(--pr-rose-soft);
  border-color: var(--pr-rose);
}

.pr-search__submit {
  display: none;
}

.pr-nav-account {
  display: none;
}

.pr-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--pr-white);
  border: 1px solid var(--pr-line);
  color: var(--pr-ink);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.pr-cart-link:hover {
  border-color: var(--pr-rose);
  color: var(--pr-rose);
  transform: translateY(-1px);
}

.pr-cart-link svg {
  width: 22px;
  height: 22px;
}

.pr-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--pr-gradient-rose);
  color: var(--pr-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pr-cart-count.is-empty {
  display: none;
}

.pr-cart-link--pulse {
  animation: pr-cart-pulse 0.45s ease;
}

@keyframes pr-cart-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (min-width: 768px) {
  .pr-header__nav--desktop {
    display: block;
    position: static;
    flex: 1 1 auto;
    min-width: 0;
  }

  .pr-header__nav--drawer,
  .pr-nav-toggle,
  .pr-nav-backdrop,
  .pr-search-open,
  .pr-search--drawer,
  .pr-nav-account,
  .pr-nav-drawer__head {
    display: none !important;
  }

  .pr-search--bar {
    display: block;
  }

  .pr-header__nav--desktop .pr-menu {
    flex-direction: row;
    justify-content: center;
  }
}

/* Mobil: drawer meniu + aceleași margini ca restul site-ului */
@media (max-width: 767px) {
  .pr-topbar {
    font-size: 0.72rem;
  }

  .pr-topbar__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.2rem;
    padding: 0.4rem 0;
  }

  .pr-topbar__phone,
  .pr-topbar__ship {
    display: block;
    line-height: 1.35;
  }

  .pr-nav-toggle {
    display: inline-flex;
    order: -1;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .pr-logo {
    flex: 1 1 0;
    min-width: 0;
    max-width: 28%;
    font-size: 1.05rem;
    overflow: hidden;
  }

  .pr-logo .custom-logo-link,
  .pr-logo .custom-logo-link img,
  .pr-logo img {
    display: block;
    max-width: 100%;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .pr-header__inner {
    gap: 0.3rem;
    padding: 0.55rem 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pr-header .pr-container.pr-header__inner {
    padding-left: max(0.85rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(0.85rem, env(safe-area-inset-right, 0px)) !important;
  }

  .pr-header__actions {
    display: flex;
    flex: 0 0 auto;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem;
    min-width: 0;
    max-width: calc(100% - 2.5rem);
  }

  /* Cont + favorite vizibile pe mobil */
  .pr-header__actions .pr-account-link,
  .pr-header__actions .pr-wishlist-link {
    display: inline-flex;
  }

  .pr-cart-link,
  .pr-search-open,
  .pr-account-link,
  .pr-wishlist-link {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .pr-cart-count,
  .pr-wishlist-count {
    top: -1px;
    right: -1px;
    min-width: 1.05rem;
    height: 1.05rem;
    font-size: 0.62rem;
  }

  .pr-search--bar {
    display: none !important;
  }

  .pr-search-open {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid var(--pr-line);
    border-radius: 50%;
    background: var(--pr-white);
    color: var(--pr-ink);
    cursor: pointer;
  }

  .pr-search-open:hover {
    border-color: var(--pr-rose);
    color: var(--pr-rose);
  }

  .pr-search--drawer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.45rem;
    margin: 1.15rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--pr-line);
  }

  .pr-search--drawer input[type="search"] {
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
  }

  .pr-search--drawer .pr-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 12px;
    background: var(--pr-rose);
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
  }

  .pr-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--pr-line);
  }

  .pr-nav-drawer__title {
    font-family: var(--pr-display);
    font-size: 1.2rem;
    color: var(--pr-ink);
  }

  .pr-nav-drawer__close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--pr-line);
    border-radius: 50%;
    background: var(--pr-white);
    color: var(--pr-ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
  }

  .pr-nav-account {
    display: block;
    margin-top: 0.85rem;
    padding: 0.75rem 0.35rem 0;
    border-top: 1px solid var(--pr-line);
    font-weight: 700;
    font-size: 1rem;
    color: var(--pr-ink);
  }

  .pr-nav-account + .pr-nav-account {
    margin-top: 0;
    padding-top: 0.55rem;
    border-top: 0;
  }

  .pr-nav-account:hover {
    color: var(--pr-rose);
  }

  .pr-header__nav--desktop {
    display: none !important;
  }

  .pr-header__nav--drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 320;
    width: min(88vw, 320px);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: calc(1.1rem + env(safe-area-inset-top, 0px))
      max(1.1rem, env(safe-area-inset-right, 0px))
      calc(1.5rem + env(safe-area-inset-bottom, 0px))
      1.1rem;
    background: var(--pr-white);
    border-left: 1px solid var(--pr-line);
    box-shadow: -12px 0 40px rgba(42, 36, 48, 0.14);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }

  body.pr-nav-open .pr-header__nav--drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  body.pr-nav-open {
    overflow: hidden;
  }

  .pr-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 310;
    background: rgba(42, 36, 48, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .pr-nav-backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
  }

  .pr-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .pr-menu > li {
    width: 100%;
  }

  .pr-menu > li > a {
    display: block;
    padding: 0.8rem 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pr-ink);
  }

  /* Submeniurile (ex. sub Magazin) mereu vizibile pe mobil */
  .pr-header__nav .pr-menu .sub-menu {
    position: static !important;
    display: grid !important;
    gap: 0.05rem;
    min-width: 0;
    margin: 0 0 0.45rem;
    padding: 0 0 0.35rem 0.85rem;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .pr-header__nav .pr-menu .sub-menu::before {
    display: none !important;
  }

  .pr-header__nav .pr-menu .sub-menu a {
    padding: 0.5rem 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--pr-ink-soft);
  }

  .pr-menu .sub-menu a {
    padding: 0.45rem 0.35rem;
    font-size: 0.92rem;
  }
}

/* Buttons */
.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--pr-font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.55rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.pr-btn--primary {
  background: linear-gradient(135deg, #9e3f5c 0%, #c45c7a 55%, #d47892 100%);
  color: var(--pr-white);
  box-shadow: 0 6px 24px rgba(196, 92, 122, 0.35);
}

.pr-btn--primary:hover {
  transform: translateY(-2px);
  color: var(--pr-white);
  box-shadow: 0 10px 32px rgba(196, 92, 122, 0.45);
}

.pr-btn--ghost {
  background: transparent;
  color: var(--pr-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.pr-btn--ghost:hover {
  border-color: var(--pr-white);
  color: var(--pr-white);
}

.pr-btn--outline {
  background: var(--pr-white);
  color: var(--pr-ink);
  border: 1px solid var(--pr-line);
}

.pr-btn--outline:hover {
  border-color: var(--pr-rose);
  color: var(--pr-rose);
}

/* Hero */
.pr-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 4rem;
  background: var(--pr-gradient-hero);
  color: var(--pr-white);
  overflow: hidden;
}

.pr-hero--home {
  align-items: center;
  padding-top: 6rem;
}

.pr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(196, 92, 122, 0.45), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.18), transparent 40%);
  pointer-events: none;
}

.pr-hero__glow {
  position: absolute;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  right: -12%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 184, 200, 0.28), transparent 68%);
  pointer-events: none;
  animation: pr-glow-drift 9s ease-in-out infinite alternate;
}

.pr-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.pr-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 184, 200, 0.92);
  /* fără fill-mode:both — evita FOUC (meniu vizibil, hero invizibil) */
  animation: pr-fade-up 0.65s ease;
}

.pr-hero__brand {
  font-family: var(--pr-display);
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  animation: pr-fade-up 0.7s ease 0.06s;
}

.pr-hero__brand em {
  font-style: italic;
  color: #f0b8c8;
}

.pr-hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.85rem;
  max-width: 30rem;
  animation: pr-fade-up 0.7s ease 0.14s;
}

.pr-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: pr-fade-up 0.7s ease 0.24s;
}

.pr-hero .pr-btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.pr-hero .pr-btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@keyframes pr-fade-up {
  from {
    /* păstrează vizibilitatea — doar ușor slide (LCP / fără flash meniu) */
    transform: translateY(10px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pr-glow-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-6%, 4%) scale(1.08);
  }
}

@keyframes pr-pillar-in {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}

/* Section heads */
.pr-section-head {
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.pr-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: none;
}

.pr-section-head__title {
  font-family: var(--pr-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--pr-ink);
}

.pr-section-head__lead {
  margin: 0;
  color: var(--pr-ink-soft);
  font-size: 1.02rem;
}

/* Pillars — categorii cheie */
.pr-pillars {
  padding: 3.75rem 0 2.5rem;
}

.pr-pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pr-pillars__grid > li {
  animation: pr-pillar-in 0.55s ease;
  animation-delay: var(--pr-stagger, 0s);
}

.pr-pillar {
  display: flex;
  flex-direction: column;
  min-height: 168px;
  height: 100%;
  border-radius: var(--pr-radius);
  overflow: hidden;
  color: var(--pr-ink);
  text-decoration: none;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.pr-pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--pr-shadow-lg);
  color: var(--pr-ink);
}

.pr-pillar__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(42, 36, 48, 0.08), rgba(42, 36, 48, 0.45)),
    linear-gradient(135deg, var(--pr-sand), var(--pr-rose-soft));
}

.pr-pillar--rose .pr-pillar__media {
  background:
    linear-gradient(160deg, rgba(42, 36, 48, 0.15), rgba(158, 63, 92, 0.55)),
    linear-gradient(135deg, #f7e6eb, #e8b4c2);
}

.pr-pillar--sand .pr-pillar__media {
  background:
    linear-gradient(160deg, rgba(42, 36, 48, 0.12), rgba(42, 36, 48, 0.4)),
    linear-gradient(135deg, #f5ebe3, #e2d0c2);
}

.pr-pillar--ink .pr-pillar__media {
  background:
    linear-gradient(160deg, rgba(42, 36, 48, 0.2), rgba(42, 36, 48, 0.62)),
    linear-gradient(135deg, #3d3544, #6b5360);
}

.pr-pillar--gold .pr-pillar__media {
  background:
    linear-gradient(160deg, rgba(42, 36, 48, 0.18), rgba(201, 162, 39, 0.35)),
    linear-gradient(135deg, #f3e8d4, #d4b978);
}

.pr-pillar--glow .pr-pillar__media {
  background:
    linear-gradient(160deg, rgba(42, 36, 48, 0.12), rgba(196, 92, 122, 0.5)),
    linear-gradient(135deg, #fdf2f5, #f0b8c8);
}

.pr-pillar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.pr-pillar__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.15rem 1.2rem 1.25rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.pr-pillar__name {
  display: block;
  font-family: var(--pr-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pr-pillar__blurb {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .pr-pillars__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .pr-pillar {
    min-height: 200px;
  }
}

@media (min-width: 1024px) {
  .pr-pillars__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .pr-pillar {
    min-height: 220px;
  }
}

/* Ocazii */
.pr-occasions {
  padding: 1.5rem 0 3.25rem;
}

.pr-occasions__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pr-occasion {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--pr-line);
  background: var(--pr-white);
  color: var(--pr-ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pr-occasion:hover {
  border-color: var(--pr-rose);
  color: var(--pr-rose-dark);
  transform: translateY(-2px);
}

/* Featured products strip */
.pr-featured {
  padding: 0 0 3.5rem;
}

.pr-featured--home {
  padding: 0.5rem 0 3.75rem;
}

.pr-featured__title {
  font-family: var(--pr-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
}

/* Trust band */
.pr-home-trust {
  padding: 0 0 3.5rem;
}

.pr-home-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--pr-radius);
  background:
    linear-gradient(120deg, rgba(196, 92, 122, 0.08), rgba(201, 162, 39, 0.1)),
    var(--pr-white);
  border: 1px solid var(--pr-line);
  text-align: center;
}

.pr-home-trust__line {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pr-ink-soft);
}

.pr-home-trust__line a {
  font-weight: 700;
  color: var(--pr-rose-dark);
}

.pr-home-trust__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  color: var(--pr-ink);
}

.pr-home-trust__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pr-rose);
  opacity: 0.55;
}

@media (max-width: 767px) {
  .pr-hero--home {
    min-height: min(82vh, 620px);
    padding: 4.5rem 0 3rem;
    align-items: flex-end;
  }

  .pr-hero__cta {
    width: 100%;
  }

  .pr-hero__cta .pr-btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .pr-home-trust__sep {
    display: none;
  }

  .pr-home-trust__inner {
    flex-direction: column;
    gap: 0.55rem;
  }
}

/* Legacy category tiles (kept if used elsewhere) */
.pr-cats {
  padding: 3.5rem 0;
}

.pr-cats__head {
  margin-bottom: 1.75rem;
}

.pr-cats__title {
  font-family: var(--pr-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.pr-cats__lead {
  margin: 0;
  color: var(--pr-ink-soft);
}

.pr-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pr-cat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 140px;
  padding: 1.25rem;
  border-radius: var(--pr-radius);
  background: var(--pr-white);
  border: 1px solid var(--pr-line);
  color: var(--pr-ink);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.pr-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--pr-shadow);
  border-color: var(--pr-rose);
  color: var(--pr-ink);
}

.pr-cat__name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: auto;
}

.pr-cat__count {
  font-size: 0.8rem;
  color: var(--pr-ink-soft);
  margin-top: 0.25rem;
}

/* Content */
.pr-entry__title {
  font-family: var(--pr-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.pr-entry__content > *:first-child {
  margin-top: 0;
}

.pr-main {
  min-height: 50vh;
}

/* Footer */
.pr-footer {
  background: var(--pr-ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.pr-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.pr-footer a:hover {
  color: #f0b8c8;
}

.pr-footer__grid {
  display: grid;
  gap: 2rem;
}

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

.pr-footer__brand strong {
  font-family: var(--pr-display);
  font-size: 1.35rem;
  color: var(--pr-white);
}

.pr-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pr-footer__copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 1.25rem 0 0;
  padding: 1.25rem 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pr-footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: center;
}

.pr-footer-legal a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.pr-footer-legal a:hover {
  color: #f0b8c8;
}

.pr-footer-legal__cookie {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.pr-footer-legal__cookie:hover {
  color: #f0b8c8;
}

/* ANPC / SAL — 2 coloane, centrat în footer închis */
.pr-anpc {
  margin: 1.35rem auto 0.65rem;
  padding: 1.25rem 0 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 920px;
}

.pr-anpc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr);
  gap: 1.25rem 2rem;
  align-items: center;
  text-align: left;
}

.pr-anpc__title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.pr-anpc__text {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.pr-anpc__text a {
  color: #f0b8c8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pr-anpc__text a:hover {
  color: #fff;
}

.pr-anpc__col--badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.pr-anpc__badge {
  display: inline-block;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pr-anpc__badge:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.pr-anpc__badge img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
  background: #fff;
}

.pr-anpc__note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .pr-anpc__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .pr-anpc__col--badges {
    align-items: center;
  }
}

.pr-legal-doc__warn {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.9rem;
}

.pr-footer-legal__note {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.85rem 0 0;
}

/* Cookie banner */
.pr-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.pr-cookie.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.pr-cookie__panel {
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 18px 50px rgba(42, 36, 48, 0.22);
}

.pr-cookie__text p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--pr-ink-soft);
  line-height: 1.5;
}

.pr-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pr-cookie__actions .pr-btn {
  border-radius: 10px;
  font-size: 0.88rem;
  padding: 0.65rem 1rem;
}

.pr-cookie__settings {
  display: grid;
  gap: 0.55rem;
}

.pr-cookie__opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.pr-widget {
  margin-bottom: 1.5rem;
}

.pr-widget__title {
  font-family: var(--pr-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

/* =============================================================================
   Mini-cart drawer
   ============================================================================= */

body.pr-mini-cart-open,
body.pr-added-modal-open {
  overflow: hidden;
}

/* =============================================================================
   Popup adăugat în coș / erori
   ============================================================================= */

.pr-added-modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
}

.pr-added-modal.is-open {
  pointer-events: auto;
}

.pr-added-modal[hidden] {
  display: none !important;
}

.pr-added-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 48, 0.5);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.pr-added-modal.is-open .pr-added-modal__overlay {
  opacity: 1;
}

.pr-added-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  background: var(--pr-white);
  border-radius: 18px;
  padding: 1.65rem 1.4rem 1.4rem;
  box-shadow: 0 24px 60px rgba(42, 36, 48, 0.22);
  text-align: center;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.pr-added-modal.is-open .pr-added-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.pr-added-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--pr-ink-soft);
  cursor: pointer;
  border-radius: 8px;
}

.pr-added-modal__close:hover {
  color: var(--pr-ink);
  background: var(--pr-cream);
}

.pr-added-modal__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.pr-added-modal__title {
  margin: 0 0 0.45rem;
  font-family: var(--pr-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pr-ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pr-added-modal__msg {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--pr-ink-soft);
  line-height: 1.45;
}

.pr-added-modal__product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  margin: 0 0 1.15rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--pr-line);
  border-radius: 12px;
  background: var(--pr-cream);
}

.pr-added-modal__product[hidden] {
  display: none !important;
}

.pr-added-modal__thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--pr-white);
}

.pr-added-modal__meta {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.pr-added-modal__meta strong {
  font-size: 0.95rem;
  color: var(--pr-ink);
  line-height: 1.3;
}

.pr-added-modal__meta span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pr-rose-dark);
}

.pr-added-modal__actions {
  display: grid;
  gap: 0.5rem;
}

.pr-added-modal__actions .pr-btn {
  width: 100%;
}

.pr-added-modal__continue {
  width: 100%;
  margin: 0.15rem 0 0;
  padding: 0.45rem;
  border: none;
  background: transparent;
  color: var(--pr-ink-soft);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pr-added-modal__continue:hover {
  color: var(--pr-rose);
}

/* Toast stoc — mini-cart / cart / checkout / PDP */
.pr-stock-toast {
  position: fixed;
  left: 50%;
  bottom: 1.35rem;
  z-index: 500;
  max-width: min(92vw, 26rem);
  padding: 0.85rem 1.15rem;
  border-radius: 12px;
  background: #2a2430;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 12px 36px rgba(42, 36, 48, 0.28);
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pr-stock-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.pr-mini-cart {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}

.pr-mini-cart.is-open {
  pointer-events: auto;
}

.pr-mini-cart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 48, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.pr-mini-cart.is-open .pr-mini-cart__overlay {
  opacity: 1;
}

.pr-mini-cart__panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(calc(100% - 24px), 400px);
  height: auto;
  background: var(--pr-cream);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 64px rgba(42, 36, 48, 0.28);
  transform: translateX(calc(100% + 24px));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pr-mini-cart.is-open .pr-mini-cart__panel {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .pr-mini-cart__panel {
    top: 8px;
    right: 8px;
    bottom: 8px;
    width: calc(100% - 16px);
    border-radius: 16px;
  }
}

.pr-mini-cart.is-loading .pr-mini-cart__panel {
  pointer-events: none;
}

.pr-mini-cart.is-loading .pr-mini-cart__items {
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.pr-mini-cart__contents {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--pr-cream);
}

.pr-mini-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 0.75rem;
  background: transparent;
}

.pr-mini-cart__title {
  font-family: var(--pr-display);
  font-size: 1.85rem;
  margin: 0;
  letter-spacing: -0.03em;
  color: var(--pr-ink);
}

.pr-mini-cart__close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--pr-ink-soft);
}

.pr-mini-cart__close:hover {
  color: var(--pr-ink);
  background: var(--pr-sand);
}

.pr-mini-cart__cols {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 1.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9298;
  border-bottom: 1px solid var(--pr-line);
}

.pr-mini-cart__empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.pr-mini-cart__empty p {
  margin: 0 0 1.25rem;
  color: var(--pr-ink-soft);
}

.pr-mini-cart__items {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.15rem 1rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.pr-mini-cart__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0.65rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--pr-line);
  background: transparent;
}

.pr-mini-cart__item:last-child {
  border-bottom: none;
}

.pr-mini-cart__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--pr-white);
  flex-shrink: 0;
  isolation: isolate;
}

.pr-mini-cart__thumb a {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pr-white);
  line-height: 0;
}

.pr-mini-cart__thumb img,
.pr-mini-cart__thumb .attachment-woocommerce_thumbnail,
.pr-mini-cart__thumb .woocommerce-placeholder {
  display: block;
  width: 56px !important;
  height: 56px !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 10px;
  background: var(--pr-white) !important;
  box-shadow: none !important;
  border: none !important;
}

.pr-mini-cart__name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
}

.pr-mini-cart__name a {
  color: var(--pr-rose);
}

.pr-mini-cart__name a:hover {
  color: var(--pr-rose-dark);
}

.pr-mini-cart__price {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pr-ink);
  margin: 0 0 0.25rem;
}

.pr-mini-cart__price del {
  color: #9a9298;
  margin-right: 0.35rem;
  font-weight: 500;
}

.pr-mini-cart__price ins {
  text-decoration: none;
  color: var(--pr-ink);
}

.pr-mini-cart__controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.pr-mini-cart__qty {
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  background: #ebe6e3;
}

.pr-mini-cart__qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--pr-ink);
  line-height: 1;
}

.pr-mini-cart__qty-btn:hover {
  color: var(--pr-rose);
  background: rgba(255, 255, 255, 0.45);
}

.pr-mini-cart__qty-input {
  width: 2.1rem;
  border: none;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  -moz-appearance: textfield;
  color: var(--pr-ink);
}

.pr-mini-cart__qty-input::-webkit-outer-spin-button,
.pr-mini-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pr-mini-cart__remove {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  color: var(--pr-ink-soft);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pr-mini-cart__remove:hover {
  color: var(--pr-rose-dark);
  background: var(--pr-rose-soft);
}

.pr-mini-cart__line {
  text-align: right;
  min-width: 5.5rem;
}

.pr-mini-cart__line-total {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pr-ink);
}

.pr-mini-cart__save {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #ebe6e3;
  color: #6b646c;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.pr-mini-cart__footer {
  flex-shrink: 0;
  padding: 0.65rem 1.15rem 0.85rem;
  border-top: 1px solid var(--pr-line);
  background: var(--pr-cream);
}

.pr-mini-cart__footer .pr-fs-bar {
  margin: 0 0 0.55rem;
  padding: 0.65rem 0.75rem 0.75rem;
  box-shadow: none;
}

.pr-mini-cart__footer .pr-fs-bar__track {
  height: 6px;
  margin-bottom: 0.45rem;
}

.pr-mini-cart__footer .pr-fs-bar__msg {
  font-size: 0.78rem;
  line-height: 1.35;
}

.pr-mini-cart__footer .pr-fs-box {
  padding: 0.45rem 0.65rem;
  margin: 0 0 0.5rem;
  border-radius: 10px;
  gap: 0.45rem;
  align-items: center;
}

.pr-mini-cart__footer .pr-fs-box p {
  font-size: 0.78rem;
  line-height: 1.3;
}

.pr-mini-cart__footer .pr-fs-box__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 8px;
}

.pr-mini-cart__footer .pr-fs-box__icon svg {
  width: 14px;
  height: 14px;
}

.pr-mini-cart__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  margin: 0 0 0.55rem;
  color: var(--pr-ink);
}

.pr-mini-cart__subtotal strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--pr-ink);
}

.pr-mini-cart__checkout {
  display: flex !important;
  width: 100%;
  border-radius: 10px !important;
  padding: 0.7rem 1rem !important;
  font-size: 0.92rem !important;
}

.pr-mini-cart__cart-link {
  display: block;
  text-align: center;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pr-ink-soft);
}

.pr-mini-cart__cart-link:hover {
  color: var(--pr-rose);
}

.pr-btn--checkout {
  background: var(--pr-ink) !important;
  color: var(--pr-white) !important;
  box-shadow: none !important;
}

.pr-btn--checkout:hover {
  background: #1a1620 !important;
  color: var(--pr-white) !important;
  transform: translateY(-1px);
}

.pr-mini-cart .variation,
.pr-mini-cart dl.variation {
  font-size: 0.8rem;
  color: var(--pr-ink-soft);
  margin: 0.15rem 0 0;
}

.pr-mini-cart .variation dt,
.pr-mini-cart .variation dd {
  display: inline;
  margin: 0;
}

.pr-mini-cart .variation dd {
  margin-right: 0.35rem;
}

.pr-mini-cart .variation dd p {
  display: inline;
  margin: 0;
}

/* Search popup */
.pr-search-modal[hidden] {
  display: none !important;
}

.pr-search-modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(4.5rem, 12vh) 1.15rem 1.5rem;
  box-sizing: border-box;
}

.pr-search-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 36, 48, 0.48);
  backdrop-filter: blur(4px);
}

.pr-search-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(42, 36, 48, 0.22);
  animation: pr-search-pop 0.22s ease;
}

@keyframes pr-search-pop {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pr-search-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--pr-sand);
  color: var(--pr-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pr-search-modal__title {
  margin: 0 2rem 0.85rem 0;
  font-family: var(--pr-display);
  font-size: 1.25rem;
  color: var(--pr-ink);
}

.pr-search-modal__form {
  display: grid;
  gap: 0.75rem;
}

.pr-search-modal__form input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--pr-line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  background: var(--pr-cream);
  color: var(--pr-ink);
}

.pr-search-modal__form input[type="search"]:focus {
  outline: 2px solid var(--pr-rose-soft);
  border-color: var(--pr-rose);
  background: #fff;
}

.pr-search-modal__submit {
  width: 100%;
}

body.pr-search-modal-open {
  overflow: hidden;
}
