/* Taller Artesanal storefront template */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --bg: #F9F5F0;
  --bg2: #FFFFFF;
  --bg3: #EFE7DE;
  --ink: #2C241E;
  --ink2: #5F5349;
  --ink3: #9A8C7F;
  --mu: #D4C9BE;
  --bo: rgba(44, 36, 30, .15);
  --bo2: rgba(44, 36, 30, .05);
  --ac: #8B5E3C;
  --wa: #25D366;
  --header-height: 130px;
  --header-collapsed: 70px;
  --shadow-card: 0 10px 20px -8px rgba(0, 0, 0, .1);
  --shadow-hover: 0 16px 28px -10px rgba(0, 0, 0, .18);
  --fd: 'Cormorant Garamond', serif;
  --fb: 'Jost', sans-serif;
}

body {
  background-color: var(--bg);
  font-family: var(--fb);
  color: var(--ink);
  line-height: 1.5
}

h1,
h2,
h3,
.display,
.logo,
.precio,
.hero-nombre {
  font-family: var(--fd);
  font-weight: 500;
  letter-spacing: -.01em
}

.italic {
  font-style: italic
}

.borde-recto,
.sin-redondeo {
  border-radius: 0 !important
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.fadeUp {
  animation: fadeUp .4s ease
}

.ar-ico {
  width: 16px;
  height: 16px;
  display: block
}

.ar-ico path,
.ar-ico polyline,
.ar-ico line,
.ar-ico circle,
.ar-ico rect {
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round
}

.ar-ico-solid path {
  fill: currentColor;
  stroke: none
}

.wa-ico {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0
}

.wa-ico path {
  fill: currentColor;
  stroke: none
}

.announcement {
  background: var(--ac);
  color: #fff;
  font-size: .85rem;
  padding: .5rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--ink)
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
  padding-left: 100%
}

.marquee-track span {
  display: inline-block;
  margin-right: 2.5rem;
  font-weight: 400;
  letter-spacing: .02em
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg2);
  border-bottom: 1px solid var(--bo);
  padding: .5rem 5vw;
  transition: all .25s
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between
}

.header-expand .logo-area {
  display: flex;
  align-items: baseline;
  gap: 1rem
}

.header-expand .logo {
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none
}

.header-logo-img {
  display: block;
  max-width: 260px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain
}

.header-expand .logo-italic {
  font-style: italic;
  color: var(--ac)
}

.header-expand .header-extras {
  display: flex;
  align-items: center;
  gap: 1.8rem
}

.social {
  display: flex;
  align-items: center;
  gap: .4rem
}

.social-link {
  width: 30px;
  height: 30px;
  border: 1px solid var(--bo);
  background: var(--bg2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  text-decoration: none;
  transition: transform .15s, border-color .15s, color .15s, background .15s
}

.social-link:hover {
  color: var(--ac);
  border-color: var(--ac);
  transform: translateY(-1px)
}

.social-ico {
  width: 14px;
  height: 14px;
  display: block
}

.header-extras .schedule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink3);
  font-size: .8rem;
  border-left: 1px solid var(--bo);
  padding-left: 1rem
}

.cart-icon {
  background: none;
  border: 1px solid var(--bo);
  padding: .5rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg2);
  font-weight: 500
}

.cart-count {
  background: var(--ac);
  color: #fff;
  padding: .15rem .5rem;
  font-size: .75rem
}

.header.collapse .header-expand .header-extras,
.header.collapse .header-expand .logo-italic {
  display: none
}

.header.collapse .header-expand .logo {
  font-size: 1.6rem
}

.nav-categorias {
  width: 100%;
  margin-top: .5rem;
  border-top: 1px solid var(--bo2);
  padding-top: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: .95rem;
  text-transform: uppercase
}

.nav-links a {
  color: var(--ink2);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  cursor: pointer
}

.nav-links a.active {
  border-bottom-color: var(--ac);
  color: var(--ink)
}

.hero {
  padding: 3rem 5vw 1.5rem;
  text-align: center;
  background: var(--bg)
}

.hero-nombre {
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-style: italic;
  color: var(--ink);
  line-height: .95;
  margin-bottom: .5rem
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--ink2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center
}

.chip {
  background: transparent;
  border: 1px solid var(--bo);
  padding: .4rem 1.5rem;
  font-size: .9rem;
  cursor: pointer;
  transition: .15s;
  text-transform: uppercase;
  color: var(--ink2)
}

.chip.active {
  background: var(--ac);
  border-color: var(--ac);
  color: #fff
}

.toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: var(--bg);
  padding: 1rem 5vw .8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--bo);
  border-top: 1px solid var(--bo2)
}

.filter-group {
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  scrollbar-width: none
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--bo);
  padding: .4rem 1.2rem;
  font-size: .85rem;
  cursor: pointer;
  color: var(--ink2);
  white-space: nowrap
}

.filter-btn.active {
  background: var(--ac);
  border-color: var(--ac);
  color: #fff
}

.product-counter {
  font-size: .9rem;
  color: var(--ink3)
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 1px 5vw 3rem;
  background: var(--bg);
  margin-top: 1rem
}

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

@media (max-width:768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:420px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

.product-card {
  background: var(--bg2);
  border: 1px solid var(--bo2);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all .2s;
  animation: fadeUp .4s ease backwards;
  border-radius: 0;
  cursor: pointer
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  z-index: 3;
  border-color: var(--ac)
}

.card-image {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--mu);
  overflow: hidden
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s
}

.product-card:hover .card-image img.primary {
  transform: scale(1.03)
}

.second-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s
}

.product-card:hover .second-img {
  opacity: 1
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 2.2rem;
  color: rgba(255, 255, 255, .8);
  background: var(--ac)
}

.ribbon {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ac);
  color: #fff;
  font-size: .7rem;
  font-weight: 500;
  padding: .3rem 1rem;
  text-transform: uppercase;
  z-index: 2;
  border: 1px solid var(--bg2)
}

.ribbon.agotado {
  background: var(--ink)
}

.overlay-hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none
}

.product-card:hover .overlay-hover {
  opacity: 1
}

.wa-btn-small {
  background: var(--wa);
  color: #fff;
  border: none;
  padding: .5rem 1.2rem;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #fff
}

.wa-btn-small .wa-ico {
  width: 14px;
  height: 14px
}

.card-info {
  padding: 1rem;
  border-top: 1px solid var(--bo)
}

.product-categoria {
  font-size: .65rem;
  text-transform: uppercase;
  color: var(--ac);
  letter-spacing: .04em
}

.product-nombre {
  font-size: 1.2rem;
  font-family: var(--fd);
  font-weight: 500;
  margin: .2rem 0
}

.product-precio {
  font-size: 1.6rem;
  color: var(--ink);
  margin-top: .3rem
}

.add-hover {
  margin-top: .5rem;
  opacity: 0;
  transition: opacity .15s
}

.product-card:hover .add-hover {
  opacity: 1
}

.add-btn {
  background: transparent;
  border: 1px solid var(--ac);
  color: var(--ac);
  padding: .3rem 1.2rem;
  cursor: pointer;
  font-size: .8rem;
  width: fit-content
}

.detail-view {
  display: none;
  min-height: 100vh;
  animation: fadeIn .28s ease both
}

.detail-view.active {
  display: block
}

.detalle-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 5vw 3rem
}

.detalle-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap
}

.detalle-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink2);
  font-size: 13px
}

.detalle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 10px;
  flex-wrap: wrap
}

.volver-link {
  color: var(--ac);
  text-decoration: none;
  border: 1px solid var(--bo);
  padding: .5rem 1.5rem;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.album-detalle {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem
}

.album-detalle img,
.album-placeholder {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--mu)
}

.album-detalle :first-child {
  grid-row: span 2;
  height: 412px
}

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

.descripcion p {
  font-size: 1.2rem;
  color: var(--ink2);
  margin: 1rem 0 2rem;
  line-height: 1.6
}

.cta-premium {
  background: var(--bg2);
  padding: 2rem;
  border: 1px solid var(--bo);
  text-align: center
}

.precio-grande {
  font-size: 4rem;
  color: var(--ac);
  line-height: 1
}

.wa-button-large {
  background: var(--wa);
  color: #fff;
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  margin: 1.2rem 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none
}

.wa-button-large .wa-ico {
  width: 18px;
  height: 18px
}

.add-detalle {
  background: var(--ac);
  color: #fff;
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.cart-ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s
}

.cart-ov.open {
  opacity: 1;
  pointer-events: all
}

.cpanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg2);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .3s ease;
  border-left: 1px solid var(--bo);
  display: flex;
  flex-direction: column
}

.cpanel.open {
  transform: translateX(0)
}

.cp-hd {
  padding: 1.2rem;
  border-bottom: 1px solid var(--bo);
  display: flex;
  justify-content: space-between
}

.cp-lbl {
  font-family: var(--fd);
  font-size: 1.8rem
}

.cp-x {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg3);
  cursor: pointer
}

.cp-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem
}

.ci {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--bo2);
  padding: .8rem
}

.ci-img {
  width: 70px;
  height: 70px;
  background: var(--mu);
  display: flex;
  align-items: center;
  justify-content: center
}

.ci-ph {
  font-family: var(--fd);
  font-size: 22px;
  color: var(--ink3)
}

.ci-name {
  font-size: 13px;
  font-weight: 600
}

.ci-var {
  font-size: 11px;
  color: var(--ink3)
}

.ci-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--ac)
}

.ci-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .3rem
}

.qb {
  background: var(--bg3);
  border: 1px solid var(--bo);
  width: 28px;
  height: 28px;
  cursor: pointer
}

.qv {
  min-width: 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 700
}

.cp-ft {
  padding: 1.2rem;
  border-top: 1px solid var(--bo)
}

.cp-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px
}

.cp-tl {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  font-weight: 700
}

.cp-tn {
  font-family: var(--fd);
  font-size: 2rem;
  color: var(--ink)
}

.cp-wa {
  background: var(--wa);
  color: #fff;
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px
}

.cp-wa .wa-ico {
  width: 17px;
  height: 17px
}

.cp-empty {
  text-align: center;
  padding: 2rem;
  color: var(--ink3)
}

.wa-ref {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.footer {
  background: var(--ink);
  color: #ddd;
  padding: 2.5rem 5vw;
  border-top: 4px solid var(--ac);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem
}

.footer a {
  color: #fff;
  opacity: .8;
  text-decoration: none
}

.social-footer {
  margin-top: .65rem
}

.social-link-footer {
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  opacity: .9
}

.social-link-footer:hover {
  color: #fff;
  border-color: var(--ac);
  background: rgba(255, 255, 255, .06)
}

@media(max-width:700px) {
  .footer {
    grid-template-columns: 1fr
  }
}

.fab-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--wa);
  color: #fff;
  border: none;
  font-size: 1.8rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 305;
  cursor: pointer;
  text-decoration: none
}

.fab-wa .wa-ico {
  width: 24px;
  height: 24px
}

@media(max-width:768px) {
  .fab-wa {
    display: flex
  }
}

.ar-sentinel {
  height: 1px
}

.ar-spin {
  display: none;
  text-align: center;
  padding: 16px 0;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3)
}

.ar-spin.on {
  display: block
}