/* Our Wines: collection index and per-collection wine cards.
   Elementor drops CSS classes on containers in this build, so the layout
   hooks are element IDs it does render (ftw-<part>--<n>). Copy and images
   stay editable in Elementor. */

.page-id-22{--line:#DDD6CF;--brown:#8f654d;--muted:#6F6A66;--body:#4A4745}

/* ---- intro ------------------------------------------------------------ */
[id^="ftw-intro"]{max-width:960px !important;margin-left:auto !important;margin-right:auto !important;text-align:center;gap:24px}
[id^="ftw-intro"] .ft-w-lead p{margin:0;font-size:clamp(19px,1.6vw,22px);line-height:1.75;color:#333231}
[id^="ftw-intro"] .ft-w-sub{max-width:780px !important;margin-left:auto !important;margin-right:auto}
[id^="ftw-intro"] .ft-w-sub p{margin:0}

/* The intro and the collection index read as one block, so the band padding
   between them is trimmed rather than doubled up. */
[id^="ftw-band"]{padding-bottom:clamp(28px,3vw,44px) !important}
[id^="ftw-indexband"]{padding-top:0 !important}

/* ---- collection index ------------------------------------------------- */
[id^="ftw-index"]{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)) !important;
	gap:clamp(16px,2vw,28px) !important;width:100% !important;align-items:start}
[id^="ftw-icard"]{cursor:pointer !important;display:flex !important;flex-direction:column !important;gap:18px !important;transition:opacity .2s;height:100%}
[id^="ftw-icard"]:hover{opacity:.65}
[id^="ftw-imeta"]{display:flex !important;flex-direction:column !important;gap:8px}
[id^="ftw-imeta"] p{margin:0}
.ft-w-num{color:#8f654d;letter-spacing:.3em;margin-right:12px}

/* ---- bottle tile ------------------------------------------------------ */
[id^="ftw-tile"]{position:relative !important;aspect-ratio:4/5 !important;background:#F6F3EF !important;overflow:hidden !important;width:100% !important;padding:0}
[id^="ftw-tile"] > .elementor-widget-image{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;margin:0}
[id^="ftw-tile"] .elementor-widget-container,
[id^="ftw-tile"] figure,
[id^="ftw-tile"] .elementor-image{height:100% !important;margin:0}
[id^="ftw-tile"] img{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;object-fit:contain !important;display:block !important;mix-blend-mode:multiply}
[id^="ftw-tile"][id*="-sq"]{aspect-ratio:1/1}
[id^="ftw-tile"][id*="-pad"] img{padding:6% 0}
[id^="ftw-tile"][id*="-light"]{background:#FFFFFF}

/* ---- section head ----------------------------------------------------- */
[id^="ftw-head--"]{display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;gap:clamp(28px,5vw,88px) !important;align-items:flex-end !important;
	padding-bottom:clamp(36px,4vw,56px);margin-bottom:clamp(36px,4vw,56px);border-bottom:1px solid #DDD6CF !important;width:100%}
[id^="ftw-headl"]{flex:5 1 340px !important;display:flex !important;flex-direction:column !important;gap:18px}
[id^="ftw-headr"]{flex:7 1 420px !important;display:flex !important;flex-direction:column !important;gap:16px}
[id^="ftw-headl"] p,[id^="ftw-headr"] p{margin:0}

[id^="ftw-stats"]{display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;gap:clamp(28px,4vw,56px) !important;margin-top:8px !important;width:auto}
[id^="ftw-stats"] .ft-w-stat{display:flex !important;align-items:baseline !important;gap:12px}
[id^="ftw-stats"] .n{font-size:clamp(36px,3.4vw,48px);font-weight:300;line-height:1;color:#333231}
[id^="ftw-stats"] .t{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:#8f654d;max-width:150px !important;line-height:1.5}

/* ---- charmat callout -------------------------------------------------- */
[id^="ftw-charmat--"]{display:flex !important;flex-direction:row !important;flex-wrap:wrap !important;gap:clamp(28px,4vw,64px) !important;
	align-items:stretch !important;margin-bottom:clamp(36px,4vw,56px);width:100%}
.ft-w-charmat-box{flex:4 1 280px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;gap:10px !important;
	background:#333231 !important;padding:clamp(28px,3vw,44px)}
.ft-w-charmat-box .k{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:#C9A98F}
.ft-w-charmat-box .v{font-size:clamp(48px,5vw,72px);font-weight:300;line-height:1;color:#fff}
.ft-w-charmat-box .d{font-size:17px;line-height:1.7;color:#DDD7D1}
[id^="ftw-charmattext"]{flex:8 1 420px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;gap:16px}
[id^="ftw-charmattext"] p{margin:0}

/* ---- wine cards ------------------------------------------------------- */
[id^="ftw-grid"]{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)) !important;
	gap:clamp(28px,3.5vw,56px) !important;width:100% !important;align-items:stretch}
[id^="ftw-grid-narrow"]{max-width:980px !important;margin-left:auto !important;margin-right:auto}
[id^="ftw-wine"]{display:flex !important;flex-direction:column !important;gap:24px !important;height:100%}
[id^="ftw-name"]{display:flex !important;flex-direction:column !important;gap:6px}
[id^="ftw-name"] p{margin:0}

.ft-w-panel{padding-top:16px;border-top:1px solid #DDD6CF}
.ft-w-panel p{margin:0}
.ft-w-lbl{display:block;margin-bottom:6px;font-size:12px;letter-spacing:.3em;
	text-transform:uppercase;color:#8f654d;font-weight:400}

.ft-w-more{align-self:flex-start !important;margin-top:auto}
.ft-w-more .elementor-button{background:transparent !important;color:#333231;padding:0 0 5px !important;border:0;
	border-bottom:1px solid #333231 !important;border-radius:0}
.ft-w-more .elementor-button:hover,
.ft-w-more .elementor-button:focus{background:transparent !important;color:#8f654d;border-bottom-color:#8f654d}

/* The sparkling cards carry no panels, so the link sits centred under the
   bottle rather than hanging off the left edge. */
#sparkling .ft-w-more{align-self:center !important}

@media(max-width:767px){
	[id^="ftw-head--"]{gap:24px}
	[id^="ftw-grid"]{gap:40px}
}


/* ---- read more ---------------------------------------------------------
   Three panels of body copy per bottle is a lot of page, so they fold away
   behind a Read more on the card. The fold is built by ft-wines.js around
   whatever .ft-w-panel widgets the card has, so the copy stays ordinary
   Elementor text widgets - and with no JS, or inside the editor, every
   panel is simply visible, which is the right fallback. */
.ft-w-read{-webkit-appearance:none;appearance:none;width:100%;margin:0;padding:16px 0 0;
	background:transparent;border:0;border-top:1px solid #DDD6CF;border-radius:0;
	display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;
	font-family:Jost,sans-serif;font-size:12px;font-weight:400;letter-spacing:.28em;
	text-transform:uppercase;color:#333231;transition:color .2s}
/* Elementor's reset owns any property a button does not set for itself, and
   it paints button:hover AND button:focus pink on white. A mouse click leaves
   the button focused, so :focus has to be answered as well as :hover or the
   toggle stays pink after it is clicked. */
.ft-w-read:hover,
.ft-w-read:focus,
.ft-w-read:focus-visible{background:transparent;background-color:transparent;color:#333231}
.ft-w-read:hover,
.ft-w-read:focus-visible{color:#8f654d}
.ft-w-read:focus{outline:0}
.ft-w-read:focus-visible{outline:1px dotted #8f654d;outline-offset:4px}
.ft-w-read .c{flex:0 0 7px;width:7px;height:7px;margin-bottom:2px;
	border-right:1px solid currentColor;border-bottom:1px solid currentColor;
	transform:rotate(45deg);transition:transform .3s ease}
.ft-w-read[aria-expanded="true"] .c{transform:rotate(225deg);margin:2px 0 0}

.ft-w-fold{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.ft-w-fold.is-open{grid-template-rows:1fr}
/* Closed, the fold is a zero-height flex child that would still take a gap
   either side of itself; one of them comes back off. */
.ft-w-fold:not(.is-open){margin-bottom:-24px}
.ft-w-fold > .ft-w-foldin{min-height:0;overflow:hidden;visibility:hidden;
	display:flex;flex-direction:column;gap:24px;transition:visibility 0s linear .35s}
.ft-w-fold.is-open > .ft-w-foldin{visibility:visible;transition-delay:0s}

@media(prefers-reduced-motion:reduce){
	.ft-w-fold,.ft-w-read .c,.ft-w-fold > .ft-w-foldin{transition:none}
}

/* Each card is now its own height. Equal-height rows made sense when every
   card was a fixed shape; with one card able to open, stretching would hand
   the two beside it several hundred pixels of empty space. */
[id^="ftw-grid"]{align-items:start !important}
[id^="ftw-wine"]{height:auto !important}

/* Our Spirits carries two cards, not four. Left to auto-fit each would take
   half the row and the bottles would render at twice the size they do on Our
   Wines, so the columns are pinned to the same width and centred. */
[id^="ftw-index-spirits"]{grid-template-columns:repeat(2,minmax(0,260px)) !important;justify-content:center !important}
@media(max-width:560px){[id^="ftw-index-spirits"]{grid-template-columns:minmax(0,260px) !important}}
