@font-face {
    font-family: "Coffee Serif";
    src: url("../fonts/home-v5/pt-serif-bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Coffee Sans";
    src: url("../fonts/home-v5/golos-text.ttf") format("truetype");
    font-weight: 400 900;
    font-display: swap;
}
:root {
    --coffee-ink: #24160f;
    --coffee-brown: #4c301c;
    --coffee-cream: #fffdf9;
    --coffee-accent: #ad3e0d;
    --coffee-muted: #655244;
}
body.coffee-site-v5,
body.coffee-site-v5 #page,
body.coffee-site-v5 #content-wrap,
body.coffee-site-v5 #main-content,
body.coffee-site-v5 #primary,
body.coffee-site-v5 #content.site-content,
body.coffee-site-v5 #page .left_sidebar.container {
    background-color: var(--coffee-cream) !important;
    background-image: none !important;
}
body.coffee-site-v5 #page .left_sidebar.container {
    box-shadow: none !important;
}
body.coffee-site-v5 #page { max-width: none; box-shadow: none; }
body.coffee-site-v5 .site-inner { max-width: 1440px; margin: auto; padding: 0 28px; }
body.coffee-site-v5 .coffee-header,
body.coffee-site-v5 .coffee-footer-content { color: var(--coffee-ink); font: 400 16px/1.5 "Coffee Sans", sans-serif; letter-spacing: 0; }
body.coffee-site-v5 #page .coffee-header a { color: var(--coffee-ink); text-decoration: none; }
body.coffee-site-v5 .coffee-header :focus-visible,
body.coffee-site-v5 .coffee-footer-content :focus-visible { outline: 3px solid #a74719; outline-offset: 4px; }
.coffee-home-v5 {
    color: var(--coffee-ink);
    background: #fffdf9;
    font-family: "Coffee Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    scrollbar-color: #896a51 var(--coffee-cream);
}
.coffee-home-v5 ::selection { color: #fffdf9; background: var(--coffee-brown); }
.coffee-home-v5 :focus-visible { outline: 3px solid #a74719; outline-offset: 4px; }
.coffee-home-v5 a { color: inherit; text-underline-offset: .2em; }
.coffee-home-v5 button, .coffee-home-v5 input { font: inherit; }
.coffee-home-v5 h1, .coffee-home-v5 h2 { font-family: "Coffee Serif", serif; font-weight: 700; color: var(--coffee-ink); text-transform: none; letter-spacing: -.025em; text-wrap: balance; }
.coffee-home-v5 #content-wrap, .coffee-home-v5 #content-wrap > .container,
.coffee-home-v5 #main-content, .coffee-home-v5 #primary, .coffee-home-v5 #content {
    width: 100%; max-width: none; float: none; left: auto; right: auto; padding: 0; margin: 0;
}
.coffee-home-v5 #secondary, .coffee-home-v5 #rightsidebar,
.coffee-home-v5 .woocommerce-breadcrumb, .coffee-home-v5 .entry-footer,
.coffee-home-v5 .post-thumbnail { display: none; }
.coffee-home-v5 .entry-content { margin: 0; }
.coffee-home-v5 .site-content article { padding: 0; margin: 0; border: 0; }
.coffee-home-v5 #page .panel-grid { margin-bottom: 16px !important; }
.coffee-home-v5 #page .panel-grid-cell { margin-bottom: 0 !important; }
.coffee-home-v5 .panel-grid-cell .so-panel { margin-bottom: 0 !important; }
.coffee-home-v5 .panel-grid-cell { min-width: 0; }
.coffee-home-v5 .textwidget p { margin: 0 0 16px; }
.coffee-home-v5 .widget { padding: 0; margin: 0; border: 0; }
.coffee-header { position: relative; z-index: 20; background-color: var(--coffee-cream); margin-bottom: 10px; }
.coffee-header-main { display: grid; grid-template-columns: minmax(250px, 1fr) auto minmax(200px, 1fr) 104px; align-items: center; gap: 24px; padding: 12px 18px; }
.coffee-brand { display: flex; align-items: center; gap: 25px; text-decoration: none; }
.coffee-brand img { width: 64px; height: 64px; object-fit: contain; }
.coffee-header .coffee-brand img { margin: 0; float: none; }
.coffee-brand strong { display: block; font: 700 19px/1.2 "Coffee Serif", serif; color: #60300e; white-space: nowrap; }
.coffee-brand span span { display: block; font: 15px/1.15 "Coffee Serif", serif; margin-top: 4px; color: #60300e; }
.coffee-contacts { display: flex; align-items: center; gap: 22px; }
.coffee-phone { border-left: 1px solid #c4ac95; padding-left: 20px; }
.coffee-phone > span { display: block; color: var(--coffee-muted); font-size: 12px; }
.coffee-phone a { font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.coffee-phone-line { display: flex; align-items: center; }
.coffee-phone-more { position: relative; }
.coffee-phone-more summary { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px 0; cursor: pointer; list-style: none; }
.coffee-header summary::-webkit-details-marker { display: none; }
.coffee-header summary { list-style: none; }
.coffee-phone-more svg, .coffee-catalog svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.coffee-phone-more[open] svg { transform: rotate(180deg); }
.coffee-phone-more > a { position: absolute; top: 38px; left: -155px; padding: 16px 20px; background: #fffdf9; box-shadow: 0 8px 24px #3b231c26; border-radius: 6px; z-index: 30; }
.coffee-search { display: flex; margin: 0; min-width: 0; }
.coffee-header button, .coffee-header input { font: inherit; }
.coffee-search input[type="search"] { flex: 1 1 0; min-width: 0; width: 100%; border: 1px solid #d7c9b9; border-radius: 4px 0 0 4px; padding: 10px 12px; height: 44px; background: white; color: var(--coffee-ink); caret-color: var(--coffee-accent); }
.coffee-search input::placeholder { color: #716053; opacity: 1; }
.coffee-search button { flex: 0 0 auto; border: 0; padding: 0 20px; color: white; background: var(--coffee-brown); border-radius: 0 4px 4px 0; min-height: 44px; }
.coffee-search button:hover { background: #653f25; }
.coffee-account { display: flex; gap: 8px; }
.coffee-account a { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 4px; }
.coffee-cart-count { position: absolute; right: 0; top: 0; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 10px; background: var(--coffee-accent); color: white; font: 600 12px/1 "Coffee Sans", sans-serif; font-variant-numeric: tabular-nums; }
.coffee-account a:hover { background: #eee2d1; }
.coffee-account svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.coffee-navigation { display: flex; align-items: stretch; gap: 4px; padding: 0 20px; background: var(--coffee-brown); color: white; border-radius: 4px; }
.coffee-navigation > a, .coffee-catalog > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 30px; text-decoration: none; cursor: pointer; font-size: 15px; }
.coffee-navigation > a:hover, .coffee-catalog > summary:hover { background: #67452b; }
body.coffee-site-v5 #page .coffee-navigation > a,
body.coffee-site-v5 #page .coffee-navigation > a:hover,
body.coffee-site-v5 #page .coffee-navigation > a:focus,
body.coffee-site-v5 #page .coffee-navigation > a:active { color: #ffffff; }
.coffee-catalog { position: relative; }
.coffee-catalog-links { position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--coffee-cream); color: var(--coffee-ink); padding: 8px; border-radius: 0 0 6px 6px; box-shadow: 0 12px 24px #3b231c26; }
.coffee-catalog-links a { display: block; padding: 12px; text-decoration: none; }
.coffee-catalog-links a:hover { background: #eee2d1; }
.coffee-home-services { position: relative; background: var(--coffee-cream); border-radius: 8px; padding: clamp(170px, 17vw, 245px) 32px 24px; gap: 64px; overflow: hidden; }
.coffee-home-services::before { content: ""; position: absolute; inset: 0 0 auto; height: clamp(190px, 19vw, 275px); background: url("../images/home-v5/services-owner-v3.webp") center 28% / cover no-repeat; mask-image: linear-gradient(#000 65%, transparent); }
.coffee-home-services { align-items: stretch !important; }
.coffee-home-services > .panel-grid-cell { position: relative; display: flex; flex-direction: column; }
.coffee-home-services > .panel-grid-cell > .so-panel:last-child { margin-top: auto; }
.coffee-home-services h2 { margin: 0 0 8px; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.12; }
.coffee-home-services .textwidget p { max-width: 46ch; }
.coffee-home-v5 .coffee-action .ow-button-base { text-align: left; }
.coffee-home-v5 .coffee-action .ow-button-base a { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 28px; border: 0; border-radius: 5px; background: var(--coffee-accent); color: white; font: 500 16px/1.4 "Coffee Sans", sans-serif; text-shadow: none; box-shadow: none; text-decoration: none; }
.coffee-home-v5 .coffee-action .ow-button-base a::after { content: ""; width: 18px; height: 12px; background: url("../images/home-v5/arrow.svg") center / contain no-repeat; }
.coffee-home-v5 .coffee-action .ow-button-base a:hover { background: #893008; color: white; }
.coffee-home-categories { padding: 0 32px; gap: 16px; align-items: stretch !important; }
.coffee-home-categories > .panel-grid-cell:first-child { flex: 1; }
.coffee-home-categories > .panel-grid-cell:last-child { width: 112px !important; flex: 0 0 112px; display: flex; }
.coffee-home-categories > .panel-grid-cell:last-child .so-panel,
.coffee-home-categories > .panel-grid-cell:last-child .coffee-action,
.coffee-home-categories > .panel-grid-cell:last-child .ow-button-base { width: 100%; height: 100%; }
.coffee-home-v5 .coffee-home-categories .coffee-action a { width: 100%; height: 100%; flex-direction: column; padding: 20px 12px; background: var(--coffee-brown); text-align: left; }
.coffee-home-v5 .coffee-home-categories ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.coffee-home-v5 .coffee-home-categories ul.products::before,
.coffee-home-v5 .coffee-home-categories ul.products::after { display: none; }
.coffee-home-v5 .coffee-home-categories ul.products li.product { width: 100% !important; float: none; margin: 0 !important; padding: 0; background: var(--coffee-cream); border: 0; border-radius: 6px; overflow: hidden; text-align: left; }
.coffee-home-categories .product-category a { display: block; height: 100%; text-decoration: none; }
.coffee-home-v5 .coffee-home-categories ul.products li.product a img { display: block; width: 100%; height: auto; aspect-ratio: 2.08; object-fit: cover; margin: 0; }
.coffee-home-v5 .coffee-home-categories .woocommerce-loop-category__title { position: relative; padding: 12px 28px 12px 16px; margin: 0; font: 600 15px/1.35 "Coffee Sans", sans-serif; }
.coffee-home-categories .woocommerce-loop-category__title::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
.coffee-home-categories .count { display: none; }
.coffee-home-categories a:hover { color: #893008; }
body.coffee-home-v5 #page .coffee-home-brand { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 240px; padding: 24px 0 24px 32px; background: var(--coffee-cream); border-radius: 6px; }
.coffee-home-brand::after { content: ""; aspect-ratio: 1600 / 666; background: url("../images/home-v5/brand-sevastopol-v1.webp") center / contain no-repeat; border-radius: 6px; }
.coffee-home-brand > .panel-grid-cell { display: flow-root; }
.coffee-home-brand h1 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.06; max-width: 640px; margin: 0 0 18px; }
.coffee-home-brand .textwidget p { max-width: 43ch; color: #49382b; }
.coffee-home-location { background: var(--coffee-cream); border-radius: 6px; overflow: hidden; gap: 24px; }
.coffee-home-location > .panel-grid-cell:first-child { padding: 24px 0 24px 32px; }
.coffee-home-location h2 { font-size: 32px; line-height: 1.15; margin: 0 0 16px; }
.coffee-home-location address { font-style: normal; margin: 0 0 12px; }
.coffee-home-location .textwidget p { max-width: 40ch; }
.coffee-home-location iframe { display: block; width: 100%; min-height: 320px; height: 100%; border: 0; }
.coffee-home-location .widget_custom_html, .coffee-home-location .custom-html-widget { height: 100%; }
.coffee-site-v5 .site-footer { background: var(--coffee-brown); color: #fff7eb; margin: 16px 0 0; }
body.coffee-site-v5 #page .site-footer a, body.coffee-site-v5 #page .site-footer h2 { color: #fff7eb; }
/* Outrank legacy theme custom CSS and the SiteOrigin per-page ID rules. */
body.coffee-home-v5 #page .coffee-home-categories ul.products li.product a img { position: static; inset: auto; transform: none; }
body.coffee-home-v5 #page .coffee-home-categories ul.products li.product h2.woocommerce-loop-category__title { font: 600 15px/1.35 "Coffee Sans", sans-serif; padding: 12px 28px 12px 16px; margin: 0; text-align: left; color: var(--coffee-ink); }
body.coffee-home-v5 #page .coffee-home-services h2,
body.coffee-home-v5 #page .coffee-home-brand h1,
body.coffee-home-v5 #page .coffee-home-location h2 { color: var(--coffee-ink); }
body.coffee-home-v5 #page .coffee-home-location > .panel-grid-cell:first-child { padding: 24px 0 24px 32px; }
body.coffee-home-v5 #page .coffee-home-categories > .panel-grid-cell:last-child .so-widget-sow-button { height: 100%; }
body.coffee-site-v5 #page #colophon.site-footer { background: var(--coffee-brown) !important; color: #fff7eb; }
.coffee-footer-content { max-width: 1440px; margin: auto; padding: 20px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.coffee-footer-content > a { font: 700 20px/1.3 "Coffee Serif", serif; text-decoration: none; }
.coffee-footer-content nav { display: flex; flex-wrap: wrap; gap: 24px; }
.coffee-footer-content nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
body.coffee-site-v5 #to_top { display: none !important; }
body.coffee-site-v5 #page .woocommerce a.checkout-button,
body.coffee-site-v5 #page .woocommerce #place_order,
body.coffee-site-v5 #page .single_add_to_cart_button {
    min-height: 44px;
    background: var(--coffee-accent) !important;
    color: #fffdf9 !important;
}
body.coffee-site-v5 #page .woocommerce a.checkout-button:hover,
body.coffee-site-v5 #page .woocommerce #place_order:hover,
body.coffee-site-v5 #page .single_add_to_cart_button:hover { background: #893008 !important; }
body.coffee-site-v5.woocommerce-page #page :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #a74719;
    outline-offset: 3px;
}
body.coffee-site-v5 #page .woocommerce-checkout :is(input.input-text, select, .select2-selection) { min-height: 44px; }
body.coffee-site-v5 #page .related.products .customNavigation {
    display: flex;
    gap: 4px;
    top: 0;
}
body.coffee-site-v5 #page .related.products > h2 { padding-right: 96px; min-height: 44px; }
body.coffee-site-v5 #page .related.products .customNavigation button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #d7c9b9;
    border-radius: 4px;
    background: var(--coffee-cream);
    color: var(--coffee-brown);
}
body.coffee-site-v5 #page .related.products .customNavigation button:hover { background: #eee2d1; }
.related.products .customNavigation button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@keyframes coffee-reveal { from { clip-path: inset(0 0 8% 0); filter: brightness(.92); } to { clip-path: inset(0); filter: brightness(1); } }
.coffee-service-contact {
    margin-block: 20px 28px;
    padding-block: 20px;
    border-block: 1px solid #d7c9b9;
    color: var(--coffee-ink);
}
body.coffee-site-v5 #page .coffee-service-contact p { margin: 0 0 12px; max-width: 65ch; text-align: left; }
body.coffee-site-v5 #page a.coffee-contact-action {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 16px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 5px;
    background: var(--coffee-accent);
    color: var(--coffee-cream);
    text-decoration: none;
    font-weight: 600;
}
body.coffee-site-v5 #page a.coffee-contact-action:hover { background: #893008; }
body.coffee-site-v5 #page a.coffee-contact-action:focus-visible { outline: 3px solid #a74719; outline-offset: 3px; }
body.coffee-site-v5 #page .coffee-service-contact .coffee-contact-address { margin: 12px 0 0; }
.coffee-checkout-summary { margin-bottom: 28px; }
.coffee-checkout-summary > p { max-width: 65ch; line-height: 1.5; }
.coffee-checkout-total { font-size: 18px; text-align: right; }
@media (prefers-reduced-motion: no-preference) { .coffee-home-services { animation: coffee-reveal .65s cubic-bezier(.16, 1, .3, 1) both; } }
body.coffee-home-v5 #page .coffee-home-brand,
body.coffee-home-v5 #page .coffee-home-location { margin-right: 32px; }
@media (width < 1240px) {
    .coffee-header-main { grid-template-columns: 1fr auto 104px; gap: 16px; }
    .coffee-search { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1200px) {
    .coffee-navigation > a, .coffee-catalog > summary { padding-inline: 24px; }
    .coffee-home-services { gap: 40px; }
}
@media (max-width: 920px) {
    .coffee-header-main { grid-template-columns: max-content minmax(0, 1fr); padding: 8px; gap: 8px; }
    .coffee-brand { grid-column: 1; grid-row: 1; }
    .coffee-brand strong { font-size: 20px; }
    .coffee-brand img { width: 56px; height: 56px; }
    .coffee-brand span span { font-size: 14px; }
    .coffee-contacts { grid-column: 1; grid-row: 2; align-items: flex-start; gap: 18px; }
    .coffee-phone { padding: 0; border: 0; }
    .coffee-phone a { font-size: 16px; }
    .coffee-phone > span { font-size: 12px; line-height: 1.3; }
    .coffee-search { grid-column: 2; grid-row: 2; }
    .coffee-account { grid-column: 2; grid-row: 1; justify-self: end; }
    .coffee-search button { padding-inline: 16px; }
    .coffee-search input[type="search"] { font-size: 14px; }
}
@media (max-width: 780px) {
    body.coffee-site-v5 .site-inner { padding: 0 12px; }
    .coffee-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; }
    .coffee-navigation > a, .coffee-catalog > summary { padding: 6px 4px; font-size: 14px; }
    .coffee-home-v5 #page .panel-grid { margin-bottom: 12px !important; }
    .coffee-home-v5 .coffee-home-services { padding: calc(27vw + 12px) 32px 20px; gap: 18px; }
    .coffee-home-services::before { height: calc(27vw + 12px); }
    .coffee-home-services h2 { font-size: 27px; }
    .coffee-home-services p { font-size: 15px; line-height: 1.4; }
    .coffee-home-v5 .coffee-action .ow-button-base a { width: 100%; font-size: 15px; padding: 10px 16px; }
    .coffee-home-v5 .coffee-home-categories { gap: 8px; }
    .coffee-home-categories > .panel-grid-cell:last-child { flex: auto; width: 100% !important; }
    .coffee-home-v5 .coffee-home-categories ul.products { grid-template-columns: 1fr; gap: 6px; }
    .coffee-home-v5 .coffee-home-categories .product-category a { display: flex; align-items: center; }
    .coffee-home-v5 .coffee-home-categories ul.products li.product a img { flex: 0 0 84px; width: 84px; height: 48px; }
    .coffee-home-v5 .coffee-home-categories .woocommerce-loop-category__title { flex: 1; font-size: 14px; font-weight: 500; padding: 8px 24px 8px 14px; }
    body.coffee-home-v5 #page .coffee-home-categories ul.products li.product h2.woocommerce-loop-category__title { font-size: 14px; font-weight: 500; padding: 8px 24px 8px 14px; }
    .coffee-home-v5 .coffee-home-categories .coffee-action a { flex-direction: row; min-height: 44px; background: var(--coffee-accent); }
    body.coffee-home-v5 #page .coffee-home-brand { display: block; padding: 22px 0 22px 32px; min-height: 0; }
    .coffee-home-brand::after { display: none; }
    .coffee-home-brand h1 { font-size: 32px; max-width: none; margin-bottom: 12px; }
    .coffee-home-brand .textwidget p { font-size: 15px; max-width: none; }
    .coffee-home-location { gap: 12px; }
    .coffee-home-location > .panel-grid-cell:first-child { padding: 20px 32px 0; }
    body.coffee-home-v5 #page .coffee-home-location > .panel-grid-cell:first-child { padding: 20px 32px 0; }
    .coffee-home-location h2 { font-size: 30px; }
    .coffee-home-location iframe { min-height: 280px; }
    .coffee-footer-content { padding: 20px 32px; flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (min-width: 600px) and (max-width: 780px) {
    body.coffee-home-v5 #page .coffee-home-services { flex-direction: row; gap: 24px; padding: 180px 32px 24px; }
    body.coffee-home-v5 #page .coffee-home-services > .panel-grid-cell { width: calc((100% - 24px) / 2); }
    .coffee-home-services::before { height: 180px; }
}
@media (max-width: 700px) {
    .coffee-header-main { grid-template-columns: minmax(0, 1fr) 104px; }
    .coffee-contacts { grid-column: 1 / -1; }
    .coffee-search { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 499px) {
    .coffee-brand { grid-column: 1 / -1; }
    .coffee-contacts { grid-column: 1; flex-direction: column; gap: 6px; }
    .coffee-account { grid-row: 2; }
}
@media (max-width: 360px) {
    .coffee-brand strong { font-size: 16px; }
    .coffee-brand span span { font-size: 12px; }
}
