/* ==========================================================================
   TUTTO PER IL TUO ANIMALE - MODERN PET SHOP STYLESHEET
   Clean, Warm, Responsive & High-End Light Mode Design System
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
  /* Color Palette - Light, Warm & Professional */
  --bg-main: #F8FAF9;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F1F5F3;
  --bg-glass: rgba(255, 255, 255, 0.92);

  --primary: #0D9488;         /* Fresh Deep Teal */
  --primary-hover: #0F766E;
  --primary-dark: #0F766E;
  --primary-light: #E6F4F1;
  --primary-glow: rgba(13, 148, 136, 0.15);

  --secondary: #E65100;       /* Rich Deep Amber/Orange */
  --secondary-hover: #BF360C;
  --secondary-light: #FFF3E0;

  --accent-gold: #D97706;

  --text-main: #0F172A;        /* Dark Charcoal */
  --text-muted: #475569;
  --text-light: #94A3B8;

  --border-light: #E2E8F0;
  --border-focus: #0D9488;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.12);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

/* --- WIDE CONTAINER (MAX WIDTH 1680px FOR LARGE SCREENS) --- */
.ps-container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- ANNOUNCEMENT TOP BAR --- */
.ps-topbar {
  background: linear-gradient(90deg, #0F766E, #0D9488, #E65100);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0;
  text-align: center;
}

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

.ps-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- STICKY HEADER & NAVBAR --- */
.ps-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: min-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease;
}

.ps-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 165px;
  padding: 10px 0;
  gap: 1.5rem;
  transition: min-height 0.28s cubic-bezier(0.4, 0, 0.2, 1), padding 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Brand Logo (Large at top with tagline, switches smoothly to compact on scroll) */
.ps-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.ps-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-logo-wrap-large {
  flex-direction: column;
  text-align: center;
}

.ps-logo-large {
  height: 130px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.ps-logo-large:hover,
.ps-logo-compact:hover {
  transform: scale(1.02);
}

.ps-logo-tagline {
  display: block;
  width: auto;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: #13715C;
  margin-top: 5px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  max-width: none;
}

.ps-logo-wrap-compact {
  display: none;
}

.ps-logo-compact {
  height: 44px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  margin: 0;
  transition: transform 0.2s ease;
}

/* --- SCROLLED STATE (SMOOTH COMPACT HEADER, ZERO JITTER) --- */
.ps-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.ps-header.scrolled .ps-header-inner {
  min-height: 66px;
  padding: 5px 0;
}

.ps-header.scrolled .ps-logo-wrap-large {
  display: none;
}

.ps-header.scrolled .ps-logo-wrap-compact {
  display: flex;
}

.ps-footer-logo-img {
  height: 80px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* Nav Links */
.ps-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.ps-top-nav-link {
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0.3rem 0;
}

.ps-top-nav-link:hover, .ps-top-nav-link.active {
  color: #13715C;
  font-weight: 700;
}

.ps-top-nav-divider {
  color: #CBD5E1;
}

/* --- HAMBURGER BUTTON (MOBILE) --- */
.ps-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.ps-hamburger-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

.ps-hamburger-bar {
  width: 20px;
  height: 2px;
  background: #13715C;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ps-hamburger-btn.active .ps-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ps-hamburger-btn.active .ps-hamburger-bar:nth-child(2) {
  opacity: 0;
}

.ps-hamburger-btn.active .ps-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- MOBILE SEARCH TRIGGER & COLLAPSIBLE BAR --- */
.ps-mobile-search-btn {
  display: none;
}

.ps-mobile-search-bar {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.ps-mobile-search-bar.open {
  display: block;
}

.ps-mobile-search-form {
  display: flex;
  gap: 0.5rem;
}

.ps-mobile-search-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
}

.ps-mobile-search-input:focus {
  border-color: var(--primary);
}

.ps-mobile-search-submit {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  padding: 0 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.ps-mobile-search-submit:hover {
  background: var(--primary-hover);
}

/* --- MOBILE DRAWER & BACKDROP --- */
.ps-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ps-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ps-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #FFFFFF;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  visibility: hidden;
  box-shadow: none;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s ease;
}

.ps-mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
}

.ps-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
  background: #FFFFFF;
}

.ps-drawer-title-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.ps-drawer-logo {
  height: 68px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.ps-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.ps-drawer-close:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.ps-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  -webkit-overflow-scrolling: touch;
}

.ps-drawer-search {
  display: flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.25rem 0.4rem 0.25rem 0.85rem;
  margin-bottom: 1.4rem;
}

.ps-drawer-search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  outline: none;
  color: var(--text-main);
}

.ps-drawer-search button {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ps-drawer-section {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.2rem;
}

.ps-drawer-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ps-drawer-heading {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.ps-drawer-cat-list, .ps-drawer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ps-drawer-cat-item {
  border-radius: var(--radius-sm);
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.ps-drawer-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-drawer-cat-link {
  flex: 1;
  display: block;
  padding: 0.6rem 0.4rem;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ps-drawer-cat-link:hover {
  color: var(--primary);
}

.ps-drawer-cat-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ps-drawer-cat-item.expanded .ps-drawer-cat-toggle {
  transform: rotate(180deg);
  color: var(--primary);
}

.ps-drawer-subcat-list {
  list-style: none;
  padding: 0.2rem 0 0.5rem 1rem;
  margin: 0;
  display: none;
  background: var(--bg-surface-subtle);
  border-left: 3px solid var(--primary);
}

.ps-drawer-cat-item.expanded .ps-drawer-subcat-list {
  display: block;
}

.ps-drawer-subcat-link {
  display: block;
  padding: 0.4rem 0.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
}

.ps-drawer-subcat-link:hover {
  color: var(--primary);
  font-weight: 600;
}

.ps-drawer-nav-list li a {
  display: block;
  padding: 0.55rem 0.4rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.ps-drawer-nav-list li a:hover {
  background: var(--bg-surface-subtle);
  color: var(--primary);
}

.ps-drawer-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

.ps-drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.ps-drawer-btn-outline {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.ps-drawer-btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.ps-drawer-btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(19, 113, 92, 0.3);
}

.ps-drawer-btn-primary:hover {
  background: var(--primary-hover);
}

/* --- GREEN CATEGORIES NAVBAR & DROPDOWNS --- */
.ps-cat-navbar {
  background: #13715C;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(19, 113, 92, 0.15);
  position: relative;
  z-index: 200;
  overflow: visible !important;
}

.ps-cat-navbar-inner {
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible !important;
}

.ps-cat-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.ps-cat-nav-item {
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.ps-cat-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 1.4rem;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ps-cat-nav-item:hover > .ps-cat-nav-link,
.ps-cat-nav-link.active,
.ps-cat-nav-item.open > .ps-cat-nav-link {
  background: #0E5344;
}

/* SUBCATEGORIES DROPDOWN MENU (COMPACT & ELEGANT) */
.ps-cat-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #0E5344;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 9999;
  padding: 0.25rem 0;
  list-style: none;
}

.ps-cat-nav-item:hover .ps-cat-dropdown,
.ps-cat-nav-item.open .ps-cat-dropdown {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ps-cat-dropdown-item {
  margin: 0;
}

.ps-cat-dropdown-link {
  display: block;
  padding: 0.45rem 1.1rem;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  text-decoration: none;
  transition: all 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ps-cat-dropdown-item:last-child .ps-cat-dropdown-link {
  border-bottom: none;
}

.ps-cat-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  padding-left: 1.4rem;
}

.ps-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Header Search Bar */
.ps-search-box {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.ps-search-input {
  width: 100%;
  padding: 0.75rem 1.4rem 0.75rem 3rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-main);
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.ps-search-input:focus {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.ps-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Actions (Cart & Auth) */
.ps-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ps-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.ps-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.ps-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--secondary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(230, 81, 0, 0.4);
}

/* --- BREADCRUMBS --- */
.ps-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1.5rem 0 2rem;
  word-break: break-word;
  line-height: 1.5;
}

.ps-breadcrumb a {
  color: var(--text-muted);
  font-weight: 500;
}

.ps-breadcrumb a:hover {
  color: var(--primary);
}

.ps-breadcrumb-sep {
  color: var(--text-light);
}

/* --- HERO ROTATING SLIDER (3 SLIDES) --- */
.ps-hero-slider {
  position: relative;
  overflow: hidden !important;
  margin: 2rem 0 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.ps-hero-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  margin: 0;
  padding: 0;
}

.ps-hero-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  min-height: 460px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Dog and cat are on the left; text sits on the right */
  padding: 3.5rem 5rem 3.5rem 2.5rem;
  background-size: cover;
  background-position: center left;
  color: #FFFFFF;
  overflow: hidden;
}

.ps-hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  z-index: 0;
}

.ps-hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.52) 48%, rgba(15, 23, 42, 0.08) 75%, transparent 100%);
  z-index: 1;
}

.ps-hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 530px;
}

.ps-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--secondary);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ps-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 750;
  line-height: 1.22;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ps-hero-desc {
  font-size: clamp(0.92rem, 1vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.5rem;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ps-hero-slide-content .ps-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.9rem;
}

/* Slider Controls */
.ps-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.ps-slider-arrow:hover {
  background: #FFFFFF;
  color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.ps-slider-arrow.prev { left: 20px; }
.ps-slider-arrow.next { right: 20px; }

.ps-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.ps-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ps-slider-dot.active {
  width: 32px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
}

/* Button styles */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.ps-btn-primary {
  background: var(--secondary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(230, 81, 0, 0.35);
}

.ps-btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 81, 0, 0.45);
}

.ps-btn-secondary {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.ps-btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
  transform: translateY(-2px);
}

/* --- CATEGORIES GRID --- */
.ps-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.ps-section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.ps-section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* --- 6 IN A ROW CATEGORY BANNER CARDS GRID --- */
.ps-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
  margin-bottom: 4.5rem;
  width: 100%;
}

@media (max-width: 1400px) {
  .ps-cat-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .ps-cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .ps-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem;
  }
}

.ps-cat-card-box {
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 0.9rem;
  border: 1px solid var(--border-light);
  min-width: 0;
}

@media (max-width: 1400px) and (min-width: 1025px) {
  .ps-cat-card-box {
    padding: 0.9rem 0.65rem;
    height: 195px;
  }
}

.ps-cat-card-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.ps-cat-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ps-cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ps-cat-card-box:hover .ps-cat-card-img {
  transform: scale(1.08);
}

.ps-cat-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 19, 41, 0.15) 0%, rgba(11, 19, 41, 0.85) 100%);
  transition: background 0.3s ease;
}

.ps-cat-card-box:hover .ps-cat-card-overlay {
  background: linear-gradient(180deg, rgba(19, 113, 92, 0.25) 0%, rgba(11, 19, 41, 0.92) 100%);
}

.ps-cat-card-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.ps-cat-card-title {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.15vw, 1.22rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  word-break: normal;
  overflow-wrap: break-word;
}

.ps-cat-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #34D399;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.ps-cat-card-btn {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ps-cat-card-box:hover .ps-cat-card-btn {
  color: #34D399;
  transform: translateX(4px);
}

/* --- 5 COLUMNS PRODUCTS GRID --- */
.ps-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.35rem;
  margin-bottom: 4.5rem;
}

@media (max-width: 1500px) {
  .ps-products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 1250px) {
  .ps-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 992px) {
  .ps-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .ps-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ps-products-grid {
    grid-template-columns: 1fr;
  }
}

.ps-product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.ps-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Product Badges */
.ps-product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ps-tag-badge {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ps-tag-badge.sale {
  background: var(--secondary);
  color: #FFFFFF;
}

.ps-tag-badge.new {
  background: var(--primary);
  color: #FFFFFF;
}

/* Product Image Box */
.ps-product-img-box {
  width: 100%;
  height: 230px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.2rem;
  border-bottom: 1px solid #F1F5F9;
}

.ps-product-img-box a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-product-img {
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

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

/* Product Content */
.ps-product-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ps-product-cat {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.ps-product-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  line-height: 1.35;
  display: block;
  overflow: visible;
  height: auto;
  min-height: 2.6em;
  word-break: break-word;
}

.ps-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-light);
}

.ps-product-price {
  display: flex;
  flex-direction: column;
}

.ps-price-current {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.ps-price-old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.ps-add-cart-btn {
  background: var(--primary);
  color: #FFFFFF;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(19, 113, 92, 0.25);
  flex-shrink: 0;
  padding: 0;
}

.ps-add-cart-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.35);
}

.ps-add-cart-btn:active {
  transform: scale(0.92);
}

.ps-add-cart-btn svg {
  transition: transform 0.2s ease;
}

.ps-add-cart-btn:hover svg {
  transform: scale(1.1);
}

/* --- PRODUCT DETAIL PAGE STYLES (INCREASED TEXT LEGIBILITY & RESPONSIVENESS) --- */
.ps-detail-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.75rem;
  margin-bottom: 3.5rem;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.ps-detail-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ps-detail-meta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.ps-detail-meta-cat {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ps-detail-meta-code {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ps-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.2rem;
  margin-bottom: 1.1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.ps-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.ps-detail-price-current {
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.ps-detail-price-old {
  font-size: 1.15rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.ps-detail-vat-badge {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: auto;
}

.ps-detail-stock-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.ps-stock-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.ps-stock-dot.in-stock {
  background: #10B981;
}

.ps-stock-dot.out-stock {
  background: #EF4444;
}

.ps-stock-label {
  font-weight: 700;
  font-size: 0.92rem;
}

.ps-stock-label.in-stock {
  color: #065F46;
}

.ps-stock-label.out-stock {
  color: #991B1B;
}

.ps-stock-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.ps-detail-actions-row {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.ps-detail-cart-btn {
  flex: 1;
  min-width: 200px;
  padding: 1rem 1.8rem;
  font-size: 1rem;
}

.ps-detail-assurances {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  padding: 1.15rem 1.3rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 600;
  box-sizing: border-box;
}

.ps-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ps-detail-main-img-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  transition: var(--transition-smooth);
}

.ps-detail-main-img-box:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.ps-detail-main-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.ps-detail-main-img-box:hover .ps-detail-main-img {
  transform: scale(1.04);
}

.ps-detail-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.ps-detail-zoom-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Lightbox Modal */
.ps-img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 41, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.ps-img-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ps-img-modal img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background: #FFFFFF;
  padding: 1rem;
}

.ps-img-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 2.2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ps-img-modal-close:hover {
  background: #EF4444;
  border-color: #EF4444;
}

.ps-detail-thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.ps-detail-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  background: #FFFFFF;
  padding: 0.3rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-detail-thumb:hover, .ps-detail-thumb.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.ps-detail-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.ps-qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  padding: 0.3rem;
}

.ps-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.ps-qty-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.ps-qty-input {
  width: 45px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 800;
  font-size: 1.1rem;
}

/* PRODUCT TABS SYSTEM & TEXT LEGIBILITY ENHANCEMENTS */
.ps-detail-tabs-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 4rem;
}

.ps-detail-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  overflow-x: auto;
}

.ps-tab-btn {
  padding: 1.2rem 2rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.ps-tab-btn:hover, .ps-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--bg-surface);
}

.ps-tab-content {
  padding: 3rem;
  display: none;
}

.ps-tab-content.active {
  display: block;
}

/* ENHANCED TEXT READABILITY */
.ps-product-detail-text {
  font-size: 1.18rem;
  line-height: 1.85;
  color: #1E293B;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ps-product-detail-text p {
  margin-bottom: 1.2rem;
}

/* --- FULL E-COMMERCE PAGE STYLES (CARRELLO, CHECKOUT, LOGIN, REGISTRAZIONE) --- */
.ps-page-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 4rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
  width: 100%;
}

.ps-cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.ps-cart-table th {
  text-align: left;
  padding: 1rem 1.2rem;
  background: var(--bg-surface-subtle);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
}

.ps-cart-table td {
  padding: 1.4rem 1.2rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.ps-cart-item-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

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

.ps-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.ps-form-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.ps-form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  outline: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.ps-form-input:focus {
  background: var(--bg-surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* AUTHENTICATION CARDS (LOGIN / REGISTRATION) */
.ps-auth-container {
  max-width: 600px;
  margin: 3rem auto 5rem;
}

.ps-auth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
}

/* --- CATALOG LAYOUT --- */
.ps-catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.ps-filter-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.ps-filter-group {
  margin-bottom: 2rem;
}

.ps-filter-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-filter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ps-filter-item a {
  display: block;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.ps-filter-item a:hover, .ps-filter-item a.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.ps-sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.ps-select {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  outline: none;
  font-weight: 600;
}

.ps-catalog-filter-btn {
  display: none;
}

.ps-filter-active-badge {
  background: var(--secondary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ps-filter-sidebar-header,
.ps-filter-sidebar-footer,
.ps-catalog-filter-backdrop {
  display: none;
}

.ps-sort-bar-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.ps-sort-bar-right {
  display: flex;
  align-items: center;
}

.ps-catalog-sort-form {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.ps-sort-control-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.ps-sort-control-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.ps-select-marca {
  max-width: 220px;
}

/* --- SEARCHABLE SELECT (SELECT2-LIKE) --- */
.ps-searchable-select {
  position: relative;
  display: inline-block;
  min-width: 220px;
}

.ps-searchable-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  outline: none;
}

.ps-searchable-trigger:hover,
.ps-searchable-select.open .ps-searchable-trigger {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(19, 113, 92, 0.12);
}

.ps-searchable-trigger-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-searchable-trigger.has-value .ps-searchable-trigger-text {
  color: var(--primary);
  font-weight: 700;
}

.ps-searchable-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-right: -2px;
}

.ps-searchable-clear:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.ps-searchable-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ps-searchable-select.open .ps-searchable-arrow {
  transform: rotate(180deg);
}

.ps-searchable-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 290px;
  max-width: 90vw;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: psDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ps-searchable-select.open .ps-searchable-dropdown {
  display: flex;
}

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

.ps-searchable-search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
}

.ps-searchable-search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.ps-searchable-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-main);
  width: 100%;
  font-weight: 500;
}

.ps-searchable-input-clear {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.2rem;
  transition: color 0.15s ease;
}

.ps-searchable-input-clear:hover {
  color: var(--text-main);
}

.ps-searchable-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  max-height: 240px;
  overflow-y: auto;
}

.ps-searchable-list::-webkit-scrollbar {
  width: 5px;
}

.ps-searchable-list::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.ps-searchable-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.ps-searchable-option:hover,
.ps-searchable-option.focused {
  background: var(--bg-surface-subtle);
  color: var(--primary);
}

.ps-searchable-option.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.ps-searchable-option.active svg {
  color: var(--primary);
  flex-shrink: 0;
}

.ps-searchable-empty {
  padding: 1.2rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.ps-hidden {
  display: none !important;
}

.ps-active-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #E0F2FE;
  border: 1px solid #7DD3FC;
  color: #0369A1;
  font-size: 0.82rem;
  font-weight: 700;
}

.ps-active-brand-chip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0369A1;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
}

.ps-active-brand-chip a:hover {
  color: #BE123C;
}

/* --- TEXTUAL LINE & NEED FILTERS (PILLS BAR) --- */
.ps-linea-pills-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ps-pills-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ps-pills-divider {
  border-top: 1px dashed var(--border-light);
  margin: 0.25rem 0;
}

.ps-brand-pill {
  font-size: 0.86rem;
}

.ps-brand-pill.active {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.ps-brand-pill:hover:not(.active) {
  border-color: #0284C7;
  color: #0284C7;
  background: rgba(2, 132, 199, 0.08);
}

.ps-linea-pills-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ps-linea-pills-label {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-linea-pills-reset {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.ps-linea-pills-reset:hover {
  color: var(--accent);
}

.ps-linea-pills-scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ps-linea-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ps-linea-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.ps-linea-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.ps-linea-pill-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  margin-left: 0.15rem;
}

.ps-filter-list-brands {
  max-height: 220px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.ps-filter-list-brands::-webkit-scrollbar {
  width: 4px;
}

.ps-filter-list-brands::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

/* --- SLIDE-OVER CART DRAWER --- */
.ps-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.ps-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ps-cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100vh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.ps-cart-drawer.open {
  right: 0;
}

.ps-cart-header {
  padding: 1.8rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ps-cart-body {
  padding: 1.8rem;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ps-cart-footer {
  padding: 1.8rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-surface-subtle);
}

/* --- ENHANCED CORPORATE FOOTER --- */
.ps-footer {
  background: #0B1329;
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 4px solid #13715C;
}

.ps-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  width: 100%;
}

@media (max-width: 992px) {
  .ps-footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.ps-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.ps-footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.ps-footer-ragione {
  font-size: 0.8rem;
  font-weight: 700;
  color: #34D399;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ps-footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 1.4rem;
}

.ps-footer-legal-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
}

.ps-footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.ps-footer-info-item svg {
  color: #34D399;
  flex-shrink: 0;
  margin-top: 2px;
}

.ps-footer-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.ps-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #13715C;
  border-radius: 2px;
}

.ps-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.ps-footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}

.ps-footer-links a:hover {
  color: #34D399;
  transform: translateX(4px);
}

.ps-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.92rem;
}

.ps-footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #CBD5E1;
}

.ps-footer-contact-item svg {
  color: #34D399;
  flex-shrink: 0;
}

.ps-footer-contact-item a {
  color: #34D399;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.ps-footer-contact-item a:hover {
  color: #FFFFFF;
}

.ps-footer-payments-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
  width: 100%;
}

.ps-footer-payments-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #E2E8F0;
}

.ps-footer-payment-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ps-payment-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #F8FAFC;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

.ps-payment-badge:hover {
  background: rgba(19, 113, 92, 0.4);
  border-color: #34D399;
}

.ps-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #64748B;
  width: 100%;
}

.ps-footer-bottom strong {
  color: #CBD5E1;
}

.ps-footer-vat {
  font-weight: 700;
  color: #34D399;
}

@media (max-width: 768px) {
  .ps-footer-payments-bar {
    justify-content: center;
    text-align: center;
  }
  .ps-footer-payment-badges {
    justify-content: center;
  }
  .ps-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
  .ps-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  .ps-detail-card {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding: 2rem;
  }
}

@media (max-width: 992px) {
  .ps-detail-main-img-box {
    height: 380px;
  }
  .ps-detail-title {
    font-size: 1.45rem;
  }
  .ps-hero-slide {
    padding: 3rem 2.5rem;
    min-height: 400px;
  }
  .ps-hero-title {
    font-size: 1.65rem;
  }
  .ps-hero-desc {
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
  }
  .ps-cat-navbar {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ps-cat-navbar::-webkit-scrollbar {
    display: none;
  }
  .ps-cat-navbar-inner {
    padding: 0 1rem;
  }
  .ps-cat-nav-list {
    flex-wrap: nowrap;
    width: max-content;
  }
  .ps-cat-nav-link {
    padding: 0.75rem 1.1rem;
    font-size: 0.88rem;
  }
  .ps-cat-dropdown {
    display: none !important;
  }
  .ps-catalog-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .ps-catalog-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #13715C;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(19, 113, 92, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .ps-catalog-filter-btn:hover {
    background: #0E5344;
  }
  .ps-filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 86%;
    max-width: 360px;
    background: #FFFFFF;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    visibility: hidden;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s ease;
    height: 100vh;
    overflow: hidden;
  }
  .ps-filter-sidebar.open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.25);
  }
  .ps-filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-surface-subtle);
  }
  .ps-filter-sidebar-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
  }
  .ps-filter-sidebar-close:hover {
    color: var(--danger);
    border-color: var(--danger);
  }
  .ps-filter-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .ps-filter-sidebar-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg-surface-subtle);
  }
  .ps-catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: block;
  }
  .ps-catalog-filter-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
  .ps-sort-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.2rem;
  }
  .ps-sort-bar-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .ps-catalog-sort-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .ps-sort-control-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ps-sort-control-item select {
    flex: 1;
    max-width: none;
  }
  .ps-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .ps-container {
    padding: 0 1rem;
  }
  .ps-topbar-item:nth-child(2),
  .ps-topbar-item:nth-child(3) {
    display: none;
  }
  .ps-topbar-content {
    justify-content: center;
  }
  .ps-header-inner {
    min-height: 62px;
    height: 62px;
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }
  .ps-hamburger-btn {
    display: flex;
    order: 1;
    flex-shrink: 0;
  }
  .ps-logo {
    order: 2;
    margin-right: auto;
    margin-left: 0.5rem;
    align-items: center;
    flex-direction: row;
  }
  .ps-logo-wrap-large {
    display: none !important;
  }
  .ps-logo-wrap-compact {
    display: flex !important;
  }
  .ps-logo-compact {
    height: 38px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
  }
  .ps-mobile-search-btn {
    display: flex;
  }
  .ps-search-box {
    display: none;
  }
  .ps-nav {
    display: none;
  }
  .ps-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .ps-icon-btn {
    width: 38px;
    height: 38px;
  }
  /* Hero slider on mobile */
  .ps-hero-slider {
    margin: 1rem 0 2.2rem;
    border-radius: var(--radius-md);
    overflow: hidden !important;
    box-shadow: none !important;
  }
  .ps-hero-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 2rem 1.2rem 2.2rem;
    min-height: 380px;
    align-items: flex-end;
    justify-content: flex-start;
    background-position: 25% center;
  }
  .ps-hero-slide-overlay {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.6) 55%, rgba(15, 23, 42, 0.15) 100%);
  }
  .ps-hero-slide-content {
    max-width: 100%;
  }
  .ps-hero-tag {
    font-size: 0.7rem;
    padding: 0.22rem 0.65rem;
    margin-bottom: 0.5rem;
  }
  .ps-hero-title {
    font-size: 1.35rem;
    line-height: 1.22;
    margin-bottom: 0.4rem;
  }
  .ps-hero-desc {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ps-hero-slide-content .ps-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.82rem;
  }
  .ps-slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
  }
  .ps-slider-arrow.prev { left: 6px; }
  .ps-slider-arrow.next { right: 6px; }
  .ps-slider-dots { bottom: 8px; }

  /* Sections Spacing & Mobile 2x2 Categories */
  .ps-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    margin-bottom: 2.8rem;
  }
  .ps-cat-card-box {
    height: 155px;
    padding: 0.85rem 0.7rem;
    border-radius: var(--radius-md);
  }
  .ps-cat-card-title {
    font-size: 0.94rem;
    line-height: 1.22;
  }
  .ps-cat-card-badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
  }
  .ps-cat-card-btn {
    display: none;
  }
  .ps-products-grid {
    margin-bottom: 3rem;
  }
  .ps-catalog-layout .ps-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem;
  }
  .ps-add-cart-btn {
    width: 36px;
    height: 36px;
  }
  .ps-add-cart-btn svg {
    width: 16px;
    height: 16px;
  }
  .ps-services-section {
    margin: 2.5rem 0 3.5rem;
  }

  .ps-detail-card, .ps-page-card, .ps-auth-card {
    padding: 1.15rem !important;
  }
  .ps-detail-card {
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  .ps-detail-main-img-box {
    height: 300px !important;
    padding: 1rem !important;
  }
  .ps-detail-title {
    font-size: 1.25rem !important;
  }
  .ps-detail-price-current {
    font-size: 1.85rem !important;
  }
  .ps-detail-assurances {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    padding: 1rem !important;
  }
  .ps-product-detail-text {
    font-size: 1.05rem;
  }
}

/* --- SERVICES SECTION (I NOSTRI SERVIZI) --- */
.ps-services-section {
  margin: 4.5rem auto 5rem;
  width: 100%;
}

.ps-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 2.5rem;
  width: 100%;
  justify-content: center;
}

@media (max-width: 992px) {
  .ps-services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .ps-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.ps-service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.ps-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.ps-service-img-box {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-light);
  display: block;
}

.ps-service-img-box img,
.ps-service-full-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 667;
  object-fit: contain;
  display: block;
  transition: var(--transition-smooth);
}

.ps-service-card:hover .ps-service-img-box img {
  transform: scale(1.02);
}

.ps-service-content {
  padding: 1.8rem 1.6rem;
  text-align: center;
}

.ps-service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.6rem;
  text-align: center;
}

.ps-service-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

/* --- BENEFITS BANNER (CENTERED) --- */
.ps-benefits-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .ps-benefits-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 580px) {
  .ps-benefits-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.2rem;
  }
}

.ps-benefit-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
  text-align: center;
  font-weight: 800;
}

.ps-benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   PAGINA RESI E DIRITTO DI RECESSO (D.Lgs. 206/2005 & Prodotti Animali)
   ========================================================================== */
.ps-resi-hero-card {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.07) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(230, 81, 0, 0.05) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ps-law-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

.ps-law-badge svg {
  flex-shrink: 0;
}

.ps-resi-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ps-resi-trust-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.ps-resi-trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.ps-resi-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
}

.ps-resi-trust-item:nth-child(2) .ps-resi-trust-icon {
  background: #EFF6FF;
  color: #2563EB;
}

.ps-resi-trust-item:nth-child(3) .ps-resi-trust-icon {
  background: var(--secondary-light);
  color: var(--secondary);
}

.ps-resi-trust-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.ps-resi-trust-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 3-Step Process */
.ps-resi-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ps-resi-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ps-resi-step-num {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.ps-resi-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.ps-resi-step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pet Product Comparison Grid: Accepted vs Excluded */
.ps-resi-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.ps-rule-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.ps-rule-box.accepted {
  border-color: rgba(16, 185, 129, 0.4);
}

.ps-rule-box.excluded {
  border-color: rgba(239, 68, 68, 0.35);
}

.ps-rule-box-header {
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ps-rule-box.accepted .ps-rule-box-header {
  background: #ECFDF5;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  color: #065F46;
}

.ps-rule-box.excluded .ps-rule-box-header {
  background: #FFF1F2;
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  color: #9F1239;
}

.ps-rule-header-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
}

.ps-rule-box-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  flex-grow: 1;
}

.ps-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ps-rule-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ps-rule-box.accepted .ps-rule-icon {
  background: #D1FAE5;
  color: #059669;
}

.ps-rule-box.excluded .ps-rule-icon {
  background: #FFE4E6;
  color: #E11D48;
}

.ps-rule-text h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.ps-rule-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* RMA Success State */
.ps-rma-success-box {
  background: #FFFFFF;
  border: 2px solid #10B981;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-bottom: 3.5rem;
}

.ps-rma-success-icon {
  width: 72px;
  height: 72px;
  background: #ECFDF5;
  color: #059669;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.ps-rma-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface-subtle);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin: 1.2rem 0 2rem;
}

.ps-rma-summary-table {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  text-align: left;
  border-collapse: collapse;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.ps-rma-summary-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}

.ps-rma-summary-table tr:last-child td {
  border-bottom: none;
}

.ps-rma-summary-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 35%;
}

.ps-rma-summary-table td:last-child {
  color: var(--text-main);
  font-weight: 600;
}

/* Native Mutually Exclusive FAQ Details */
.ps-faq-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 3.5rem;
}

.ps-faq-details {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.ps-faq-details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.ps-faq-summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.ps-faq-summary::-webkit-details-marker {
  display: none;
}

.ps-faq-summary svg {
  transition: transform var(--transition-fast);
  color: var(--primary);
  flex-shrink: 0;
}

.ps-faq-details[open] .ps-faq-summary svg {
  transform: rotate(180deg);
}

.ps-faq-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 1rem;
}

.ps-faq-content p {
  margin-bottom: 0.75rem;
}

.ps-faq-content p:last-child {
  margin-bottom: 0;
}

/* Warehouse & Dispatch Address Card */
.ps-warehouse-card {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ps-resi-trust-grid,
  .ps-resi-step-grid,
  .ps-resi-rules-grid,
  .ps-warehouse-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ps-resi-hero-card {
    padding: 2rem 1.5rem;
  }
}

/* --- TOPBAR SHIPPING BUTTON & MODAL TRIGGER --- */
.ps-topbar-shipping-btn {
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ps-topbar-shipping-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ps-assurance-clickable {
  cursor: pointer;
  transition: color 0.2s ease;
}

.ps-assurance-clickable:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* --- SHIPPING INFO MODAL (ZERO INLINE STYLES) --- */
.ps-shipping-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 41, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.25rem;
}

.ps-shipping-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ps-shipping-modal-dialog {
  background: #FFFFFF;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.ps-shipping-modal.open .ps-shipping-modal-dialog {
  transform: translateY(0) scale(1);
}

.ps-shipping-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: #FFFFFF;
}

.ps-shipping-modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ps-shipping-modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.12);
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ps-shipping-modal-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0;
  line-height: 1.3;
}

.ps-shipping-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--surface-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ps-shipping-modal-close:hover {
  background: #FEE2E2;
  color: #EF4444;
  border-color: #FCA5A5;
}

.ps-shipping-modal-body {
  padding: 1.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-main);
  background: #FFFFFF;
}

.ps-shipping-modal-lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.ps-shipping-modal-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ps-shipping-modal-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.ps-shipping-modal-box-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #166534;
  margin-bottom: 0.5rem;
}

.ps-shipping-modal-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #15803D;
  text-decoration: none;
  word-break: break-all;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ps-shipping-modal-email-link:hover {
  background: #DCFCE7;
  color: #14532D;
  text-decoration: underline;
}

.ps-shipping-modal-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  text-align: center;
}

.ps-shipping-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 1.1rem 1.75rem;
  background: var(--surface-subtle);
  border-top: 1px solid var(--border-light);
}

.ps-shipping-modal-btn-dismiss {
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: #FFFFFF;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ps-shipping-modal-btn-dismiss:hover {
  background: var(--surface-subtle);
  border-color: var(--text-muted);
}

.ps-shipping-modal-btn-email {
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ps-shipping-modal-btn-email:hover {
  background: var(--primary-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   CART, CHECKOUT & ORDER PROCESS - RESPONSIVE & ZERO INLINE STYLES
   ========================================================================== */

/* --- CART DRAWER ENHANCEMENTS --- */
.ps-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  width: 100%;
  max-width: 440px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-cart-drawer.open {
  transform: translateX(0);
}

@media (max-width: 480px) {
  .ps-cart-drawer {
    max-width: 100%;
  }
}

.ps-cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.ps-cart-drawer-close {
  border: none;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ps-cart-drawer-close:hover {
  color: var(--text-main);
  background-color: var(--bg-surface-subtle);
}

.ps-cart-drawer-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}

.ps-cart-drawer-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  color: var(--text-muted);
  opacity: 0.5;
}

.ps-cart-drawer-empty-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.ps-cart-drawer-empty-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ps-cart-drawer-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--bg-surface-subtle);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.ps-cart-drawer-img-box {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ps-cart-drawer-img {
  max-height: 44px;
  max-width: 44px;
  object-fit: contain;
}

.ps-cart-drawer-img-placeholder {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ps-cart-drawer-meta {
  flex-grow: 1;
  min-width: 0;
}

.ps-cart-drawer-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.ps-cart-drawer-item-price {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 800;
}

.ps-cart-drawer-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px 6px;
  flex-shrink: 0;
}

.ps-cart-drawer-qty-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  padding: 0 4px;
  line-height: 1;
}

.ps-cart-drawer-qty-val {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.ps-cart-drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.ps-cart-drawer-total-val {
  color: var(--primary);
}

.ps-cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.ps-cart-drawer-btn {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 0.85rem 1rem;
}

/* --- FULL CART PAGE (page=carrello) --- */
.ps-cart-page-container,
.ps-checkout-page-container,
.ps-order-success-container {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .ps-cart-page-container,
  .ps-checkout-page-container,
  .ps-order-success-container {
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
  }
}

.ps-cart-page-header,
.ps-checkout-header {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .ps-cart-page-header,
  .ps-checkout-header {
    margin-bottom: 1.5rem;
  }
}

.ps-cart-empty-box {
  text-align: center;
  padding: 4rem 1.5rem;
}

.ps-cart-empty-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.ps-cart-empty-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.ps-cart-empty-btn {
  padding: 1rem 2.5rem;
  display: inline-flex;
}

.ps-cart-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 2rem;
}

.ps-cart-prod-flex {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.ps-cart-img-box {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ps-cart-img {
  max-height: 55px;
  max-width: 55px;
  object-fit: contain;
}

.ps-cart-img-placeholder {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.ps-cart-prod-info {
  min-width: 0;
}

.ps-cart-item-code {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.ps-cart-unit-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.ps-cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.ps-cart-qty-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  padding: 0 4px;
}

.ps-cart-qty-val {
  font-weight: 800;
  font-size: 1rem;
  min-width: 24px;
  text-align: center;
}

.ps-cart-line-total {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.ps-cart-remove-btn {
  border: none;
  background: none;
  color: #EF4444;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.ps-cart-remove-btn:hover {
  background: #FEF2F2;
}

/* Cart Page Layout (Items on left, Summary on right / stacked on mobile) */
.ps-cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  align-items: start;
}

.ps-cart-continue-wrap {
  display: flex;
  align-items: center;
}

.ps-cart-continue-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.ps-cart-continue-link:hover {
  gap: 0.75rem;
}

.ps-cart-summary-box {
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  width: 100%;
}

.ps-cart-summary-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.ps-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.ps-cart-summary-row-bold {
  font-weight: 700;
}

.ps-cart-summary-shipping {
  font-weight: 700;
}

.ps-cart-summary-shipping.ps-free {
  color: #10B981;
}

.ps-cart-summary-free-shipping-hint {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  margin-top: 0.25rem;
  margin-bottom: 0.8rem;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.ps-cart-summary-free-shipping-hint:hover {
  opacity: 0.8;
}

.ps-cart-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.6rem;
  color: var(--text-main);
}

.ps-cart-summary-total-val {
  color: var(--primary);
}

.ps-cart-checkout-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 1.1rem;
  text-align: center;
  display: block;
}

/* Mobile adjustments for Full Cart Page */
@media (max-width: 991px) {
  .ps-cart-page-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.8rem;
  }
  .ps-cart-summary-box {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ps-cart-table thead {
    display: none;
  }
  .ps-cart-table,
  .ps-cart-table tbody,
  .ps-cart-table tr {
    display: block;
    width: 100%;
  }
  .ps-cart-table tr {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-sm);
  }
  .ps-cart-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--border-light);
  }
  .ps-cart-table td:first-child {
    display: block;
    padding-top: 0;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0.4rem;
  }
  .ps-cart-table td:last-child {
    border-bottom: none;
    justify-content: flex-end;
    padding-bottom: 0;
    padding-top: 0.75rem;
  }
  .ps-cart-table td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .ps-cart-table td:first-child::before,
  .ps-cart-table td:last-child::before {
    display: none;
  }
}

/* --- CHECKOUT PAGE (page=checkout) --- */
.ps-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2.5rem;
  align-items: start;
}

.ps-checkout-card {
  margin-bottom: 0;
}

.ps-checkout-section-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1.4rem;
  color: var(--text-main);
}

.ps-checkout-form-grid {
  margin-bottom: 2.5rem;
}

.ps-payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ps-payment-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: #FFFFFF;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-payment-option:hover {
  border-color: var(--primary);
  background: var(--bg-surface-subtle);
}

.ps-payment-option.active,
.ps-payment-option:has(input[type="radio"]:checked) {
  border: 2px solid var(--primary);
  background: rgba(19, 113, 92, 0.04);
  box-shadow: var(--shadow-sm);
}

.ps-payment-option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}

.ps-payment-option-content {
  width: 100%;
}

.ps-payment-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.ps-payment-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
  line-height: 1.45;
}

.ps-paypal-btn-wrapper {
  margin-top: 1.2rem;
  width: 100%;
  max-width: 100%;
}

#paypal-button-container {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.ps-standard-submit-wrapper {
  margin-top: 1.5rem;
  display: block;
}

.ps-standard-submit-btn {
  width: 100%;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 1.15rem 2rem;
  text-align: center;
  background: var(--primary, #0D9488) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  display: block;
}

.ps-standard-submit-btn:hover,
.ps-standard-submit-btn:focus,
.ps-standard-submit-btn:active {
  background: var(--primary-hover, #0F766E) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.45);
}

.ps-checkout-sidebar {
  width: 100%;
}

.ps-checkout-summary-card {
  position: sticky;
  top: 90px;
  margin-bottom: 0;
}

.ps-checkout-summary-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.8rem;
  color: var(--text-main);
}

.ps-checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.ps-checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  gap: 0.8rem;
}

.ps-checkout-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.ps-checkout-item-qty {
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.ps-checkout-item-name {
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ps-checkout-item-price {
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
}

.ps-checkout-totals-box {
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
  margin-top: 0.5rem;
}

.ps-checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ps-checkout-shipping-val {
  font-weight: 700;
  color: var(--text-main);
}

.ps-checkout-shipping-val.ps-free {
  color: #10B981;
}

.ps-checkout-free-shipping-hint {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  margin-top: 0.2rem;
  margin-bottom: 0.6rem;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.ps-checkout-free-shipping-hint:hover {
  opacity: 0.8;
}

.ps-checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-light);
}

.ps-checkout-total-val {
  color: var(--primary);
}

/* Mobile adjustments for Checkout */
@media (max-width: 991px) {
  .ps-checkout-grid {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
  }
  .ps-checkout-sidebar {
    order: -1;
    width: 100%;
  }
  .ps-checkout-summary-card {
    position: static;
    top: auto;
  }
}

@media (max-width: 768px) {
  .ps-checkout-section-title {
    font-size: 1.25rem;
  }
  .ps-payment-option {
    padding: 1rem;
    gap: 0.8rem;
  }
  .ps-payment-title {
    font-size: 0.98rem;
  }
  .ps-payment-desc {
    font-size: 0.84rem;
  }
  .ps-standard-submit-btn {
    font-size: 1.05rem;
    padding: 1rem;
  }
}

/* --- ORDER SUCCESS PAGE (page=ordine_completato) --- */
.ps-order-success-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.ps-order-success-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.ps-order-success-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.ps-order-success-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.ps-order-success-alert-paid {
  background: #ECFDF5;
  border: 1px solid #10B981;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.ps-order-success-alert-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #065F46;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.ps-order-success-alert-body {
  font-size: 0.92rem;
  color: #047857;
  line-height: 1.6;
}

.ps-order-success-alert-standard {
  background: var(--bg-surface-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ps-order-success-home-btn {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  display: inline-flex;
}

@media (max-width: 640px) {
  .ps-order-success-icon-badge {
    width: 64px;
    height: 64px;
  }
  .ps-order-success-title {
    font-size: 1.7rem;
  }
  .ps-order-success-lead {
    font-size: 0.95rem;
  }
  .ps-order-success-alert-paid,
  .ps-order-success-alert-standard {
    padding: 1.15rem;
  }
}




/* --- EXTRACTED COMPONENT & UTILITY CLASSES (REPLACING INLINE STYLES) --- */
.ps-link-inherit-bold { color: inherit; text-decoration: none; font-weight: 700; }
.ps-ml-2px { margin-left: 2px; }
.ps-hero-slide-1 { background-image: url('../images/hero1.jpg'); }
.ps-flex-wrap-gap { display: flex; gap: 1rem; flex-wrap: wrap; }
.ps-hero-slide-2 { background-image: url('../images/hero2.jpg'); }
.ps-hero-slide-3 { background-image: url('../images/hero3.jpg'); }
.ps-text-primary-bold { color: var(--primary); font-weight: 700; }
.ps-flex-center { text-align: center; justify-content: center; }
.ps-section-intro-centered { text-align: center; max-width: 750px; margin: 0 auto; }
.ps-heading-accent { font-size: 2.2rem; color: #13715C; }
.ps-mb-5rem { margin-bottom: 5rem; }
.ps-pt-2rem { padding-top: 2rem; }
.ps-mb-2rem { margin-bottom: 2rem; }
.ps-st-2dc1aa { font-weight: 800; font-size: 1.05rem; color: #13715C; display: flex; align-items: center; gap: 0.5rem; }
.ps-st-02c77f { font-size: 0.8rem; color: var(--primary); }
.ps-st-837588 { margin-top: 2rem; border-top: 1px solid var(--border-light); padding-top: 1.5rem; }
.ps-st-17e648 { flex: 1; padding: 0.65rem; font-size: 0.88rem; text-align: center; }
.ps-st-465adc { flex: 1; padding: 0.65rem; font-size: 0.88rem; }
.ps-st-7514fb { font-size: 0.92rem; color: var(--text-muted); }
.ps-st-afcd7e { display: flex; gap: 0.5rem; align-items: center; }
.ps-st-9d8447 { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.ps-st-9ac1f1 { grid-column: 1 / -1; text-align: center; padding: 4rem; background: var(--bg-surface); border-radius: var(--radius-md); border: 1px solid var(--border-light); }
.ps-st-49d0cc { font-family: var(--font-heading); font-size: 1.3rem; }
.ps-st-f6bf95 { color: var(--text-muted); margin-top: 0.4rem; }
.ps-py-page-top1 { padding-top: 1rem; padding-bottom: 5rem; }
.ps-badge-discount-pos { position: absolute; top: 16px; left: 16px; z-index: 10; font-size: 0.85rem; padding: 0.4rem 0.8rem; }
.ps-badge-discount-savings { font-size: 0.8rem; padding: 0.3rem 0.7rem; }
.ps-details-section-title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; margin-bottom: 1.2rem; }
.ps-details-section-title-alt { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; margin-bottom: 1.4rem; }
.ps-table-responsive-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
.ps-specs-table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 320px; }
.ps-specs-row { border-bottom: 1px solid var(--border-light); }
.ps-specs-label { padding: 1rem; font-weight: 700; width: 35%; color: var(--text-muted); }
.ps-specs-value { padding: 1rem; font-weight: 600; }
.ps-specs-row-alt { border-bottom: 1px solid var(--border-light); background: #FAFAFA; }
.ps-specs-label-auto { padding: 1rem; font-weight: 700; color: var(--text-muted); }
.ps-st-eafa85 { font-weight: 700; color: var(--primary); }
.ps-st-00eef5 { font-weight: 700; color: #10B981; }
.ps-st-e4a16c { margin-top: 4rem; }
.ps-py-page { padding-top: 2rem; padding-bottom: 5rem; }
.ps-mb-0-5rem { margin-bottom: 0.5rem; }
.ps-st-7d74bf { line-height: 1.85; }
.ps-st-635056 { font-size: 1.1rem; color: var(--text-heading); font-weight: 500; }
.ps-st-e02b66 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2.5rem 0; }
.ps-callout-box { background: var(--surface-subtle); border-radius: var(--radius-md); padding: 1.5rem; border-left: 4px solid var(--primary); }
.ps-card-title-md { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: var(--text-heading); margin-bottom: 0.5rem; }
.ps-text-muted-compact { font-size: 0.92rem; color: var(--text-muted); margin: 0; }
.ps-st-de6a95 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--primary); margin: 2.5rem 0 1rem; }
.ps-st-7dc372 { margin-top: 2.5rem; background: linear-gradient(135deg, rgba(23, 162, 184, 0.08) 0%, rgba(40, 167, 69, 0.08) 100%); border: 1px solid rgba(23, 162, 184, 0.2); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ps-st-1a6068 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--text-heading); }
.ps-st-02e666 { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.ps-st-840e98 { display: grid; grid-template-columns: 1fr 440px; gap: 2.5rem; align-items: start; }
.ps-st-c5c592 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text-heading); }
.ps-mb-1-5rem { margin-bottom: 1.5rem; }
.ps-st-d6ef78 { padding: 0.9rem 2.5rem; font-weight: 700; }
.ps-st-2ee324 { display: flex; flex-direction: column; gap: 1.5rem; }
.ps-st-618384 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--primary); }
.ps-st-a84b9d { display: flex; flex-direction: column; gap: 1.3rem; font-size: 0.95rem; }
.ps-st-eb6d79 { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.3rem; }
.ps-st-3f0b7d { font-weight: 600; color: var(--text-heading); }
.ps-st-9ae465 { font-weight: 700; color: var(--primary); text-decoration: none; }
.ps-st-7abb3a { color: var(--text-muted); }
.ps-st-565e4d { font-weight: 700; color: #25D366; text-decoration: none; font-size: 1.05rem; }
.ps-st-18a1c4 { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.ps-st-b33895 { font-weight: 600; color: var(--primary); text-decoration: none; }
.ps-st-d77719 { color: var(--text-muted); font-size: 0.85rem; }
.ps-st-73bea4 { padding: 1.25rem; }
.ps-st-bee981 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text-heading); }
.ps-st-a1769f { border-radius: var(--radius-md); overflow: hidden; height: 220px; border: 1px solid var(--border-color); }
.ps-st-cbdc21 { border:0; }
.ps-st-6ddab3 { margin-top: 0.8rem; text-align: center; }
.ps-st-4c0b42 { width: 100%; justify-content: center; font-size: 0.88rem; padding: 0.5rem 1rem; }
.ps-st-681935 { line-height: 1.85; font-size: 0.95rem; }
.ps-legal-heading { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--primary); margin: 2rem 0 0.8rem; }
.ps-legal-list { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.ps-st-36d60d { background: var(--surface-subtle); padding: 1.2rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; }
.ps-st-c463ee { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.ps-st-8f5f24 { color: var(--primary); text-decoration: none; font-weight: 600; }
.ps-st-fad487 { color: var(--text-muted); text-decoration: none; }
.ps-st-f26c5d { color: var(--text-main); font-weight: 700; }
.ps-st-ed3926 { margin-bottom: 0.8rem; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.ps-st-ca6e9d { max-width: 850px; font-size: 1.05rem; line-height: 1.6; }
.ps-st-cfe475 { margin-bottom: 3.5rem; }
.ps-st-c90282 { text-align: center; max-width: 650px; margin: 0 auto 2.5rem; }
.ps-st-13aa40 { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.5rem; }
.ps-st-4106dc { color: var(--text-muted); font-size: 1rem; }
.ps-st-a729d7 { margin-bottom: 4rem; }
.ps-st-500f18 { margin-bottom: 4rem; scroll-margin-top: 100px; }
.ps-st-34d381 { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: #065F46; margin-bottom: 0.5rem; }
.ps-st-a02d45 { color: var(--text-muted); font-size: 1.05rem; max-width: 620px; margin: 0 auto 1.5rem; }
.ps-st-c274ac { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; display: block; }
.ps-st-20be1e { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: var(--radius-md); padding: 1.5rem; max-width: 650px; margin: 0 auto 2rem; text-align: left; }
.ps-st-f76dcb { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: #166534; margin-bottom: 0.6rem; }
.ps-st-541c0b { margin-left: 1.2rem; font-size: 0.93rem; color: #14532D; line-height: 1.6; }
.ps-st-8f6dc6 { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.ps-st-4e6ef2 { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.8rem; }
.ps-st-f36cc0 { padding: 0.85rem 2rem; }
.ps-st-0f9f81 { padding: 3rem 3.5rem; }
.ps-st-0f1f81 { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.4rem; }
.ps-cursor-pointer { cursor: pointer; }
.ps-st-49b833 { background: var(--bg-surface-subtle); padding: 1.25rem 1.5rem; border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.ps-st-b35016 { display: flex; align-items: flex-start; gap: 0.85rem; cursor: pointer; font-size: 0.92rem; color: var(--text-main); line-height: 1.5; }
.ps-st-521e86 { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }
.ps-st-419069 { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-size: 0.9rem; color: var(--text-muted); }
.ps-st-740c0b { width: 16px; height: 16px; accent-color: var(--primary); }
.ps-st-66f8bd { color: var(--primary); text-decoration: underline; }
.ps-st-31de0e { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.ps-st-416c78 { padding: 1.1rem 2.8rem; font-size: 1.05rem; }
.ps-st-93df1c { font-size: 0.88rem; color: var(--text-muted); }
.ps-st-91aabf { background: #FFFFFF; border-color: var(--border-light); margin-bottom: 0.8rem; }
.ps-st-e1c666 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.6rem; }
.ps-st-436bcc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; line-height: 1.55; }
.ps-st-258a17 { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.2rem 1.4rem; font-size: 0.95rem; color: var(--text-main); }
.ps-st-78d64c { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.8rem; }
.ps-st-f94530 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.ps-st-e3828f { display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.95rem; }
.ps-flex-align-gap { display: flex; align-items: center; gap: 0.75rem; }
.ps-st-e930ac { font-weight: 600; color: var(--primary); }
.ps-st-185d79 { margin-top: 1.5rem; }
.ps-st-e01906 { width: 100%; justify-content: center; padding: 0.85rem; }
.ps-st-860bcf { display: grid; grid-template-columns: 1fr 420px; gap: 2.5rem; align-items: start; }
.ps-st-3e2b19 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-heading); }
.ps-st-ffce14 { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.8rem; line-height: 1.6; }
.ps-st-7ef02c { border-top: 4px solid var(--primary); }
.ps-st-e33701 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--primary); }
.ps-legal-p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1.2rem; }
.ps-st-42d368 { padding-left: 1.25rem; font-size: 0.9rem; color: var(--text-main); margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.ps-st-76bf51 { background: #F0FDF4; border: 1px solid #BBF7D0; }
.ps-st-895a7a { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: #166534; margin-bottom: 0.6rem; }
.ps-st-4fcd00 { font-size: 0.9rem; color: #166534; margin-bottom: 1rem; line-height: 1.6; }
.ps-st-3b2bec { background: #25D366; color: #fff; width: 100%; justify-content: center; font-weight: 700; border-radius: var(--radius-pill); text-decoration: none; }
.ps-st-9ca734 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--text-heading); margin-bottom: 0.6rem; }
.ps-st-6438ab { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.ps-st-656f97 { margin-bottom: 2.5rem; }
.ps-st-f3df14 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.ps-flex-col-between { display: flex; flex-direction: column; justify-content: space-between; }
.ps-st-a852e4 { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--primary); background: var(--surface-subtle); padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 0.8rem; }
.ps-st-4393c3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; color: var(--text-heading); margin-bottom: 0.8rem; line-height: 1.4; }
.ps-btn-compact { font-size: 0.88rem; padding: 0.5rem 1rem; }
.ps-st-fae77e { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #166534; background: #DCFCE7; padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 0.8rem; }
.ps-st-381402 { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #9A3412; background: #FFEDD5; padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 0.8rem; }
.ps-st-e5e151 { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #4338CA; background: #EEF2FF; padding: 0.25rem 0.75rem; border-radius: var(--radius-pill); margin-bottom: 0.8rem; }
.ps-st-6b1b93 { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); border-radius: var(--radius-lg); padding: 2.5rem; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ps-st-28a67c { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; color: #fff; }
.ps-st-bd8bc6 { margin: 0; font-size: 1rem; color: rgba(255,255,255,0.9); }
.ps-st-f6e7b9 { background: #fff; color: #0284c7; font-weight: 700; }
.ps-st-dc649d { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.4); font-weight: 600; }
.ps-st-d062d4 { margin-bottom: 2.5rem; line-height: 1.8; }
.ps-st-baaaba { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: center; }
.ps-st-5e004e { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.ps-st-4e847f { font-size: 1rem; color: var(--text-main); margin-bottom: 1rem; }
.ps-st-7c8186 { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }
.ps-st-b9e5c3 { font-size: 0.95rem; color: var(--text-muted); margin: 0; }
.ps-st-64a59b { background: var(--surface-subtle); border-radius: var(--radius-md); padding: 1.8rem; border: 1px dashed var(--border-color); text-align: center; }
.ps-st-58ec8c { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 800; color: var(--text-heading); margin-bottom: 0.5rem; }
.ps-st-d1bac8 { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.ps-st-1ef0d2 { width: 100%; justify-content: center; font-size: 0.9rem; }
.ps-st-691383 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text-heading); }
.ps-st-08130a { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.ps-card-body-between { padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.ps-st-38caed { background: var(--surface-subtle); border-radius: var(--radius-md); height: 160px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; border: 1px solid var(--border-color); }
.ps-st-67bf7a { font-weight: 700; color: var(--text-muted); font-size: 0.95rem; }
.ps-card-title-lg { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; color: var(--text-heading); margin-bottom: 0.3rem; }
.ps-badge-category { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 0.8rem; }
.ps-legal-p-alt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.ps-w-full-center { width: 100%; justify-content: center; }
.ps-st-c3dd9a { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.2rem; color: var(--text-heading); }
.ps-st-3209b3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.ps-st-5775ac { display: block; font-size: 1.1rem; color: var(--primary); margin-bottom: 0.4rem; }
.ps-text-muted-xs { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.ps-st-202be7 { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 0.5rem; }
.ps-st-e5f8ff { text-align: center; color: var(--text-muted); margin-bottom: 2.5rem; }
.ps-st-948e6d { display: flex; justify-content: space-between; align-items: center; }
.ps-st-0c975b { font-size: 0.85rem; color: var(--primary); }
.ps-st-47bba2 { width: 100%; font-size: 1.1rem; padding: 1rem; }
.ps-st-c54154 { text-align: center; margin-top: 2rem; border-top: 1px solid var(--border-light); padding-top: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
.ps-st-f65521 { width: 100%; font-size: 1.1rem; padding: 1.1rem; }
.ps-st-f836a9 { text-align: center; margin-top: 2rem; border-top: 1px solid var(--border-light); padding-top: 1.5rem; color: var(--text-muted); }
.ps-st-3f30af { color: #10B981; font-weight: 700; }

.ps-btn-copy-code {
  background: var(--primary);
  color: #FFF;
  border: none;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.ps-cart-summary-empty {
  color: var(--text-muted);
  padding: 1rem 0;
  margin: 0;
}

.ps-hidden {
  display: none !important;
}

body.ps-modal-open {
  overflow: hidden !important;
}

