/*
Theme Name: Origen Tu Marca
Theme URI: https://origentumarca.cl
Description: Tema personalizado Origen Tu Marca
Author: Brend Estudio
Version: 2.0.0
License: Private
Text Domain: origen
*/

:root {
  --bg:    #F5F3F0;
  --black: #111110;
  --mid:   #7A7872;
  --light: #DEDAD4;
  --line:  #E8E4DE;
  --white: #FFFFFF;
  --sans:  'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--black); font-family: var(--sans); font-weight: 300; font-size: 14px; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--sans); }
ul { list-style: none; }

/* ── NAV ── */
.origen-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 300; height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: rgba(245,243,240,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,.07); }
.origen-nav__logo img { height: 38px; width: auto; }
.origen-nav__links { display: flex; gap: 32px; }
.origen-nav__links a { font-size: 12px; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); transition: color .2s; }
.origen-nav__links a:hover { color: var(--black); }
.origen-nav__actions { display: flex; align-items: center; gap: 20px; }
.origen-nav__btn { background: none; border: none; font-size: 12px; font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); transition: color .2s; }
.origen-nav__btn:hover { color: var(--black); }
.origen-nav__cart { display: flex; align-items: center; gap: 4px; color: var(--black); }
.origen-nav__badge { background: var(--black); color: #fff; font-size: 9px; min-width: 17px; height: 17px; border-radius: 50%; display: none; align-items: center; justify-content: center; padding: 0 3px; }
.origen-nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; width: 32px; height: 32px; cursor: pointer; }
.origen-nav__hamburger span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: transform .3s, opacity .3s; }
.origen-nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.origen-nav__hamburger.open span:nth-child(2) { opacity: 0; }
.origen-nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.origen-mob-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg); z-index: 500; transition: right .35s cubic-bezier(.4,0,.2,1); box-shadow: -4px 0 24px rgba(0,0,0,.08); }
.origen-mob-menu.open { right: 0; }
.origen-mob-menu__inner { padding: 80px 40px 40px; }
.origen-mob-menu ul { display: flex; flex-direction: column; }
.origen-mob-menu ul li a { display: block; font-size: 20px; font-weight: 200; color: var(--black); padding: 14px 0; border-bottom: 1px solid var(--light); transition: color .2s; }
.origen-mob-menu ul li a:hover { color: var(--mid); }
.origen-mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 499; }
.origen-mob-overlay.open { display: block; }

/* ── MARQUEE ── */
.origen-marquee { overflow: hidden; padding: 11px 0; background: var(--black); }
.origen-marquee__track { display: flex; animation: origenMarquee 28s linear infinite; width: max-content; }
.origen-marquee__item { font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); white-space: nowrap; padding: 0 32px; }
.origen-marquee__sep { color: rgba(255,255,255,.25); padding: 0; }
@keyframes origenMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── HERO ── */
.origen-hero { position: relative; width: 100%; height: 100vh; min-height: 580px; overflow: hidden; }
.origen-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: translateZ(0); backface-visibility: hidden; }
.origen-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 35%, rgba(0,0,0,.15) 60%, transparent 80%); }
.origen-hero__content { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 48px 220px; }
.origen-hero__tag { font-size: 11px; font-weight: 300; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.origen-hero__title { font-size: clamp(38px, 4.2vw, 64px); font-weight: 200; line-height: 1.18; color: #fff; margin-bottom: 28px; }
.origen-hero__cta { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: #fff; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; transition: gap .25s; }
.origen-hero__cta:hover { gap: 16px; }
.origen-hero__season { font-size: 10px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); line-height: 1.9; text-align: right; }

/* ── CATEGORÍAS ── */
.origen-cats { display: flex; flex-direction: column; gap: 2px; background: #C0BAB2; height: calc(100vh - 60px); min-height: 620px; max-height: 900px; }
.origen-cats__row { display: flex; gap: 2px; flex: 1; }
.origen-cats__row:first-child { flex: 1.1; }
.origen-cats__row:last-child { flex: 1; }
.origen-cat { position: relative; overflow: hidden; flex: 1; min-width: 0; transition: flex .55s cubic-bezier(.4,0,.2,1); display: block; }
.origen-cats__row:first-child .origen-cat:nth-child(1) { flex: 1.4; }
.origen-cats__row:first-child .origen-cat:nth-child(2) { flex: 1.0; }
.origen-cats__row:first-child .origen-cat:nth-child(3) { flex: 0.8; }
.origen-cats__row:last-child  .origen-cat:nth-child(1) { flex: 0.7; }
.origen-cats__row:last-child  .origen-cat:nth-child(2) { flex: 1.2; }
.origen-cats__row:last-child  .origen-cat:nth-child(3) { flex: 0.9; }
.origen-cats__row:last-child  .origen-cat:nth-child(4) { flex: 1.0; }
.origen-cats__row:hover .origen-cat { flex: 0.55; }
.origen-cats__row:hover .origen-cat:hover { flex: 2.2; }
.origen-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .5s; filter: brightness(.82); }
.origen-cat:hover img { transform: scale(1.06); filter: brightness(.65); }
.origen-cat__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 55%); transition: background .4s; }
.origen-cat:hover .origen-cat__overlay { background: linear-gradient(to top, rgba(0,0,0,.80) 0%, rgba(0,0,0,.1) 65%); }
.origen-cat__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 22px 24px; }
.origen-cat__num { font-size: 9px; font-weight: 300; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 5px; display: block; }
.origen-cat__name { font-size: clamp(14px, 1.4vw, 19px); font-weight: 200; color: #fff; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.origen-cat__cta { display: block; font-size: 10px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 8px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.origen-cat:hover .origen-cat__cta { opacity: 1; transform: translateY(0); }

/* ── PROPUESTA ── */
.origen-prop { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--light); border-bottom: 1px solid var(--light); }
.origen-prop__item { padding: 52px 40px; border-right: 1px solid var(--light); display: flex; flex-direction: column; gap: 12px; }
.origen-prop__item:last-child { border-right: none; }
.origen-prop__num { font-size: 10px; font-weight: 300; letter-spacing: .22em; color: var(--light); }
.origen-prop__title { font-size: 15px; font-weight: 300; color: var(--black); line-height: 1.3; }
.origen-prop__text { font-size: 12px; font-weight: 300; color: var(--mid); line-height: 1.8; }

/* ── PRODUCTOS ── */
.origen-featured { padding: 80px 40px; }
.origen-sec-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.origen-sec-title { font-size: 11px; font-weight: 300; letter-spacing: .22em; text-transform: uppercase; color: var(--mid); }
.origen-sec-link { font-size: 11px; font-weight: 300; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); border-bottom: 1px solid var(--light); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.origen-sec-link:hover { color: var(--black); border-color: var(--black); }
.origen-prod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.origen-prod-card { background: #E8E4DE; position: relative; cursor: pointer; }
.origen-prod-card__imgs { position: relative; overflow: hidden; aspect-ratio: 4/5; background: #DDD9D2; }
.origen-prod-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s cubic-bezier(.25,.46,.45,.94); }
.origen-prod-card__img--alt { opacity: 0; transition: opacity .5s; }
.origen-prod-card:hover .origen-prod-card__img--main { transform: scale(1.04); }
.origen-prod-card:hover .origen-prod-card__img--alt { opacity: 1; }
.origen-prod-card__wish { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 15px; color: #fff; opacity: 0; transition: opacity .2s; padding: 4px; }
.origen-prod-card:hover .origen-prod-card__wish { opacity: 1; }
.origen-prod-card__add { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(17,17,16,.9); color: #fff; font-size: 10px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; padding: 11px; text-align: center; border: none; width: 100%; transform: translateY(100%); transition: transform .28s; }
.origen-prod-card:hover .origen-prod-card__add { transform: translateY(0); }
.origen-prod-card__info { padding: 12px 0 16px; background: var(--bg); }
.origen-prod-card__cat { font-size: 9px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); margin-bottom: 3px; }
.origen-prod-card__name { font-size: 13px; font-weight: 300; color: var(--black); margin-bottom: 3px; }
.origen-prod-card__price { font-size: 12px; font-weight: 300; color: var(--mid); }
.origen-ver-cat { text-align: center; padding: 40px 0 0; }
.origen-ver-cat a { background: none; border: 1px solid var(--light); font-size: 11px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); padding: 13px 48px; display: inline-block; transition: all .25s; }
.origen-ver-cat a:hover { border-color: var(--black); color: var(--black); }

/* ── EDITORIAL ── */
.origen-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 2px 0; }
.origen-editorial__half { position: relative; overflow: hidden; min-height: 65vh; display: flex; align-items: flex-end; padding: 48px 40px; }
.origen-editorial__half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .5s; filter: brightness(.82); }
.origen-editorial__half:hover img { transform: scale(1.04); filter: brightness(.65); }
.origen-editorial__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.05) 60%); transition: background .4s; }
.origen-editorial__half:hover .origen-editorial__overlay { background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.12) 60%); }
.origen-editorial__body { position: relative; z-index: 1; color: #fff; }
.origen-editorial__label { font-size: 9px; font-weight: 300; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.origen-editorial__title { font-size: clamp(22px, 2.6vw, 36px); font-weight: 200; line-height: 1.2; margin-bottom: 20px; }
.origen-editorial__link { font-size: 10px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; }

/* ── FOOTER ── */
.origen-footer { background: var(--black); color: rgba(255,255,255,.45); padding: 72px 40px 36px; }
.origen-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 32px; }
.origen-footer__logo img { height: 36px; filter: brightness(0) invert(1); opacity: .85; margin-bottom: 14px; }
.origen-footer__tagline { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.3); line-height: 1.7; max-width: 180px; margin-bottom: 28px; }
.origen-footer__social { display: flex; gap: 16px; }
.origen-footer__social a { font-size: 10px; font-weight: 300; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.3); transition: color .2s; }
.origen-footer__social a:hover { color: rgba(255,255,255,.8); }
.origen-footer__col h5 { font-size: 9px; font-weight: 300; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; }
.origen-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.origen-footer__col a { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.45); transition: color .2s; }
.origen-footer__col a:hover { color: rgba(255,255,255,.85); }
.origen-footer__bottom { display: flex; justify-content: space-between; align-items: center; }
.origen-footer__copy { font-size: 10px; color: rgba(255,255,255,.2); }
.origen-footer__pay { display: flex; align-items: center; gap: 8px; font-size: 10px; color: rgba(255,255,255,.2); }
.origen-footer__pay-badge { border: 1px solid rgba(255,255,255,.12); padding: 3px 8px; font-size: 9px; letter-spacing: .1em; color: rgba(255,255,255,.3); }

/* ── WOOCOMMERCE OVERRIDES ── */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 2px !important; padding: 2px 40px !important; margin: 0 !important; list-style: none !important; }
.woocommerce ul.products li.product { background: #E8E4DE; margin: 0 !important; float: none !important; width: auto !important; }
.woocommerce ul.products li.product a img { aspect-ratio: 4/5; object-fit: cover; object-position: center top; width: 100%; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--sans) !important; font-size: 13px !important; font-weight: 300 !important; color: var(--black) !important; padding: 12px 0 3px !important; }
.woocommerce ul.products li.product .price { font-family: var(--sans) !important; font-size: 12px !important; font-weight: 300 !important; color: var(--mid) !important; }
.woocommerce ul.products li.product .button { background: rgba(17,17,16,.9) !important; color: #fff !important; font-family: var(--sans) !important; font-size: 10px !important; font-weight: 300 !important; letter-spacing: .18em !important; text-transform: uppercase !important; border: none !important; border-radius: 0 !important; padding: 11px !important; width: 100% !important; margin: 0 !important; }
.woocommerce div.product { padding: 80px 40px; padding-top: 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.woocommerce div.product .product_title { font-family: var(--sans) !important; font-size: clamp(22px,2.5vw,32px) !important; font-weight: 200 !important; color: var(--black) !important; margin-bottom: 12px !important; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 22px !important; font-weight: 300 !important; color: var(--black) !important; margin-bottom: 24px !important; }
.woocommerce div.product .single_add_to_cart_button { background: var(--black) !important; color: #fff !important; font-family: var(--sans) !important; font-size: 11px !important; font-weight: 300 !important; letter-spacing: .22em !important; text-transform: uppercase !important; border: none !important; border-radius: 0 !important; padding: 18px 40px !important; }
.woocommerce div.product table.variations label { font-family: var(--sans) !important; font-size: 9px !important; font-weight: 300 !important; letter-spacing: .2em !important; text-transform: uppercase !important; color: var(--mid) !important; }
.woocommerce div.product table.variations select { border: 1px solid var(--light) !important; border-radius: 0 !important; font-family: var(--sans) !important; font-size: 12px !important; font-weight: 300 !important; background: none !important; padding: 8px 12px !important; }


/* ── CATÁLOGO WC ── */
.origen-catalog-wrap { padding-top: 60px; }
.origen-cat-header { padding: 48px 40px 0; }
.origen-cat-title { font-size: 11px; font-weight: 300; letter-spacing: .22em; text-transform: uppercase; color: var(--mid); margin-bottom: 32px; }
.origen-cat-filters { display: flex; flex-wrap: wrap; padding: 0 40px; border-bottom: 1px solid var(--light); }
.origen-cat-btn { background: none; border: none; border-bottom: 2px solid transparent; font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); padding: 16px 20px; cursor: pointer; transition: all .2s; }
.origen-cat-btn:hover, .origen-cat-btn.active { color: var(--black); border-bottom-color: var(--black); }
.origen-sort-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; border-bottom: 1px solid var(--light); }
.origen-sort-count { font-size: 11px; font-weight: 300; color: var(--mid); }
.origen-sort-select { background: none; border: none; border-bottom: 1px solid var(--light); font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--mid); padding: 4px 8px; outline: none; cursor: pointer; }
.origen-catalog-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; padding: 2px 40px; }
.origen-catalog-grid .origen-prod-card.hidden { display: none !important; }

/* ── WOOCOMMERCE PRODUCTS GRID (shop nativo) ── */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 2px !important; padding: 2px 40px !important; margin: 0 !important; list-style: none !important; }
.woocommerce ul.products li.product { background: #E8E4DE; margin: 0 !important; float: none !important; width: auto !important; }
.woocommerce ul.products li.product a img { aspect-ratio: 4/5; object-fit: cover; object-position: center top; width: 100%; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--sans) !important; font-size: 13px !important; font-weight: 300 !important; color: var(--black) !important; padding: 12px 0 3px !important; }
.woocommerce ul.products li.product .price { font-family: var(--sans) !important; font-size: 12px !important; font-weight: 300 !important; color: var(--mid) !important; }
.woocommerce ul.products li.product .button { background: rgba(17,17,16,.9) !important; color: #fff !important; font-family: var(--sans) !important; font-size: 10px !important; font-weight: 300 !important; letter-spacing: .18em !important; text-transform: uppercase !important; border: none !important; border-radius: 0 !important; padding: 11px !important; width: 100% !important; margin: 0 !important; }

/* Responsive catálogo */
@media (max-width: 1200px) {
  .origen-catalog-grid { grid-template-columns: repeat(3,1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 768px) {
  .origen-catalog-grid { grid-template-columns: repeat(2,1fr); }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .origen-catalog-grid { padding: 2px 20px; }
  .origen-cat-filters, .origen-sort-bar, .origen-cat-header { padding-left: 20px; padding-right: 20px; }
  .woocommerce ul.products { padding: 2px 20px !important; }
}

/* ── FICHA PRODUCTO WC — OVERRIDE ── */
.woocommerce div.product { padding: 0 !important; display: block !important; }
.woocommerce div.product .woocommerce-product-gallery { display: none !important; }
.woocommerce div.product .summary { padding: 0 !important; float: none !important; width: 100% !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--black) !important; color: #fff !important; border-top: none !important; border-radius: 0 !important; font-family: var(--sans) !important; font-weight: 300 !important; padding: 14px 24px !important; }

/* ── CARRITO GUTENBERG — VERSIÓN QUE FUNCIONABA ── */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 110px 40px 80px !important;
  width: 100% !important;
}
.wc-block-cart {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) 340px !important;
  gap: 56px !important;
  align-items: start !important;
}
.wc-block-cart__main { min-width: 0 !important; margin: 0 !important; padding: 0 !important; max-width: 100% !important; }
.wc-block-cart__sidebar { width: 340px !important; min-width: 340px !important; margin: 0 !important; padding: 0 !important; }
.wp-block-woocommerce-cart-order-summary-block { width: 340px !important; max-width: none !important; }
.wc-block-cart, .wc-block-cart * { font-family: var(--sans) !important; }
.wc-block-cart-items__header { font-size: 9px !important; font-weight: 300 !important; letter-spacing: .2em !important; text-transform: uppercase !important; color: var(--mid) !important; border-bottom: 1px solid var(--line) !important; padding-bottom: 14px !important; }
.wc-block-cart-items__row { border-bottom: 1px solid var(--line) !important; }
.wc-block-cart-item__image img { width: 60px !important; height: 76px !important; object-fit: cover !important; object-position: center top !important; }
.wc-block-components-product-name { font-size: 13px !important; font-weight: 400 !important; color: var(--black) !important; }
.wc-block-cart-item__product-metadata, .wc-block-components-product-details, .wc-block-components-product-details li { font-size: 11px !important; font-weight: 300 !important; color: var(--mid) !important; }
.wc-block-components-product-price__value { font-size: 13px !important; font-weight: 300 !important; color: var(--black) !important; }
.wc-block-components-quantity-selector { border: 1px solid var(--line) !important; border-radius: 0 !important; max-width: 96px !important; }
.wc-block-components-quantity-selector__input { font-size: 13px !important; font-weight: 300 !important; color: var(--black) !important; }
.wc-block-components-quantity-selector__button { color: var(--mid) !important; }
.wc-block-cart__totals-title { font-size: 9px !important; font-weight: 300 !important; letter-spacing: .18em !important; text-transform: uppercase !important; color: var(--mid) !important; white-space: nowrap !important; }
.wc-block-components-totals-wrapper { border-top: 1px solid var(--line) !important; padding: 14px 0 !important; }
.wc-block-components-totals-item { font-size: 13px !important; font-weight: 300 !important; color: var(--black) !important; padding: 5px 0 !important; line-height: 1.4 !important; }
.wc-block-components-totals-item__label { color: var(--mid) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 13px !important; color: var(--black) !important; white-space: nowrap !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 20px !important; font-weight: 300 !important; color: var(--black) !important; }
.wc-block-components-panel__button, .wc-block-components-totals-coupon__button { font-size: 12px !important; font-weight: 300 !important; color: var(--mid) !important; }
.wc-block-components-text-input input { border: none !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; font-size: 13px !important; background: none !important; }
.wp-block-woocommerce-proceed-to-checkout-block, .wc-block-cart__submit, .wc-block-cart__submit-container { width: 100% !important; padding: 0 !important; }
.wc-block-cart__submit-button, .wc-block-components-button.contained {
  background: var(--black) !important; color: #fff !important; font-family: var(--sans) !important;
  font-size: 10px !important; font-weight: 300 !important; letter-spacing: .18em !important;
  text-transform: uppercase !important; border: none !important; border-radius: 0 !important;
  padding: 18px 12px !important; width: 340px !important; height: auto !important;
  white-space: nowrap !important; line-height: 1.2 !important;
}
.wc-block-cart__submit-button:hover { background: #2a2a28 !important; }
.entry-title, .wc-block-components-title { font-size: 22px !important; font-weight: 200 !important; color: var(--black) !important; }

@media (max-width: 768px) {
  .wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { padding: 90px 20px 60px !important; }
  .wc-block-cart { grid-template-columns: 1fr !important; gap: 36px !important; }
  .wc-block-cart__sidebar, .wp-block-woocommerce-cart-order-summary-block { width: 100% !important; min-width: 0 !important; }
  .wc-block-cart__submit-button { width: 100% !important; }
}

/* ═══════════════════════════════════════════════════
   MOBILE RESPONSIVE — AJUSTES v2.7.0
   ═══════════════════════════════════════════════════ */

/* --- Bloquear scroll horizontal en toda la página --- */
html, body { overflow-x: hidden !important; max-width: 100%; }

/* --- Evitar zoom automático al tocar campos de texto en mobile (iOS) --- */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

@media (max-width: 900px) {
  /* NAV: activar hamburguesa, ocultar menú horizontal */
  .origen-nav__links { display: none !important; }
  .origen-nav__hamburger { display: flex !important; }
  .origen-nav { padding: 0 20px; }
  .origen-nav__btn { display: none !important; }
  .origen-nav__actions { gap: 14px; }
}

@media (max-width: 768px) {
  /* --- HERO: título más arriba para que no se corte --- */
  .origen-hero { height: 100vh; min-height: 520px; }
  .origen-hero__img { object-position: center center; }
  .origen-hero__content { padding: 0 24px 260px !important; align-items: flex-end !important; }
  .origen-hero__title { font-size: 2rem !important; }
  .origen-hero__season { display: none; }

  /* --- CATEGORÍAS: una debajo de otra, formato horizontal ancho --- */
  .origen-cats {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    gap: 2px !important;
  }
  .origen-cats__row {
    display: flex !important;
    flex-direction: column !important;
    flex: none !important;
    gap: 2px !important;
  }
  .origen-cats__row .origen-cat,
  .origen-cats__row:first-child .origen-cat:nth-child(1),
  .origen-cats__row:first-child .origen-cat:nth-child(2),
  .origen-cats__row:first-child .origen-cat:nth-child(3),
  .origen-cats__row:last-child .origen-cat:nth-child(1),
  .origen-cats__row:last-child .origen-cat:nth-child(2),
  .origen-cats__row:last-child .origen-cat:nth-child(3),
  .origen-cats__row:last-child .origen-cat:nth-child(4) {
    flex: none !important;
    width: 100% !important;
    height: 180px !important;
    aspect-ratio: auto !important;
  }
  /* Desactivar el efecto hover-expand en mobile */
  .origen-cats__row:hover .origen-cat { flex: none !important; }
  .origen-cats__row:hover .origen-cat:hover { flex: none !important; }
  .origen-cat__name { font-size: 1.25rem !important; }
  .origen-cat__num { font-size: 11px !important; }
  .origen-cat__info { padding: 20px 24px !important; }
  .origen-cat__cta { opacity: 1 !important; transform: none !important; }

  /* --- PROPUESTA DE VALOR: centrada, sin líneas laterales --- */
  .origen-prop {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding: 48px 24px !important;
  }
  .origen-prop__item {
    text-align: center !important;
    padding: 32px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--light) !important;
    max-width: 480px;
    margin: 0 auto;
  }
  .origen-prop__item:last-child { border-bottom: none !important; }
  .origen-prop__num { margin: 0 auto 14px !important; display: block; }
  .origen-prop__title { margin-bottom: 10px; }

  /* --- DESTACADOS: 2 columnas con aire --- */
  .origen-prod-grid { grid-template-columns: 1fr 1fr !important; gap: 20px 14px !important; padding: 0 20px !important; }
  .origen-sec-header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 20px; }
  .origen-sec-link { font-size: 12px; }

  /* --- EDITORIAL: apilado --- */
  .origen-editorial { grid-template-columns: 1fr !important; }
  .origen-editorial__half { min-height: 380px; }
}

@media (max-width: 600px) {
  .origen-hero__title { font-size: 1.75rem !important; }
  .origen-hero__tag { font-size: 10px !important; }
  .origen-hero__content { padding: 0 24px 220px !important; align-items: flex-end !important; }
  .origen-marquee__item { font-size: 11px !important; }
  .origen-cat__name { font-size: 1.125rem !important; }
}

/* ═══════════════════════════════════════
   BOTÓN FLOTANTE WHATSAPP
   ═══════════════════════════════════════ */
.origen-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4), 0 2px 8px rgba(0,0,0,.15);
  z-index: 400;
  animation: waBounce 2.6s ease-in-out infinite;
  transition: transform .2s, box-shadow .2s;
}
.origen-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37,211,102,.5), 0 3px 10px rgba(0,0,0,.18);
}

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  10%      { transform: translateY(-8px); }
  20%      { transform: translateY(0); }
  28%      { transform: translateY(-4px); }
  36%      { transform: translateY(0); }
}

@media (max-width: 768px) {
  .origen-whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .origen-whatsapp-float svg { width: 25px; height: 25px; }
}
