/*
Theme Name: Estación Caramelo
Theme URI: https://www.estacioncaramelo.cl
Author: EmprendeCTM
Author URI: https://www.emprendectm.cl
Description: Theme a medida para Estación Caramelo, distribuidora de dulces, chocolates y confitería por mayor y al detalle, con despacho propio en Santiago y envíos a regiones. Incluye tipo de contenido "Producto" con taxonomías de Categoría y Marca, listo para conectar WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estacion-caramelo
Tags: e-commerce, custom-colors, custom-menu, translation-ready
*/

/* =========================================================
   RESET & BASE
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ec-cream);
  color: var(--ec-ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

:root {
  --ec-cream: #FBF1E4;
  --ec-ink: #221912;
  --ec-pink: #C6187A;
  --ec-pink-dark: #8f0f63;
  --ec-gold: #E8A722;
  --ec-brown: #3B2417;
  --ec-green: #0E8F6C;
  --ec-blue: #2F7DE0;
  --ec-purple: #7B3FA0;
  --ec-red: #D8393B;
  --ec-rose: #B85C6B;
  --ec-olive: #8A8F3B;
  --ec-choc: #8A4A2A;
  --ec-promo: #8E3B8B;
  --ec-whatsapp: #25D366;
  --font-serif: 'Instrument Serif', serif;
}

a { color: var(--ec-pink); text-decoration: none; }
a:hover { color: var(--ec-pink-dark); }
::selection { background: #F0637A; color: #fff; }

.ec-serif-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

@keyframes ec-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ec-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ec-spinlight { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

/* =========================================================
   PROMO BAR
   ========================================================= */
.ec-promo-bar {
  background: var(--ec-promo);
  color: #fff;
  text-align: center;
  padding: 10px 44px 10px 16px;
  position: relative;
  font-size: 13.5px;
}
.ec-promo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ec-promo-bar__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; font-size: 15px; opacity: 0.8; padding: 4px; background: none; border: none; color: #fff;
}
@media (max-width: 860px) { .ec-promo-bar { font-size: 12.5px; } }

/* =========================================================
   HEADER
   ========================================================= */
.ec-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,241,228,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34,25,18,0.08);
}
.ec-header__row {
  max-width: 1360px; margin: 0 auto; padding: 14px 32px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.ec-header__logo { display: flex; align-items: center; gap: 10px; flex: none; }
.ec-header__logo img { width: 38px; height: 38px; object-fit: contain; }
.ec-header__logo span { font-family: var(--font-serif); font-size: 21px; font-style: italic; color: var(--ec-ink); line-height: 1; }

.ec-nav { display: flex; align-items: center; gap: 22px; flex: 1; position: relative; }
.ec-nav__item { font-size: 14px; font-weight: 600; cursor: pointer; padding: 8px 4px; color: var(--ec-ink); background: none; border: none; }
.ec-nav__cats { position: relative; }
.ec-nav__dropdown {
  position: absolute; top: 38px; left: -10px; background: #fff; border-radius: 14px;
  box-shadow: 0 18px 40px rgba(34,25,18,0.18); padding: 10px;
  display: none; grid-template-columns: 1fr 1fr; gap: 4px; width: 460px; z-index: 50;
}
.ec-nav__cats.is-open .ec-nav__dropdown { display: grid; }
.ec-nav__dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px;
  font-size: 13.5px; font-weight: 500; color: var(--ec-ink);
}
.ec-nav__dropdown a:hover { background: var(--ec-cream); }
.ec-nav__dropdown .swatch { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.ec-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.ec-search {
  display: flex; align-items: center; background: #fff; border-radius: 999px;
  padding: 9px 16px; gap: 8px; min-width: 220px; border: 1px solid rgba(34,25,18,0.1);
}
.ec-search input { border: none; outline: none; background: transparent; font-size: 13.5px; width: 100%; font-family: inherit; }
.ec-search .icon { font-size: 13px; opacity: 0.4; }
.ec-search__btn {
  background: var(--ec-pink); color: #fff; border: none; border-radius: 999px;
  padding: 7px 14px; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; flex: none;
}
.ec-search__btn:hover { background: var(--ec-pink-dark); }

.ec-btn-dark {
  background: var(--ec-ink); color: #fff; border: none; border-radius: 999px;
  padding: 11px 20px; font-weight: 700; font-size: 13.5px; cursor: pointer; white-space: nowrap;
}
.ec-btn-dark:hover { background: #362415; }

.ec-cart-toggle {
  position: relative; width: 42px; height: 42px; border-radius: 50%; background: #fff;
  border: 1px solid rgba(34,25,18,0.1); display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 17px; text-decoration: none; color: inherit;
}
.ec-cart-count {
  position: absolute; top: -4px; right: -4px; background: var(--ec-pink); color: #fff;
  font-size: 10.5px; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.ec-cart-count.is-visible { display: flex; }

.ec-header__mobile-toggle,
.ec-header__mobile-actions { display: none; }

.ec-mobile-nav {
  display: none; padding: 16px 20px 24px; border-top: 1px solid rgba(34,25,18,0.08);
  flex-direction: column; gap: 4px; background: var(--ec-cream);
}
.ec-mobile-nav.is-open { display: flex; }
.ec-mobile-nav .ec-search { margin-bottom: 10px; }
.ec-mobile-nav__link { font-size: 15px; font-weight: 700; cursor: pointer; padding: 12px 6px; color: var(--ec-ink); background: none; border: none; text-align: left; }
.ec-mobile-nav__cats-list { display: none; flex-direction: column; gap: 2px; padding-left: 12px; margin-bottom: 6px; }
.ec-mobile-nav__cats-list.is-open { display: flex; }
.ec-mobile-nav__cats-list a { display: flex; align-items: center; gap: 10px; padding: 9px 6px; font-size: 14px; font-weight: 500; color: var(--ec-ink); }
.ec-mobile-nav .ec-btn-dark { margin-top: 10px; text-align: center; }

@media (max-width: 860px) {
  .ec-header__row { padding: 12px 20px; gap: 14px; }
  .ec-nav, .ec-header__actions { display: none; }
  .ec-header__mobile-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .ec-header__mobile-actions .ec-cart-toggle { width: 40px; height: 40px; font-size: 16px; }
  .ec-header__mobile-toggle {
    display: flex; width: 40px; height: 40px; border-radius: 10px; background: var(--ec-ink);
    color: #fff; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; border: none;
  }
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.ec-cart-overlay {
  position: fixed; inset: 0; background: rgba(34,25,18,0.4); z-index: 60; display: none;
}
.ec-cart-overlay.is-open { display: block; }
.ec-cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 380px; background: #fff; z-index: 61;
  box-shadow: -20px 0 50px rgba(0,0,0,0.2); padding: 26px; display: flex; flex-direction: column;
  overflow-y: auto; transform: translateX(100%); transition: transform .25s ease;
}
.ec-cart-drawer.is-open { transform: translateX(0); }
.ec-cart-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ec-cart-drawer__title { font-size: 19px; font-weight: 800; }
.ec-cart-drawer__close { cursor: pointer; font-size: 20px; opacity: 0.5; background: none; border: none; }
.ec-cart-empty { padding: 40px 0; text-align: center; color: rgba(34,25,18,0.5); font-size: 14px; }
.ec-cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(34,25,18,0.08); align-items: center; }
.ec-cart-item__swatch { width: 48px; height: 48px; border-radius: 10px; flex: none; }
.ec-cart-item__name { font-size: 13.5px; font-weight: 700; }
.ec-cart-item__meta { font-size: 12px; opacity: 0.55; }
.ec-cart-item__remove { cursor: pointer; font-size: 16px; opacity: 0.4; padding: 4px; background: none; border: none; }
.ec-cart-drawer__footer { margin-top: auto; padding-top: 18px; }
.ec-cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.ec-cart-whatsapp {
  display: block; text-align: center; background: var(--ec-whatsapp); color: #fff; padding: 14px;
  border-radius: 999px; font-weight: 800; font-size: 14.5px;
}
.ec-cart-note { text-align: center; font-size: 11.5px; color: rgba(34,25,18,0.45); margin-top: 10px; }

@media (max-width: 860px) {
  .ec-cart-drawer { width: 100%; left: 0; }
}

/* =========================================================
   HERO
   ========================================================= */
.ec-hero {
  max-width: 1360px; margin: 0 auto; padding: 56px 32px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.ec-hero__copy { animation: ec-fadeup .6s ease both; }
.ec-hero__eyebrow {
  display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--ec-pink); margin-bottom: 18px;
}
.ec-hero__eyebrow .rule { width: 26px; height: 1px; background: var(--ec-pink); }
.ec-hero h1 { font-size: 60px; line-height: 1.05; margin: 0 0 22px; font-weight: 800; letter-spacing: -0.01em; }
.ec-hero p.ec-hero__desc { font-size: 16.5px; line-height: 1.65; color: rgba(34,25,18,0.72); max-width: 480px; margin: 0 0 28px; }
.ec-hero__ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 36px; }
.ec-hero__cta-ring {
  position: relative; display: inline-block; border-radius: 999px; padding: 2.5px; overflow: hidden;
  box-shadow: 0 10px 24px rgba(198,24,122,0.3);
}
.ec-hero__cta-ring::before {
  content: ''; position: absolute; inset: -60%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,0.95) 18deg, transparent 50deg, transparent 360deg);
  animation: ec-spinlight 2.4s linear infinite;
}
.ec-hero__cta-btn {
  position: relative; z-index: 1; background: var(--ec-pink); color: #fff; border: none;
  padding: 16px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; cursor: pointer; display: block;
}
.ec-hero__cta-btn:hover { background: var(--ec-pink-dark); }
.ec-hero__link { font-weight: 700; font-size: 14.5px; text-decoration: underline; cursor: pointer; text-underline-offset: 5px; background: none; border: none; color: var(--ec-ink); }
.ec-hero__stats { display: flex; gap: 36px; padding-top: 24px; border-top: 1px solid rgba(34,25,18,0.1); flex-wrap: wrap; }
.ec-hero__stat-num { font-size: 28px; font-weight: 800; }
.ec-hero__stat-label { font-size: 12px; color: rgba(34,25,18,0.55); font-weight: 600; }

.ec-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ec-hero__tile {
  border-radius: 20px; padding: 22px; min-height: 130px; display: flex; flex-direction: column;
  justify-content: space-between; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 14px 30px rgba(34,25,18,0.12); transition: transform .2s ease, filter .2s ease; color: #fff;
}
.ec-hero__tile:hover { transform: translateY(-6px); filter: brightness(1.08); box-shadow: 0 20px 36px rgba(34,25,18,0.2); }
.ec-hero__tile-tag {
  align-self: flex-end; font-size: 10px; font-weight: 700; letter-spacing: 0.05em;
  background: rgba(255,255,255,0.25); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.ec-hero__tile-name { font-size: 19px; font-weight: 800; color: #fff; line-height: 1.15; }

@media (max-width: 860px) {
  .ec-hero { grid-template-columns: 1fr; padding: 32px 20px 28px; gap: 32px; }
  .ec-hero h1 { font-size: 38px; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.ec-marquee { background: var(--ec-ink); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.ec-marquee__track {
  display: inline-block; animation: ec-marquee 22s linear infinite; font-size: 13px;
  font-weight: 700; letter-spacing: 0.04em; color: var(--ec-cream);
}
.ec-marquee__track span { padding: 0 40px; }

/* =========================================================
   BRAND STRIP
   ========================================================= */
.ec-brand-strip { max-width: 1360px; margin: 0 auto; padding: 44px 32px 10px; }
.ec-brand-strip__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: rgba(34,25,18,0.5); margin-bottom: 18px; }
.ec-brand-strip__row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.ec-brand-pill {
  border: 1.5px solid rgba(34,25,18,0.14); border-radius: 999px; padding: 12px 24px;
  font-family: var(--font-serif); font-style: italic; font-size: 19px; cursor: pointer; color: var(--ec-ink);
}
.ec-brand-pill:hover { border-color: var(--ec-pink); color: var(--ec-pink); }
.ec-brand-strip__more { border-radius: 999px; padding: 12px 24px; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--ec-pink); }

/* =========================================================
   CATEGORY GRID (home)
   ========================================================= */
.ec-section { max-width: 1360px; margin: 0 auto; padding: 52px 32px; }
.ec-section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.ec-section__head h2 { font-size: 32px; margin: 0; font-weight: 800; }
.ec-section__sub { font-size: 14px; color: rgba(34,25,18,0.55); }
.ec-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.ec-cat-card {
  border-radius: 18px; padding: 20px; background: #fff; border: 1px solid rgba(34,25,18,0.08);
  cursor: pointer; display: flex; flex-direction: column; gap: 34px; color: inherit;
}
.ec-cat-card:hover { box-shadow: 0 14px 30px rgba(34,25,18,0.1); transform: translateY(-2px); }
.ec-cat-card__swatch { width: 34px; height: 34px; border-radius: 9px; }
.ec-cat-card__name { font-weight: 800; font-size: 15.5px; margin-bottom: 4px; }
.ec-cat-card__count { font-size: 12.5px; color: rgba(34,25,18,0.5); }

/* =========================================================
   BIG FEATURE BLOCKS (recuerdo / cumpleaños / paletas)
   ========================================================= */
.ec-feature { padding: 64px 32px; }
.ec-feature--dark { background: var(--ec-brown); color: #fff; }
.ec-feature--gold { background: var(--ec-gold); color: #fff; }
.ec-feature--blue { background: var(--ec-blue); color: #fff; border-radius: 28px; max-width: 1360px; margin: 0 auto; padding: 52px; }
.ec-feature__inner {
  max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center;
}
.ec-feature--blue .ec-feature__inner { grid-template-columns: 0.9fr 1.1fr; max-width: none; margin: 0; }
.ec-feature__title { font-family: var(--font-serif); font-style: italic; font-size: 44px; margin-bottom: 14px; }
.ec-feature--gold .ec-feature__title { color: var(--ec-brown); }
.ec-feature--dark .ec-feature__title { color: var(--ec-gold); }
.ec-feature__desc { font-size: 16px; line-height: 1.7; max-width: 520px; margin: 0 0 26px; opacity: 0.85; }
.ec-feature__btn { border: none; padding: 15px 26px; border-radius: 999px; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.ec-feature--dark .ec-feature__btn { background: var(--ec-gold); color: var(--ec-brown); }
.ec-feature--gold .ec-feature__btn { background: var(--ec-brown); color: #fff; }
.ec-feature--blue .ec-feature__btn { background: var(--ec-ink); color: #fff; }
.ec-feature__title.h2-style { font-size: 34px; font-family: inherit; font-style: normal; font-weight: 800; color: #fff; margin-bottom: 14px; }

.ec-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ec-img-slot {
  width: 100%; border-radius: 16px; background-size: cover; background-position: center;
  background-color: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 12px; text-align: center; padding: 8px;
}
.ec-feature--gold .ec-img-slot { background-color: rgba(59,36,23,0.15); color: rgba(59,36,23,0.55); }
.ec-img-slot--sm { height: 120px; }
.ec-img-slot--md { height: 90px; }
.ec-img-slot--lg { height: 150px; margin-top: 20px; }

.ec-cumple-media { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 860px) {
  .ec-feature__inner, .ec-feature--blue .ec-feature__inner { grid-template-columns: 1fr; gap: 28px; }
  .ec-feature--blue { padding: 30px 24px; }
}

/* =========================================================
   COMO COMPRAR STEPS
   ========================================================= */
.ec-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ec-step { background: #fff; border-radius: 18px; padding: 24px; border: 1px solid rgba(34,25,18,0.08); }
.ec-step__num { font-family: var(--font-serif); font-style: italic; font-size: 30px; margin-bottom: 10px; }
.ec-step__title { font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.ec-step__desc { font-size: 13.5px; color: rgba(34,25,18,0.6); line-height: 1.55; }
@media (max-width: 860px) { .ec-steps { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.ec-faq { max-width: 960px; margin: 0 auto; padding: 0 32px 80px; }
.ec-faq__head { text-align: center; margin-bottom: 32px; }
.ec-faq__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--ec-pink); margin-bottom: 10px; }
.ec-faq__head h2 { font-size: 32px; margin: 0; font-weight: 800; }
.ec-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ec-faq-item { background: #fff; border-radius: 16px; border: 1px solid rgba(34,25,18,0.08); overflow: hidden; }
.ec-faq-item summary {
  padding: 20px 22px; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 16px; font-weight: 700; font-size: 15px; list-style: none;
}
.ec-faq-item summary::-webkit-details-marker { display: none; }
.ec-faq-item summary::after { content: '+'; font-size: 18px; color: var(--ec-pink); flex: none; }
.ec-faq-item[open] summary::after { content: '−'; }
.ec-faq-item__body { padding: 0 22px 20px; font-size: 14px; line-height: 1.65; color: rgba(34,25,18,0.68); }

/* =========================================================
   BREADCRUMB / PAGE HEADER (category, brand, product, contact)
   ========================================================= */
.ec-breadcrumb { max-width: 1360px; margin: 0 auto; padding: 24px 32px 0; font-size: 13px; color: rgba(34,25,18,0.5); }
.ec-breadcrumb a { color: rgba(34,25,18,0.5); font-weight: 600; }
.ec-breadcrumb a:hover { color: var(--ec-pink); }

.ec-page-wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px 80px; }
.ec-page-wrap--narrow { max-width: 1000px; }

.ec-term-hero { border-radius: 24px; padding: 44px; margin: 20px 0 32px; color: #fff; }
.ec-term-hero h1 { font-size: 38px; font-weight: 800; margin: 0 0 12px; }
.ec-term-hero p { font-size: 15px; line-height: 1.65; max-width: 680px; margin: 0; opacity: 0.92; }

.ec-filters { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.ec-filters__row { display: flex; gap: 8px; flex-wrap: wrap; }
.ec-chip {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer;
  background: #fff; color: var(--ec-ink); border: none;
}
.ec-chip.is-active { background: var(--ec-ink); color: #fff; }
.ec-filters__count { font-size: 13.5px; color: rgba(34,25,18,0.55); }

.ec-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ec-product-card { background: #fff; border-radius: 18px; border: 1px solid rgba(34,25,18,0.08); overflow: hidden; display: flex; flex-direction: column; }
.ec-product-card__media {
  height: 130px; cursor: pointer; display: flex; align-items: flex-end; padding: 14px;
  background-size: cover; background-position: center;
}
.ec-product-card__brand { color: #fff; font-size: 11px; font-weight: 700; background: rgba(0,0,0,0.2); padding: 4px 10px; border-radius: 999px; }
.ec-product-card__body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ec-product-card__name { font-weight: 700; font-size: 14.5px; cursor: pointer; line-height: 1.3; color: var(--ec-ink); }
.ec-product-card__row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.ec-product-card__price { font-weight: 800; font-size: 16px; color: var(--ec-pink); }
.ec-add-btn { background: var(--ec-ink); color: #fff; border: none; border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 700; cursor: pointer; }

.ec-faq-box { margin-top: 56px; background: #fff; border-radius: 20px; border: 1px solid rgba(34,25,18,0.08); padding: 30px 32px; }
.ec-faq-box__title { font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.ec-faq-box__q { font-weight: 700; font-size: 14px; margin-bottom: 3px; }
.ec-faq-box__a { font-size: 13.5px; color: rgba(34,25,18,0.62); line-height: 1.6; margin-bottom: 14px; }

.ec-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ec-brand-tile {
  border-radius: 20px; padding: 30px 22px; min-height: 130px; display: flex; flex-direction: column;
  justify-content: space-between; cursor: pointer; color: #fff;
}
.ec-brand-tile__count { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; opacity: 0.85; }
.ec-brand-tile__name { font-family: var(--font-serif); font-style: italic; font-size: 26px; }

/* =========================================================
   PRODUCT SINGLE
   ========================================================= */
.ec-product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ec-product__media {
  border-radius: 26px; min-height: 420px; display: flex; align-items: center; justify-content: center;
  padding: 40px; background-size: cover; background-position: center;
}
.ec-product__media span { font-family: var(--font-serif); font-style: italic; color: #fff; font-size: 34px; text-align: center; line-height: 1.2; }
.ec-product__brand-tag { display: inline-block; background: var(--ec-cream); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ec-ink); margin-bottom: 14px; }
.ec-product h1 { font-size: 32px; font-weight: 800; margin: 0 0 14px; line-height: 1.2; }
.ec-product__price { font-size: 28px; font-weight: 800; color: var(--ec-pink); margin-bottom: 18px; }
.ec-product__desc { font-size: 14.5px; line-height: 1.7; color: rgba(34,25,18,0.68); margin: 0 0 26px; }
.ec-qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ec-qty { display: flex; align-items: center; border: 1px solid rgba(34,25,18,0.15); border-radius: 999px; overflow: hidden; }
.ec-qty button { padding: 10px 16px; cursor: pointer; font-weight: 800; background: none; border: none; }
.ec-qty__val { padding: 10px 18px; font-weight: 700; }
.ec-add-to-cart-btn { flex: 1; background: var(--ec-ink); color: #fff; border: none; padding: 15px 20px; border-radius: 999px; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.ec-quote-link { font-size: 13.5px; font-weight: 700; text-decoration: underline; cursor: pointer; text-underline-offset: 4px; margin-bottom: 26px; display: inline-block; }
.ec-dispatch-note { background: #fff; border: 1px solid rgba(34,25,18,0.08); border-radius: 16px; padding: 20px; font-size: 13px; line-height: 1.6; color: rgba(34,25,18,0.65); }
.ec-related { margin-top: 64px; }
.ec-related h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.ec-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ec-related-card { cursor: pointer; background: #fff; border-radius: 16px; border: 1px solid rgba(34,25,18,0.08); overflow: hidden; }
.ec-related-card__media { height: 90px; background-size: cover; background-position: center; }
.ec-related-card__body { padding: 12px; }
.ec-related-card__name { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.ec-related-card__price { font-size: 13.5px; font-weight: 800; color: var(--ec-pink); }

@media (max-width: 860px) { .ec-product { grid-template-columns: 1fr; gap: 28px; } }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.ec-contact-head { text-align: center; margin-bottom: 36px; }
.ec-contact-head .ec-faq__eyebrow { margin-bottom: 10px; }
.ec-contact-head h1 { font-size: 36px; margin: 0 0 12px; font-weight: 800; }
.ec-contact-head p { font-size: 15px; line-height: 1.7; color: rgba(34,25,18,0.65); max-width: 560px; margin: 0 auto; }
.ec-contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.ec-contact-form { background: #fff; border-radius: 20px; border: 1px solid rgba(34,25,18,0.08); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.ec-contact-form label { font-size: 12.5px; font-weight: 700; display: block; margin-bottom: 6px; }
.ec-contact-form input, .ec-contact-form select, .ec-contact-form textarea {
  width: 100%; border: 1px solid rgba(34,25,18,0.15); border-radius: 10px; padding: 12px 14px;
  font-size: 14px; font-family: inherit; box-sizing: border-box; background: #fff;
}
.ec-contact-form textarea { resize: vertical; }
.ec-contact-submit { background: var(--ec-pink); color: #fff; border: none; padding: 15px 20px; border-radius: 999px; font-weight: 800; font-size: 14.5px; cursor: pointer; }
.ec-contact-note { font-size: 11.5px; color: rgba(34,25,18,0.45); text-align: center; }
.ec-contact-side { display: flex; flex-direction: column; gap: 16px; }
.ec-contact-whatsapp-card { background: var(--ec-brown); border-radius: 20px; padding: 28px; color: #fff; }
.ec-contact-whatsapp-card h3 { font-weight: 800; font-size: 17px; margin: 0 0 10px; }
.ec-contact-whatsapp-card p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0 0 20px; }
.ec-whatsapp-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ec-whatsapp); color: #fff; padding: 14px; border-radius: 999px; font-weight: 800; font-size: 14.5px; }
.ec-contact-info-card { background: #fff; border-radius: 20px; border: 1px solid rgba(34,25,18,0.08); padding: 28px; }
.ec-contact-info-card__title { font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.ec-contact-info-card div.line { font-size: 13.5px; line-height: 2.1; color: rgba(34,25,18,0.65); }

@media (max-width: 860px) { .ec-contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.ec-footer { background: var(--ec-ink); color: rgba(255,255,255,0.8); padding: 56px 32px 28px; }
.ec-footer__grid { max-width: 1360px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.ec-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ec-footer__brand img { width: 32px; height: 32px; object-fit: contain; }
.ec-footer__brand span { font-family: var(--font-serif); font-style: italic; font-size: 24px; color: #fff; }
.ec-footer__desc { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 280px; margin: 0 0 20px; }
.ec-footer__search {
  display: flex; align-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 10px 16px; gap: 8px; max-width: 280px;
}
.ec-footer__search input { border: none; outline: none; background: transparent; font-size: 13px; width: 100%; font-family: inherit; color: #fff; }
.ec-footer__search .icon { font-size: 13px; opacity: 0.5; }
.ec-footer__search .ec-search__btn { background: rgba(255,255,255,0.14); }
.ec-footer__search .ec-search__btn:hover { background: rgba(255,255,255,0.24); }
.ec-footer__col-title { font-weight: 700; color: #fff; font-size: 13.5px; margin-bottom: 14px; }
.ec-footer__links { display: flex; flex-direction: column; gap: 9px; }
.ec-footer__links a, .ec-footer__links div.line { font-size: 13px; cursor: pointer; color: rgba(255,255,255,0.6); }
.ec-footer__links a:hover { color: #fff; }
.ec-footer__contact-lines { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 2; }
.ec-footer__contact-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; }
.ec-footer__contact-link:hover { color: var(--ec-gold); }
.ec-social-row { display: flex; gap: 10px; margin-top: 16px; }
.ec-social {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 15px; border: 1px solid rgba(255,255,255,0.14);
}
.ec-social--ig { background: linear-gradient(160deg,#2D3FE7 0%,#8A3FD9 28%,#E01799 52%,#F0472B 76%,#F9C43A 100%); }
.ec-social--ig:hover { filter: brightness(1.1); }
.ec-social--tt { background: #fff; color: #0a0a0a; }
.ec-social--tt:hover { background: #000; color: #fff; }
.ec-social--wa { background: var(--ec-whatsapp); }
.ec-social--wa:hover { filter: brightness(1.08); }
.ec-footer__bottom {
  max-width: 1360px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; color: rgba(255,255,255,0.4); display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
}
.ec-footer__bottom a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.ec-footer__bottom a:hover { color: #fff; }

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

/* =========================================================
   404
   ========================================================= */
.ec-404 { max-width: 700px; margin: 0 auto; padding: 100px 32px; text-align: center; }
.ec-404 h1 { font-family: var(--font-serif); font-style: italic; font-size: 64px; color: var(--ec-pink); margin: 0 0 12px; }
.ec-404 p { font-size: 16px; color: rgba(34,25,18,0.65); margin: 0 0 26px; }
