/* ==========================================================================
   Passion Tirelire — feuille de style unique du thème enfant
   À copier dans : /wp-content/themes/passion-tirelire-child/assets/css/pt-style.css
   Toutes les classes sont préfixées « pt- ». Les sélecteurs WooCommerce
   standard (ul.products, .price, .onsale, .star-rating…) sont stylés tels quels.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hébergées (woff2)
   Déposez les fichiers dans assets/fonts/ puis gardez ces @font-face.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Istok Web";
  src: url("../fonts/istok-web-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Istok Web";
  src: url("../fonts/istok-web-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Variables de la charte
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --pt-bg: #f7eae8;
  --pt-bg-white: #ffffff;
  --pt-bg-cream: #fdf6f3;
  --pt-primary: #131b51;
  --pt-text: #3e425b;
  --pt-muted: #7a7f95;
  --pt-accent: #e97b6b;
  --pt-accent-dark: #c84835;
  --pt-gold: #e9b949;
  --pt-sale: #d64545;
  --pt-border: #eadbd8;
  --pt-success: #2f7a55;

  /* Rayons */
  --pt-radius: 12px;
  --pt-radius-sm: 8px;
  --pt-radius-lg: 20px;
  --pt-radius-pill: 999px;

  /* Ombres */
  --pt-shadow: 0 4px 18px rgba(19, 27, 81, 0.08);
  --pt-shadow-lg: 0 14px 40px rgba(19, 27, 81, 0.14);

  /* Typo */
  --pt-font-title: "Istok Web", "Trebuchet MS", sans-serif;
  --pt-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Mise en page */
  --pt-container: 1240px;
  --pt-gap: 16px;
  --pt-section-y: 48px;
  --pt-header-h: 132px;
}

/* --------------------------------------------------------------------------
   3. Réinitialisation / bases (mobile-first)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--pt-bg);
  color: var(--pt-text);
  font-family: var(--pt-font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: var(--pt-font-title);
  font-weight: 700;
  color: var(--pt-primary);
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(1.75rem, 5vw, 2.85rem);
}
h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}
h3 {
  font-size: 1rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--pt-accent);
  text-decoration: none;
}
a:hover {
  color: var(--pt-accent-dark);
  text-decoration: underline;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}

/* Accessibilité : focus visible partout */
:focus-visible {
  outline: 3px solid var(--pt-primary);
  outline-offset: 2px;
  border-radius: var(--pt-radius-sm);
}
.pt-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--pt-primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--pt-radius) 0;
}
.pt-skip-link:focus {
  left: 0;
}
.pt-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;
}

/* --------------------------------------------------------------------------
   4. Grilles utilitaires
   -------------------------------------------------------------------------- */
.pt-container {
  width: 100%;
  max-width: var(--pt-container);
  margin: 0 auto;
  padding: 0 16px;
}
.pt-section {
  padding: var(--pt-section-y) 0;
}
.pt-section--white {
  background: var(--pt-bg-white);
}
.pt-section--cream {
  background: var(--pt-bg-cream);
}
.pt-section-head {
  margin-bottom: 24px;
}
.pt-section-title {
  margin-bottom: 6px;
}
.pt-section-sub {
  color: var(--pt-muted);
  margin: 0;
  max-width: 62ch;
}
.pt-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--pt-accent-dark);
  margin-bottom: 8px;
}
.pt-section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

/* Boutons pilules */
.pt-btn,
.woocommerce .pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--pt-radius-pill);
  font-family: var(--pt-font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
.pt-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.pt-btn--primary {
  background: var(--pt-accent);
  color: #fff;
  box-shadow: var(--pt-shadow);
}
.pt-btn--primary:hover {
  background: var(--pt-accent-dark);
  color: #fff;
}
.pt-btn--outline {
  background: transparent;
  color: var(--pt-primary);
  border-color: var(--pt-primary);
}
.pt-btn--outline:hover {
  background: var(--pt-primary);
  color: #fff;
}
.pt-btn--ghost {
  background: #fff;
  color: var(--pt-primary);
  border-color: var(--pt-border);
}
.pt-btn--block {
  width: 100%;
}
.pt-btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   5. Bandeau annonce
   -------------------------------------------------------------------------- */
.pt-announce {
  background: var(--pt-primary);
  color: #fff;
  font-size: 0.8125rem;
}
.pt-announce[hidden] {
  display: none;
}
.pt-announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 44px 6px 16px;
  position: relative;
  text-align: center;
  flex-wrap: wrap;
}
.pt-announce__sep {
  opacity: 0.45;
}
.pt-announce__code {
  background: var(--pt-gold);
  color: var(--pt-primary);
  font-weight: 500;
  padding: 2px 10px;
  border-radius: var(--pt-radius-pill);
  letter-spacing: 0.04em;
}
.pt-announce__close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
}
.pt-announce__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------------------------------------
   6. Header collant
   -------------------------------------------------------------------------- */
.pt-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pt-border);
  transition:
    box-shadow 0.25s ease,
    padding 0.25s ease;
}
.pt-header.is-compact {
  box-shadow: var(--pt-shadow);
}
.pt-header__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  transition: padding 0.25s ease;
}
.pt-header.is-compact .pt-header__bar {
  padding: 8px 0;
}
.pt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.pt-logo:hover {
  text-decoration: none;
}
.pt-logo img,
.pt-logo svg {
  width: 110px;
  height: auto;
  transition: width 0.25s ease;
}
.pt-search {
  display: none;
  flex: 1 1 auto;
  position: relative;
}
.pt-search input[type="search"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 46px 10px 16px;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-pill);
  background: var(--pt-bg-cream);
  font: inherit;
  color: var(--pt-text);
}
.pt-search input::placeholder {
  color: var(--pt-muted);
}
.pt-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--pt-accent);
  color: #fff;
}
.pt-search button:hover {
  background: var(--pt-accent-dark);
}
.pt-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pt-iconbtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--pt-primary);
  border-radius: var(--pt-radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}
.pt-iconbtn:hover {
  background: var(--pt-bg-cream);
  color: var(--pt-primary);
  text-decoration: none;
}
.pt-iconbtn__label {
  display: none;
  line-height: 1.1;
  text-align: left;
}
.pt-iconbtn__label small {
  display: block;
  color: var(--pt-muted);
  font-size: 0.6875rem;
}
.pt-cart-btn {
  position: relative;
}
.pt-cart-btn__count {
  position: absolute;
  top: 2px;
  left: 24px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: var(--pt-radius-pill);
  background: var(--pt-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
}
.pt-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: var(--pt-radius-sm);
}
.pt-burger span {
  display: block;
  height: 2px;
  background: var(--pt-primary);
  border-radius: 2px;
}

/* Navigation desktop + méga-menus */
.pt-nav {
  display: none;
  border-top: 1px solid var(--pt-border);
}
.pt-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.pt-nav__item {
  position: static;
}
.pt-nav > .pt-container {
  position: relative;
}
.pt-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 12px;
  color: var(--pt-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--pt-radius-sm);
  background: transparent;
  border: 0;
  text-decoration: none;
}
.pt-nav__link:hover,
.pt-nav__item:hover > .pt-nav__link,
.pt-nav__item:focus-within > .pt-nav__link {
  color: var(--pt-accent-dark);
  background: var(--pt-bg-cream);
  text-decoration: none;
}
.pt-nav__link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--pt-accent);
  transition: width 0.2s ease;
}
.pt-megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 2px);
  transform: translateY(8px);
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 70;
}
.pt-nav__item:hover > .pt-megamenu,
.pt-nav__item:focus-within > .pt-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pt-megamenu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pt-megamenu__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pt-muted);
  margin-bottom: 10px;
}
.pt-megamenu__col a {
  display: block;
  padding: 6px 0;
  color: var(--pt-text);
  font-size: 0.9rem;
}
.pt-megamenu__col a:hover {
  color: var(--pt-accent-dark);
}
.pt-megamenu__promo {
  border-radius: var(--pt-radius);
  overflow: hidden;
  background: var(--pt-bg-cream);
  border: 1px solid var(--pt-border);
}
.pt-megamenu__promo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.pt-megamenu__promo p {
  margin: 0;
  padding: 10px 12px;
  font-size: 0.8125rem;
  color: var(--pt-primary);
  font-weight: 500;
}

/* Menu mobile plein écran */
.pt-mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.pt-mobilemenu.is-open {
  transform: translateX(0);
}
.pt-mobilemenu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pt-border);
}
.pt-mobilemenu__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pt-border);
  background: #fff;
  border-radius: 50%;
  color: var(--pt-primary);
  font-size: 1.1rem;
}
.pt-mobilemenu__body {
  padding: 8px 16px 32px;
}
.pt-acc {
  border-bottom: 1px solid var(--pt-border);
}
.pt-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 2px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--pt-font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--pt-primary);
}
.pt-acc__trigger::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--pt-accent);
  border-bottom: 2px solid var(--pt-accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}
.pt-acc__trigger[aria-expanded="true"]::after {
  transform: rotate(225deg);
}
.pt-acc__panel {
  display: none;
  padding: 0 2px 16px;
}
.pt-acc__panel[data-open="true"] {
  display: block;
  animation: pt-fade-in 0.25s ease;
}
.pt-acc__panel a {
  display: block;
  padding: 8px 0;
  color: var(--pt-text);
}
.pt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 27, 81, 0.45);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s;
  z-index: 110;
}
.pt-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.pt-hero {
  background: linear-gradient(180deg, var(--pt-bg) 0%, var(--pt-bg-cream) 100%);
  padding: 32px 0 40px;
}
.pt-hero__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.pt-hero__media {
  position: relative;
  border-radius: var(--pt-radius-lg);
  overflow: hidden;
  box-shadow: var(--pt-shadow);
  order: -1;
}
.pt-hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.pt-hero__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--pt-radius-pill);
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pt-primary);
  box-shadow: var(--pt-shadow);
}
.pt-hero__lead {
  font-size: 1.0625rem;
  color: var(--pt-text);
  max-width: 54ch;
}
.pt-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.pt-hero__mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.8125rem;
  color: var(--pt-muted);
}
.pt-hero__mini li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pt-check {
  color: var(--pt-accent);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   8. Réassurance (carrousel CSS sur mobile)
   -------------------------------------------------------------------------- */
.pt-trust {
  background: var(--pt-bg-white);
  padding: 24px 0;
  border-block: 1px solid var(--pt-border);
}
.pt-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  margin: 0 -16px;
  padding-inline: 16px;
}
.pt-scroller::-webkit-scrollbar {
  display: none;
}
.pt-scroller > * {
  scroll-snap-align: start;
}
.pt-trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--pt-bg-cream);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 14px;
}
.pt-trust__item strong {
  display: block;
  font-family: var(--pt-font-title);
  color: var(--pt-primary);
  font-size: 0.9375rem;
}
.pt-trust__item span {
  font-size: 0.8125rem;
  color: var(--pt-muted);
}
.pt-ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--pt-accent-dark);
}

/* --------------------------------------------------------------------------
   9. Tuiles catégories
   -------------------------------------------------------------------------- */
.pt-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pt-gap);
}
.pt-cat {
  position: relative;
  display: block;
  border-radius: var(--pt-radius);
  overflow: hidden;
  background: var(--pt-bg-cream);
  border: 1px solid var(--pt-border);
  box-shadow: var(--pt-shadow);
}
.pt-cat:hover {
  text-decoration: none;
}
.pt-cat img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pt-cat:hover img {
  transform: scale(1.06);
}
.pt-cat__body {
  display: block;
  padding: 10px 12px 12px;
  background: #fff;
}
.pt-cat__name {
  display: block;
  margin: 0;
  font-family: var(--pt-font-title);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--pt-primary);
}
.pt-cat__count {
  display: block;
  font-size: 0.75rem;
  color: var(--pt-muted);
}

/* --------------------------------------------------------------------------
   10. Carte produit — compatible ul.products > li.product
   -------------------------------------------------------------------------- */
ul.products,
.pt-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pt-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.products > li.product,
.pt-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  overflow: hidden;
  box-shadow: var(--pt-shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
ul.products > li.product:hover,
.pt-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pt-shadow-lg);
}
.pt-product-card__media {
  position: relative;
  background: var(--pt-bg-cream);
  overflow: hidden;
}
.pt-product-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.pt-product-card:hover .pt-product-card__media img {
  transform: scale(1.05);
}
.pt-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}
.pt-badge,
span.onsale {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--pt-radius-pill);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--pt-primary);
  color: #fff;
  position: static;
  margin: 0;
  min-height: 0;
  line-height: 1.6;
}
span.onsale,
.pt-badge--sale {
  background: var(--pt-sale);
  color: #fff;
}
.pt-badge--new {
  background: var(--pt-primary);
}
.pt-badge--custom {
  background: var(--pt-gold);
  color: var(--pt-primary);
}
.pt-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--pt-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pt-primary);
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.pt-fav:hover {
  color: var(--pt-accent-dark);
  transform: scale(1.08);
}
.pt-fav[aria-pressed="true"] {
  color: var(--pt-sale);
}
.pt-fav[aria-pressed="true"] svg {
  fill: currentColor;
}
.pt-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  flex: 1 1 auto;
}
.pt-product-card__title,
ul.products > li.product h3 {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pt-product-card__title a {
  color: var(--pt-primary);
}
.pt-product-card__title a:hover {
  color: var(--pt-accent-dark);
  text-decoration: none;
}

/* Étoiles WooCommerce */
.pt-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--pt-muted);
}
.pt-stars {
  color: var(--pt-gold);
  letter-spacing: 0.08em;
  font-size: 0.875rem;
}
.star-rating {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 5.4em;
  height: 1.2em;
  font-size: 0.875rem;
  line-height: 1.2;
  font-family: star;
  color: var(--pt-gold);
}
.star-rating::before {
  content: "\73\73\73\73\73";
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
}
.star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.star-rating span::before {
  content: "\53\53\53\53\53";
  position: absolute;
  top: 0;
  left: 0;
}

/* Prix WooCommerce */
.price,
.pt-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--pt-font-title);
  font-weight: 700;
  color: var(--pt-primary);
  font-size: 1.0625rem;
  margin: 0;
}
.price del,
.pt-price del {
  color: var(--pt-muted);
  font-weight: 400;
  font-size: 0.875rem;
  opacity: 1;
}
.price ins,
.pt-price ins {
  text-decoration: none;
  color: var(--pt-sale);
  background: none;
}
.pt-product-card__foot {
  margin-top: auto;
  padding-top: 10px;
}
.pt-product-card .button,
a.button.add_to_cart_button,
button.add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--pt-accent);
  color: #fff;
  border: 0;
  border-radius: var(--pt-radius-pill);
  font-family: var(--pt-font-body);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.18s ease;
}
a.button.add_to_cart_button:hover,
button.add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--pt-accent-dark);
  color: #fff;
  text-decoration: none;
}
.added_to_cart {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  text-align: center;
}

/* Quantité Woo */
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius-pill);
  overflow: hidden;
  background: #fff;
}
.quantity input.qty {
  width: 56px;
  min-height: 44px;
  border: 0;
  text-align: center;
  font: inherit;
  color: var(--pt-primary);
  background: transparent;
}

/* Notices Woo */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: var(--pt-radius);
  padding: 14px 16px;
  margin: 0 0 18px;
  font-size: 0.9rem;
  list-style: none;
  border-left: 4px solid;
}
.woocommerce-message {
  background: #eef7f2;
  border-color: var(--pt-success);
  color: #1f5940;
}
.woocommerce-error {
  background: #fdeeee;
  border-color: var(--pt-sale);
  color: #8f2727;
}
.woocommerce-info {
  background: var(--pt-bg-cream);
  border-color: var(--pt-accent);
  color: var(--pt-primary);
}

/* Fil d'Ariane / pagination Woo (utilisés sur les autres gabarits) */
.woocommerce-breadcrumb,
.pt-breadcrumb {
  font-size: 0.8125rem;
  color: var(--pt-muted);
  padding: 14px 0;
}
.woocommerce-breadcrumb a,
.pt-breadcrumb a {
  color: var(--pt-muted);
}
.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.woocommerce-pagination a,
.woocommerce-pagination span.current {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 50%;
  border: 1px solid var(--pt-border);
  background: #fff;
  color: var(--pt-primary);
  text-decoration: none;
}
.woocommerce-pagination span.current {
  background: var(--pt-primary);
  color: #fff;
  border-color: var(--pt-primary);
}

/* --------------------------------------------------------------------------
   11. Bloc personnalisation
   -------------------------------------------------------------------------- */
.pt-custom__grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.pt-beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pt-beforeafter figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  overflow: hidden;
  box-shadow: var(--pt-shadow);
}
.pt-beforeafter img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.pt-beforeafter figcaption {
  padding: 8px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pt-primary);
  text-align: center;
}
.pt-steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}
.pt-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pt-steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pt-accent);
  color: #fff;
  font-family: var(--pt-font-title);
  font-weight: 700;
  font-size: 0.875rem;
}
.pt-steps strong {
  display: block;
  font-family: var(--pt-font-title);
  color: var(--pt-primary);
}
.pt-steps span {
  font-size: 0.875rem;
  color: var(--pt-muted);
}

/* --------------------------------------------------------------------------
   12. Idées cadeaux / arguments
   -------------------------------------------------------------------------- */
.pt-gifts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pt-gap);
}
.pt-gift {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 130px;
  padding: 16px;
  border-radius: var(--pt-radius);
  border: 1px solid var(--pt-border);
  background: var(--pt-bg-cream);
  color: var(--pt-primary);
  font-family: var(--pt-font-title);
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.pt-gift:hover {
  background: #fff;
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--pt-accent-dark);
}
.pt-gift em {
  display: block;
  font-family: var(--pt-font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--pt-muted);
  margin-top: 4px;
}
.pt-gift__emoji {
  font-size: 1.5rem;
  margin-bottom: auto;
}

.pt-why {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pt-gap);
}
.pt-why__item {
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 18px;
  box-shadow: var(--pt-shadow);
}
.pt-why__item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.pt-why__item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--pt-muted);
}

/* --------------------------------------------------------------------------
   13. Avis clients
   -------------------------------------------------------------------------- */
.pt-reviews__score {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--pt-shadow);
}
.pt-reviews__note {
  font-family: var(--pt-font-title);
  font-weight: 700;
  font-size: 2rem;
  color: var(--pt-primary);
  line-height: 1;
}
.pt-reviews__grid {
  display: grid;
  gap: var(--pt-gap);
}
.pt-review {
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 18px;
  box-shadow: var(--pt-shadow);
}
.pt-review blockquote {
  margin: 10px 0 12px;
  font-size: 0.9375rem;
}
.pt-review__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--pt-muted);
}
.pt-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef7f2;
  color: #1f5940;
  border-radius: var(--pt-radius-pill);
  padding: 2px 10px;
  font-weight: 500;
}
.pt-review__author {
  font-family: var(--pt-font-title);
  font-weight: 700;
  color: var(--pt-primary);
}

/* --------------------------------------------------------------------------
   14. Blog
   -------------------------------------------------------------------------- */
.pt-posts {
  display: grid;
  gap: var(--pt-gap);
}
.pt-post {
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  overflow: hidden;
  box-shadow: var(--pt-shadow);
  display: flex;
  flex-direction: column;
}
.pt-post img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pt-post:hover img {
  transform: scale(1.04);
}
.pt-post__body {
  padding: 14px;
}
.pt-post__cat {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--pt-accent-dark);
  background: var(--pt-bg);
  border-radius: var(--pt-radius-pill);
  padding: 3px 10px;
  margin-bottom: 8px;
}
.pt-post h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}
.pt-post h3 a {
  color: var(--pt-primary);
}
.pt-post__date {
  font-size: 0.75rem;
  color: var(--pt-muted);
}
.pt-post p {
  font-size: 0.875rem;
  color: var(--pt-muted);
  margin: 8px 0 0;
}

/* --------------------------------------------------------------------------
   15. Bloc SEO repliable
   -------------------------------------------------------------------------- */
.pt-seo__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.pt-seo__media img {
  border-radius: var(--pt-radius);
  box-shadow: var(--pt-shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.pt-collapse {
  position: relative;
  overflow: hidden;
  max-height: 180px;
  transition: max-height 0.35s ease;
}
.pt-collapse[data-open="true"] {
  max-height: 2000px;
}
.pt-collapse:not([data-open="true"])::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(253, 246, 243, 0), var(--pt-bg-cream));
}
.pt-collapse__toggle {
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   16. FAQ accordéon
   -------------------------------------------------------------------------- */
.pt-faq {
  max-width: 820px;
  margin: 0 auto;
}
.pt-faq .pt-acc {
  background: #fff;
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  margin-bottom: 10px;
  padding: 0 16px;
}
.pt-faq .pt-acc__trigger {
  font-size: 0.9375rem;
}
.pt-faq .pt-acc__panel p {
  font-size: 0.9rem;
  color: var(--pt-text);
  margin: 0;
}

/* --------------------------------------------------------------------------
   17. Panier latéral (off-canvas)
   -------------------------------------------------------------------------- */
.pt-cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 130;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--pt-shadow-lg);
}
.pt-cart-panel.is-open {
  transform: translateX(0);
}
.pt-cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pt-border);
}
.pt-cart-panel__head h2 {
  margin: 0;
  font-size: 1.0625rem;
}
.pt-cart-panel__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
}
.pt-cart-panel__foot {
  border-top: 1px solid var(--pt-border);
  padding: 16px;
  background: var(--pt-bg-cream);
}
.pt-ship-goal {
  background: var(--pt-bg-cream);
  border: 1px solid var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 12px;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  color: var(--pt-primary);
}
.pt-progress {
  height: 8px;
  border-radius: var(--pt-radius-pill);
  background: #fff;
  border: 1px solid var(--pt-border);
  overflow: hidden;
  margin-top: 8px;
}
.pt-progress__bar {
  height: 100%;
  background: var(--pt-accent);
  border-radius: var(--pt-radius-pill);
  transition: width 0.4s ease;
}
.pt-cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--pt-border);
}
.pt-cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--pt-radius-sm);
  background: var(--pt-bg-cream);
}
.pt-cart-line__name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pt-primary);
}
.pt-cart-line__meta {
  font-size: 0.75rem;
  color: var(--pt-muted);
}
.pt-cart-line__remove {
  border: 0;
  background: transparent;
  color: var(--pt-muted);
  font-size: 0.75rem;
  text-decoration: underline;
  padding: 0;
}
.pt-cart-suggest {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--pt-bg-cream);
  border: 1px dashed var(--pt-border);
  border-radius: var(--pt-radius);
  padding: 12px;
  margin-top: 16px;
}
.pt-cart-suggest img {
  width: 56px;
  height: 56px;
  border-radius: var(--pt-radius-sm);
  object-fit: cover;
}
.pt-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--pt-font-title);
  font-weight: 700;
  color: var(--pt-primary);
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.pt-cart-panel__actions {
  display: grid;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   18. Newsletter + footer
   -------------------------------------------------------------------------- */
.pt-footer {
  background: var(--pt-primary);
  color: #d8dbe8;
  padding: 40px 0 0;
  font-size: 0.9rem;
}
.pt-footer h3 {
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pt-footer a {
  color: #d8dbe8;
}
.pt-footer a:hover {
  color: #fff;
}
.pt-footer__grid {
  display: grid;
  gap: 28px;
}
.pt-footer__baseline {
  font-family: var(--pt-font-title);
  color: #fff;
  font-size: 1rem;
  margin: 10px 0 14px;
}
.pt-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pt-footer__logo svg {
  width: 150px;
  height: auto;
}
.pt-socials {
  display: flex;
  gap: 8px;
}
.pt-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: background-color 0.2s ease;
}
.pt-socials a:hover {
  background: rgba(255, 255, 255, 0.14);
}
.pt-footer__links li {
  margin-bottom: 8px;
}
.pt-newsletter p {
  font-size: 0.875rem;
}
.pt-newsletter form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pt-newsletter input[type="email"] {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--pt-radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}
.pt-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.pt-newsletter small {
  display: block;
  margin-top: 8px;
  color: rgba(216, 219, 232, 0.7);
  font-size: 0.75rem;
}
.pt-footer__bottom {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
}
.pt-pays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.pt-pays span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  color: #fff;
}

/* --------------------------------------------------------------------------
   19. Animations (CSS uniquement)
   -------------------------------------------------------------------------- */
@keyframes pt-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pt-anim {
  animation: pt-fade-in 0.5s ease both;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   20. Points de rupture
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  :root {
    --pt-section-y: 56px;
  }
  .pt-cats {
    grid-template-columns: repeat(3, 1fr);
  }
  .pt-gifts {
    grid-template-columns: repeat(3, 1fr);
  }
  .pt-why {
    grid-template-columns: repeat(2, 1fr);
  }
  .pt-posts {
    grid-template-columns: repeat(2, 1fr);
  }
  .pt-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pt-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  :root {
    --pt-section-y: 72px;
    --pt-gap: 20px;
  }
  .pt-container {
    padding: 0 24px;
  }
  .pt-logo img,
  .pt-logo svg {
    width: 150px;
  }
  .pt-header.is-compact .pt-logo svg,
  .pt-header.is-compact .pt-logo img {
    width: 120px;
  }
  .pt-search {
    display: block;
    max-width: 460px;
    margin: 0 auto;
  }
  .pt-iconbtn__label {
    display: block;
  }
  .pt-nav {
    display: block;
  }
  .pt-burger {
    display: none;
  }
  .pt-hero {
    padding: 56px 0 64px;
  }
  .pt-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
  }
  .pt-hero__media {
    order: 0;
  }
  .pt-trust .pt-scroller {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin: 0;
    padding-inline: 0;
  }
  .pt-cats {
    grid-template-columns: repeat(4, 1fr);
  }
  ul.products,
  .pt-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pt-custom__grid,
  .pt-seo__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .pt-gifts {
    grid-template-columns: repeat(5, 1fr);
  }
  .pt-why {
    grid-template-columns: repeat(4, 1fr);
  }
  .pt-posts {
    grid-template-columns: repeat(3, 1fr);
  }
  .pt-reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pt-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
  .pt-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .pt-collapse {
    max-height: none;
  }
  .pt-collapse::after {
    display: none;
  }
  .pt-collapse__toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   21. Gabarits catégorie et fiche produit
   -------------------------------------------------------------------------- */
.pt-btn--outline { border-color: var(--pt-accent); color: var(--pt-accent-dark); }
.pt-btn--outline:hover { background: var(--pt-accent); border-color: var(--pt-accent); color: #fff; }
.pt-review__placeholder { color: var(--pt-primary); font-family: var(--pt-font-title); }
.pt-category-head { padding: 10px 0 28px; background: var(--pt-bg-cream); border-bottom: 1px solid var(--pt-border); }
.pt-category-head h1 { margin-bottom: 8px; }
.pt-category-head p { max-width: 68ch; }
.pt-subcats { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 4px; scrollbar-width: none; }
.pt-subcats::-webkit-scrollbar { display: none; }
.pt-subcats a { flex: 0 0 auto; padding: 8px 16px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-pill); background: #fff; color: var(--pt-primary); font-size: .875rem; font-weight: 500; }
.pt-subcats a:first-child, .pt-subcats a:hover { background: var(--pt-primary); border-color: var(--pt-primary); color: #fff; text-decoration: none; }
.pt-shop-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.pt-shop-toolbar p { margin: 0; color: var(--pt-muted); font-size: .875rem; }
.pt-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--pt-muted); font-size: .8125rem; }
.pt-sort select, .pt-price-inputs input, .pt-personalize input { min-height: 42px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-sm); background: #fff; color: var(--pt-text); padding: 8px 10px; font: inherit; }
.pt-shop-layout { display: grid; gap: 24px; }
.pt-filters { position: fixed; inset: 0 0 0 auto; z-index: 125; width: min(360px, 100%); background: #fff; padding: 16px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--pt-shadow-lg); }
.pt-filters.is-open { transform: translateX(0); }
.pt-filters__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--pt-border); margin-bottom: 8px; }
.pt-filters__head h2 { font-size: 1.2rem; margin: 0; }
.pt-filters fieldset { border: 0; border-bottom: 1px solid var(--pt-border); padding: 16px 0; margin: 0; }
.pt-filters legend { font-family: var(--pt-font-title); color: var(--pt-primary); font-weight: 700; margin-bottom: 8px; }
.pt-filters label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: .875rem; }
.pt-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pt-price-inputs input { min-width: 0; width: 100%; }
.pt-shop-products .woocommerce-pagination { margin-top: 32px; }
.pt-category-copy { max-width: 880px; }
.pt-product-page { padding: 8px 0 48px; }
.pt-product-main { display: grid; gap: 28px; }
.pt-gallery__main { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--pt-radius); overflow: hidden; background: var(--pt-bg-cream); }
.pt-gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pt-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.pt-gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--pt-radius-sm); overflow: hidden; background: var(--pt-bg-cream); }
.pt-gallery__thumbs button.is-active { border-color: var(--pt-accent); }
.pt-gallery__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pt-product-summary h1 { margin-top: 10px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.pt-product-review-link { display: inline-flex; align-items: center; gap: 8px; color: var(--pt-muted); font-size: .875rem; }
.pt-product-price { font-size: 1.65rem; margin: 14px 0 4px; }
.pt-stock { color: var(--pt-success); font-weight: 500; font-size: .875rem; }
.pt-option { margin: 18px 0; }
.pt-option > label, .pt-personalize legend { display: block; font-family: var(--pt-font-title); color: var(--pt-primary); font-weight: 700; margin-bottom: 8px; }
.pt-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-swatches input { position: absolute; opacity: 0; }
.pt-swatch { display: inline-flex; min-width: 46px; min-height: 42px; align-items: center; justify-content: center; padding: 8px 14px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius-pill); background: #fff; color: var(--pt-primary); font-size: .875rem; }
.pt-swatches input:checked + .pt-swatch { border-color: var(--pt-accent); box-shadow: 0 0 0 2px var(--pt-bg); }
.pt-personalize { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 1px solid var(--pt-border); border-radius: var(--pt-radius); background: var(--pt-bg-cream); padding: 16px; margin: 20px 0; }
.pt-personalize legend { padding: 0 6px; }
.pt-personalize label { display: grid; gap: 5px; font-size: .8125rem; color: var(--pt-primary); }
.pt-personalize__preview { grid-column: 1 / -1; position: relative; overflow: hidden; border-radius: var(--pt-radius-sm); }
.pt-personalize__preview img { width: 100%; height: 130px; object-fit: cover; }
.pt-personalize__preview span { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: var(--pt-radius-pill); background: #fff; color: var(--pt-primary); font-size: .75rem; }
.pt-add-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pt-add-row .add_to_cart_button { min-height: 48px; }
.pt-offer { margin-top: 14px; padding: 12px; border: 1px dashed var(--pt-gold); border-radius: var(--pt-radius); background: var(--pt-bg-cream); color: var(--pt-primary); text-align: center; font-size: .875rem; }
.pt-product-trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; color: var(--pt-muted); font-size: .78rem; }
.pt-tabs { background: #fff; border: 1px solid var(--pt-border); border-radius: var(--pt-radius); overflow: hidden; box-shadow: var(--pt-shadow); }
.pt-tabs__nav { display: flex; overflow-x: auto; border-bottom: 1px solid var(--pt-border); }
.pt-tabs__nav button { flex: 0 0 auto; padding: 14px 18px; border: 0; border-bottom: 3px solid transparent; background: #fff; color: var(--pt-muted); }
.pt-tabs__nav button.is-active { color: var(--pt-primary); border-color: var(--pt-accent); font-weight: 500; }
.pt-tabs__panel { padding: 22px; }
.pt-specs { display: grid; margin: 0; }
.pt-specs div { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--pt-border); }
.pt-specs dt { color: var(--pt-muted); }
.pt-specs dd { margin: 0; color: var(--pt-primary); font-weight: 500; }
.pt-mobile-buy { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--pt-border); box-shadow: var(--pt-shadow-lg); font-family: var(--pt-font-title); color: var(--pt-primary); font-weight: 700; }
.pt-mobile-buy .pt-btn { min-height: 42px; padding: 8px 18px; }
.pt-gallery-dialog { width: min(900px, 94vw); max-height: 94vh; border: 0; padding: 0; border-radius: var(--pt-radius); background: #fff; }
.pt-gallery-dialog::backdrop { background: rgba(19,27,81,.78); }
.pt-gallery-dialog img { width: 100%; max-height: 88vh; object-fit: contain; }
.pt-gallery-dialog button { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #fff; color: var(--pt-primary); box-shadow: var(--pt-shadow); }
@media (min-width: 900px) {
  .pt-filter-open, .pt-filters__head .pt-mobilemenu__close { display: none; }
  .pt-shop-layout { grid-template-columns: 230px minmax(0, 1fr); align-items: start; }
  .pt-filters { position: sticky; top: 150px; z-index: 1; width: auto; padding: 18px; transform: none; border: 1px solid var(--pt-border); border-radius: var(--pt-radius); box-shadow: none; }
  .pt-shop-products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-product-main { grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 52px; align-items: start; }
  .pt-product-summary { position: sticky; top: 150px; }
  .pt-mobile-buy { display: none; }
}
