/* ============================================================
   TRIBU ANIMAL — common.css v2
   Variables, tipografía, nav, footer, botones, utilidades
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --c-white:        #FEFCF8;
  --c-cream:        #F5F0E8;
  --c-cream2:       #EDE5D6;
  --c-cream-border: #DDD4C0;
  --c-ink:          #1A1C18;
  --c-ink-soft:     #2E2D28;
  --c-ink-mid:      #5E6056;
  --c-ink-light:    #9A9D90;
  --c-moss:         #3D5C3A;
  --c-moss-light:   #D0DEC9;
  --c-ochre:        #B8892A;
  --c-ochre-light:  #F0E4C0;
  --c-terra:        #A85030;
  --c-terra-light:  #EDD5C8;
  --c-slate:        #3A4F6B;
  --c-slate-light:  #D6DDE8;
  --f-display:      'Playfair Display', Georgia, serif;
  --f-numeric:      'Plus Jakarta Sans', sans-serif;
  --f-body:         'DM Sans', sans-serif;
  --space-xs:       4px;
  --space-sm:       8px;
  --space-md:       16px;
  --space-lg:       32px;
  --space-xl:       64px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-pill:    100px;
  --transition:     0.22s ease;
  --max-w:          1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--c-ink-mid);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img     { display: block; max-width: 100%; }
a       { text-decoration: none; color: inherit; }
ul      { list-style: none; }
button  { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: 0.5px solid var(--c-cream-border);
}

/* Usamos header-inner en lugar de .container para que no herede
   ningún borde ni border-radius del reset global */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.logo-icon {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  color: var(--c-moss);
  line-height: 1;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-ink-mid);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: var(--c-moss);
  transition: left var(--transition), right var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-moss);
  font-weight: 500;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 0;
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--c-ink-mid);
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.icon-btn:hover { background: var(--c-moss-light); color: var(--c-moss); }

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button { position: relative; }

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  background: var(--c-moss);
  color: #fff;
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 500;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  opacity: 0;
  transition: opacity var(--transition);
}

.cart-badge.visible { opacity: 1; }

.btn-nav {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--c-moss);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  transition: background var(--transition);
  white-space: nowrap;
}

.btn-nav:hover { background: #2e4529; color: #fff; }

.menu-toggle { display: none; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-white);
  z-index: 99;
  padding: var(--space-lg) var(--space-md);
  flex-direction: column;
  gap: var(--space-sm);
  border-top: 0.5px solid var(--c-cream-border);
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--c-ink-soft);
  padding: 12px 0;
  border-bottom: 0.5px solid var(--c-cream-border);
  transition: color var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--c-moss); }

/* ============================================================
   BOTONES
   ============================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--c-moss);
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(61,92,58,0.22);
}

.btn-primary:hover {
  background: #2e4529;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,92,58,0.30);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink-soft);
  background: transparent;
  border: 0.5px solid var(--c-cream-border);
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.btn-ghost:hover {
  border-color: var(--c-moss);
  color: var(--c-moss);
  background: var(--c-moss-light);
}

.btn-card {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-ink-soft);
  background: transparent;
  border: 0.5px solid var(--c-cream-border);
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-card:hover {
  background: var(--c-moss);
  color: #fff;
  border-color: var(--c-moss);
  transform: translateY(-1px);
}

/* ============================================================
   EYEBROW / KICKER
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-moss);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow.eyebrow-ochre { color: var(--c-ochre); }

/* ============================================================
   TAGS
   ============================================================ */

.tag {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 3px 9px;
}

.tag-nutricion      { background: var(--c-moss-light);  color: var(--c-moss); }
.tag-accesorios     { background: var(--c-ochre-light); color: var(--c-ochre); }
.tag-bienestar      { background: var(--c-terra-light); color: var(--c-terra); }
.tag-salud          { background: var(--c-slate-light); color: var(--c-slate); }
.tag-tendencias     { background: var(--c-ochre-light); color: var(--c-ochre); }
.tag-comportamiento { background: var(--c-cream2);      color: var(--c-ink-mid); }

/* ============================================================
   SECTION BLOCK
   ============================================================ */

.section-block { padding: var(--space-xl) 0; }
.section-block + .section-block { border-top: 0.5px solid var(--c-cream-border); }

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

.footer {
  background: var(--c-white);
  border-top: 0.5px solid var(--c-cream-border);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-ink-light);
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: var(--space-md);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-col a {
  font-size: 13px;
  color: var(--c-ink-light);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 0.5px solid var(--c-cream-border);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 11px; color: var(--c-ink-light); }

.footer-sale-link {
  font-size: 11px;
  font-weight: 400;
  color: var(--c-moss);
  border-bottom: 0.5px solid var(--c-moss-light);
  padding-bottom: 1px;
  transition: border-color var(--transition), color var(--transition);
}

.footer-sale-link:hover { color: #2e4529; border-color: var(--c-moss); }

/* ============================================================
   UTILIDADES
   ============================================================ */

.text-center { text-align: center; }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }

/* ============================================================
   SECTION HEADER — eyebrow + título + link "ver todo"
   Compartido: home, tienda, noticias
   ============================================================ */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.section-eyebrow {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-moss);
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-moss);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
  padding-bottom: 2px;
  white-space: nowrap;
}

.section-link:hover { gap: 8px; }

.section-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   PRODUCT CARD — componente compartido
   Compartido: home (4 col), tienda (3 col), PDP relacionados
   El grid (.product-grid / .shop-grid) lo define cada página.
   ============================================================ */

.product-card {
  border: 0.5px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-white);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}

.product-card > a { display: block; }

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(61,92,58,0.10);
  border-color: transparent;
  will-change: transform;
}

/* Imagen cuadrada con fondo semántico por categoría */
.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

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

.product-card:hover .product-image img { transform: scale(1.04); }
.product-card:hover .product-name { color: var(--c-moss); }

.product-image.bg-nutricion  { background: var(--c-moss-light); }
.product-image.bg-accesorios { background: var(--c-ochre-light); }
.product-image.bg-bienestar  { background: var(--c-terra-light); }
.product-image.bg-salud      { background: var(--c-slate-light); }

/* Badges */
.product-badge-discount,
.product-badge-new,
.product-badge-staffpick {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  padding: 3px 8px;
}

.product-badge-discount  { background: var(--c-terra);       color: #fff; }
.product-badge-new       { background: var(--c-ochre-light); color: var(--c-ochre); }
.product-badge-staffpick { background: var(--c-moss-light);  color: var(--c-moss); }

/* Info */
.product-info { padding: 14px 14px 16px; }

.product-cat { display: block; margin-bottom: 6px; }

.product-name {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-ink-soft);
  line-height: 1.3;
  margin-bottom: 6px;
  transition: color var(--transition);
}

.product-sub {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 300;
  color: var(--c-ink-light);
  margin-bottom: 10px;
}

/* Rating */
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.stars { display: flex; gap: 2px; }

.star {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  fill: var(--c-ochre);
  display: block;
}

.star-empty { fill: var(--c-cream2); }

.rating-count {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 300;
  color: var(--c-ink-light);
}

/* Footer de card: precio + botón */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.product-price {
  font-family: var(--f-numeric);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.product-price-old {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--c-ink-light);
  text-decoration: line-through;
  margin-left: 4px;
}

/* ============================================================
   NEWS CARD — componente compartido
   Compartido: home (grid secundario), noticias.html
   ============================================================ */

.news-card {
  border: 0.5px solid var(--c-cream-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card > a { display: block; }

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61,92,58,0.12);
  border-color: transparent;
}

.news-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-cream2);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.04); }

.news-card-body { padding: 14px; }

.news-card-body .eyebrow { margin-bottom: 8px; }

.news-card-title {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-ink-soft);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card-excerpt {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-ink-mid);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta,
.news-meta {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 300;
  color: var(--c-ink-light);
}

.news-card-meta span + span::before,
.news-meta span + span::before { content: ' · '; }

/* ============================================================
   THREAD CARD y AVATAR — componente compartido
   Compartido: home (preview), comunidad.html
   ============================================================ */

.thread-card {
  background: rgba(255,255,255,0.65);
  border-radius: 10px;
  padding: 12px 14px;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
}

.thread-card:hover { background: rgba(255,255,255,0.88); }

.thread-user {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-moss);
  margin-bottom: 4px;
}

.thread-text {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--c-ink-soft);
  line-height: 1.55;
  margin-bottom: 6px;
}

.thread-meta {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 300;
  color: var(--c-ink-light);
}

.thread-meta span + span::before { content: ' · '; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-moss);
  border: 2px solid var(--c-moss-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 500;
  color: #fff;
  margin-right: -8px;
  flex-shrink: 0;
}

.avatar:last-of-type { margin-right: 0; }
.avatar:nth-child(2) { background: var(--c-ochre); }
.avatar:nth-child(3) { background: var(--c-terra); }
.avatar:nth-child(4) { background: #4a7046; }

/* ============================================================
   BARRA DE PROGRESO DE LECTURA
   Compartida: artículos y PDP
   ============================================================ */

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--c-moss);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ============================================================
   BREADCRUMB
   Compartido: artículos y PDP
   ============================================================ */

.breadcrumb-wrap {
  background: var(--c-white);
  border-bottom: 0.5px solid var(--c-cream-border);
  padding: 10px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 300;
  color: var(--c-ink-light);
}

.breadcrumb a {
  color: var(--c-ink-light);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--c-moss); }
.breadcrumb [aria-current="page"] { color: var(--c-ink-soft); font-weight: 400; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
  .nav-links  { display: none; }
  .btn-nav    { display: none; }
  .menu-toggle { display: flex; }
  .logo-text  { font-size: 17px; }
  .logo-icon  { height: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-links ul { gap: var(--space-md); }
  .logo a { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
}

/* ============================================================
   CARRITO DRAWER + TOAST
   Aquí porque el drawer aparece en TODAS las páginas.
   ============================================================ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,28,24,0.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(2px);
}

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

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 380px;
  max-width: 100vw;
  background: var(--c-white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 32px rgba(26,28,24,0.12);
}

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

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 0.5px solid var(--c-cream-border);
  flex-shrink: 0;
}

.cart-drawer-title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--c-ink);
}

.cart-drawer-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--c-ink-mid);
  transition: background var(--transition);
}

.cart-drawer-close:hover { background: var(--c-moss-light); color: var(--c-moss); }

.cart-drawer-close svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md) 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 0.5px solid var(--c-cream-border);
  align-items: start;
}

.cart-item:last-child { border-bottom: none; }

.cart-item-img {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-name {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--c-ink-soft);
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-sub {
  font-size: 11px;
  color: var(--c-ink-light);
  margin-bottom: 10px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid var(--c-cream-border);
  border-radius: 50%;
  font-size: 14px;
  color: var(--c-ink-mid);
  transition: border-color var(--transition), color var(--transition);
}

.qty-btn:hover { border-color: var(--c-moss); color: var(--c-moss); }

.qty-num {
  font-family: var(--f-numeric);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  min-width: 16px;
  text-align: center;
}

.cart-item-price {
  font-family: var(--f-numeric);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  white-space: nowrap;
}

.cart-item-remove {
  font-size: 10px;
  font-weight: 300;
  color: var(--c-ink-light);
  text-decoration: underline;
  transition: color var(--transition);
  margin-top: 4px;
  display: block;
}

.cart-item-remove:hover { color: var(--c-terra); }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: var(--space-xl) 0;
  gap: var(--space-md);
  color: var(--c-ink-light);
}

.cart-empty svg {
  width: 40px; height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
}

.cart-empty p { font-size: 13px; line-height: 1.6; }

.cart-drawer-footer {
  padding: 20px 24px;
  background: var(--c-cream);
  border-top: 0.5px solid var(--c-cream-border);
  flex-shrink: 0;
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.cart-subtotal-label { font-size: 12px; font-weight: 300; color: var(--c-ink-mid); }

.cart-subtotal-value {
  font-family: var(--f-numeric);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-ink);
}

.cart-shipping-note {
  font-size: 10px;
  font-weight: 300;
  color: var(--c-ink-light);
  margin-bottom: var(--space-md);
  text-align: center;
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--c-moss);
  border-radius: var(--radius-pill);
  padding: 14px;
  transition: background var(--transition);
}

.btn-checkout:hover { background: #2e4529; }

.btn-checkout svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--c-ink);
  color: #fff;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  z-index: 300;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .cart-drawer { width: 100%; }
}
