/* JFSILVA 1.1 — stable viewport, white / blue / navy palette. */
html { overflow-x: clip; scroll-padding-top: calc(var(--jfs-header-height, 154px) + 20px); }
body.jfs-store {
  width: 100%; max-width: 100%; overflow-x: clip;
  --jfs-wine: #0866cf; --jfs-wine-dark: #074c9a;
  --jfs-ink: #172b42; --jfs-muted: #607086; --jfs-line: #dfe7f0;
  --jfs-paper: #f5f8fc; --jfs-wood: #426e9c; --jfs-sand: #eaf2fc;
  --theme-palette-color-1: #0866cf; --theme-palette-color-2: #074c9a;
  --theme-palette-color-3: #607086; --theme-palette-color-4: #172b42;
  --theme-palette-color-5: #dfe7f0; --theme-palette-color-6: #f5f8fc;
  --theme-palette-color-7: #fff; --theme-palette-color-8: #fff;
  --theme-link-initial-color: #0866cf; --theme-link-hover-color: #074c9a;
  --theme-button-background-initial-color: #0866cf; --theme-button-background-hover-color: #074c9a;
  --theme-button-text-initial-color: #fff; --theme-button-text-hover-color: #fff;
  --theme-form-field-border-focus-color: #0866cf; --theme-form-selection-field-initial-color: #0866cf;
  --theme-form-selection-field-active-color: #0866cf;
  --wc-primary: #0866cf; --wc-primary-text: #fff; --wp--preset--color--vivid-cyan-blue: #0866cf;
  --wp--preset--color--pale-cyan-blue: #f5f8fc;
}
@supports not (overflow: clip) { html { overflow-x: hidden; } }
.jfs-site-content, .jfs-home, .jfs-section, .jfs-section-head, .jfs-section-head > *, .jfs-collection,
.jfs-product-grid, .jfs-categories, .jfs-woo, .jfs-commerce-page, .jfs-footer, .jfs-footer-top > * { min-width: 0; max-width: 100%; }
.jfs-site-content { width: 100%; }
.jfs-container { max-width: 1280px; }
.jfs-header, .jfs-header-main, .jfs-header-actions { transform: none; }
.jfs-header-main { min-width: 0; }
.jfs-header-actions { flex: 0 0 auto; }
.jfs-topbar span { min-width: 0; }
.jfs-store .jfs-eyebrow { color: var(--jfs-wood); }
.jfs-hero .jfs-eyebrow, .jfs-promotions .jfs-eyebrow { color: var(--jfs-wine); }
.jfs-benefits { background: var(--jfs-paper); }
.jfs-benefits .jfs-icon { color: var(--jfs-wood); }
.jfs-benefits > .jfs-container { padding-block: 21px; }
.jfs-header { --theme-button-background-initial-color: transparent; }
/* Include non-WC-wrapper buttons on the homepage: consistent Blocksy blue. */
body.jfs-store :is(a.button, button.button, input.button, a.added_to_cart, .single_add_to_cart_button, #place_order, .wc-block-components-button) {
  background: var(--jfs-wine); color: #fff; border-color: var(--jfs-wine); border-radius: 6px; box-shadow: none;
}
body.jfs-store :is(a.button, button.button, input.button, a.added_to_cart, .single_add_to_cart_button, #place_order, .wc-block-components-button):hover {
  background: var(--jfs-wine-dark); color: #fff; border-color: var(--jfs-wine-dark);
}
body.jfs-store a.added_to_cart { display: block; padding: 10px 12px; text-align: center; font-size: 12px; }
body.jfs-store input[type=checkbox], body.jfs-store input[type=radio] { accent-color: var(--jfs-wine); }
body.jfs-store .select2-container--default .select2-results__option--highlighted[aria-selected],
body.jfs-store .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--jfs-wine); color: #fff; }
.jfs-section { padding-block: 44px 18px; }
.jfs-section-head { gap: 20px; margin-bottom: 22px; }
.jfs-section-head h2 { font-size: clamp(27px, 2.5vw, 35px); }
.jfs-section-head > .jfs-text-link { flex-shrink: 0; }
.jfs-collection-intro { color: var(--jfs-muted); font-size: 14px; line-height: 1.7; margin: 12px 0 0; max-width: 720px; }
.jfs-static-collection { border-top: 1px solid var(--jfs-line); margin-top: 26px; scroll-margin-top: calc(var(--jfs-header-height, 160px) + 18px); }
.jfs-static-collection .jfs-section-head { align-items: end; }
.jfs-static-collection .jfs-section-head > div:first-child { width: auto; min-width: 0; }
.jfs-category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.jfs-category-card { min-height: 180px; padding: 20px 18px; background: var(--jfs-paper); }
.jfs-category-card:nth-child(2) { background: #f3f0e9; }
.jfs-category-card:nth-child(3) { background: #f7efef; }
.jfs-category-card:nth-child(4) { background: #f2ede5; }
.jfs-category-card:nth-child(5) { background: #f1f1ee; }
.jfs-category-card:hover { transform: none; border-color: var(--jfs-wood); }
.jfs-category-icon { width: 44px; height: 44px; margin-bottom: 14px; color: var(--jfs-wood); }
.jfs-category-icon .jfs-icon { width: 27px; height: 27px; }
.jfs-category-card h3 { font-size: 17px; }
.jfs-category-card p { font-size: 12px; margin-bottom: 14px; }
.jfs-category-card > span { font-size: 12px; }
/* Product sections are static 2-column grids, never horizontally moving rails. */
.jfs-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.jfs-product-card { width: 100%; min-width: 0; height: 100%; position: relative; border-radius: 10px; }
.jfs-product-image { position: relative; padding: 16px; aspect-ratio: 1.5; }
.jfs-product-image img { max-width: 100%; min-width: 0; object-fit: contain; }
.jfs-product-info { padding: 18px; }
.jfs-product-card h3 { font-size: 16px; line-height: 1.45; min-height: 0; margin-bottom: 10px; }
.jfs-product-card h3 a { overflow-wrap: anywhere; }
.jfs-product-excerpt { color: var(--jfs-muted); font-size: 13px; line-height: 1.6; margin: 0 0 17px; overflow-wrap: anywhere; }
.jfs-card-purchase { margin-top: auto; }
.jfs-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; font-size: 23px; line-height: 1.45; margin: 0; }
.jfs-product-price .amount { white-space: nowrap; }
.jfs-product-price > .screen-reader-text { position: absolute !important; }
.jfs-product-price del { color: #736960; font-size: 13px; margin: 0; }
.jfs-product-price ins { color: var(--jfs-wine); }
.jfs-product-delivery { margin: 9px 0 13px; font-size: 12px; }
.jfs-product-delivery .jfs-icon { color: var(--jfs-wood); }
.jfs-product-ref { font-size: 10px; color: #756f66; letter-spacing: .03em; }
.jfs-card-button { min-height: 46px; font-size: 13px; padding: 10px; }
.jfs-sale-label { position: absolute; top: 12px; left: 12px; z-index: 1; background: #f5e8e8; color: var(--jfs-wine); border: 1px solid #e6c9cd; border-radius: 4px; font: 600 11px/1.4 var(--theme-font-family); padding: 5px 8px; }
/* Only the promotions strip moves. The viewport itself must never widen. */
.jfs-promotions { width: 100%; min-width: 0; contain: inline-size; }
.jfs-promotions .jfs-product-track { display: flex; width: 100%; max-width: 100%; min-width: 0; gap: 20px; margin: 0; padding: 2px 0 15px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; -webkit-overflow-scrolling: touch; contain: inline-size; }
.jfs-promotions .jfs-product-card { flex: 0 0 calc((100% - 60px) / 4); min-width: 0; height: auto; }
.jfs-promotions .jfs-product-image { aspect-ratio: 1.12; }
.jfs-promotions .jfs-product-card h3 { font-size: 14px; }
.jfs-promotions .jfs-product-info { padding: 15px; }
.jfs-promotions .jfs-product-excerpt { font-size: 12px; }
.jfs-carousel-controls { flex-shrink: 0; }
.jfs-carousel-controls button { border-radius: 6px; }
.jfs-carousel-controls [data-pause] { border-radius: 6px; }
/* Native WC archive/related loops use the same card and no duplicate wrappers. */
body.jfs-store .jfs-woo ul.products, body.jfs-store .related ul.products, body.jfs-store .up-sells ul.products,
body.jfs-store .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; --grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.jfs-store ul.products li.jfs-catalog-item { padding: 0 !important; background: transparent; border: 0; border-radius: 0; min-width: 0; height: auto; }
body.jfs-store ul.products li.jfs-catalog-item .jfs-product-image img { margin: 0; width: 100%; height: 100%; aspect-ratio: auto; }
body.jfs-store ul.products li.jfs-catalog-item h3 { min-height: 0; }
.jfs-store-note { padding: 32px; margin-top: 46px; background: var(--jfs-sand); border: 1px solid var(--jfs-line); border-radius: 12px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.jfs-store-note > div { min-width: 0; }
.jfs-store-note h2 { font: 400 29px/1.25 Georgia, serif; margin: 0 0 12px; }
.jfs-store-note p { font-size: 14px; color: var(--jfs-muted); margin: 0; max-width: 690px; }
.jfs-store-note .jfs-button { flex-shrink: 0; }
body.jfs-store .jfs-button-outline { background: #fff; border-color: #cdbba7; color: var(--jfs-ink); }
body.jfs-store .jfs-button-outline:hover { background: var(--jfs-wine); color: #fff; border-color: var(--jfs-wine); }
.jfs-faq { padding-bottom: 48px; }
.jfs-footer { background: #f5f1eb; }
.jfs-footer-top { padding-block: 40px 26px; }
/* Both floating actions stay inside safe areas; never obstruct a sticky buy bar. */
.jfs-floating-mail { position: fixed; z-index: 96; left: max(16px, env(safe-area-inset-left)); bottom: calc(22px + env(safe-area-inset-bottom)); width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--jfs-wine); border: 1px solid #dbc5c4; box-shadow: 0 4px 18px #172b421c; }
.jfs-floating-mail:hover { color: #fff; background: var(--jfs-wine); }
.jfs-back-top { bottom: calc(22px + env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
.jfs-has-sticky-buy .jfs-floating-mail, .jfs-has-sticky-buy .jfs-back-top { bottom: calc(100px + env(safe-area-inset-bottom)); }
.jfs-dialog-open :is(.jfs-floating-mail,.jfs-back-top) { visibility: hidden; }
/* Form text, commerce actions, and honest preparation state. */
.jfs-commerce-page #customer_details, .jfs-commerce-page #order_review { min-width: 0; }
.jfs-commerce-page .woocommerce-terms-and-conditions-wrapper a { overflow-wrap: anywhere; }
.jfs-checkout-preparation { border: 1px solid #d6c0a6; background: #f7f1e8; color: #5b432c; padding: 18px; border-radius: 8px; font-size: 14px; line-height: 1.7; margin: 0 0 22px; }
.jfs-checkout-preparation p:last-child { margin-bottom: 0; }
body.jfs-store #place_order:disabled { background: #70625d; color: #fff; border-color: #70625d; cursor: not-allowed; opacity: .8; }
body.jfs-store .woocommerce-error { border-top-color: var(--jfs-wine); }
body.jfs-store .woocommerce-info, body.jfs-store .woocommerce-message { border-top-color: var(--jfs-wood); }
body.jfs-store .woocommerce-info::before, body.jfs-store .woocommerce-message::before { color: var(--jfs-wood); }
body.jfs-store .woocommerce-error::before { color: var(--jfs-wine); }
body.jfs-store .woocommerce .shop_table { max-width: 100%; }
@media (max-width: 1100px) {
  .jfs-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jfs-promotions .jfs-product-card { flex-basis: calc((100% - 40px) / 3); }
}
@media (max-width: 700px) {
  .jfs-container { width: calc(100% - 32px); }
  .jfs-header-main { min-height: 74px; gap: 8px; }
  .jfs-brand { width: 94px; flex-basis: 94px; height: 72px; }
  .jfs-brand img { width: 86px; height: 70px; }
  .jfs-header-actions { gap: 2px; }
  .jfs-header-actions .jfs-icon-button { width: 38px; }
  .jfs-topbar { font-size: 10px; }
  .jfs-topbar > .jfs-container { min-height: 30px; }
  /* Mobile keeps the entire composition beneath text rather than a huge cropped background. */
  .jfs-hero { min-height: 0; display: flex; flex-direction: column; background: #faf8f4; }
  .jfs-hero > .jfs-container { order: 0; }
  .jfs-hero-content { padding: 28px 0 20px; max-width: 100%; }
  .jfs-hero h1 { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.12; margin-bottom: 16px; letter-spacing: -.8px; max-width: 100%; }
  .jfs-hero .jfs-eyebrow { font-size: 9px; margin-bottom: 15px; }
  .jfs-hero-content > p { font-size: 14px; line-height: 1.65; margin-bottom: 18px; max-width: 100%; }
  .jfs-hero-actions { gap: 18px; }
  .jfs-hero .jfs-button { padding: 10px 15px; }
  .jfs-hero-picture { position: relative; z-index: auto; order: 1; display: block; width: 100%; height: auto; inset: auto; aspect-ratio: 1.85; }
  .jfs-hero-picture img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .jfs-hero::after { display: none; }
  .jfs-benefits > .jfs-container { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 18px; gap: 16px 12px; }
  .jfs-benefits > .jfs-container > div { gap: 8px; padding-left: 0 !important; border-left: 0; }
  .jfs-benefits strong { font-size: 11px; }
  .jfs-benefits small { font-size: 10px; }
  .jfs-benefits .jfs-icon { width: 23px; height: 23px; }
  .jfs-section { padding-block: 30px 10px; }
  .jfs-section-head { gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
  .jfs-section-head h2 { font-size: 28px; }
  .jfs-collection-intro { font-size: 12px; margin-top: 10px; line-height: 1.65; }
  .jfs-section-head .jfs-text-link { font-size: 12px; }
  .jfs-static-collection { margin-top: 24px; }
  .jfs-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .jfs-category-card { min-height: 156px; padding: 15px; }
  .jfs-category-icon { width: 34px; height: 34px; margin-bottom: 10px; }
  .jfs-category-icon .jfs-icon { width: 23px; height: 23px; }
  .jfs-category-card h3 { font-size: 15px; margin-bottom: 6px; }
  .jfs-category-card p { font-size: 11px; margin-bottom: 12px; line-height: 1.5; }
  .jfs-category-card > span { font-size: 11px; }
  .jfs-product-grid, body.jfs-store .jfs-woo ul.products { gap: 12px !important; }
  .jfs-product-card { min-width: 0; }
  .jfs-product-image { aspect-ratio: 1.12; padding: 10px; }
  .jfs-product-info, .jfs-promotions .jfs-product-info { padding: 12px 10px; }
  .jfs-product-ref { font-size: 9px; margin-bottom: 6px; }
  .jfs-product-card h3, .jfs-promotions .jfs-product-card h3,
  body.jfs-store .jfs-woo ul.products li.jfs-catalog-item h3 { font-size: 13px; line-height: 1.45; min-height: 0; margin: 0 0 9px; }
  .jfs-product-excerpt, .jfs-promotions .jfs-product-excerpt { font-size: 11px; line-height: 1.5; margin-bottom: 12px; }
  .jfs-product-price { font-size: clamp(16px, 4.6vw, 21px); gap: 3px 6px; }
  .jfs-product-price del { font-size: 10px; }
  .jfs-product-delivery { font-size: 10px; gap: 5px; margin-block: 8px 10px; }
  .jfs-product-delivery .jfs-icon { width: 15px; height: 15px; }
  .jfs-card-button { min-height: 44px; font-size: 12px; gap: 6px; padding: 9px 6px; }
  .jfs-card-button .jfs-icon { width: 16px; height: 16px; }
  .jfs-sale-label { left: 8px; top: 8px; font-size: 9px; padding: 4px 6px; }
  .jfs-promotions .jfs-product-track { gap: 12px; margin: 0; width: 100%; padding-right: 0; }
  .jfs-promotions .jfs-product-card { flex: 0 0 calc((100% - 12px) / 2); min-width: 0; }
  .jfs-promotions .jfs-section-head > div:first-child { flex: 1 1 100%; }
  .jfs-carousel-controls { margin-left: auto; }
  .jfs-carousel-controls button { min-width: 36px; min-height: 36px; }
  .jfs-store-note { padding: 22px 18px; margin-top: 30px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .jfs-store-note h2 { font-size: 25px; }
  .jfs-store-note p { font-size: 13px; }
  .jfs-faq { padding-bottom: 34px; gap: 24px; }
  .jfs-footer-top { padding-top: 30px; }
  .jfs-footer-bottom { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .jfs-floating-mail, .jfs-back-top { width: 44px; height: 44px; }
  .jfs-page-header h1, .jfs-woo h1.page-title { font-size: clamp(29px, 7.6vw, 36px); }
  .jfs-commerce-page .jfs-page-header { margin-bottom: 22px; }
  .jfs-commerce-page .woocommerce-cart-form .shop_table tr.cart_item { grid-template-columns: 60px minmax(0, 1fr) 26px; }
  .jfs-commerce-page .shop_table .product-name { overflow-wrap: anywhere; }
  .jfs-commerce-page .woocommerce form .form-row input.input-text,
  .jfs-commerce-page .woocommerce form .form-row select { font-size: 16px; }
  .jfs-checkout-preparation { font-size: 13px; padding: 16px; }
}
@media (max-width: 350px) {
  .jfs-container { width: calc(100% - 24px); }
  .jfs-hero h1 { font-size: 29px; }
  .jfs-header-actions .jfs-icon-button { width: 36px; }
  .jfs-product-info, .jfs-promotions .jfs-product-info { padding-inline: 9px; }
  .jfs-card-button { font-size: 11px; }
}
@media print { .jfs-floating-mail { display: none !important; } }
/* Prevent a replaced image's intrinsic height from stretching a flex/grid card. */
.jfs-product-image { min-height: 0; overflow: hidden; flex: 0 0 auto; }
.jfs-product-image img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
body.jfs-store ul.products li.jfs-catalog-item .jfs-product-image img { width: calc(100% - 32px); height: calc(100% - 32px); }
@media (min-width: 1000px) {
  /* Two products per row, with a compact image/text layout on wide screens. */
  .jfs-static-collection .jfs-product-card,
  body.jfs-store ul.products li.jfs-catalog-item .jfs-product-card {
    display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); min-height: 280px;
  }
  .jfs-static-collection .jfs-product-image,
  body.jfs-store ul.products li.jfs-catalog-item .jfs-product-image {
    aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 1px solid var(--jfs-line);
  }
  .jfs-static-collection .jfs-product-info,
  body.jfs-store ul.products li.jfs-catalog-item .jfs-product-info { min-height: 280px; min-width: 0; }
}
@media (max-width: 700px) {
  .jfs-product-image img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  body.jfs-store ul.products li.jfs-catalog-item .jfs-product-image img { width: calc(100% - 20px); height: calc(100% - 20px); }
}
