/* SYLA Club — main styles */

:root {
  --black: #050505;
  --dark-gray: #222222;
  --mid-gray: #9b9b9b;
  --light-gray: #e7e7e4;
  --off-white: #f5f5f2;
  --white: #ffffff;
  --font: "Archivo", sans-serif;
  --max: 1600px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s ease, color 0.35s ease, backdrop-filter 0.35s ease;
  color: var(--white);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding: 1.35rem 2.5rem;
  }
}

.site-nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a,
.site-nav button,
.header-actions button,
.mobile-toggle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav button:hover,
.header-actions button:hover {
  opacity: 0.65;
}

.site-logo {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.lang-switch a {
  opacity: 0.45;
}

.lang-switch a.is-active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-switch span {
  opacity: 0.35;
}

.header-actions .cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -0.45rem;
  right: -0.55rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }
}

.icon-btn svg {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.18), rgba(5, 5, 5, 0.35));
}

.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 1.25rem 5rem;
  overflow: visible;
}

@media (min-width: 1024px) {
  .hero__content {
    padding: 8rem 2.5rem 4.5rem;
  }
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero__title {
  margin: 0;
  padding-top: 0.12em;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  overflow: visible;
}

.hero__text {
  margin: 1.25rem 0 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  width: fit-content;
  transition: gap 0.3s ease;
}

.cta-link:hover {
  gap: 0.75rem;
}

.cta-link--dark {
  color: var(--black);
}

.hero__scroll {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero__scroll {
    right: 2.5rem;
  }
}

.hero__scroll span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll svg {
  animation: bounce 1.4s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease-out both;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

.section--off {
  background: var(--off-white);
}

.section--black {
  background: var(--black);
  color: var(--white);
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section--black {
    padding: 8rem 0;
  }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .section-head {
    margin-bottom: 3.5rem;
  }
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.95;
}

.section-title--xl {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 0.85;
}

.section-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
  white-space: nowrap;
}

.muted {
  color: var(--mid-gray);
}

.muted-light {
  color: rgba(255, 255, 255, 0.7);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

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

.product-card__media {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
  aspect-ratio: 3 / 4;
}

.product-card__media > a:not(.product-card__quick-add) {
  position: absolute;
  inset: 0;
  display: block;
}

.product-card__media img,
.woocommerce ul.products li.product .product-card__media a img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  padding: 0.3rem 0.45rem;
}

.product-card__quick-add {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--black);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-card__quick-add,
.product-card__quick-add:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .product-card__quick-add {
    opacity: 1;
    transform: none;
  }
}

.product-card__info {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.85rem;
}

.product-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.product-card__price,
.product-card__color {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--mid-gray);
}

/* Editorial */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

  .editorial-grid__tall {
    grid-column: span 5;
    grid-row: span 2;
  }

  .editorial-grid__copy,
  .editorial-grid__wide {
    grid-column: span 7;
  }
}

.editorial-grid__tall .media-frame {
  aspect-ratio: 3 / 4;
}

@media (min-width: 1024px) {
  .editorial-grid__tall .media-frame {
    height: 100%;
    aspect-ratio: auto;
  }
}

.editorial-grid__wide .media-frame {
  aspect-ratio: 16 / 10;
}

.editorial-grid__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

@media (min-width: 1024px) {
  .editorial-grid__copy {
    padding: 0 2rem;
  }
}

.editorial-grid__copy p.lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
  color: var(--dark-gray);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.media-frame:hover img {
  transform: scale(1.05);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--light-gray);
  color: var(--white);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.category-card__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.55), transparent 45%);
}

/* Drop banner */
.drop-banner {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  color: var(--white);
}

.drop-banner__media,
.drop-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.4);
}

.drop-banner__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

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

  .about-grid__copy {
    order: 1;
  }

  .about-grid__media {
    order: 2;
  }
}

.about-grid__media .media-frame {
  aspect-ratio: 4 / 5;
  background: var(--dark-gray);
}

.about-grid__copy .lead {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
}

/* Newsletter */
.newsletter {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.25rem;
}

.newsletter .lead {
  margin: 1.25rem 0 2rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
    border-bottom: 1px solid var(--black);
  }
}

.newsletter-form input {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--black);
  background: transparent;
  padding: 0.85rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}

@media (min-width: 640px) {
  .newsletter-form input {
    border-bottom: none;
  }
}

.newsletter-form button {
  padding: 0.85rem 1.25rem;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .newsletter-form button {
    background: transparent;
    color: var(--black);
  }
}

.newsletter-success {
  display: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.newsletter.is-done .newsletter-form {
  display: none;
}

.newsletter.is-done .newsletter-success {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid rgba(5, 5, 5, 0.08);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-col a,
.footer-col p {
  font-size: 0.9rem;
  color: var(--mid-gray);
}

.footer-col a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* Overlays / drawers */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 5, 5, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 90;
  width: min(100%, 28rem);
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease);
}

.drawer--right {
  right: 0;
  transform: translateX(100%);
}

.drawer--left {
  left: 0;
  transform: translateX(-100%);
}

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

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.drawer__head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer__body {
  flex: 1;
  overflow: auto;
  padding: 1.25rem;
}

.drawer__empty {
  color: var(--mid-gray);
  font-size: 0.95rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.cart-item img {
  width: 4.5rem;
  height: 5.5rem;
  object-fit: cover;
  background: var(--light-gray);
}

.cart-item h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-item p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.cart-item__remove {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-gray);
  align-self: start;
}

.drawer__foot {
  padding: 1.25rem;
  border-top: 1px solid rgba(5, 5, 5, 0.08);
}

.drawer__foot .subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--black);
  color: var(--white);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.btn-ghost {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* Search */
.search-panel {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(245, 245, 242, 0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.search-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel__top {
  display: flex;
  justify-content: flex-end;
}

.search-panel input {
  width: min(40rem, 100%);
  margin: 10vh auto 0;
  border: none;
  border-bottom: 1px solid var(--black);
  background: transparent;
  padding: 1rem 0;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  outline: none;
}

.search-popular {
  width: min(40rem, 100%);
  margin: 2rem auto 0;
}

.search-popular p {
  margin: 0 0 0.85rem;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

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

.search-popular .chips button {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 1rem;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.drawer-open {
  overflow: hidden;
}

/* WooCommerce pages — SYLA look */
.wc-page .woocommerce-products-header__title,
.wc-page .page-title,
.wc-page h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}

.wc-page ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.wc-page ul.products li.product {
  margin: 0;
  padding: 0;
  width: auto !important;
  float: none !important;
}

.wc-page ul.products li.product a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  margin: 0;
}

.wc-page ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
  margin: 0;
}

.wc-page ul.products li.product .price {
  color: var(--mid-gray);
  font-size: 0.85rem;
}

.wc-page ul.products li.product .button,
.wc-page .single_add_to_cart_button,
.wc-page .checkout-button,
.wc-page button.button,
.wc-page a.button {
  background: var(--black) !important;
  color: var(--white) !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.1rem !important;
}

.wc-page .woocommerce-breadcrumb {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}

.wc-page form.cart,
.wc-page .quantity,
.wc-page table.shop_table,
.wc-page .cart-collaterals,
.wc-page .woocommerce-checkout,
.wc-page .woocommerce-MyAccount-navigation,
.wc-page .woocommerce-MyAccount-content {
  font-family: var(--font);
}

.wc-page input.input-text,
.wc-page select,
.wc-page textarea {
  border: 1px solid rgba(5, 5, 5, 0.15);
  border-radius: 0;
  padding: 0.75rem;
}

/* ========== Product Detail Page (SYLA) ========== */
.syla-pdp-page {
  padding: 5.5rem 0 4rem;
  background: var(--white);
  color: var(--black);
}

.syla-pdp-page__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1024px) {
  .syla-pdp-page__inner {
    padding: 0 2rem;
  }
}

.syla-pdp__back {
  display: inline-flex;
  margin-bottom: 1.5rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  transition: color 0.2s ease;
}

.syla-pdp__back:hover {
  color: var(--black);
}

.syla-pdp__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 960px) {
  .syla-pdp__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.syla-pdp__gallery {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
}

.syla-pdp__main {
  display: block;
  width: min(100%, calc(78vh * 0.75));
  margin-right: auto;
  padding: 0;
  border: 0;
  background: var(--off-white);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  cursor: pointer;
}

.syla-pdp__main:disabled {
  cursor: default;
}

.syla-pdp__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.syla-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: min(100%, calc(78vh * 0.75));
  margin: 0;
}

.syla-pdp__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 96px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--off-white);
  overflow: hidden;
  cursor: pointer;
}

.syla-pdp__thumb.is-active {
  border-color: var(--black);
}

.syla-pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.syla-pdp__info {
  padding-top: 0.25rem;
}

@media (min-width: 960px) {
  .syla-pdp__info {
    position: sticky;
    top: 6rem;
    max-width: 28rem;
  }
}

.syla-pdp__brand {
  margin: 0 0 0.65rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.syla-pdp__brand strong {
  font-weight: 700;
}

.syla-pdp__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.syla-pdp__price {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
}

.syla-pdp__price .woocommerce-Price-amount {
  font-weight: 500;
}

.syla-pdp__desc {
  margin: 1.15rem 0 0;
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.syla-pdp__desc p {
  margin: 0;
}

.syla-pdp__form {
  margin-top: 1.75rem;
}

.syla-pdp__row {
  margin-bottom: 1.35rem;
}

.syla-pdp__row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.syla-pdp__row-head span:last-child {
  color: var(--mid-gray);
  font-weight: 400;
}

.syla-pdp__guide {
  color: var(--mid-gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.syla-pdp__swatches {
  display: flex;
  gap: 0.65rem;
}

.syla-pdp__swatch {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--swatch, #050505);
  border: 1px solid rgba(5, 5, 5, 0.2);
  box-shadow: inset 0 0 0 2px #fff;
  position: relative;
}

.syla-pdp__swatch.is-active {
  outline: 1px solid #050505;
  outline-offset: 2px;
}

.syla-pdp__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.syla-pdp__size {
  min-width: 3rem;
  height: 2.65rem;
  padding: 0 0.85rem;
  border: 1px solid rgba(5, 5, 5, 0.2);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.syla-pdp__size.is-active {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.syla-pdp__qty {
  display: inline-grid;
  grid-template-columns: 2.5rem 3rem 2.5rem;
  border: 1px solid rgba(5, 5, 5, 0.2);
  width: fit-content;
}

.syla-pdp__qty button,
.syla-pdp__qty input {
  height: 2.65rem;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 0.95rem;
}

.syla-pdp__qty input {
  border-left: 1px solid rgba(5, 5, 5, 0.15);
  border-right: 1px solid rgba(5, 5, 5, 0.15);
  -moz-appearance: textfield;
  width: 100%;
}

.syla-pdp__qty input::-webkit-outer-spin-button,
.syla-pdp__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.syla-pdp__cta {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 1rem 1.25rem !important;
  background: #fff !important;
  color: #050505 !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  transition: opacity 0.2s ease;
}

.syla-pdp__cta:hover {
  opacity: 0.85;
}

.syla-pdp__accordion {
  margin-top: 2rem;
  border-top: 1px solid rgba(5, 5, 5, 0.12);
  padding-top: 1rem;
}

.syla-pdp__accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.syla-pdp__accordion summary::-webkit-details-marker {
  display: none;
}

.syla-pdp__accordion summary::after {
  content: "⌃";
  font-size: 0.9rem;
  transform: translateY(1px);
}

.syla-pdp__accordion:not([open]) summary::after {
  content: "⌄";
}

.syla-pdp__accordion ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.syla-pdp__accordion li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0.45rem 0;
  color: var(--dark-gray);
  font-size: 0.92rem;
  line-height: 1.5;
}

.syla-pdp__accordion li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 1px;
  background: var(--black);
}

.syla-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

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

.syla-modal__panel {
  width: min(28rem, 100%);
  background: #fff;
  padding: 1.5rem;
}

.syla-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.syla-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--mid-gray, #9b9b9b);
}

.syla-modal__section {
  margin: 1.25rem 0 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.syla-modal__note {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--mid-gray, #9b9b9b);
}

.newsletter-error {
  margin: 0.75rem 0 0;
  color: #ff8a8a;
  font-size: 0.9rem;
}

.syla-modal__head h2 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.syla-modal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.syla-modal th,
.syla-modal td {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
  text-align: left;
}

/* Hide default WC chrome on PDP */
.syla-pdp .woocommerce-product-gallery,
.syla-pdp .product_title:not(.syla-pdp__title),
.single-product .woocommerce-breadcrumb {
  display: none !important;
}

.single-product .site-header {
  color: var(--black);
}

.single-product .site-header.is-scrolled,
.single-product .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--black);
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}

.single-product .site-header .cart-count {
  background: var(--black);
  color: #fff;
}

/* ========== Shop / Archive (SYLA) ========== */
.syla-shop {
  padding: 6rem 0 4rem;
  background: var(--white);
  color: var(--black);
}

.syla-shop__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 1024px) {
  .syla-shop__inner {
    padding: 0 2.5rem;
  }
}

.syla-shop__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.syla-shop__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.syla-shop__title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

.syla-shop__count {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mid-gray);
  white-space: nowrap;
}

.syla-shop__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
}

.syla-shop__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.syla-shop__cat {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.syla-shop__cat:hover {
  border-color: var(--black);
}

.syla-shop__cat.is-active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.syla-shop__sort {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.syla-shop__sort label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.syla-shop__sort select {
  border: 1px solid rgba(5, 5, 5, 0.15);
  background: #fff;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0;
}

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

/* WooCommerce inyecta ::before/::after en ul.products; en grid ocupan la 1ª celda. */
.syla-shop__grid::before,
.syla-shop__grid::after {
  content: none !important;
  display: none !important;
}

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

.syla-shop__grid > li {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  list-style: none;
}

.syla-shop__grid .product-card__name {
  font-size: 0.95rem;
  font-weight: 500;
}

.syla-shop__grid .product-card__name a:hover {
  opacity: 0.7;
}

.syla-shop__grid .product-card__price,
.syla-shop__grid .product-card__price .amount {
  color: var(--mid-gray);
  font-size: 0.85rem;
  font-weight: 400;
}

.syla-shop__empty {
  padding: 4rem 0;
  text-align: center;
  color: var(--mid-gray);
}

.syla-shop__pagination {
  margin-top: 3rem;
}

.syla-shop__pagination .woocommerce-pagination {
  text-align: center;
}

.syla-shop__pagination .page-numbers {
  display: inline-flex;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.syla-shop__pagination .page-numbers li {
  list-style: none;
}

.syla-shop__pagination .page-numbers a,
.syla-shop__pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  font-size: 0.85rem;
}

.syla-shop__pagination .page-numbers .current {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.post-type-archive-product .site-header,
.tax-product_cat .site-header,
.woocommerce-shop .site-header {
  color: var(--black);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}

.post-type-archive-product .site-header .cart-count,
.tax-product_cat .site-header .cart-count,
.woocommerce-shop .site-header .cart-count {
  background: var(--black);
  color: #fff;
}

/* Hide leftover default WC notices chrome inside shop */
.syla-shop .woocommerce-result-count,
.syla-shop .woocommerce-ordering {
  display: none !important;
}

/* ========== Quick Add modal ========== */
.syla-quick {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(5, 5, 5, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.syla-quick[hidden] {
  display: none !important;
}

.syla-quick__panel {
  position: relative;
  width: min(860px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  padding: 1.5rem;
}

.syla-quick__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.syla-quick__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .syla-quick__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }
}

.syla-quick__media {
  background: var(--light-gray);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.syla-quick__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.syla-quick__body h2 {
  margin: 0.35rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.syla-quick__error {
  color: #b00020;
  font-size: 0.85rem;
  margin: 0 0 0.75rem;
}

.syla-quick__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--mid-gray);
}

/* ========== Cart / Checkout / Account ========== */
.woocommerce-cart .site-header,
.woocommerce-checkout .site-header,
.woocommerce-account .site-header,
.page .site-header {
  color: var(--black);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(5, 5, 5, 0.06);
}

.woocommerce-cart .site-header .cart-count,
.woocommerce-checkout .site-header .cart-count,
.woocommerce-account .site-header .cart-count,
.page .site-header .cart-count {
  background: var(--black);
  color: #fff;
}

.syla-page h1,
.woocommerce-cart .entry-title,
.wc-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 1.75rem;
}

.woocommerce table.shop_table {
  border: 1px solid rgba(5, 5, 5, 0.1) !important;
  border-radius: 0 !important;
  border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border-color: rgba(5, 5, 5, 0.08) !important;
  padding: 1rem 0.85rem !important;
  font-size: 0.9rem;
}

.woocommerce a.remove {
  color: var(--black) !important;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-billing-fields {
  border: 1px solid rgba(5, 5, 5, 0.1);
  padding: 1.25rem;
  background: #fff;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #place_order {
  background: var(--black) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  padding: 0.95rem 1.2rem !important;
  border: none !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid rgba(5, 5, 5, 0.18) !important;
  border-radius: 0 !important;
  padding: 0.75rem !important;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  border-top-color: var(--black) !important;
  background: var(--off-white) !important;
}

.cart-item h3 a {
  color: inherit;
  text-decoration: none;
}

/* Shop filters */
.syla-shop__toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.syla-shop__filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #fff;
}

.syla-shop__filter-toggle.has-active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.syla-shop__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.syla-shop__filter-toggle.has-active .syla-shop__filter-count {
  background: #fff;
  color: var(--black);
}

@media (min-width: 900px) {
  .syla-shop__filter-toggle {
    display: none;
  }
}

.syla-shop__active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: -0.75rem 0 1.5rem;
}

.syla-shop__active-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  background: var(--off-white);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.syla-shop__active-chip span {
  font-size: 14px;
  line-height: 1;
  opacity: 0.7;
}

.syla-shop__filters-backdrop {
  display: none;
}

.syla-shop__filters-head,
.syla-shop__filters-foot {
  display: none;
}

.syla-shop__filters {
  display: none;
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
}

.syla-shop__filters-body {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .syla-shop__filters {
    display: grid;
  }

  .syla-shop__filters-backdrop,
  .syla-shop__filters-head,
  .syla-shop__filters-foot {
    display: none !important;
  }
}

.syla-shop__filter-group {
  display: grid;
  gap: 0.65rem;
}

.syla-shop__filter-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.syla-shop__filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.syla-shop__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.syla-shop__chip--size {
  min-width: 2.75rem;
}

.syla-shop__chip.is-active {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}

.syla-shop__price-inputs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.syla-shop__price-inputs input {
  width: 7rem;
  min-height: 2.5rem;
  border: 1px solid rgba(5, 5, 5, 0.15);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  background: #fff;
}

.syla-shop__price-sep {
  color: var(--mid-gray);
}

.syla-shop__apply,
.syla-shop__apply-results {
  min-height: 2.5rem;
  padding: 0.55rem 0.95rem;
  background: var(--black);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.syla-shop__clear {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--mid-gray);
  width: fit-content;
}

.syla-pdp__size.is-disabled,
.syla-pdp__cta.is-disabled {
  opacity: 0.35;
  pointer-events: none;
  text-decoration: line-through;
}

.syla-pdp__cta.is-disabled {
  text-decoration: none;
}

.syla-pdp__stock-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #b00020;
}

/* Mobile polish */
@media (max-width: 899px) {
  .site-header__inner {
    padding: 0.95rem 1rem;
  }

  .syla-shop {
    padding-top: 5rem;
    padding-bottom: 3rem;
    overflow-x: clip;
  }

  .syla-shop__inner {
    padding: 0 1rem;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .syla-shop__eyebrow {
    margin-bottom: 0.5rem;
  }

  .syla-shop__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .syla-shop__title {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .syla-shop__toolbar {
    position: sticky;
    top: 3.55rem;
    z-index: 20;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 0 0 1.25rem;
    padding: 0.75rem 0 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
    backdrop-filter: blur(10px);
    overflow: hidden;
  }

  .syla-shop__cats {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    min-width: 0; /* permite scroll horizontal dentro del flex */
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0 0.45rem;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 1.5rem), transparent);
  }

  .syla-shop__cats::-webkit-scrollbar {
    display: none;
  }

  .syla-shop__cat {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 2.35rem;
    padding: 0.5rem 0.85rem;
  }

  .syla-shop__toolbar-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .syla-shop__filter-toggle,
  .syla-shop__sort {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .syla-shop__filter-toggle {
    justify-content: center;
  }

  .syla-shop__sort select {
    max-width: 100%;
  }

  .syla-shop__sort {
    gap: 0;
  }

  .syla-shop__sort label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .syla-shop__sort select {
    width: 100%;
    min-height: 2.5rem;
  }

  .syla-shop__active {
    margin: 0 0 1.25rem;
  }

  .syla-shop__filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(5, 5, 5, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .syla-shop__filters-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .syla-shop__filters {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    max-height: min(88vh, 720px);
    margin: 0;
    padding: 0;
    background: #fff;
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(5, 5, 5, 0.18);
    transform: translateY(105%);
    transition: transform 0.3s var(--ease);
  }

  .syla-shop__filters.is-open {
    transform: translateY(0);
  }

  .syla-shop__filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem 0.85rem;
    border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  }

  .syla-shop__filters-head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .syla-shop__filters-close {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-gray);
  }

  .syla-shop__filters-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.15rem;
    -webkit-overflow-scrolling: touch;
  }

  .syla-shop__filters-foot {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(5, 5, 5, 0.08);
    background: #fff;
  }

  .syla-shop__apply-results {
    width: 100%;
  }

  .syla-shop__price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.45rem;
  }

  .syla-shop__price-inputs input {
    width: 100%;
  }

  .syla-shop__price-inputs .syla-shop__apply {
    grid-column: 1 / -1;
    width: 100%;
  }

  .syla-shop__grid {
    gap: 1.35rem 0.7rem;
  }

  .syla-shop__grid .product-card__name {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .syla-shop__grid .product-card__price,
  .syla-shop__grid .product-card__price .amount,
  .syla-shop__grid .product-card__color {
    font-size: 0.78rem;
  }

  .product-card__info {
    gap: 0.2rem;
  }

  .product-card__quick-add {
    opacity: 1;
    transform: none;
    font-size: 10px;
    padding: 0.55rem 0.7rem;
  }

  .syla-pdp-page {
    padding-top: 5rem;
  }

  .syla-pdp__info {
    position: static;
    max-width: none;
  }

  .syla-quick__panel {
    padding: 1rem;
  }

  .syla-pdp__qty {
    width: 100%;
    grid-template-columns: 1fr 1.2fr 1fr;
  }
}

/* Legal / brand pages */
.syla-page .container {
  max-width: 720px;
}

/* Checkout y carrito a ancho de pantalla */
.woocommerce-checkout .syla-page .container,
.woocommerce-cart .syla-page .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.woocommerce-checkout main.syla-page {
  padding-top: 4.75rem !important;
  padding-bottom: 0 !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout {
  margin: 0;
}

.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
  margin: 0;
}

@media (min-width: 960px) {
  .woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 42vw);
    column-gap: 0 !important;
    align-items: stretch;
    min-height: calc(100vh - 4.75rem);
    width: 100%;
    flex-wrap: nowrap !important;
  }

  .woocommerce-checkout .wc-block-checkout__main {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding: 2.75rem 3.5rem 4rem 6vw;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  .woocommerce-checkout .wc-block-checkout__form {
    width: 100%;
    max-width: 640px;
  }

  .woocommerce-checkout .wc-block-checkout__sidebar {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 100% !important;
    background: #141414;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.75rem 5vw 4rem 2.5rem;
    box-sizing: border-box;
  }

  .woocommerce-checkout .wc-block-components-checkout-order-summary__content {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }

  .woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    cursor: default;
    pointer-events: none;
  }

  .woocommerce-checkout .wc-block-components-checkout-order-summary__title-icon,
  .woocommerce-checkout .wc-block-components-checkout-order-summary__title-price {
    display: none !important;
  }
}

@media (max-width: 959px) {
  .woocommerce-checkout .syla-page .container,
  .woocommerce-cart .syla-page .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.woocommerce-checkout .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.woocommerce-checkout .wc-block-components-checkout-step__description {
  color: var(--mid-gray);
  font-size: 0.92rem;
}

/* Contrast rules live in woocommerce.css (loads last). Keep layout-only here. */
.woocommerce-checkout .wc-block-components-text-input:focus-within,
.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control:focus-within {
  border-color: #fff !important;
  box-shadow: none !important;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image {
  width: 64px !important;
  height: 84px !important;
  background: #fff;
}

.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
}

.woocommerce-checkout .wc-block-components-radio-control-accordion-content img,
.woocommerce-checkout .wc-block-components-payment-method-icons img,
.woocommerce-checkout .wc-block-components-payment-method-label img {
  max-height: 28px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
}

/* Place-order button styles are in woocommerce.css */

.woocommerce-cart main.syla-page {
  padding-top: 6.5rem !important;
}

.woocommerce-cart .wc-block-cart {
  padding: 0 4vw 4rem;
}

.syla-page p {
  line-height: 1.65;
  color: inherit;
}

.woocommerce-cart .syla-page p,
.woocommerce-checkout .syla-page p {
  color: #cfcfcf;
}

.syla-page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-legal {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer .footer-legal a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ========== Mi cuenta ========== */
.woocommerce-account .syla-page .container {
  max-width: 1080px;
}

.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 4.5rem;
  align-items: start;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
  content: none;
  display: none;
}

.woocommerce-account .syla-account__head {
  grid-column: 1 / -1;
  margin: 0 0 2.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(5, 5, 5, 0.1);
}

.woocommerce-account .syla-account__kicker {
  margin: 0 0 0.55rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.woocommerce-account .syla-account__head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.95;
}

.woocommerce-account .syla-account__lead {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: var(--mid-gray);
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--mid-gray);
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  color: var(--black);
  font-weight: 700;
  border-bottom-color: var(--black);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 1.25rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  border-bottom: 0;
  color: var(--black);
  min-height: auto;
  padding-top: 0.2rem;
}

.woocommerce-account .syla-page a {
  text-decoration: none;
}

.syla-account-dash__hello {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black);
}

.syla-account-dash__hello strong {
  font-weight: 700;
}

.syla-account-dash__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: var(--dark-gray);
}

.syla-account-dash__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.syla-account-card {
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
  padding: 1.15rem 1.1rem 1rem;
  border: 1px solid rgba(5, 5, 5, 0.12);
  background: var(--off-white);
  color: var(--black);
  text-decoration: none !important;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.syla-account-card:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.syla-account-card__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.syla-account-card__text {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--dark-gray);
}

.syla-account-card:hover .syla-account-card__text {
  color: rgba(255, 255, 255, 0.72);
}

.syla-account-card__go {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-MyAccount-content > h2,
.woocommerce-account .woocommerce-MyAccount-content > h3,
.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce-account .woocommerce-orders-table,
.woocommerce-account table.shop_table {
  border: 0 !important;
}

.woocommerce-account table.shop_table th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mid-gray);
  background: transparent;
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.woocommerce-account mark.order-status {
  background: transparent;
  color: var(--black);
  font-weight: 600;
}

.woocommerce-account .u-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.woocommerce-account .u-columns::before,
.woocommerce-account .u-columns::after,
.woocommerce-account .col2-set::before,
.woocommerce-account .col2-set::after {
  content: none;
  display: none;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2,
.woocommerce-account .col-1,
.woocommerce-account .col-2 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account form.edit-account,
.woocommerce-account form.woocommerce-EditAccountForm {
  border: 1px solid rgba(5, 5, 5, 0.1);
  padding: 1.35rem 1.25rem;
  background: #fff;
}

.woocommerce-account form .form-row label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.woocommerce-account .woocommerce-MyAccount-content .button {
  margin-top: 0.35rem;
}

@media (max-width: 860px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 2.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(5, 5, 5, 0.12);
    border-bottom: 1px solid rgba(5, 5, 5, 0.12);
  }

  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: var(--black);
    border-color: var(--black);
    color: #fff;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0;
  }

  .syla-account-dash__grid,
  .woocommerce-account .u-columns {
    grid-template-columns: 1fr;
  }
}
