/* Approved product concept. Scoped so cart, checkout and catalogue stay intact. */
body.leag-gallery-product { --gp-wine:var(--client-primary, #491a18); --gp-paper:var(--client-paper, #faf7f0); --gp-gold:var(--client-brown, #a47a3d); --gp-rule:var(--client-rule, #d9c9b4); --gp-body:var(--client-body, #55493f); background:var(--gp-paper); color:var(--gp-wine); font-family:'Lora',Georgia,serif; }
body.leag-gallery-product::before { display:none; }
.leag-gallery-product .g-header-bar { height:80px; }
.leag-gallery-product .leag-header { background:var(--gp-paper); border-bottom:1px solid var(--gp-rule); }
.leag-gallery-product #mw-content { padding:0; }
.leag-gallery-product .leag-woo { width:min(100% - 80px,1320px); max-width:none; margin:auto; padding:0; }
.leag-gallery-product .woocommerce-breadcrumb { padding:16px 0; margin:0; background:none; color:var(--gp-body); font:12px/1.5 'Lora',Georgia,serif; text-transform:none; letter-spacing:0; }
.leag-gallery-product .woocommerce-breadcrumb a { color:inherit; }
.leag-gallery-product.woocommerce div.product { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.9fr); gap:44px 34px; padding:0; margin:0; }
.leag-gallery-product.woocommerce div.product::before,.leag-gallery-product.woocommerce div.product::after { display:none; }
.leag-gallery-product.woocommerce div.product .summary { min-width:0; padding:18px 0 0; font:16px/1.5 'Lora',Georgia,serif; color:var(--gp-body); }
.leag-gallery-product .g-product-eyebrow { margin:0 0 12px; color:var(--gp-wine); font:500 10px/1.6 'Montserrat',Arial,sans-serif; letter-spacing:.22em; text-transform:uppercase; }
.leag-gallery-product.woocommerce div.product .product_title { font:400 clamp(40px,5.8vw,76px)/1.06 'Lora',Georgia,serif; letter-spacing:-.05em; color:var(--gp-wine); margin:0 0 12px; }
.leag-gallery-product .g-product-subtitle { font:20px/1.45 'Lora',Georgia,serif; margin:0 0 18px; }
.leag-gallery-product.woocommerce div.product p.price { color:var(--gp-gold); font:400 30px/1.3 'Lora',Georgia,serif; margin:0 0 24px; }
.leag-gallery-product.woocommerce div.product p.price ins { text-decoration:none; font-weight:400; }
.leag-gallery-product.woocommerce div.product p.price bdi { font-weight:400; }
.leag-gallery-product .leag-particulars { display:grid; grid-template-columns:80px minmax(0,1fr); gap:10px 16px; margin:0 0 20px; padding:20px 0; border-top:1px solid var(--gp-rule); border-bottom:1px solid var(--gp-rule); }
.leag-gallery-product .leag-particulars dt { font:500 10px/1.6 'Montserrat',Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; align-self:center; color:var(--gp-body); }
.leag-gallery-product .leag-particulars dd { font:14px/1.5 'Lora',Georgia,serif; margin:0; color:var(--gp-body); }
.leag-gallery-product .leag-branch-availability { display:grid; grid-template-columns:max-content minmax(0,1fr); align-items:center; gap:28px; margin:0 0 22px; }
.leag-gallery-product .leag-branch-availability__title { margin:0; color:var(--gp-wine); font:500 10px/1.6 'Montserrat',Arial,sans-serif; letter-spacing:.16em; text-transform:uppercase; }
.leag-gallery-product .leag-branch-availability__list { display:flex; flex-wrap:wrap; gap:8px 16px; margin:0; padding:0; list-style:none; }
.leag-gallery-product .leag-branch-availability__list li { display:inline-flex; align-items:center; gap:8px; color:var(--gp-body); font:14px/1.5 'Lora',Georgia,serif; }
.leag-gallery-product .leag-branch-availability__list li > span { width:7px; height:7px; flex:0 0 7px; border-radius:50%; background:var(--gp-gold); }
.leag-gallery-product.woocommerce div.product .stock { font:500 12px/1.6 'Montserrat',Arial,sans-serif; letter-spacing:.16em; color:var(--gp-gold); margin:0 0 22px; }
.leag-gallery-product.woocommerce div.product form.cart { display:flex; flex-wrap:wrap; gap:12px; margin:0; }
.leag-gallery-product.woocommerce div.product form.cart.variations_form,.leag-gallery-product.woocommerce div.product form.cart.grouped_form { display:block; }
.leag-gallery-product.woocommerce div.product form.cart::before,.leag-gallery-product.woocommerce div.product form.cart::after { display:none; }
.leag-gallery-product.woocommerce div.product form.cart .button { background:var(--gp-wine); border:1px solid var(--gp-wine); border-radius:0; color:var(--client-on-dark, #fff5e5); min-height:48px; padding:13px 20px; width:100%; font:500 12px/1.6 'Lora',Georgia,serif; letter-spacing:.12em; text-transform:uppercase; box-shadow:0 2px 0 var(--client-deep, #2d100f); transition:transform .2s,box-shadow .2s; }
.leag-gallery-product.woocommerce div.product form.cart .button:hover { color:var(--client-on-dark, #fff5e5); background:var(--gp-wine); transform:translateY(-2px); box-shadow:0 4px 0 var(--client-deep, #2d100f); }
.leag-gallery-product .leag-product-actions { display:flex; flex-direction:column; gap:12px; margin:14px 0 26px; }
.leag-gallery-product .leag-product-actions__buy { min-height:46px; border:1px solid var(--gp-wine); border-radius:0; background:transparent; color:var(--gp-wine); font:500 12px/1.5 'Lora',Georgia,serif; letter-spacing:.12em; text-decoration:none; }
.leag-gallery-product .leag-product-actions__buy:hover { background:var(--client-sand, #efe6d8); color:var(--gp-wine); }
.leag-gallery-product .leag-product-actions__wish { align-self:center; min-height:44px; border:0; background:none; color:var(--gp-wine); font:400 14px/1.5 'Lora',Georgia,serif; text-transform:none; letter-spacing:0; padding:7px 12px; }
.leag-gallery-product .leag-product-actions__wish.is-active { background:var(--client-sand, #efe6d8); }
.leag-gallery-product .leag-assure { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; list-style:none; padding:0; margin:0 0 30px; border:0; background:none; }
.leag-gallery-product .leag-assure li { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; gap:10px; padding:0 12px; font:14px/1.45 'Lora',Georgia,serif; min-width:0; border-right:1px solid var(--gp-rule); }
.leag-gallery-product .leag-assure li:last-child { border:0; }
.leag-gallery-product .leag-assure .leag-icon { width:31px; height:31px; flex:0 0 31px; color:var(--gp-gold); stroke-width:1.2; }
.leag-gallery-product .summary .leag-prodacc { margin:0; padding:0; }
.leag-gallery-product .leag-acc { margin:0; border-top:1px solid var(--gp-rule); }
.leag-gallery-product .leag-acc__item { border-bottom:1px solid var(--gp-rule); }
.leag-gallery-product .leag-acc__heading { margin:0; }
.leag-gallery-product .leag-acc__q { width:100%; min-height:58px; padding:16px 0; background:none; border:0; font:400 17px/1.4 'Lora',Georgia,serif; text-transform:none; letter-spacing:-.02em; color:var(--gp-wine); }
.leag-gallery-product .leag-acc__sign { width:18px; height:18px; }
.leag-gallery-product .leag-acc__a { padding:0 0 18px; font:14px/1.6 'Lora',Georgia,serif; }
.leag-gallery-product .leag-acc__a p { margin:0 0 12px; }
.leag-gallery-product .leag-acc__a table { margin:0; }
.leag-gallery-product .leag-acc__a th { width:90px; }
.leag-gallery-product .leag-acc__a td,.leag-gallery-product .leag-acc__a th { font-size:13px; padding:10px 8px; }
.leag-gallery-product.woocommerce div.product .woocommerce-product-gallery { padding:0; border:0; background:none; min-width:0; }
.leag-gallery-product .woocommerce-product-gallery__wrapper { margin:0; }
.leag-gallery-product .woocommerce-product-gallery__image { position:relative; overflow:hidden; background:var(--client-sand, #eee3cf) url('../img/sand.png') repeat; background-blend-mode:multiply; }
.g-product-zoom { position:absolute; right:12px; bottom:12px; display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--client-rule, #d9c9b4); border-radius:50%; background:var(--client-paper, #faf7f0); color:var(--client-primary, #491a18); padding:0; cursor:pointer; }
.leag-gallery-product.woocommerce div.product .woocommerce-product-gallery__image > a { display:flex !important; justify-content:center; align-items:center; overflow:hidden; padding:24px 18px; height:clamp(360px,50vw,740px); }
.leag-gallery-product.woocommerce div.product .woocommerce-product-gallery__image img { width:auto; height:auto; max-width:100%; max-height:100%; object-fit:contain; background:none; transition:transform .25s; }
.leag-gallery-product .woocommerce-product-gallery[data-art-view="detail"] .wp-post-image { transform:scale(3.4); transform-origin:50% 32%; }
.leag-gallery-product .woocommerce-product-gallery[data-art-view="gold"] .wp-post-image { transform:scale(4.5); transform-origin:80% 14%; }
.leag-gallery-product.woocommerce div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger { top:12px; right:12px; width:40px; height:40px; color:var(--gp-wine); border:1px solid var(--gp-rule); box-shadow:none; }
.leag-gallery-product.woocommerce div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,.leag-gallery-product.woocommerce div.product div.images.woocommerce-product-gallery .woocommerce-product-gallery__trigger::after { display:none; }
.g-product-views { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:18px; }
.g-product-view { display:block; min-width:0; padding:4px; border:1px solid transparent; background:none; border-radius:0; cursor:pointer; }
.g-product-view[aria-pressed="true"] { border-color:var(--client-primary, #491a18); }
.g-product-view > span { display:flex; overflow:hidden; aspect-ratio:1; background:var(--client-sand, #eee3cf); align-items:center; justify-content:center; }
.leag-gallery-product.woocommerce div.product .g-product-view img { width:auto; height:100%; max-width:100%; object-fit:contain; }
.g-product-view--detail img { transform:scale(3.4); transform-origin:50% 32%; }
.g-product-view--gold img { transform:scale(4.5); transform-origin:80% 14%; }
.g-product-view-note { color:var(--gp-body); font:12px/1.5 'Lora',Georgia,serif; margin:8px 0 0; text-align:center; }
.leag-gallery-product .woocommerce-product-gallery .flex-control-thumbs { display:flex; gap:14px; margin-top:18px; }
.leag-gallery-product .woocommerce-product-gallery .flex-control-thumbs li { flex:1; max-width:33%; }
.leag-gallery-product .g-product-craft { grid-column:1/-1; position:relative; isolation:isolate; width:calc(100% + 80px); margin:0 -40px; min-height:300px; padding:44px 40px; border-top:1px solid var(--gp-rule); background:var(--gp-paper); }
.g-product-craft > img { position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; }
.g-product-craft::after { content:""; position:absolute; inset:0; z-index:1; background:rgba(0,0,0,.38); pointer-events:none; }
.g-product-craft__copy { position:relative; z-index:2; width:46%; max-width:530px; }
.g-product-craft h2 { font:400 clamp(30px,3.4vw,44px)/1.15 'Lora',Georgia,serif; letter-spacing:-.04em; color:#fff; margin:0 0 22px; }
.g-product-craft p { font:16px/1.5 'Lora',Georgia,serif; color:#fff; margin:0 0 12px; }
.g-product-craft .g-text-link { color:#fff; }
.leag-gallery-product #mw-content :focus-visible { outline:2px solid var(--client-brown, #916326); outline-offset:4px; }
@media(min-width:1500px) { .leag-gallery-product .g-product-craft { width:100vw; margin-inline:calc((1320px - 100vw)/2); padding-inline:max(40px,calc((100vw - 1320px)/2)); } }
@media(max-width:1100px) and (min-width:781px) {
    .leag-gallery-product.woocommerce div.product .product_title { font-size:clamp(46px,6.75vw,64px); }
    .leag-gallery-product .g-header-bar { width:calc(100% - 80px); }
    .leag-gallery-product .g-header-nav,.leag-gallery-product .g-header-end { gap:12px; }
    .leag-gallery-product .g-header-bar .leag-wordmark__name { font-size:15px; }
    .leag-gallery-product .g-product-subtitle { font-size:19px; }
    .leag-gallery-product .leag-assure li { padding:0 7px; font-size:13px; }
}
@media(max-width:780px) {
    .leag-gallery-product .leag-woo { width:calc(100% - 40px); }
    .leag-gallery-product.woocommerce div.product { grid-template-columns:minmax(0,1fr); gap:28px; }
    .leag-gallery-product .woocommerce-breadcrumb { padding-block:18px; font-size:11px; }
    .leag-gallery-product.woocommerce div.product .summary { padding:0; }
    .leag-gallery-product.woocommerce div.product .product_title { font-size:clamp(38px,9vw,56px); }
    .leag-gallery-product .g-product-subtitle { font-size:18px; margin-bottom:18px; }
    .leag-gallery-product.woocommerce div.product .woocommerce-product-gallery__image > a { height:clamp(280px,90vw,500px); padding:20px; }
    .g-product-views { gap:12px; margin-top:12px; }
    .g-product-view > span { aspect-ratio:1.15; }
    .leag-gallery-product .g-product-craft { width:calc(100% + 40px); margin:8px -20px 0; padding:32px 20px 180px; }
    .g-product-craft > img { object-position:70% bottom; }
    .g-product-craft__copy { width:100%; max-width:none; padding:0; }
    .g-product-craft p { font-size:15px; }
    .leag-gallery-product .leag-assure li { padding:0 8px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .leag-gallery-product #mw-content * { transition:none !important; } }
