/* =========================================================
   MALAK · COBERTORES
   Nimbus · Bruma · Glaze · Boutique
========================================================= */

:root{
  --green:#1e4a3b;
  --green-dark:#12281f;
  --gold:#a9a55c;
  --gold-soft:#e7e2bd;
  --cream:#f7f3e9;
  --cream-light:#fbf9f4;
  --sand:#e8e0d3;
  --charcoal:#2b2b26;
  --muted:#6f736c;
  --white:#fff;
  --line:rgba(30,74,59,.14);
  --shadow:0 22px 58px rgba(18,40,31,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  min-width:320px;
  background:var(--cream-light);
  color:var(--charcoal);
  font-family:"Inter",sans-serif;
  -webkit-font-smoothing:antialiased;
}

body.gallery-open{overflow:hidden}

img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}

h1,h2,h3,p{margin-top:0}

.catalog-shell{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
}


/* =========================================================
   SHARED
========================================================= */

.catalog-eyebrow{
  display:inline-block;
  margin-bottom:14px;
  font-family:"Archivo",sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
}

.catalog-btn{
  min-height:48px;
  padding:14px 22px;
  border:1px solid transparent;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
  transition:.2s ease;
}

.catalog-btn-primary{
  background:var(--green);
  color:#fff;
}

.catalog-btn-primary:hover{
  background:var(--green-dark);
  transform:translateY(-1px);
}

.catalog-btn-secondary{
  border-color:var(--green);
  background:transparent;
  color:var(--green);
}

.catalog-btn-secondary:hover{
  background:rgba(30,74,59,.05);
}


/* =========================================================
   HEADER
========================================================= */

.catalog-header{
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid var(--line);
  background:rgba(251,249,244,.95);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.catalog-header-inner{
  width:min(1240px,calc(100% - 48px));
  min-height:82px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.catalog-brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.catalog-logo{
  width:205px;
  height:auto;
}

.catalog-main-nav{
  display:flex;
  align-items:center;
  gap:26px;
}

.catalog-main-nav a{
  position:relative;
  padding:31px 0 29px;
  font-family:"Archivo",sans-serif;
  font-size:11px;
  font-weight:700;
  color:var(--green-dark);
}

.catalog-main-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:22px;
  height:1px;
  background:var(--gold);
  transition:right .2s ease;
}

.catalog-main-nav a:hover::after{right:0}

.catalog-menu-toggle{
  width:44px;
  height:44px;
  padding:0;
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  border:0;
  border-radius:50%;
  background:var(--green);
  cursor:pointer;
}

.catalog-menu-toggle span{
  width:17px;
  height:1.5px;
  display:block;
  background:#fff;
}


/* =========================================================
   HERO
========================================================= */

.catalog-hero{
  position:relative;
  overflow:hidden;
  padding:92px 0 98px;
  background:
    radial-gradient(circle at 86% 12%,rgba(169,165,92,.18),transparent 28%),
    linear-gradient(145deg,#fbf9f4,#eee7da);
}

.catalog-hero::after{
  content:"";
  position:absolute;
  width:520px;
  height:520px;
  right:-280px;
  bottom:-360px;
  border:1px solid rgba(30,74,59,.08);
  border-radius:50%;
}

.catalog-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(430px,.9fr);
  gap:76px;
  align-items:center;
}

.catalog-hero-copy{max-width:720px}

.catalog-hero h1{
  margin:0 0 24px;
  font-family:"Archivo",sans-serif;
  font-size:clamp(52px,6vw,78px);
  font-weight:900;
  line-height:.95;
  letter-spacing:-.055em;
  color:var(--green-dark);
}

.catalog-hero-copy>p{
  max-width:620px;
  margin:0;
  font-size:16px;
  line-height:1.78;
  color:var(--muted);
}

.catalog-hero-actions{
  margin-top:31px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}


/* HERO MOSAIC · identidad propia de Cobertores */

.catalog-hero-mosaic{
  min-height:490px;
  display:grid;
  grid-template-columns:1.18fr .82fr;
  grid-template-rows:repeat(3,1fr);
  gap:12px;
}

.mosaic-card{
  position:relative;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(30,74,59,.08);
  border-radius:25px;
  background:#e7e1d6;
  box-shadow:var(--shadow);
}

.mosaic-card.mosaic-main{grid-row:1/4}

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

.mosaic-card:hover img{transform:scale(1.035)}

.mosaic-card::after{
  content:"";
  position:absolute;
  inset:42% 0 0;
  background:linear-gradient(transparent,rgba(7,18,14,.58));
  pointer-events:none;
}

.mosaic-card figcaption{
  position:absolute;
  z-index:2;
  left:19px;
  right:19px;
  bottom:17px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  color:#fff;
}

.mosaic-card figcaption span{
  font-size:9px;
  font-weight:800;
  letter-spacing:.15em;
}

.mosaic-card figcaption strong{
  font-family:"Archivo",sans-serif;
  font-size:18px;
  font-weight:800;
}


/* =========================================================
   JUMP NAV
========================================================= */

.collection-jump{
  position:sticky;
  top:82px;
  z-index:70;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.collection-jump-inner{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  overflow-x:auto;
  scrollbar-width:none;
}

.collection-jump-inner::-webkit-scrollbar{display:none}

.collection-jump span{
  margin-right:4px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#8b8e86;
}

.collection-jump a{
  flex-shrink:0;
  padding:9px 15px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  color:var(--green);
  transition:.2s ease;
}

.collection-jump a:hover,
.collection-jump a.is-active{
  background:var(--green);
  color:#fff;
}


/* =========================================================
   INTRO / COMPARACIÓN
========================================================= */

.catalog-intro{
  padding:105px 0 112px;
  background:#fff;
}

.catalog-section-heading{
  max-width:820px;
  margin-bottom:48px;
}

.catalog-section-heading h2{
  margin:0 0 18px;
  font-family:"Archivo",sans-serif;
  font-size:clamp(40px,5vw,58px);
  font-weight:900;
  line-height:1.01;
  letter-spacing:-.045em;
  color:var(--green-dark);
}

.catalog-section-heading p{
  margin:0;
  max-width:720px;
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
}

.line-comparison{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}

.line-card{
  min-height:295px;
  padding:30px;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--cream-light);
  transition:.22s ease;
}

.line-card:hover{
  position:relative;
  z-index:2;
  background:#f2ede2;
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(18,40,31,.08);
}

.line-number{
  font-family:"Archivo",sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.15em;
  color:rgba(30,74,59,.38);
}

.line-card h3{
  margin:42px 0 12px;
  font-family:"Archivo",sans-serif;
  font-size:31px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.035em;
  color:var(--green-dark);
}

.line-card p{
  margin:0;
  font-size:13px;
  line-height:1.72;
  color:var(--muted);
}

.line-tag{
  margin-top:auto;
  padding-top:27px;
  font-size:9px;
  font-weight:800;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:var(--gold);
}


/* =========================================================
   COLLECTION SECTIONS
========================================================= */

.collection-section{
  scroll-margin-top:140px;
  padding:108px 0;
  background:#fff;
}

.collection-section.collection-soft{
  background:#f2ede3;
}

.collection-section.collection-dark{
  background:var(--green-dark);
  color:#fff;
}

.collection-heading{
  margin-bottom:47px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(390px,.82fr);
  gap:64px;
  align-items:end;
}

.collection-index{
  display:inline-block;
  margin-bottom:14px;
  font-family:"Archivo",sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
}

.collection-heading h2{
  margin:0 0 14px;
  max-width:700px;
  font-family:"Archivo",sans-serif;
  font-size:clamp(42px,5vw,62px);
  font-weight:900;
  line-height:.98;
  letter-spacing:-.05em;
  color:var(--green-dark);
}

.collection-heading>div:first-child>p{
  max-width:620px;
  margin:0;
  font-size:14px;
  line-height:1.78;
  color:var(--muted);
}

.collection-heading-light h2{color:#fff}

.collection-heading-light>div:first-child>p{
  color:rgba(255,255,255,.67);
}

.spec-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.spec-pills span{
  max-width:230px;
  padding:11px 13px;
  display:flex;
  flex-direction:column;
  gap:3px;
  border:1px solid rgba(30,74,59,.09);
  border-radius:13px;
  background:var(--cream);
  font-size:10px;
  line-height:1.4;
  color:#696d66;
}

.spec-pills strong{
  font-size:9px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--green);
}

.spec-pills-dark span{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.07);
  color:rgba(255,255,255,.68);
}

.spec-pills-dark strong{color:#d8d59d}


/* VER IMÁGENES */

.gallery-trigger{
  min-height:46px;
  margin-top:26px;
  padding:9px 11px 9px 18px;
  display:inline-flex;
  align-items:center;
  gap:16px;
  border:1px solid rgba(30,74,59,.18);
  border-radius:999px;
  background:transparent;
  color:var(--green);
  font-family:"Archivo",sans-serif;
  font-size:10px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  cursor:pointer;
  transition:.2s ease;
}

.gallery-trigger span{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(30,74,59,.07);
}

.gallery-trigger:hover{
  border-color:var(--green);
  background:rgba(30,74,59,.04);
  transform:translateY(-1px);
}

.collection-dark .gallery-trigger{
  border-color:rgba(255,255,255,.20);
  color:#fff;
}

.collection-dark .gallery-trigger span{
  background:rgba(255,255,255,.09);
}

.collection-dark .gallery-trigger:hover{
  border-color:rgba(255,255,255,.35);
  background:rgba(255,255,255,.06);
}


/* =========================================================
   SUBCOLECCIONES
========================================================= */

.subcollection-heading{
  margin:0 0 21px;
  padding-bottom:12px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
}

.subcollection-heading span{
  font-family:"Archivo",sans-serif;
  font-size:21px;
  font-weight:900;
  line-height:1;
  color:var(--green-dark);
}

.subcollection-heading strong{
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8e9189;
}

.subcollection-spaced{margin-top:55px}

.subcollection-heading-dark{
  border-color:rgba(255,255,255,.14);
}

.subcollection-heading-dark span{color:#fff}
.subcollection-heading-dark strong{color:rgba(255,255,255,.48)}


/* =========================================================
   PRODUCT GRID
========================================================= */

.product-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:13px;
}

.product-card{
  margin:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:17px;
  background:var(--cream-light);
  transition:transform .2s ease,box-shadow .2s ease;
}

.product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 38px rgba(18,40,31,.09);
}

.product-image-button{
  width:100%;
  padding:0;
  display:block;
  overflow:hidden;
  aspect-ratio:1/.88;
  border:0;
  background:#ebe6dc;
  cursor:zoom-in;
}

.product-image-button img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.product-card:hover .product-image-button img{
  transform:scale(1.025);
}

.product-card h3{
  margin:0;
  padding:14px 11px 15px;
  font-family:"Archivo",sans-serif;
  font-size:11px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:.04em;
  text-align:center;
  text-transform:uppercase;
  color:var(--green-dark);
}

.color-grid .product-image-button{aspect-ratio:.9/1.02}
.texture-grid .product-image-button{aspect-ratio:1/1}

.product-card-dark{
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.07);
}

.product-card-dark h3{color:#fff}

.boutique-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.boutique-grid .product-image-button{
  aspect-ratio:.72/1.04;
}


/* =========================================================
   CTA FINAL
========================================================= */

.catalog-cta{
  padding:96px 0;
  background:#fff;
}

.cta-card{
  padding:46px 50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:42px;
  border-radius:28px;
  background:
    linear-gradient(135deg,#eee7da,#f8f5ee);
}

.cta-card h2{
  margin:0 0 10px;
  font-family:"Archivo",sans-serif;
  font-size:38px;
  font-weight:900;
  letter-spacing:-.035em;
  color:var(--green-dark);
}

.cta-card p{
  max-width:700px;
  margin:0;
  font-size:14px;
  line-height:1.72;
  color:var(--muted);
}

.cta-card .catalog-btn{flex-shrink:0}


/* =========================================================
   GALERÍA MALAK
========================================================= */

.gallery-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
}

.gallery-modal.is-open{display:block}

.gallery-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,12,9,.80);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.gallery-dialog{
  width:min(1080px,calc(100% - 34px));
  max-height:calc(100vh - 34px);
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:27px;
  background:#101b17;
  color:#fff;
  box-shadow:0 28px 90px rgba(0,0,0,.40);
}

.gallery-header{
  min-height:76px;
  padding:15px 18px 15px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid rgba(255,255,255,.09);
}

.gallery-kicker{
  display:block;
  margin-bottom:3px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
}

.gallery-header h2{
  margin:0;
  font-family:"Archivo",sans-serif;
  font-size:20px;
}

.gallery-header-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.gallery-zoom{
  min-height:40px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(255,255,255,.055);
  color:#fff;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}

.gallery-close{
  width:40px;
  height:40px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  background:rgba(255,255,255,.055);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.gallery-stage{
  min-height:520px;
  height:min(65vh,650px);
  padding:22px 70px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#09110e;
}

.gallery-image-wrap{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  cursor:zoom-in;
}

.gallery-image-wrap.is-zoomed{
  display:block;
  overflow:auto;
  cursor:zoom-out;
}

.gallery-image-wrap img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}

.gallery-image-wrap.is-zoomed img{
  width:auto;
  height:auto;
  max-width:none;
  max-height:none;
  min-width:150%;
  min-height:150%;
  object-fit:contain;
}

.gallery-empty{
  max-width:380px;
  text-align:center;
}

.gallery-empty-monogram{
  width:70px;
  height:70px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  font-family:"Archivo",sans-serif;
  font-size:26px;
  font-weight:900;
  color:var(--gold);
}

.gallery-empty strong{
  display:block;
  margin-bottom:8px;
  font-family:"Archivo",sans-serif;
  font-size:24px;
}

.gallery-empty span{
  display:block;
  font-size:11px;
  line-height:1.6;
  color:rgba(255,255,255,.55);
}

.gallery-arrow{
  width:46px;
  height:46px;
  position:absolute;
  top:50%;
  z-index:4;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:30px;
  cursor:pointer;
}

.gallery-arrow-prev{left:17px}
.gallery-arrow-next{right:17px}

.gallery-footer{
  min-height:88px;
  padding:13px 18px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  align-items:center;
  border-top:1px solid rgba(255,255,255,.09);
}

.gallery-counter{
  min-width:60px;
  font-size:10px;
  color:rgba(255,255,255,.58);
}

.gallery-thumbs{
  min-width:0;
  display:flex;
  gap:8px;
  overflow-x:auto;
  scrollbar-width:thin;
}

.gallery-thumb{
  width:64px;
  height:58px;
  flex:0 0 64px;
  padding:0;
  overflow:hidden;
  border:2px solid transparent;
  border-radius:10px;
  background:#1d2924;
  cursor:pointer;
  opacity:.58;
}

.gallery-thumb.is-active{
  border-color:var(--gold);
  opacity:1;
}

.gallery-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}


/* =========================================================
   FOOTER
========================================================= */

.catalog-footer{
  padding:44px 0;
  background:#0d1d17;
  color:#fff;
}

.catalog-footer-inner{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:35px;
  align-items:center;
}

.catalog-footer-logo{
  width:220px;
}

.catalog-footer p{
  margin:0;
  font-size:11px;
  color:rgba(255,255,255,.56);
}

.catalog-footer a{
  font-family:"Archivo",sans-serif;
  font-size:11px;
  font-weight:700;
  color:var(--gold);
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1000px){

  .catalog-menu-toggle{display:flex}

  .catalog-main-nav{
    display:none;
    position:absolute;
    top:82px;
    left:0;
    right:0;
    padding:16px 20px 22px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    border-bottom:1px solid var(--line);
    background:var(--cream-light);
  }

  .catalog-main-nav.mobile-open{display:flex}

  .catalog-main-nav a{
    padding:15px 0;
    border-bottom:1px solid var(--line);
  }

  .catalog-main-nav a:last-child{border-bottom:0}
  .catalog-main-nav a::after{display:none}

  .catalog-hero-grid{
    grid-template-columns:1fr;
    gap:48px;
  }

  .catalog-hero-mosaic{
    width:100%;
    max-width:820px;
  }

  .line-comparison{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .collection-heading{
    grid-template-columns:1fr;
    gap:28px;
  }

  .spec-pills{justify-content:flex-start}

  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .boutique-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

  .catalog-footer-inner{grid-template-columns:1fr}
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:650px){

  .catalog-shell,
  .catalog-header-inner{
    width:min(100% - 30px,1180px);
  }

  .catalog-header-inner{min-height:72px}
  .catalog-logo{width:175px}
  .catalog-main-nav{top:72px}

  .catalog-hero{
    padding:64px 0 70px;
  }

  .catalog-hero h1{font-size:45px}
  .catalog-hero-copy>p{font-size:15px}

  .catalog-hero-actions{
    flex-direction:column;
  }

  .catalog-hero-actions .catalog-btn{
    width:100%;
  }

  .catalog-hero-mosaic{
    min-height:auto;
    grid-template-columns:1fr 1fr;
    grid-template-rows:250px 135px 135px;
  }

  .mosaic-card.mosaic-main{
    grid-column:1/3;
    grid-row:1;
  }

  .mosaic-card:nth-child(4){
    grid-column:1/3;
  }

  .collection-jump{top:72px}

  .collection-jump-inner{
    width:100%;
    justify-content:flex-start;
    padding:0 16px;
  }

  .catalog-intro,
  .collection-section{
    padding:78px 0;
  }

  .catalog-section-heading h2,
  .collection-heading h2{
    font-size:40px;
  }

  .line-comparison{
    grid-template-columns:1fr;
  }

  .line-card{min-height:235px}
  .line-card h3{margin-top:28px}

  .spec-pills{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }

  .spec-pills span{max-width:none}

  .gallery-trigger{
    width:100%;
    justify-content:space-between;
  }

  .product-grid,
  .boutique-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .product-card{border-radius:14px}
  .product-card h3{font-size:10px;padding:12px 8px 13px}

  .catalog-cta{padding:72px 0}

  .cta-card{
    padding:34px 24px;
    border-radius:22px;
    flex-direction:column;
    align-items:flex-start;
  }

  .cta-card h2{font-size:30px}

  .cta-card .catalog-btn{width:100%}

  .gallery-dialog{
    width:calc(100% - 16px);
    max-height:calc(100vh - 16px);
    border-radius:20px;
  }

  .gallery-header{
    min-height:68px;
    padding:12px 12px 12px 17px;
  }

  .gallery-header h2{font-size:17px}

  .gallery-stage{
    min-height:0;
    height:62vh;
    padding:12px 42px;
  }

  .gallery-arrow{
    width:36px;
    height:36px;
    font-size:24px;
  }

  .gallery-arrow-prev{left:5px}
  .gallery-arrow-next{right:5px}

  .gallery-footer{
    min-height:78px;
    grid-template-columns:1fr;
    gap:7px;
  }

  .gallery-thumb{
    width:56px;
    height:50px;
    flex-basis:56px;
  }

  .catalog-footer-logo{width:200px}
}

@media(max-width:390px){
  .catalog-hero h1{font-size:40px}

  .catalog-section-heading h2,
  .collection-heading h2{
    font-size:35px;
  }

  .spec-pills{grid-template-columns:1fr}
}

/* =========================================================
   HERO ART · COBERTORES
   Muestrario textil suspendido · diseño exclusivo
========================================================= */

.catalog-hero-art-rack{
  position:relative;
  min-height:500px;
}

.catalog-hero-art-rack::before{
  content:"";
  position:absolute;
  width:340px;
  height:340px;
  right:10px;
  top:38px;
  border:1px solid rgba(30,74,59,.08);
  border-radius:50%;
}

.catalog-hero-art-rack::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  left:12px;
  bottom:30px;
  border:1px solid rgba(169,165,92,.20);
  border-radius:50%;
}

.textile-rack{
  position:absolute;
  inset:28px 4px 26px;
  z-index:2;
}

.rack-bar{
  position:absolute;
  left:7%;
  right:6%;
  top:48px;
  height:9px;
  border-radius:999px;
  background:var(--green-dark);
  box-shadow:0 8px 20px rgba(18,40,31,.16);
}

.rack-bar::before,
.rack-bar::after{
  content:"";
  position:absolute;
  top:-11px;
  width:5px;
  height:32px;
  border-radius:999px;
  background:var(--gold);
}

.rack-bar::before{left:8%}
.rack-bar::after{right:8%}

.rack-base{
  position:absolute;
  left:5%;
  right:4%;
  bottom:48px;
  height:10px;
  border-radius:999px;
  background:rgba(18,40,31,.13);
}

.rack-swatch{
  position:absolute;
  top:58px;
  width:23%;
  min-height:305px;
  padding:22px 18px 24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  border-radius:0 0 26px 26px;
  box-shadow:0 22px 48px rgba(18,40,31,.14);
  transform-origin:top center;
}

.rack-swatch::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.75;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.05) 0,
      rgba(255,255,255,.05) 1px,
      transparent 1px,
      transparent 13px
    );
}

.rack-swatch::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:54px;
  height:1px;
  background:rgba(255,255,255,.22);
}

.rack-swatch span,
.rack-swatch strong,
.rack-swatch small{
  position:relative;
  z-index:2;
}

.rack-swatch span{
  margin-bottom:auto;
  font-family:"Archivo",sans-serif;
  font-size:9px;
  font-weight:800;
  letter-spacing:.16em;
  color:rgba(255,255,255,.66);
}

.rack-swatch strong{
  font-family:"Archivo",sans-serif;
  font-size:24px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.035em;
  color:#fff;
}

.rack-swatch small{
  margin-top:7px;
  font-size:8px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.68);
}

.swatch-nimbus{
  left:4%;
  transform:rotate(-3deg);
  background:
    linear-gradient(180deg,#b9ab97,#8f7e68);
}

.swatch-bruma{
  left:28%;
  transform:rotate(1.5deg);
  min-height:330px;
  background:
    linear-gradient(180deg,#4f735f,#26483a);
}

.swatch-glaze{
  left:52%;
  transform:rotate(-1deg);
  min-height:292px;
  background:
    linear-gradient(180deg,#b2ad71,#73703e);
}

.swatch-boutique{
  left:76%;
  transform:rotate(2.5deg);
  min-height:342px;
  background:
    linear-gradient(180deg,#5a3440,#281d21);
}

.rack-season{
  position:absolute;
  z-index:5;
  right:0;
  top:0;
  width:126px;
  height:126px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--cream-light);
  border:1px solid rgba(30,74,59,.13);
  box-shadow:0 18px 40px rgba(18,40,31,.10);
}

.rack-season span{
  max-width:80px;
  margin-bottom:5px;
  font-size:7px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-align:center;
  color:var(--gold);
}

.rack-season strong{
  font-family:"Archivo",sans-serif;
  font-size:28px;
  font-weight:900;
  line-height:1;
  color:var(--green-dark);
}

.rack-caption{
  position:absolute;
  z-index:5;
  left:0;
  bottom:0;
  max-width:270px;
  padding:15px 19px;
  border:1px solid rgba(30,74,59,.10);
  border-radius:17px;
  background:rgba(251,249,244,.92);
  box-shadow:0 14px 34px rgba(18,40,31,.08);
  backdrop-filter:blur(8px);
}

.rack-caption span{
  display:block;
  margin-bottom:4px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
}

.rack-caption strong{
  display:block;
  font-family:"Archivo",sans-serif;
  font-size:13px;
  line-height:1.35;
  color:var(--green-dark);
}


@media(max-width:1000px){

  .catalog-hero-art-rack{
    width:100%;
    max-width:680px;
    min-height:485px;
  }

}


@media(max-width:650px){

  .catalog-hero-art-rack{
    min-height:420px;
  }

  .textile-rack{
    inset:18px 0 24px;
  }

  .rack-bar{
    left:4%;
    right:4%;
    top:43px;
    height:7px;
  }

  .rack-swatch{
    top:50px;
    width:24%;
    min-height:255px;
    padding:17px 10px 19px;
    border-radius:0 0 19px 19px;
  }

  .rack-swatch strong{
    font-size:16px;
  }

  .rack-swatch small{
    font-size:6px;
    letter-spacing:.08em;
  }

  .rack-swatch span{
    font-size:7px;
  }

  .swatch-nimbus{
    left:1%;
  }

  .swatch-bruma{
    left:25.5%;
    min-height:280px;
  }

  .swatch-glaze{
    left:50%;
    min-height:240px;
  }

  .swatch-boutique{
    left:74.5%;
    min-height:290px;
  }

  .rack-season{
    width:96px;
    height:96px;
    right:0;
  }

  .rack-season strong{
    font-size:22px;
  }

  .rack-caption{
    max-width:210px;
    padding:12px 15px;
    border-radius:14px;
  }

  .rack-caption strong{
    font-size:11px;
  }

  .rack-base{
    bottom:39px;
  }

  .catalog-hero-art-rack::before{
    width:260px;
    height:260px;
    right:-45px;
    top:48px;
  }

  .catalog-hero-art-rack::after{
    width:150px;
    height:150px;
    left:-20px;
    bottom:30px;
  }

}