/* =========================================================
   CIELO — print & display for Europe
   Fonts: Archivo (display) + Source Sans 3 (body)
   ========================================================= */

:root {
  --ps-bg: #f7fafc;
  --ps-bg-soft: #e8f1f8;
  --ps-bg-muted: #eef4f9;
  --ps-text: #0c2438;
  --ps-text-muted: #3a5268;
  --ps-text-soft: #5a738a;
  --ps-black: #0c2438;
  --ps-line: #0c2438;
  --ps-sky: #2f7fd1;
  --ps-sky-deep: #1a5fa8;
  --ps-orange: #e07a3d;
  --ps-yellow: #e8b84a;
  --ps-purple: #7a9cc2;
  --ps-radius: 4px;
  --ps-radius-sm: 2px;
  --ps-container: 1240px;
  --ps-header-h: 80px;
  --ps-font-display: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --ps-font-body: "Source Sans 3", "Helvetica Neue", Helvetica, sans-serif;
  --ps-shadow: 0 18px 48px rgba(12, 36, 56, 0.1);
  --ps-selection: rgba(47, 127, 209, 0.22);
}

::selection {
  background: var(--ps-selection);
  color: var(--ps-text);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ps-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ps-text-muted);
  background: var(--ps-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ps-font-display);
  color: var(--ps-text);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

.ps-container {
  width: min(100% - 40px, var(--ps-container));
  margin-inline: auto;
}

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

/* ---------- Buttons ---------- */
.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--ps-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ps-btn--dark {
  background: var(--ps-black);
  color: #fff;
}

.ps-btn--dark:hover {
  background: #2c2c2c;
  transform: translateY(-1px);
}

.ps-btn--outline {
  background: transparent;
  border-color: var(--ps-black);
  color: var(--ps-black);
}

.ps-btn--outline:hover {
  background: var(--ps-black);
  color: #fff;
}

/* ---------- Icons ---------- */
.ps-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.ps-icon svg {
  width: 100%;
  height: 100%;
}

/* ---------- Header ---------- */
.ps-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--ps-header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ps-header.is-scrolled {
  border-bottom-color: #ececec;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.ps-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--ps-header-h);
}

.ps-header__menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.ps-logo-text {
  font-family: var(--ps-font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ps-black);
  text-transform: uppercase;
}

.ps-logo-text span {
  margin-left: 1px;
}

.ps-logo-img {
  display: block;
  height: 20px;
  width: auto;
}

.ps-header__nav {
  justify-self: end;
}

.ps-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.ps-menu a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ps-text);
}

.ps-menu a:hover {
  color: var(--ps-sky);
}

.ps-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d7e3ef;
  box-shadow: var(--ps-shadow);
  z-index: 50;
}

.ps-menu > li:hover > .sub-menu,
.ps-menu > li:focus-within > .sub-menu {
  display: block;
}

.ps-menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 14px;
}

.ps-menu .sub-menu a:hover {
  background: var(--ps-bg-muted);
}

.ps-header__search {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #c9d8e6;
  background: #fff;
  padding: 4px 8px 4px 12px;
  min-width: 160px;
}

.ps-header__search input {
  border: 0;
  background: transparent;
  width: 110px;
  outline: none;
  color: var(--ps-text);
}

.ps-header__search button {
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: var(--ps-text);
}

.ps-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ps-header__action {
  position: relative;
  display: inline-flex;
  color: var(--ps-black);
}

.ps-cart-count,
.ps-wishlist-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ps-black);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile drawer */
.ps-mobile-drawer[hidden] {
  display: none !important;
}

.ps-mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
}

.ps-mobile-drawer__panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: #fff;
  z-index: 210;
  padding: 28px 24px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.ps-mobile-drawer.is-open .ps-mobile-drawer__panel {
  transform: translateX(0);
}

.ps-mobile-menu {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.ps-mobile-menu a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ps-mobile-drawer__close {
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.ps-hero {
  padding: 20px 0 40px;
}

.ps-hero__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  min-height: 620px;
  padding: 64px 56px;
  background-color: var(--ps-bg-soft);
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: var(--ps-radius);
  overflow: hidden;
}

.ps-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--ps-text);
  margin-bottom: 28px;
}

.ps-hero__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.ps-hero__line--split {
  justify-content: space-between;
  max-width: 560px;
}

.ps-hero__chip {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ps-hero__chip--sm {
  width: 48px;
  height: 48px;
}

.ps-hero__star {
  width: 42px;
  height: 42px;
  color: var(--ps-black);
}

.ps-hero__star .ps-icon {
  width: 42px;
  height: 42px;
}

.ps-hero__rule {
  width: 100%;
  max-width: 560px;
  border: 0;
  border-top: 2px solid var(--ps-black);
  margin: 0 0 24px;
}

.ps-hero__text {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ps-text-soft);
}

.ps-hero__visual {
  position: relative;
  min-height: 480px;
}

.ps-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.ps-hero__blob--orange {
  width: 420px;
  height: 420px;
  right: -40px;
  top: 40px;
  background: radial-gradient(circle at 35% 35%, var(--ps-yellow), var(--ps-orange) 70%);
}

.ps-hero__blob--purple {
  width: 280px;
  height: 280px;
  right: 180px;
  top: 20px;
  background: radial-gradient(circle at 40% 40%, #efe2ff, var(--ps-purple));
  filter: blur(18px);
  opacity: 0.9;
}

.ps-hero__photo {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: min(100%, 460px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.18));
  animation: ps-float 6s ease-in-out infinite;
}

@keyframes ps-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Section title ---------- */
.ps-section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 36px;
}

/* ---------- Offers ---------- */
.ps-offers {
  padding: 40px 0 20px;
}

.ps-offers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ps-offer-card__media {
  border-radius: var(--ps-radius-sm);
  overflow: hidden;
  background: var(--ps-bg-muted);
  aspect-ratio: 260 / 426;
}

.ps-offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.ps-offer-card__title {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 600;
}

/* ---------- Brands ---------- */
.ps-brands {
  padding: 48px 0;
}

.ps-brands__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
}

.ps-brands__title {
  font-size: clamp(28px, 3vw, 48px);
  margin: 0;
  white-space: nowrap;
}

.ps-brands__track {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ps-brands__group {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  animation: ps-marquee 28s linear infinite;
}

.ps-brands__item {
  flex: 0 0 auto;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s ease;
}

.ps-brands__item:hover {
  opacity: 1;
}

.ps-brands__item img {
  height: 36px;
  width: auto;
}

@keyframes ps-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- Privileges ---------- */
.ps-privileges {
  padding: 40px 0 20px;
}

.ps-privileges__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ps-privileges__heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ps-privileges__heading .ps-section-title {
  margin-bottom: 18px;
}

.ps-privileges__arrow {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin-top: 8px;
  color: var(--ps-black);
}

.ps-privileges__arrow svg {
  width: 100%;
  height: 100%;
}

.ps-privileges__copy p {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
}

.ps-privileges__frame {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  border: 2px solid var(--ps-black);
  background: var(--ps-bg-soft);
  aspect-ratio: 392 / 510;
}

.ps-privileges__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--ps-black);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.ps-privileges__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-divider {
  border: 0;
  border-top: 1px solid #d8d8d8;
  margin: 56px 0 40px;
}

.ps-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.ps-feature__icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: #ff6b35;
}

.ps-feature__icon:nth-child(1),
.ps-feature:nth-child(2) .ps-feature__icon {
  color: #7c5cff;
}

.ps-feature:nth-child(3) .ps-feature__icon {
  color: #2bb673;
}

.ps-feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.ps-feature p {
  margin: 0;
  color: var(--ps-text-soft);
}

.ps-cta-banner {
  background: var(--ps-bg-soft);
  border-radius: var(--ps-radius);
  padding: 28px 36px;
}

.ps-cta-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ps-cta-banner__arrow {
  width: 48px;
  height: 48px;
  color: var(--ps-black);
}

.ps-cta-banner h3 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-family: var(--ps-font-body);
  font-weight: 700;
}

/* ---------- Products ---------- */
.ps-products {
  padding: 60px 0 40px;
}

.ps-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}

.ps-product-card__media {
  display: block;
  background: var(--ps-bg-muted);
  border-radius: var(--ps-radius-sm);
  overflow: hidden;
  aspect-ratio: 430 / 491;
}

.ps-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.ps-product-card__swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  min-height: 18px;
}

.ps-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.ps-swatch-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--ps-text-soft);
}

.ps-product-card__title {
  font-size: 18px;
  margin: 0 0 6px;
}

.ps-product-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ps-text);
  margin-bottom: 14px;
}

.ps-product-card__price del {
  opacity: 0.45;
  margin-right: 6px;
  font-weight: 500;
}

.ps-product-card__btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.ps-product-card:hover .ps-product-card__btn {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Custom design ---------- */
.ps-custom {
  padding: 40px 0;
}

.ps-custom__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--ps-bg-soft);
  border-radius: var(--ps-radius);
  overflow: hidden;
}

.ps-custom__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 238, 238, 0.88);
  border-radius: inherit;
  pointer-events: none;
}

.ps-custom__copy,
.ps-custom__visual {
  position: relative;
  z-index: 1;
}

.ps-custom__copy p {
  max-width: 480px;
  margin: 0 0 28px;
}

.ps-custom__shape {
  width: 100%;
  aspect-ratio: 1.2;
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  background:
    radial-gradient(circle at 30% 30%, #ffe08a, transparent 50%),
    radial-gradient(circle at 70% 60%, #c9a0ff, transparent 55%),
    linear-gradient(135deg, #ff8a3d, #ffc43a);
  animation: ps-morph 8s ease-in-out infinite;
}

@keyframes ps-morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }
  50% { border-radius: 55% 45% 40% 60% / 50% 55% 45% 50%; }
}

/* ---------- Contact ---------- */
.ps-contact {
  padding: 60px 0 100px;
}

.ps-contact__intro {
  margin-bottom: 48px;
}

.ps-contact__intro p {
  margin: 0 0 24px;
}

.ps-contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.ps-contact__form-wrap,
.ps-contact__info {
  background: var(--ps-bg-muted);
  border-radius: var(--ps-radius-sm);
  padding: 36px;
}

.ps-contact h3 {
  font-size: 18px;
  margin-bottom: 22px;
}

.ps-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ps-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ps-text);
}

.ps-form input,
.ps-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 14px 16px;
  border-radius: 0;
}

.ps-form input:focus,
.ps-form textarea:focus {
  outline: 2px solid var(--ps-black);
  outline-offset: 1px;
}

.ps-contact__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.ps-contact__list li {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ps-text);
}

.ps-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-social a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.ps-footer {
  border-top: 0;
  padding: 0 0 100px;
  background: #0a0a0a;
  color: #fff;
}

.ps-footer__grid {
  padding-top: 48px;
}

.ps-footer a {
  color: #fff;
}

.ps-footer a:hover {
  opacity: 0.7;
}

.ps-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 36px;
}

.ps-footer__heading {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.ps-footer-menu,
.ps-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-footer-menu--stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-footer-menu a,
.ps-footer__list li {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.ps-footer__list li + li {
  margin-top: 8px;
}

.ps-footer__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}

.ps-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  text-align: center;
}

.ps-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.ps-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

@media (max-width: 800px) {
  .ps-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Mobile bar ---------- */
.ps-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: #fff;
  border-top: 1px solid #ececec;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(4, 1fr);
}

.ps-mobile-bar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ps-text);
}

.ps-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ps-black);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90;
}

.ps-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Page / posts ---------- */
.ps-main {
  min-height: 50vh;
}

.ps-page {
  padding: 48px 0 80px;
}

.ps-page__title {
  font-size: clamp(36px, 5vw, 56px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ps-offers__grid,
  .ps-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-hero__panel,
  .ps-privileges__grid,
  .ps-custom__panel,
  .ps-contact__grid {
    grid-template-columns: 1fr;
  }

  .ps-hero__visual {
    min-height: 360px;
  }

  .ps-brands__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --ps-header-h: 70px;
  }

  .ps-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .ps-header__nav,
  .ps-header__account,
  .ps-header__wishlist {
    display: none;
  }

  .ps-header__menu-toggle {
    display: inline-flex;
  }

  .ps-header__logo {
    justify-self: center;
  }

  .ps-hero__panel {
    padding: 36px 24px 280px;
    min-height: auto;
  }

  .ps-hero__visual {
    position: absolute;
    inset: auto 0 0 auto;
    width: 100%;
    height: 260px;
  }

  .ps-hero__blob--orange {
    width: 260px;
    height: 260px;
    right: -30px;
    top: 0;
  }

  .ps-hero__photo {
    width: 220px;
    right: 10px;
    bottom: 0;
  }

  .ps-features {
    grid-template-columns: 1fr;
  }

  .ps-cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ps-form__row {
    grid-template-columns: 1fr;
  }

  .ps-product-card__btn {
    opacity: 1;
    transform: none;
  }

  .ps-mobile-bar {
    display: grid;
  }

  .ps-footer {
    padding-bottom: 110px;
  }

  body {
    padding-bottom: 55px;
  }
}

@media (max-width: 520px) {
  .ps-offers__grid,
  .ps-products__grid {
    grid-template-columns: 1fr;
  }

  .ps-hero__chip {
    width: 48px;
    height: 48px;
  }
}

/* ---------- Page hero ---------- */
.ps-page-hero {
  background: var(--ps-bg-soft);
  padding: 56px 40px;
  margin: 20px auto 28px;
  width: min(100% - 40px, var(--ps-container));
  border-radius: var(--ps-radius);
  box-sizing: border-box;
}

.ps-page-hero > .ps-container {
  width: 100%;
}

.ps-page-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  margin: 0;
}

.ps-page-hero__sub {
  margin: 12px 0 0;
  color: var(--ps-text-soft);
}

.ps-page-hero--shop {
  text-align: center;
}

.ps-page-hero--end {
  text-align: right;
}

.ps-page-hero--end .ps-breadcrumb {
  justify-content: flex-end;
  margin-top: 10px;
}

.ps-page-hero__cats {
  display: inline-flex;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ps-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ps-text-soft);
}

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

/* ---------- Shop layout ---------- */
.ps-shop-toolbar {
  margin-bottom: 24px;
}

.ps-shop-toolbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ps-filters-toggle {
  display: none;
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.ps-shop-layout__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 60px;
}

.ps-shop-filters h5 {
  margin: 24px 0 12px;
  font-size: 14px;
  font-family: var(--ps-font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ps-shop-filters h5:first-child {
  margin-top: 0;
}

.ps-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-filter-list li,
.ps-filter-list a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ps-text-muted);
}

.ps-filter-list a.is-active,
.ps-filter-list a:hover {
  color: var(--ps-black);
  font-weight: 700;
}

.ps-filter-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-filter-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-filter-sizes span,
.ps-filter-sizes button {
  min-width: 40px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ps-filter-sizes button.is-active,
.ps-filter-sizes button:hover {
  border-color: var(--ps-black);
  background: var(--ps-black);
  color: #fff;
}

.ps-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px;
}

.ps-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ps-product-card__media {
  position: relative;
}

/* ---------- Product single ---------- */
.ps-product-single {
  padding: 20px 0 40px;
}

.ps-product-single__panel {
  background: var(--ps-bg-soft);
  border-radius: var(--ps-radius);
  padding: 28px 32px 40px;
}

.ps-product-single__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  margin-top: 20px;
}

.ps-product-single__image {
  background: #f7f7f7;
  border-radius: var(--ps-radius-sm);
  aspect-ratio: 430 / 491;
  overflow: hidden;
}

.ps-product-single__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-product-single__summary h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 10px;
}

.ps-product-single__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ps-text);
  margin-bottom: 16px;
}

.ps-product-single__price del {
  opacity: 0.45;
  margin-right: 8px;
  font-weight: 500;
}

.ps-product-single__desc {
  margin: 0 0 24px;
  line-height: 1.7;
}

.ps-product-single__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.ps-label {
  font-weight: 700;
  color: var(--ps-text);
  min-width: 56px;
}

.ps-product-single__form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}

.ps-qty {
  display: inline-flex;
  border: 1px solid #ccc;
  background: #fff;
}

.ps-qty button {
  width: 40px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
}

.ps-qty input {
  width: 56px;
  border: 0;
  text-align: center;
  font-weight: 700;
}

.ps-product-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ps-text-soft);
}

.ps-product-single__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ps-text-soft);
}

.ps-product-tabs {
  margin-top: 36px;
}

.ps-product-tabs details {
  border-top: 1px solid #e5e5e5;
  padding: 18px 0;
}

.ps-product-tabs summary {
  cursor: pointer;
  font-family: var(--ps-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ps-text);
  list-style: none;
}

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

.ps-product-tabs__body {
  padding-top: 16px;
  max-width: 720px;
}

/* ---------- About ---------- */
.ps-about {
  padding: 20px 0 80px;
}

.ps-about__intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.ps-about__media {
  border-radius: var(--ps-radius);
  overflow: hidden;
  background: var(--ps-bg-soft);
  aspect-ratio: 13 / 7;
}

.ps-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-about__copy h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.ps-about__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.ps-about__card {
  background: var(--ps-bg-muted);
  border-radius: var(--ps-radius-sm);
  padding: 28px 22px;
}

.ps-about__card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.ps-about__card p {
  margin: 0;
}

/* ---------- Contact page ---------- */
.ps-contact-page {
  padding: 10px 0 90px;
}

.ps-contact-page__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.ps-contact-page__info h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 28px;
}

.ps-social--stack {
  flex-direction: column;
  margin-bottom: 28px;
}

.ps-contact-page__form {
  background: var(--ps-bg-muted);
  border-radius: var(--ps-radius-sm);
  padding: 36px;
}

/* ---------- Blog ---------- */
.ps-blog {
  padding: 10px 0 80px;
}

.ps-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 28px;
}

.ps-blog-card__media {
  display: block;
  border-radius: var(--ps-radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ps-bg-muted);
  margin-bottom: 18px;
}

.ps-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-blog-card__date {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ps-blog-card__cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ps-text-soft);
  margin-bottom: 8px;
}

.ps-blog-card__title {
  font-size: 24px;
  margin-bottom: 10px;
}

.ps-blog-card__excerpt {
  color: var(--ps-text-soft);
  margin-bottom: 14px;
}

.ps-blog-card__more {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Inquiry ---------- */
.ps-inquiry {
  padding: 10px 0 90px;
}

.ps-inquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.ps-inquiry__list,
.ps-inquiry__form {
  background: var(--ps-bg-muted);
  border-radius: var(--ps-radius-sm);
  padding: 32px;
}

.ps-inquiry-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.ps-inquiry-items li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e2e2;
  font-weight: 600;
  color: var(--ps-text);
}

.ps-inquiry__empty,
.ps-inquiry__hint {
  color: var(--ps-text-soft);
}

.ps-notice {
  padding: 16px 18px;
  margin-bottom: 24px;
  border-left: 3px solid var(--ps-black);
  background: #f6f6f6;
}

.ps-notice--success {
  border-left-color: #2bb673;
  background: #eefaf3;
}

.ps-wishlist {
  padding: 20px 0 100px;
}

@media (max-width: 1100px) {
  .ps-shop-layout__inner,
  .ps-product-single__grid,
  .ps-about__intro,
  .ps-contact-page__grid,
  .ps-inquiry__grid {
    grid-template-columns: 1fr;
  }

  .ps-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-about__features {
    grid-template-columns: repeat(2, 1fr);
  }

  .ps-filters-toggle {
    display: inline-flex;
  }

  .ps-shop-filters {
    display: none;
  }

  .ps-shop-filters.is-open {
    display: block;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 700px) {
  .ps-blog__grid,
  .ps-shop-grid,
  .ps-about__features {
    grid-template-columns: 1fr;
  }

  .ps-header__search {
    display: none;
  }

  .ps-offers__grid--five {
    grid-template-columns: 1fr 1fr;
  }

  .ps-servizi-block__grid {
    grid-template-columns: 1fr;
  }

  .ps-info-modules__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CIELO hero ---------- */
.ps-hero__brand {
  font-family: var(--ps-font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ps-sky);
  margin: 0 0 12px;
  line-height: 1;
}

.ps-hero__panel {
  background-image: linear-gradient(115deg, rgba(12, 36, 56, 0.88) 38%, rgba(12, 36, 56, 0.35) 100%), url("../images/cielo/hero-print.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--ps-radius);
  color: #fff;
  min-height: 560px;
}

.ps-hero__panel .ps-hero__title,
.ps-hero__panel .ps-hero__brand {
  color: #fff;
}

.ps-hero__panel .ps-hero__text {
  color: rgba(255, 255, 255, 0.86);
}

.ps-hero__panel .ps-btn--outline {
  border-color: #fff;
  color: #fff;
}

.ps-hero__panel .ps-btn--outline:hover {
  background: #fff;
  color: var(--ps-black);
}

.ps-hero__photo {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ps-hero__title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  max-width: 14ch;
  letter-spacing: -0.02em;
}

.ps-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.ps-hero__blob {
  display: none;
}

.ps-section-lead {
  max-width: 42rem;
  margin: -8px 0 28px;
  color: var(--ps-text-soft);
}

.ps-offers__grid--five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ps-offer {
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d7e3ef;
  min-height: 280px;
}

.ps-offer img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ps-offer:hover img {
  transform: scale(1.04);
}

.ps-offer__title {
  display: block;
  padding: 14px 16px 18px;
  font-family: var(--ps-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ps-text);
}

.ps-privileges__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ps-privilege h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.ps-privilege p {
  margin: 0;
  color: var(--ps-text-muted);
}

.ps-shop-search {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  max-width: 480px;
}

.ps-shop-search input {
  flex: 1;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #c9d8e6;
  background: #fff;
}

.ps-footer__meta {
  margin: 12px 0;
  color: var(--ps-text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.ps-footer__meta a:hover {
  color: var(--ps-sky);
}

/* Contatti — inquiry form (site bottom) */
.ps-main--contatti {
  min-height: 0;
  padding: 0;
}

/* Footer form stays dark with footer */
.ps-footer .ps-contatti--footer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 72px 0 90px;
  background: #0a0a0a;
  color: #fff;
}

.ps-footer .ps-contatti--footer .ps-contatti__title,
.ps-footer .ps-contatti--footer h1,
.ps-footer .ps-contatti--footer h2 {
  color: #fff;
}

.ps-footer .ps-contatti--footer .ps-contatti__lead {
  color: rgba(255, 255, 255, 0.72);
}

.ps-footer .ps-contatti--footer .ps-form--contatti label span {
  color: rgba(255, 255, 255, 0.85);
}

.ps-footer .ps-contatti--footer .ps-form--contatti input,
.ps-footer .ps-contatti--footer .ps-form--contatti textarea {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.ps-footer .ps-contatti--footer .ps-form--contatti input:focus,
.ps-footer .ps-contatti--footer .ps-form--contatti textarea:focus {
  outline: 1px solid #fff;
  border-color: #fff;
}

.ps-footer .ps-contatti--footer .ps-btn--light {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.ps-footer .ps-contatti--footer .ps-btn--light:hover {
  background: #e8e8e8;
  color: #0a0a0a;
}

/* Contatti standalone page — light form only */
.ps-main > .ps-contatti {
  padding: 72px 0 90px;
  background: #ffffff;
  color: var(--ps-text);
}

.ps-contatti__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 12px;
  font-family: var(--ps-font-display);
  font-weight: 700;
}

.ps-main > .ps-contatti .ps-contatti__title,
.ps-main > .ps-contatti h1 {
  color: var(--ps-text);
}

.ps-contatti__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.ps-main > .ps-contatti h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.ps-main > .ps-contatti .ps-contatti__lead {
  margin: 0 auto 36px;
  max-width: 36rem;
  color: var(--ps-text-soft);
}

.ps-form--contatti {
  text-align: left;
}

.ps-form--contatti .ps-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ps-form--contatti label {
  display: block;
  margin-bottom: 16px;
}

.ps-form--contatti label span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.ps-form--contatti input,
.ps-form--contatti textarea {
  width: 100%;
  padding: 14px 16px;
}

.ps-main > .ps-contatti .ps-form--contatti label span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ps-text-muted);
}

.ps-main > .ps-contatti .ps-form--contatti input,
.ps-main > .ps-contatti .ps-form--contatti textarea {
  width: 100%;
  border: 1px solid #c9d8e6;
  padding: 14px 16px;
  background: #fff;
  color: var(--ps-text);
}

.ps-main > .ps-contatti .ps-form--contatti input:focus,
.ps-main > .ps-contatti .ps-form--contatti textarea:focus {
  outline: 2px solid rgba(47, 127, 209, 0.35);
  border-color: var(--ps-sky);
}

.ps-form--contatti .ps-btn--light,
.ps-form--contatti .ps-btn--dark {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 8px auto 0;
}

.ps-main > .ps-contatti .ps-btn--light {
  background: var(--ps-black);
  color: #fff;
  border-color: var(--ps-black);
}

.ps-main > .ps-contatti .ps-btn--light:hover {
  background: var(--ps-sky-deep);
  border-color: var(--ps-sky-deep);
  color: #fff;
}

.ps-form-success {
  padding: 12px 14px;
  background: #e5f6ea;
  color: #1d6b3a;
  margin-bottom: 20px;
}

.ps-footer .ps-form-success {
  background: #1d6b3a;
  color: #fff;
}

@media (max-width: 640px) {
  .ps-form--contatti .ps-form__row {
    grid-template-columns: 1fr;
  }
}

/* Servizi */
.ps-servizi-hero {
  padding: 56px 0 32px;
  background: linear-gradient(180deg, var(--ps-bg-soft), transparent);
}

.ps-servizi-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.ps-servizi-hero__text {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--ps-text-muted);
}

.ps-servizi-block {
  padding: 48px 0;
}

.ps-servizi-block--alt {
  background: #fff;
}

.ps-servizi-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ps-servizi-block__media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.ps-servizi-block__copy p {
  margin: 0 0 24px;
  max-width: 36rem;
}

/* Informazioni modules */
.ps-info-modules {
  padding: 40px 0 80px;
}

.ps-info-modules__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ps-info-module__media {
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
}

.ps-info-module__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ps-info-module:hover .ps-info-module__media img {
  transform: scale(1.03);
}

.ps-info-module h2 {
  font-size: 1.35rem;
}

.ps-text-link {
  font-weight: 700;
  color: var(--ps-sky);
  border-bottom: 1px solid currentColor;
}

.ps-article {
  padding: 48px 0 90px;
}

.ps-article__inner {
  max-width: 720px;
}

.ps-article__body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ps-text-muted);
}

.ps-btn--dark {
  background: var(--ps-black);
}

.ps-btn--dark:hover {
  background: var(--ps-sky-deep);
}

.ps-cart-count,
.ps-wishlist-count {
  background: var(--ps-sky);
}

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

  .ps-privileges__grid {
    grid-template-columns: 1fr;
  }
}
