:root {
  --ink: #141414;
  --muted: #6f6c68;
  --paper: #f6f3ee;
  --white: #ffffff;
  --line: #ded9d1;
  --accent: #d2b48c;
  --accent-dark: #8a6a3f;
  --fine: #d9b9c7;
  --medium: #7a62a8;
  --coarse: #2a2a2a;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(29, 23, 25, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  width: max-content;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name { font-weight: 900; letter-spacing: -0.04em; font-size: 1.1rem; }
.brand-section { margin-top: 5px; color: var(--accent-dark); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.27em; }
.hero {
  min-height: 72vh;
  padding: 70px clamp(22px, 7vw, 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.eyebrow { margin: 0 0 22px; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.25em; color: var(--accent-dark); }
.hero h1, .section-heading h2, .guide-intro h2 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}
.hero h1 { max-width: 830px; font-size: clamp(3.5rem, 7vw, 7.6rem); line-height: 0.88; }
.hero h1 em { color: var(--accent-dark); font-weight: 400; }
.hero-intro { max-width: 630px; margin: 34px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary, .button-dark { background: var(--ink); color: white; }
.button-primary:hover, .button-dark:hover { background: var(--accent-dark); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.45); }
.button-ghost:hover { border-color: var(--ink); }
.catalog-section { padding: 110px clamp(22px, 5vw, 84px); background: var(--white); border-radius: 44px 44px 0 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 450px); align-items: end; gap: 30px; }
.section-heading h2, .guide-intro h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .95; }
.section-heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.catalog-toolbar { margin-top: 54px; display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; gap: 15px; align-items: center; }
.search-box { min-height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fbfaf8; }
.search-box:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(210,180,140,.28); }
.search-box svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; }
.filter-row { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: white; cursor: pointer; font-size: .72rem; font-weight: 800; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: white; }
.select-wrap select { min-height: 44px; padding: 0 38px 0 15px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-size: .74rem; font-weight: 700; cursor: pointer; }
.results-line { min-height: 50px; margin-top: 17px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.results-line button { border: 0; border-bottom: 1px solid currentColor; padding: 3px 0; background: none; color: var(--muted); cursor: pointer; }
.results-line button:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.product-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; transition: transform 220ms ease, box-shadow 220ms ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(20,20,20,.09); }
.product-card button { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.card-image { position: relative; aspect-ratio: 1 / 1.04; overflow: hidden; display: grid; place-items: center; background: #f4f2ef; }
.card-image::before { content: ''; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: rgba(210,180,140,.22); filter: blur(4px); }
.card-image img { position: relative; width: 88%; height: 88%; object-fit: contain; transition: transform 300ms ease; mix-blend-mode: multiply; }
.product-card:hover .card-image img { transform: scale(1.06) rotate(1deg); }
.card-badge { position: absolute; z-index: 2; top: 13px; left: 13px; padding: 7px 9px; border-radius: 12px; background: rgba(255,255,255,.9); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; line-height: 1; font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.card-more { position: absolute; right: 13px; bottom: 13px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 1.2rem; }
.card-content { min-height: 126px; padding: 15px; display: flex; flex-direction: column; }
.card-kicker { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.card-content h3 { margin: 11px 0 13px; font-family: Georgia, serif; font-size: clamp(.92rem, 1.05vw, 1.12rem); line-height: 1.08; font-weight: 400; }
.card-price { margin: auto 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price .now { font-weight: 900; font-size: 1rem; color: var(--accent-dark); }
.card-price .was { font-weight: 600; font-size: .8rem; color: var(--muted); text-decoration: line-through; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { font-family: Georgia, serif; font-size: 1.8rem; }
.empty-state span { margin-top: 8px; color: var(--muted); }

.grit-guide { padding: 120px clamp(22px, 7vw, 120px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.guide-intro p:last-child { max-width: 510px; margin-top: 28px; color: var(--muted); line-height: 1.7; }
.guide-cards { display: grid; gap: 13px; }
.guide-card { position: relative; padding: 27px 76px 27px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.guide-card > div { display: flex; align-items: center; gap: 12px; }
.guide-card h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.guide-card p { margin: 10px 0 0 25px; color: var(--muted); line-height: 1.55; }
.guide-number { position: absolute; top: 28px; right: 28px; color: #aaa29b; font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.grit-dot { width: 12px; height: 12px; border-radius: 50%; }
.guide-fine .grit-dot { background: var(--fine); }
.guide-medium .grit-dot { background: var(--medium); }
.guide-coarse .grit-dot { background: var(--coarse); }

footer { min-height: 170px; padding: 42px clamp(22px, 5vw, 84px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: var(--ink); color: white; }
.footer-brand .brand-section { color: var(--accent); }
footer p { color: #aaa; font-size: .72rem; }
footer > a { justify-self: end; color: #d8d2cd; font-size: .75rem; text-decoration: none; }

.product-dialog { width: min(1080px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: white; box-shadow: var(--shadow); overflow: auto; }
.product-dialog::backdrop { background: rgba(15, 12, 13, .66); backdrop-filter: blur(8px); }
.dialog-close { position: fixed; z-index: 3; margin: 16px 0 0 calc(min(1080px, 100vw - 28px) - 58px); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.12); cursor: pointer; font-size: 1.55rem; line-height: 1; }
.dialog-layout { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 650px; }
.dialog-gallery { min-width: 0; padding: 28px; background: #f2efeb; }
.dialog-main-image { min-height: 510px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: white; }
.dialog-main-image img { width: 93%; height: 510px; object-fit: contain; mix-blend-mode: multiply; }
.dialog-thumbnails { margin-top: 15px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 5px; }
.dialog-thumb { flex: 0 0 68px; width: 68px; height: 68px; padding: 4px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 10px; background: white; cursor: pointer; }
.dialog-thumb.is-active { border-color: var(--ink); }
.dialog-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dialog-content { padding: 68px 50px 45px; }
.dialog-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.dialog-tags span { padding: 7px 9px; border-radius: 999px; background: #f3ece1; color: var(--accent-dark); font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dialog-sku { margin: 27px 0 8px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.dialog-content > h2 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: .97; letter-spacing: -.04em; }
.dialog-price { margin: 23px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dialog-price .now { font-size: 1.35rem; font-weight: 900; color: var(--accent-dark); }
.dialog-price .was { font-size: 1rem; font-weight: 600; color: var(--muted); text-decoration: line-through; }
.dialog-description { margin: 26px 0 0; color: #56514d; line-height: 1.65; }
.dialog-section { margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.dialog-section h3 { margin: 0 0 12px; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.dialog-section ul { margin: 0; padding-left: 19px; color: #56514d; line-height: 1.55; }
.dialog-section li + li { margin-top: 5px; }
.dialog-meta { margin: 25px 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: .75rem; }
.dialog-meta dt { color: var(--muted); }
.dialog-meta dd { margin: 0; font-weight: 700; }
.dialog-content .button { width: 100%; }

@media (max-width: 1120px) {
  .catalog-toolbar { grid-template-columns: 1fr auto; }
  .filter-row { grid-column: 1 / -1; grid-row: 2; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1121px) and (max-width: 1380px) {
  .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero { min-height: auto; padding-top: 65px; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grit-guide { grid-template-columns: 1fr; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-gallery { padding: 18px; }
  .dialog-main-image, .dialog-main-image img { min-height: 390px; height: 390px; }
  .dialog-content { padding: 38px 28px 32px; }
  .dialog-close { position: absolute; right: 14px; top: 14px; margin: 0; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 18px 70px; }
  .hero h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-actions .button { flex: 1 1 180px; }
  .catalog-section { padding: 78px 16px; border-radius: 28px 28px 0 0; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .filter-row { grid-column: 1; grid-row: auto; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
  .filter-button { flex: 0 0 auto; }
  .select-wrap select { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card-image { aspect-ratio: 1 / 1; }
  .card-content { min-height: 126px; padding: 12px; }
  .card-content h3 { font-size: .83rem; line-height: 1.06; }
  .card-kicker { font-size: .52rem; }
  .card-badge { top: 9px; left: 9px; padding: 6px 7px; font-size: .5rem; }
  .card-more { right: 9px; bottom: 9px; width: 30px; height: 30px; }
  .grit-guide { padding: 85px 18px; }
  .guide-card { padding: 24px 54px 24px 21px; }
  .guide-card p { margin-left: 0; }
  footer { padding-inline: 20px; }
  .product-dialog { width: calc(100% - 12px); max-height: calc(100vh - 12px); border-radius: 19px; }
  .dialog-main-image, .dialog-main-image img { min-height: 330px; height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
button#buyNow{font-family:inherit;cursor:pointer}

/* The GelBottle · puntas: galería con video y ficha, guía por servicio */
.sold-tag { position: absolute; z-index: 2; top: 13px; right: 13px; padding: 6px 9px; border-radius: 999px; background: #e9e6e1; color: #6f6c68; font-size: .56rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.button.is-disabled, .button:disabled { background: #c9c5c0; color: #fff; cursor: not-allowed; transform: none; }
.button.is-disabled:hover, .button:disabled:hover { background: #c9c5c0; transform: none; }
.dialog-main-image.is-video { background: #111; }
.dialog-main-image video { width: auto; max-width: 100%; height: 510px; background: #111; object-fit: contain; }
.dialog-main-image.is-sheet img { mix-blend-mode: normal; height: auto; max-height: 510px; width: auto; max-width: 100%; border-radius: 10px; }
.dialog-thumb .thumb-video { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 7px; background: var(--ink); color: white; }
.dialog-thumb .thumb-video span { font-size: .8rem; line-height: 1; }
.dialog-thumb .thumb-video small { font-size: .5rem; font-weight: 900; letter-spacing: .1em; }
.dialog-description p { margin: 0; }
.dialog-description p + p { margin-top: 12px; }
.dot-retiro { background: #2a2a2a; }
.dot-preparacion { background: #d9b9c7; }
.dot-refinado { background: #d2b48c; }
.dot-limado { background: #7a62a8; }
@media (max-width: 820px) {
  .dialog-main-image video { height: 390px; }
  .dialog-main-image.is-sheet img { max-height: 390px; }
}
@media (max-width: 560px) {
  .dialog-main-image video { height: 330px; }
  .dialog-main-image.is-sheet img { max-height: 330px; }
}
