.hr-root :is(a,input,button,summary,select):focus-visible { outline:3px solid #a04d2c; outline-offset:3px; }

/* The pond uses a stable reading order even when the shelves wrap. */
.hr-root {
    --hr-ink: #203e32;
    --hr-accent: #245942;
    --hr-line: #cbd6c9;
    --hr-muted: #495d51;
    container-type: inline-size;
    width: 100%;
    min-width: 0;
    color: var(--hr-ink);
}
.hr-root *, .hr-root ::before, .hr-root ::after { box-sizing: border-box; }
.hr-root h1, .hr-root h2 { font-family: Georgia, serif !important; font-weight: 400; margin: 0; }
.woocommerce .hr-root .hr-title h1 {
    color: var(--hr-ink) !important;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    letter-spacing: -.05em;
    line-height: 1.04;
}
.hr-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; margin: 0 0 16px; }
.hr-root .hr-profile { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; color: var(--hr-muted); font-size: .92rem; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.hr-profile .hs-icon { height: 16px; width: 16px; }
.hr-tabs { width: fit-content; display: flex; padding: 3px; gap: 2px; border-radius: 30px; background: #edf2e9; border: 1px solid var(--hr-line); }
.woocommerce .hr-root .hr-tabs a { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 14px; border-radius: 24px; color: var(--hr-ink); font-size: .94rem; font-weight: 650; text-decoration: none; line-height: 1.2; }
.hr-tabs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.woocommerce .hr-root .hr-tabs [aria-current] { background: #224c3d; color: white; }
.woocommerce .hr-root[data-period=noche] .hr-tabs [aria-current] { background: #34455e; }
.hr-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 18px; }
.hr-board { position: relative; isolation: isolate; overflow: hidden; min-width: 0; border-radius: 23px; border: 1px solid #9fbcab; background: #afd9c5; }
.hr-water { position: absolute; z-index: -2; inset: 0; overflow: hidden; background-image: url(estanque.webp); background-size: cover; background-position: center top; }
.hr-water::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, #f0f8e4df 0%, #f0f8e47d 18%, transparent 52%); }
.hr-board.noche { background: #244750; border-color: #445c65; }
.noche .hr-water { background-color: #94aac5; background-blend-mode: multiply; }
.noche .hr-water::after { background: linear-gradient(110deg, #152c43f2 2%, #203a4ba6 33%, #1a3d4a5c 62%, #2e446d8c); }
.hr-boardhead { padding: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 36px) 0; pointer-events: none; }
.woocommerce .hr-board .hr-boardhead h2 { font: 400 clamp(2rem, 4vw, 3.35rem)/1 Georgia, serif !important; letter-spacing: -.055em; color: #183e2e !important; text-shadow: 0 1px 10px #fcffed88; }
.woocommerce .hr-board .hr-boardhead p { display: inline-block; font-size: .94rem; color: #1f4034; line-height: 1.4; margin: 8px 0 0; padding: 2px 7px; border-radius: 4px; background: #f5faeada; }
.woocommerce .hr-board.noche .hr-boardhead h2 { color: #fff8df !important; text-shadow: 0 1px 10px #213245; }
.woocommerce .hr-board.noche .hr-boardhead p { background: #1f3446dd; color: #f4f5df; }
.woocommerce .hr-root .hr-pond-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(var(--hr-count, var(--hr-columns)), minmax(0, 1fr));
    align-items: start;
    gap: clamp(12px, 2.4vw, 28px) 4px;
    padding: clamp(10px, 2vw, 24px) clamp(8px, 2vw, 25px) clamp(22px, 3vw, 40px);
    margin: 0;
}
.hr-pond-steps > li { min-width: 0; padding: 0; margin: 0; list-style: none; }
.hr-pond-steps > li:nth-child(3n + 2) { padding-top: 18px; }
.woocommerce .hr-root a.hr-island {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 184px; margin-inline: auto; min-width: 0;
    position: relative; border-radius: 12px; color: #18392b; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.hr-float { --hr-tilt: -4deg; display: block; position: relative; width: min(100%, 150px); height: clamp(87px, 17cqw, 143px); perspective: 450px; }
.hr-pond-steps li:nth-child(3n + 2) .hr-float { --hr-tilt: 5deg; }
.hr-pond-steps li:nth-child(3n + 3) .hr-float { --hr-tilt: -2deg; }
.hr-ripple { position: absolute; z-index: 0; left: 1%; right: 1%; bottom: 0; height: 35%; border: 1px solid #e3fff0a8; border-radius: 50%; box-shadow: 0 0 0 4px #bedbca47, 0 0 0 7px #dcffe651; }
.hr-leaf { position: absolute; z-index: 1; bottom: 8%; left: 8%; height: 30%; width: 84%; border-radius: 48% 58% 44% 56%; transform: rotate(var(--hr-tilt)); background: radial-gradient(ellipse at 35% 25%, #cce19b 5%, #9ebf78 50%, #6d9a6b 80%); border-bottom: 4px solid #496f52; box-shadow: 0 5px 8px #1c4d3e66, inset 0 2px 2px #eefce6b3; }
.hr-leaf::before { position: absolute; content: ""; right: 0; top: 33%; width: 49%; height: 46%; background: #477754; clip-path: polygon(0 45%, 100% 0, 100% 55%); }
.noche .hr-leaf { filter: saturate(.75) brightness(.88); }
.hr-object {
    position: absolute; z-index: 2; inset: 2% 9% 22%;
    display: flex; align-items: center; justify-content: center;
    transform: rotate(var(--hr-tilt)); transform-origin: 50% 92%;
}
.hr-object img {
    display: block; width: auto; height: auto; min-width: 0; min-height: 0;
    max-width: 100% !important; max-height: 100% !important; object-fit: contain;
    padding: 4px; border: 1px solid #fbffedde; border-radius: 10px;
    background: linear-gradient(135deg, #fbfff1eb, #d7f3d9ad 45%, #f6fff3e0);
    box-shadow: 0 4px 7px #173c3055, inset 0 -2px 2px #688a6c6e;
}
.noche .hr-object img {
    border-color: #dcebf5d9;
    background: linear-gradient(130deg, #f4f9ffd9, #a5c0d7c4 75%, #eff9f4e8);
}
.hr-object .hs-icon { width: 48%; height: 60%; padding: 8px; border-radius: 18px; background: #edf6d9e6; color: #42614a; box-shadow: 0 6px 10px #30533b33; }
.hr-island-label { width: fit-content; max-width: 100%; min-width: 0; margin-top: 7px; padding: 5px 8px; border-radius: 9px; color: #19372c; background: #fffef4ee; border: 1px solid #fffff6cc; line-height: 1.2; text-align: center; box-shadow: 0 2px 7px #16463220; }
.hr-slot { display: block; font-weight: 700; font-size: .91rem; text-wrap: balance; }
.hr-index { display: inline-block; min-width: 1.26em; line-height: 1.26; background: #e5ecdc; border-radius: 50%; margin-right: 4px; font-size: .81rem; }
.hr-product-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: .82rem; line-height: 1.25; overflow-wrap: anywhere; }
.hr-island[aria-current] .hr-island-label, .hr-island:hover .hr-island-label { border-color: #174330; box-shadow: 0 0 0 1px #174330; }
.hr-island[aria-current] .hr-index { background: #265241; color: white; }
.hr-editors { min-width: 0; }
.hr-picker { min-width: 0; border-radius: 18px; border: 1px solid var(--hr-line); background: #fffefa; padding: clamp(17px, 2vw, 25px); overflow-wrap: anywhere; }
.hr-picker[hidden] { display: none !important; }
.hr-root .hr-picker h2 { font-size: clamp(1.65rem, 2.6vw, 2.3rem); line-height: 1.1; color: var(--hr-ink) !important; letter-spacing: -.04em; }
.hr-picker h2:focus:not(:focus-visible) { outline: none; }
.hr-picker p { font-size: 1rem; line-height: 1.45; margin: 10px 0; }
.hr-picker .hr-step-count { color: var(--hr-muted); font-size: .83rem; font-weight: 650; margin: 0 0 6px; }
.hr-picker .hr-source { font-size: .9rem; font-weight: 700; margin: 18px 0 7px; color: var(--hr-accent); }
.hr-feature-product { display: flex; gap: 12px; align-items: center; }
.hr-feature-product img { flex: none; width: 56px; height: 68px; object-fit: contain; background: white; border-radius: 7px; }
.hr-feature-product strong { font-size: 1rem; line-height: 1.3; font-weight: 650; color: #24372b; }
.hr-picker .hr-reason { font-size: .94rem; color: var(--hr-muted); }
.hr-root a.hr-product-link, .hr-root .hhcu-form button, .hr-close {
    display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; height: auto;
    border-radius: 24px; border: 1px solid var(--hr-accent); background: var(--hr-accent); color: white;
    padding: 8px 17px; font-size: .94rem; font-weight: 650; line-height: 1.25; text-decoration: none; text-transform: none;
}
.hr-root a.hr-product-link { margin: 5px 0; }
.hr-root a.hr-product-link:hover, .hr-root .hhcu-form button:hover { background: #163e2e; color: white; }
.hr-root .hhcu-form { display: grid; gap: 8px; max-width: none; }
.hr-root .hhcu-form button.hr-text, .hr-root .hr-jar-link { min-height: 44px; align-items: center; font-size: .9rem; color: var(--hr-muted); text-decoration: underline; text-underline-offset: 3px; }
.hr-root .hhcu-form button.hr-text { display: inline-flex; width: fit-content; background: transparent; border: 0; padding: 5px 0; font-weight: 500; margin: 0; box-shadow: none; }
.hr-root .hr-jar-link { display: inline-flex; }
.hr-choose { border-top: 1px solid var(--hr-line); margin: 12px 0 0; }
.hr-root summary { cursor: pointer; min-height: 44px; padding-block: 11px; line-height: 1.4; font-weight: 650; color: var(--hr-ink); }
.hr-choose summary, .hr-jar summary { font-size: .94rem; }
.hr-root fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.hr-root legend { padding: 0; margin: 0; border: 0; font-size: .95rem; font-weight: 600; }
.hr-root .hr-choice { margin-top: 6px; border: 1px solid var(--hr-line); border-radius: 10px; background: #fff; padding: 7px; }
.woocommerce .hr-root .hr-choice label, .hr-root .hr-check { display: flex; align-items: center; gap: 9px; min-height: 44px; width: 100%; margin: 0; }
.hr-choice label span { flex: 1; }.hr-choice img { width: 36px; height: 45px; object-fit: contain; }
.hr-choice small, .hr-jar small, .hr-check small { display: block; font-size: .82rem; color: #4d5c50; font-weight: 400; }
.hr-choice:has(:checked) { border-color: #477459; background: #f1f7ec; }
.woocommerce .hr-root .hhcu-form :is(.hr-choice, .hr-check) input { flex: none; width: 19px; height: 19px; min-height: 0; margin: 0; padding: 0; accent-color: var(--hr-accent); }
.hr-detail { border-top: 1px solid var(--hr-line); padding: 1px 2px; }
.hr-detail > summary { display: flex; align-items: center; gap: 10px; list-style: none; }
.hr-detail > summary::-webkit-details-marker { display: none; }
.hr-detail > summary::after { content: ""; flex: none; margin: 0 6px 4px auto; width: 9px; height: 9px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.hr-detail[open] > summary::after { transform: rotate(225deg); margin-bottom: -4px; }
.hr-detail .hhcu-form { margin: 8px 0 16px; max-width: 540px; }
.hr-check:has(:disabled) { color: #59625a; }
.hr-root select { color: var(--hr-ink); }
.hr-jar { border-top: 1px solid var(--hr-line); }
.hr-jar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-root .hr-jar-actions button { color: var(--hr-ink); background: white; border-color: var(--hr-line); }
.hr-sheet { color: var(--hr-ink); background: #fffefa; border: 1px solid var(--hr-line); inset: auto 0 0; margin: 0; width: 100%; max-width: none; max-height: 84dvh; overflow: auto; overscroll-behavior: contain; padding: 12px 12px max(12px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
.hr-sheet:not([open]) { display: none; }.hr-sheet::backdrop { background: #12291ed1; }
.hr-sheet .hr-picker { border: 0; padding: 7px; }
.hr-close { float: right; position: relative; z-index: 1; width: 44px; padding: 0; font-size: 1.5rem; }
.hr-detail, .hr-picker { scroll-margin-top: 115px; }
@container (min-width: 740px) {
    .hr-grid { grid-template-columns: minmax(0, 1.72fr) minmax(236px, .95fr); }
    .hr-board { min-height: 340px; }
}
@container (max-width: 530px) {
    .hr-pond-steps[data-count="4"] { --hr-count: 2; }
    .hr-water { background-position: 93% top; }
}
@container (max-width: 430px) {
    .hr-title { align-items: start; }
    .hr-need-label { display: none; }
    .hr-root .hr-tabs a { padding-inline: 10px; }
    .hr-pond-steps > li:nth-child(3n + 2) { padding-top: 12px; }
    .hr-island-label { padding: 5px 4px; }
    .hr-slot { font-size: .875rem; }
}
@container (max-width: 350px) {
    .woocommerce .hr-root .hr-pond-steps { grid-template-columns: repeat(min(2, var(--hr-columns)), minmax(0, 1fr)); }
    .hr-pond-steps > li:nth-child(3n + 2) { padding-top: 0; }
    .hr-pond-steps > li:last-child:nth-child(2n + 1) { grid-column: 1 / -1; width: 50%; justify-self: center; }
}
@media (max-width: 767px) {
    .hr-enhanced .hr-editors { display: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .hr-object { transition: transform .25s ease; }
    .hr-island:is(:hover, :focus-visible) .hr-object { transform: translateY(-5px) rotateX(7deg) rotateY(-9deg) rotate(var(--hr-tilt)); }
    .hr-island:is(:hover, :focus-visible) .hr-ripple { animation: hr-ripple 1.2s ease-out 2; }
    @keyframes hr-ripple { from { transform: scale(.86); opacity: .85; } to { transform: scale(1.15); opacity: .18; } }
}
@media (prefers-reduced-motion: no-preference) {
    .hr-island.hr-saved .hr-float { animation: hr-settle .45s ease-out; }
    @keyframes hr-settle { from { transform: translateY(-7px); } to { transform: translateY(0); } }
}
