:root {
  --ink:#251a16;
  --muted:#6e625b;
  --cream:#fbf8f1;
  --surface:#fffefa;
  --wine:#842427;
  --dark-wine:#5b181e;
  --gold:#efd190;
  --line:#e9e0d4;
  --radius:14px;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:90px}
body {margin:0;background:var(--cream);color:var(--ink);font:1rem/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea {font:inherit;color:inherit}
a {color:inherit;text-decoration:none}
button {cursor:pointer}
button:disabled {cursor:default}
[hidden] {display:none!important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {outline:3px solid #c08a39;outline-offset:3px}
.wrap {width:min(100% - 64px,1240px);margin-inline:auto}
.sr-only,.skip:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus {position:fixed;z-index:10;top:8px;left:8px;padding:12px;background:white}
.header {position:sticky;top:0;z-index:3;background:var(--surface);border-bottom:1px solid var(--line)}
.header-inner {height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand {display:flex;gap:10px;align-items:center;color:var(--dark-wine);flex:none}
.brand img {object-fit:contain}
.brand span {display:grid;line-height:1.02}
.brand small {font-size:.65rem;font-weight:750;letter-spacing:.09em}
.brand strong {font:700 1.9rem/1.05 Georgia,serif}
.top-nav {display:flex;gap:clamp(16px,3vw,42px);justify-content:center;font-size:.94rem;font-weight:640}
.top-nav a:hover,.text-link:hover {color:var(--wine);text-decoration:underline;text-underline-offset:4px}
.cart-button {background:white;border:1px solid #d8cbbd;border-radius:9px;padding:8px 11px 8px 14px;font-weight:650;display:flex;align-items:center;gap:10px;white-space:nowrap}
.cart-button span {background:var(--wine);color:white;border-radius:50px;padding:1px 8px}
.hero {min-height:520px;display:grid;place-items:center;background:linear-gradient(90deg,rgba(31,18,12,.50),rgba(28,18,14,.38),rgba(31,18,12,.48)),url(assets/banner-1.jpg) center / cover;color:#fffdf8;text-align:center}
.hero-inner {padding:65px 0 71px}
.eyebrow {margin:0 0 12px;font-size:.81rem;letter-spacing:.13em;font-weight:780;color:var(--gold)}
.eyebrow.red {color:var(--wine)}
h1,h2,h3 {font-family:Georgia,"Times New Roman",serif;line-height:1.06;margin:0}
h1 {font-size:clamp(3rem,6.2vw,6rem);letter-spacing:-.055em}
h2 {font-size:clamp(2.15rem,4vw,3.7rem);letter-spacing:-.04em}
h3 {font-size:1.35rem;letter-spacing:-.023em}
.hero-description {max-width:530px;margin:24px auto 30px;font-size:1.12rem;color:#fff8ec}
.actions {display:flex;justify-content:center;gap:12px;flex-wrap:wrap}
.button {display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:10px 16px;font-weight:700;line-height:1.3;white-space:normal}
.primary {background:var(--wine);color:white}
.primary:hover {background:var(--dark-wine)}
.outline-light {background:#26181266;color:white;border-color:#fff7dfcc}
.outline-light:hover {background:#261812bb}
.white {background:var(--surface);color:var(--wine)}
.secondary {background:var(--surface);border-color:#d4c5b7;color:var(--dark-wine)}
.secondary:hover {border-color:var(--wine);background:#f8eee6}
.catalog,.recipes {padding-block:65px 76px}
.section-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px}
.segmented {display:inline-flex;align-items:center;padding:4px;border:1px solid #dcd0c3;background:#f0e8da;border-radius:9px;gap:2px;flex:none}
.segmented button {border:0;border-radius:6px;background:transparent;padding:8px 14px;font-weight:670;min-height:40px}
.segmented button[aria-pressed=true] {color:white;background:var(--wine)}
.tools {display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}
.filters {display:flex;flex-wrap:wrap;gap:8px}
.filters button {background:var(--surface);border:1px solid #d8cbbd;border-radius:30px;padding:6px 13px;min-height:40px;font-weight:610;font-size:.91rem}
.filters button[aria-pressed=true] {color:var(--dark-wine);background:#f4dfd9;border-color:#d5a6a1}
.search {min-width:210px}
.search input,select,textarea,input[type=number] {padding:9px 11px;background:#fff;border:1px solid #d8cbbd;border-radius:8px;min-height:44px}
.search input {width:100%}
.result-count {font-size:.9rem;color:var(--muted);margin:12px 0 16px}
.product-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product {border:1px solid var(--line);background:var(--surface);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.product-picture {display:grid;width:100%;height:230px;place-items:center;border:0;background:#f5f0e6;padding:13px}
.product-picture img {width:100%;height:100%;max-height:204px;object-fit:contain;mix-blend-mode:multiply}
.product-picture:hover img {transform:scale(1.035)}
.product-inner {padding:17px;display:grid;gap:6px;align-content:start;flex:1}
.product-family {font-size:.82rem;font-weight:750;color:var(--wine)}
.product-title {font:700 1.33rem/1.12 Georgia,serif;text-align:left;padding:0;border:0;background:none}
.product-title:hover {color:var(--wine)}
.product-meta {font-size:.92rem;color:var(--muted);margin:2px 0 0}
.product-action {padding:0 17px 17px;margin-top:auto}
.product-action .button {width:100%}
.empty {grid-column:1/-1;padding:28px;border:1px dashed #d4c5b7;border-radius:var(--radius);background:var(--surface)}
.business {background:var(--wine);color:#fff9ed}
.business-inner {display:grid;grid-template-columns:1.2fr 1fr;gap:10%;padding-block:67px}
.business p {max-width:485px}
.business-options {display:grid;align-content:center}
.business-options div {padding:15px 0;border-bottom:1px solid #f6dcb34d}
.business-options div:last-child {border:none}
.business-options p {margin:7px 0 0;color:#fae7d7}
.recipes h2 {margin-bottom:24px}
.recipe-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.recipe-card {background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.recipe-card:hover h3 {color:var(--wine)}
.recipe-card img {width:100%;height:180px;object-fit:cover;display:block;background:#efe6d7}
.recipe-card div {padding:15px 17px}
.recipe-card small {color:var(--wine);font-weight:700}
.recipe-card h3 {margin:7px 0}
.recipe-card span,.muted {color:var(--muted)}
.text-link {font-weight:700;text-decoration:underline;text-underline-offset:4px}
.story {background:#efe6d7}
.story-inner {display:grid;grid-template-columns:1fr 1fr;gap:5%;align-items:center;padding-block:45px}
.story img {width:100%;height:230px;object-fit:cover;object-position:33%;border-radius:var(--radius)}
.footer {color:#fcf0e2;background:#30231c}
.footer-inner {padding-block:36px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:22px}
.footer p {margin:6px 0 0}
.footer a:hover {text-decoration:underline}
dialog {padding:0;border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);background:var(--surface);width:min(900px,calc(100% - 24px));max-height:calc(100dvh - 30px);overflow:auto}
dialog::backdrop {background:#21171399}
.dialog-top {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--surface);font-weight:700}
.dialog-top h2 {font-size:1.8rem}
.close {border:1px solid var(--line);border-radius:8px;width:44px;height:44px;background:var(--surface);font-size:1.5rem;line-height:1}
#detail-body {padding:20px}
.detail-grid {display:grid;grid-template-columns:.8fr 1fr;gap:20px}
.detail-photo {width:100%;height:335px;object-fit:contain;background:#f5f0e6;mix-blend-mode:multiply;border-radius:8px}
.detail-grid h2 {font-size:2.3rem;margin:6px 0}
.order-fields {display:flex;gap:9px;align-items:flex-end;flex-wrap:wrap;margin:12px 0}
.order-fields label {display:grid;gap:4px;font-size:.87rem;font-weight:700}
.order-fields input[type=number] {width:84px}
details {border-top:1px solid var(--line);padding:12px 0}
summary {cursor:pointer;font-weight:750}
dl,table {margin:10px 0}
table {border-collapse:collapse;width:100%}
td,th {text-align:left;padding:5px;border-bottom:1px solid var(--line)}
table td:last-child {text-align:right}
.drawer {margin:0 0 0 auto;max-width:100%;max-height:100%;height:100dvh;width:min(520px,100%);border-radius:12px 0 0 12px}
.cart-rows,.cart-footer {padding:14px 20px}
.cart-row {display:grid;grid-template-columns:minmax(0,1fr) 76px auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.cart-row input {width:76px}
.cart-row strong,.cart-row small {display:block}
.cart-row button {background:none;border:1px solid var(--line);border-radius:7px;min-height:44px;padding:0 9px}
.cart-footer {display:grid;gap:8px}
.cart-footer textarea {resize:vertical;width:100%}
.small {font-size:.875rem}
.toast {position:fixed;right:16px;bottom:16px;padding:12px 15px;z-index:5;border-radius:9px;background:#31241c;color:white;box-shadow:0 2px 14px #0003}
@media(max-width:950px) {.top-nav {gap:16px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{min-height:475px}.business-inner{gap:6%}}
@media(max-width:690px) {
  .wrap {width:calc(100% - 28px)}
  .header-inner {height:auto;min-height:64px;flex-wrap:wrap;gap:6px 12px;padding-block:8px}
  .top-nav {order:3;width:100%;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:6px;font-size:.86rem}
  .top-nav a {padding:8px 0}
  .hero {min-height:480px;background-position:45% center}
  .hero-inner {padding-block:45px}
  h1 {font-size:clamp(2.65rem,10vw,4rem)}
  .hero-description {font-size:1rem}
  .catalog,.recipes {padding-block:42px}
  .section-heading,.tools {align-items:stretch;flex-direction:column}
  .segmented {align-self:flex-start}
  .search input {width:100%}
  .product-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .product-picture {height:155px;padding:7px}
  .product-picture img {max-height:141px}
  .product-inner,.product-action {padding:10px}
  .product-action {padding-top:0}
  .product-title {font-size:1.14rem}
  .product-grid .button {padding-inline:7px;font-size:.9rem}
  .business-inner,.story-inner,.recipe-grid,.footer-inner,.detail-grid {grid-template-columns:1fr;gap:16px}
  .business-inner {padding-block:42px}
  .detail-photo {height:215px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-picture:hover img{transform:none}}
.price-guide {margin:16px 0 6px;padding:12px 15px;background:#f2ece2;border-left:3px solid var(--wine);font-size:.9rem;color:#4e3630}
.product-action {display:grid;gap:9px}
.tiers {font-size:.84rem;border-top:1px solid var(--line);padding-top:6px}
.tiers div {display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.tiers b {margin-left:auto;font-variant-numeric:tabular-nums}
.tiers small {font-size:.71rem;color:var(--muted)}
.company-tier {color:var(--wine)}
.buy-fields {display:flex;gap:8px}
.buy-fields label,.portal-fields label {display:grid;gap:3px;font-size:.81rem;font-weight:600;min-width:0}
.buy-fields label:first-child {flex:1}.buy-fields label:last-child {width:64px}
.buy-fields select,.buy-fields input,.portal-fields input,.portal-fields select {width:100%;border:1px solid var(--line);border-radius:7px;padding:7px;background:white;min-height:39px}
.buy-sum,.checkout-total {display:flex;justify-content:space-between;align-items:baseline;gap:7px}
.buy-sum span,.balance span {font-size:.84rem;color:var(--muted)}
.buy-sum strong,.checkout-total strong {font-size:1.18rem}
.account-button {background:none;color:var(--wine);border:0;padding:8px;font-weight:650}
.account-body,.portal-fields,#checkout-box {display:grid;gap:12px}
.account-body {padding:16px 20px}.account-body p,.portal-fields h3 {margin:0}
.balance {display:grid;padding:14px 18px;border-radius:10px;background:#f5efe3}.balance strong {font-size:1.65rem}
#order-review,.cart-row b {color:var(--wine)}
#account-message,#checkout-msg {font-weight:600}
.product-action .button:disabled {opacity:.55}
@media(max-width:560px){.header-inner{gap:4px}.account-button{font-size:.8rem}.tiers div{font-size:.76rem}.tiers small{display:block}.product-grid {grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}.buy-fields label:last-child{width:80px}}

#business-contact {align-self:center}
#business-form[hidden], #business-start[hidden] {display:none}
#business-form {max-width:32rem;gap:.65rem}
#business-form input, #business-form textarea {background:#fff;color:#24231e;border:1px solid #dfd6c7;border-radius:.4rem;padding:.63rem .75rem;font:inherit}
#business-status:empty {display:none}

/* Návrhy pre firemnú žiadosť a dodacie údaje. */
.portal-fields .lookup-field {display:grid;gap:4px;min-width:0;padding:0;border:0}
.lookup-list {
  list-style:none;margin:0;padding:3px;max-height:14rem;overflow-y:auto;
  background:var(--surface);color:var(--ink);border:1px solid #d8cbbd;border-radius:8px;
}
.lookup-list li {cursor:pointer;min-height:44px;border-radius:5px;padding:7px 9px;overflow-wrap:anywhere}
.lookup-list li+li {margin-top:2px}
.lookup-list li[aria-selected="true"],.lookup-list li:hover {background:#f3e8df;color:var(--dark-wine)}
.lookup-list li strong,.lookup-list li small {display:block}
.portal-fields .lookup-status {margin:0;font-size:.81rem}
.lookup-attribution {font-size:.8rem}
.lookup-attribution a {text-decoration:underline;text-underline-offset:3px}
.company-address-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 0 0;gap:8px 12px;margin:0;border:0;min-width:0}
#company-address summary,#delivery-registration summary {cursor:pointer;width:fit-content}
#delivery-registration {margin:8px 0 12px}
#delivery-registration-form {padding-top:10px;max-width:32rem}
#delivery-registration-form .company-address-fields {padding:0;border:0}
#registracia {scroll-margin-top:95px}
@media(max-width:420px){.company-address-fields {grid-template-columns:1fr}}
.account-activity {display:grid;gap:9px}
