/* Holistic Mountain: diseño de la web. Todo cuelga de .hm para no afectar al resto de páginas. */
@font-face { font-family: "Archivo HM"; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono HM"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono HM"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

body.hm-site { margin: 0; background: #F4F5F3; }
.hm { --ink: #0B0B0C; --snow: #F4F5F3; --mist: #DDE0DE; --slate: #55585A; --rope: #FF5B22; --rope-text: #FF7A47; --rope-dark: #C93A0C; --deep: #12303F; --gutter: clamp(16px, 5vw, 72px);
  font-family: "Archivo HM", Arial, sans-serif; color: var(--ink); background: var(--snow); font-size: 17px; line-height: 1.5; overflow-x: clip; }
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm a { color: inherit; }
.hm a:hover { color: var(--rope-dark); }
.hm :focus-visible { outline: 3px solid var(--rope); outline-offset: 2px; }
.hm h1, .hm h2, .hm h3 { font-family: inherit; color: inherit; margin: 0; padding: 0; font-weight: 500; line-height: 1.14; letter-spacing: -.015em; }
.hm h1 { font-size: clamp(38px, 5.2vw, 72px); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; }
.hm h2 { font-size: clamp(27px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.02em; }
.hm p { margin: 0; padding: 0; }
.hm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hm-skip { position: absolute; left: -999px; top: 8px; background: var(--rope); color: var(--ink); padding: 10px 16px; z-index: 10; }
.hm-skip:focus { left: 8px; }
.hm-label, .hm-eyebrow, .hm-nav small, .hm-topbar { font-family: "Plex Mono HM", monospace; font-weight: 400; }
.hm-label { font-size: 13px; }
.hm-eyebrow { font-size: 14px; color: var(--rope-dark); margin-bottom: 14px; }
.hm-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 560px; margin-top: 14px; }

.hm-topbar { background: #fff; color: var(--slate); border-bottom: 1px solid var(--mist); font-size: 13px; padding: 10px var(--gutter); display: flex; flex-wrap: wrap; gap: 6px 32px; justify-content: space-between; }
.hm-topbar a { text-decoration: none; }
.hm-topbar a:hover { color: var(--rope-dark); }
.hm-topbar-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.hm-header { padding: 12px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; border-bottom: 1px solid var(--mist); background: #fff; }
.hm-logo { display: block; line-height: 0; }
.hm-logo img { width: 56px; height: 56px; display: block; }
.hm-header { position: relative; z-index: 40; }
.hm-nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px 26px; flex: 1 1 300px; font-weight: 500; }
.hm-item { display: flex; align-items: center; }
.hm-nav-link { text-decoration: none; padding: 11px 0; }
.hm-nav-link[aria-current] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.hm .hm-caret { width: 30px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hm-caret svg { transition: transform .18s; }
.hm-item.is-open .hm-caret svg, .hm-item:hover .hm-caret svg { transform: rotate(180deg); }
.hm-mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--mist); padding: 28px var(--gutter) 32px; gap: 32px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.2fr); box-shadow: 0 18px 30px rgba(8, 20, 28, .16); }
.hm-mega-simple { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.hm-item.is-open .hm-mega { display: grid; }
@media (hover: hover) and (min-width: 761px) { .hm-item:hover .hm-mega, .hm-item:focus-within .hm-mega { display: grid; } .hm-item:hover::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 16px); height: 16px; } }
.hm-mega-col { display: flex; flex-direction: column; gap: 6px; }
.hm-mega-title { font-size: 19px; font-weight: 600; margin-bottom: 6px !important; }
.hm a.hm-mega-link { text-decoration: none; padding: 7px 0; font-size: 17px; }
.hm a.hm-mega-all { margin-top: 8px; font-weight: 600; }
.hm a.hm-mega-product { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 5px 0; }
.hm-mega-product img { width: 64px; height: 64px; object-fit: cover; flex: none; margin: 0; }
.hm-mega-product > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hm-mega-name { font-size: 16px; line-height: 1.3; }
.hm-mega-product .price { font-size: 15px; }
.hm .hm-mega-photo { position: relative; display: flex; align-items: flex-end; min-height: 230px; overflow: hidden; color: #fff; text-decoration: none; background: var(--deep); }
.hm-mega-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 28, .72), rgba(8, 20, 28, .1) 65%); }
.hm-mega-photo .hm-cat-copy strong { font-size: 21px; }
.hm-search { flex: 0 1 240px; margin: 0; }
.hm-search input[type=search] { width: 100%; height: 44px; border: 1px solid var(--mist); border-radius: 8px; background: var(--snow); padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); }
.hm-icons { display: flex; gap: 4px; }
.hm-icons a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; position: relative; text-decoration: none; }
.hm-count { position: absolute; top: 2px; right: 0; background: var(--rope); color: var(--ink); font-size: 12px; font-weight: 800; min-width: 18px; height: 18px; line-height: 18px; text-align: center; }

.hm-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-hero, .hm-banner { position: relative; display: flex; align-items: flex-end; color: #fff; padding: clamp(32px, 5vw, 72px) var(--gutter); background: var(--deep); overflow: hidden; }
.hm-hero { min-height: min(84vh, 760px); }
.hm-hero .hm-cover { object-position: 50% 30%; }
.hm-banner { min-height: 520px; align-items: center; }
.hm-hero::after, .hm-banner::after, .hm-band-photo::after, .hm-cat::after, .hm-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 20, 28, .72), rgba(8, 20, 28, .12) 62%); }
.hm-banner::after { background: linear-gradient(to right, rgba(8, 20, 28, .74), rgba(8, 20, 28, .1) 70%); }
.hm-hero-copy, .hm-banner-copy { position: relative; z-index: 1; max-width: 680px; }
.hm-hero .hm-lead, .hm-banner .hm-lead { color: #fff; }
.hm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hm .hm-btn { display: inline-block; padding: 15px 28px; font-weight: 600; text-decoration: none; font-size: 17px; line-height: 1.3; border: 1px solid transparent; border-radius: 0; transition: background-color .18s, color .18s; }
.hm .hm-btn-accent { background: var(--rope); color: var(--ink); }
.hm .hm-btn-accent:hover { background: #fff; color: var(--ink); }
.hm .hm-btn-light { border-color: #fff; color: #fff; background: transparent; }
.hm .hm-btn-light:hover { background: #fff; color: var(--ink); }

.hm-section { padding: clamp(36px, 5vw, 64px) var(--gutter); background: #fff; }
.hm-section > h2 { margin-bottom: 24px; }
.hm-soft, .hm .hm-section.hm-soft { background: var(--snow); }
.hm-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.hm-section-head a { font-weight: 600; }
.hm-band { position: relative; background: var(--snow); padding: clamp(32px, 4.5vw, 56px) var(--gutter); }
.hm-band-photo { background: var(--deep); color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hm-band-tall { min-height: min(72vh, 620px); }
.hm-band-photo h1, .hm-band-photo .hm-lead { position: relative; z-index: 1; color: #fff; }
.hm-deep { background: var(--deep); color: #fff; }
.hm-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hm-pillar { background: #fff; color: var(--ink); text-decoration: none; padding: 24px; border: 1px solid var(--mist); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.hm-pillar .hm-label { color: var(--rope-dark); }
.hm-pillar strong { font-size: 21px; font-weight: 600; line-height: 1.2; }
.hm-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.hm-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.hm .hm-cat, .hm .hm-tile { position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #fff; text-decoration: none; background: var(--deep); }
.hm-cat { aspect-ratio: 3 / 4; }
.hm-tile { aspect-ratio: 16 / 10; }
.hm-cat img, .hm-tile img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hm-cat:hover img, .hm-tile:hover img { transform: scale(1.04); }
.hm-cat-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 20px; }
.hm-cat-copy strong { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.hm-cat-copy span { font-size: 16px; line-height: 1.4; }
.hm-help { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.hm-notify { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.hm-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.hm-contact a { text-decoration: none; display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--mist); border-radius: 12px; }
.hm-contact strong { font-size: clamp(19px, 2vw, 24px); font-weight: 600; overflow-wrap: anywhere; }
.hm-footer { background: var(--deep); color: #fff; padding: clamp(40px, 6vw, 80px) var(--gutter) 28px; }
.hm-footer h2 { color: #fff; }
.hm-footer h3 { font-size: 17px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.hm-footer-top { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 7vw, 110px); justify-content: space-between; }
.hm-footer-help { flex: 1 1 340px; max-width: 520px; }
.hm-footer-help .hm-lead { color: #fff; }
.hm-footer-grid { flex: 1 1 460px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.hm-footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.hm-footer-grid a { text-decoration: none; overflow-wrap: anywhere; }
.hm .hm-footer a:hover { color: var(--rope); }
.hm .hm-footer .hm-btn-accent:hover { color: var(--ink); }
.hm .hm-footer .hm-btn-light:hover { color: var(--ink); }
.hm-footer-brand { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 6vw, 72px); }
.hm-footer-brand img { width: clamp(52px, 7vw, 92px); height: auto; flex: none; }
.hm-footer-name { font-size: clamp(32px, 7.6vw, 112px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.hm-footer-end { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 24px; font-size: 14px; color: #D3DCE1; }
.hm-credits { font-size: 13px; line-height: 1.45; max-width: 860px; }

/* WooCommerce */
.hm span.onsale { position: absolute; top: 10px; right: 10px; left: auto; margin: 0; min-width: 0; min-height: 0; padding: 3px 8px; background: var(--rope); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.3; border-radius: 0; z-index: 2; }
.hm .price ins { text-decoration: none; }
.hm ul.products { list-style: none; margin: 0 !important; padding: 0; display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 32px 20px; }
.hm ul.products::before, .hm ul.products::after { display: none; }
.hm ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; padding: 0; position: relative; display: flex; flex-direction: column; gap: 6px; }
.hm ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.hm ul.products li.product a img { width: 100% !important; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin: 0; background: var(--mist); border-radius: 0; }
.hm ul.products li.product .woocommerce-loop-product__title { font-size: 17px; font-weight: 500; line-height: 1.3; padding: 0; }
.hm .price { font-size: 17px; font-weight: 600; color: var(--ink); }
.hm .price del { color: var(--slate); }
.hm-badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--slate); font-size: 12px; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.hm-notice { font-size: 15px; background: var(--snow); border-radius: 8px; color: var(--ink); padding: 10px 14px; margin: 12px 0 !important; }
.hm .button, .hm button.button, .hm a.button, .hm input.button, .hm .wc-block-components-button { background: var(--rope); color: var(--ink); border: 0; border-radius: 0; padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; display: inline-block; min-height: 44px; }
.hm .button:hover, .hm button.button:hover, .hm a.button:hover { background: var(--ink); color: #fff; }
.hm ul.products li.product .button { align-self: flex-start; margin-top: 4px; }
.hm .woocommerce-result-count { font-family: "Plex Mono HM", monospace; font-size: 14px; margin: 0; }
.hm .woocommerce-ordering { margin: 0; }
.hm .woocommerce-ordering select, .hm .woocommerce select { height: 44px; border: 1px solid var(--ink); border-radius: 0; background: #fff; padding: 0 10px; font: inherit; }
.hm-woo .woocommerce-result-count, .hm-woo .woocommerce-ordering { float: none; }
.hm-woo .woocommerce-notices-wrapper + .woocommerce-result-count { display: inline-block; }
.hm-woo .woocommerce-ordering { float: right; margin-bottom: 24px; }
.hm-woo ul.products { clear: both; }
.hm-woo div.product { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.hm-woo div.product::before, .hm-woo div.product::after, .hm-woo div.product > .clearfix::before, .hm-woo div.product > .clearfix::after { display: none !important; }
.hm-woo div.product > .clearfix { display: contents; } /* Divi envuelve galería y resumen en este div. */
.hm-woo div.product div.images { grid-column: 1; }
.hm-woo div.product div.summary { grid-column: 2; }
.hm-woo div.product div.images, .hm-woo div.product div.summary { float: none !important; width: 100% !important; margin: 0 !important; opacity: 1 !important; }
.hm-woo div.product div.images img { border-radius: 0; background: var(--mist); }
.hm-woo div.product p.price, .hm-woo div.product span.price { color: var(--ink) !important; font-size: 24px; font-weight: 600; margin: 12px 0; }
.hm-woo div.product .product_meta { font-size: 15px; color: var(--slate); margin-top: 16px; }
.hm-woo div.product .product_meta a { color: inherit; }
.hm-woo div.product .tagged_as { display: none; }
.hm-woo div.product .woocommerce-product-gallery img { width: 100%; }
.hm-woo div.product .product_title { font-size: clamp(26px, 3vw, 36px); }
.hm-woo div.product .woocommerce-tabs, .hm-woo div.product .related { grid-column: 1 / -1; }
.hm-woo .related > h2, .hm-woo .woocommerce-tabs h2 { font-size: 22px; margin-bottom: 20px; }
.hm-woo .woocommerce-tabs ul.tabs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 20px; }
.hm-woo .woocommerce-breadcrumb { font-family: "Plex Mono HM", monospace; font-size: 13px; color: var(--slate); margin-bottom: 24px; grid-column: 1 / -1; }
.hm .woocommerce-message, .hm .woocommerce-info, .hm .woocommerce-error { list-style: none; background: var(--snow); border: 1px solid var(--mist); border-radius: 8px; color: var(--ink); padding: 14px 18px; margin: 0 0 20px; }
.hm .woocommerce-message::before, .hm .woocommerce-info::before, .hm .woocommerce-error::before { display: none; }

@media (max-width: 760px) {
    .hm-banner { align-items: flex-end; }
  .hm-banner::after { background: linear-gradient(to top, rgba(8, 20, 28, .78), rgba(8, 20, 28, .15) 70%); }
  .hm-woo div.product { grid-template-columns: minmax(0, 1fr); }
  .hm-woo div.product div.images, .hm-woo div.product div.summary { grid-column: 1; }
  .hm-topbar > span:first-child { display: none; }
  .hm-nav { flex-direction: column; gap: 0; }
  .hm-item { flex-wrap: wrap; justify-content: space-between; }
  .hm-caret { margin-left: auto; }
  .hm-mega { position: static; flex: 1 1 100%; padding: 8px 0 16px; border: 0; box-shadow: none; grid-template-columns: minmax(0, 1fr) !important; gap: 18px; }
  .hm-mega-photo { min-height: 150px; }
  .hm-footer-name { font-size: 11vw; }
  .hm-hero .hm-cover { object-position: 62% 30%; }
  .hm-logo img { width: 48px; height: 48px; }
  .hm-search { flex: 1 1 100%; order: 5; }
  .hm-nav { order: 4; flex-basis: 100%; }
  .hm-header { justify-content: space-between; }
  .hm .hm-btn { width: 100%; text-align: center; }
}
