/* Giftimo F07 – presentation only. Tokens respect saved Kadence palette. */
:root{
 --gfc-canvas:var(--global-palette8,#F7F3EE);
 --gfc-surface:var(--global-palette9,#FFFFFF);
 --gfc-alternate:var(--global-palette7,#E9DED3);
 --gfc-ink:var(--global-palette3,#292522);
 --gfc-muted:var(--global-palette4,#5C534E);
 --gfc-action:var(--global-palette1,#813B31);
 --gfc-action-hover:var(--global-palette2,#693027);
 --gfc-border:#D8CEC3;
 --gfc-border-strong:var(--global-palette6,#806F64);
 --gfc-good:#456E60;--gfc-bad:#A32E32;--gfc-focus:#125A78;
 --gfc-space-1:4px;--gfc-space-2:8px;--gfc-space-3:12px;
 --gfc-space-4:16px;--gfc-space-6:24px;--gfc-space-8:32px;
 --gfc-space-12:48px;--gfc-space-16:64px;--gfc-space-20:80px;
 --gfc-radius:10px;--gfc-radius-lg:16px;
}
/* Editorial headings only; don't force a fancy font on prices, input fields or gateways. */
.giftimo-cinema :where(h1,h2),.gui-template :where(h1,h2),
.gui-search-results h1{color:var(--gfc-ink);overflow-wrap:anywhere}
.gui-template :where(h1,h2),.giftimo-cinema :where(h1,h2){text-wrap:balance}
.gui-template :where(p,li),.giftimo-cinema :where(p,li){overflow-wrap:break-word}
/* Keep owner-generated UI visible and keyboard accessible. */
:where(.gui-template,.giftimo-cinema,.gui-search-results,.woocommerce,.wc-block-components-sidebar-layout) :where(a,button,input,select,textarea,summary):focus-visible{
 outline:3px solid var(--gfc-focus);outline-offset:3px;
}
:where(.gui-template,.gui-search-results,.woocommerce) :where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;font-size:16px}
:where(.gui-template,.woocommerce,.gui-search-results) :where(.button,button[type=submit],input[type=submit]){min-height:44px;max-width:100%;white-space:normal}
/* Native Woo + Interface product cards. Equal height, genuine Woo price + button. */
:where(.woocommerce,.gui-template) ul.products{display:grid;gap:24px;grid-template-columns:repeat(4,minmax(0,1fr))}
:where(.woocommerce,.gui-template) ul.products:before,:where(.woocommerce,.gui-template) ul.products:after{display:none}
:where(.woocommerce,.gui-template) ul.products li.product{width:auto!important;max-width:none;margin:0;float:none;min-width:0;display:flex;flex-direction:column;height:100%;padding:16px;background:var(--gfc-surface);border:1px solid var(--gfc-border);border-radius:var(--gfc-radius)}
:where(.woocommerce,.gui-template) ul.products li.product img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:var(--gfc-canvas);border-radius:6px}
:where(.woocommerce,.gui-template) ul.products li.product :where(.price,.product-details){margin-top:auto}
:where(.woocommerce,.gui-template) ul.products li.product :where(.button,.product-action-wrap){margin-top:auto}
:where(.woocommerce,.gui-template) ul.products li.product .button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center}
.gui-template .gui-product-card{min-width:0;height:100%;display:flex;flex-direction:column;gap:12px;background:var(--gfc-surface);border:1px solid var(--gfc-border);border-radius:var(--gfc-radius);padding:16px}
.gui-template .gui-product-card img{width:100%;aspect-ratio:1;object-fit:contain;background:var(--gfc-canvas)}
.gui-template .gui-product-card :where(.gui-product-button,.button){margin-top:auto}
/* Global owner featured: six permissible items (never truncate to four). */
.gfc-products .gui-featured .gui-search-grid,.gui-search-results .gui-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gfc-products .gui-featured .gui-result-card,.gui-search-results .gui-result-card{min-width:0;display:flex;flex-direction:column;gap:12px;background:var(--gfc-surface);border:1px solid var(--gfc-border);border-radius:var(--gfc-radius);padding:16px}
.gfc-products .gui-result-card a img,.gui-search-results .gui-result-card a img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:6px;background:var(--gfc-canvas)}
.gfc-products .gui-result-card :where(.button),.gui-search-results .gui-result-card :where(.button){margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:48px}
/* Archive navigation/filters: no JS or history interception; native semantics preserved. */
.gui-category-nav,.gui-filters{min-width:0}
.gui-category-nav :where(a,button,summary),.gui-filters :where(a,button,label){min-height:40px}
.gui-filters :where(select,input:not([type=checkbox])){min-height:44px;border:1px solid var(--gfc-border-strong);border-radius:6px}
.gui-catalog-layout{gap:32px}
.gui-template .gui-purchase{min-width:0}
.gui-template .gui-purchase :where(form.cart,.variations_form){max-width:100%}
/* Classic checkout and native Blocks – presentation, never checkout workflow changes. */
.woocommerce :where(.woocommerce-cart-form,.cart_totals,.checkout.woocommerce-checkout,.woocommerce-MyAccount-content,.woocommerce-order){min-width:0}
.woocommerce .cart_totals,.woocommerce .woocommerce-checkout-review-order,
.wc-block-components-sidebar-layout .wc-block-components-sidebar{background:var(--gfc-surface);border:1px solid var(--gfc-border);border-radius:var(--gfc-radius);padding:clamp(16px,2vw,24px)}
.woocommerce :where(.woocommerce-error,.woocommerce-NoticeGroup-checkout,.woocommerce-message,.woocommerce-info){border-radius:6px;overflow-wrap:anywhere}
.woocommerce .woocommerce-error{border-top-color:var(--gfc-bad)}
.woocommerce :where(.woocommerce-order-overview,.order_details) {overflow-wrap:anywhere}
.woocommerce :where(table.shop_table,.woocommerce-cart-form__contents){max-width:100%}
/* Do not clip third-party pick-up maps, gateway dialogs or 3DS challenges. */
.woocommerce-checkout :where(.woocommerce,.site-main),.wc-block-checkout{overflow:visible}
.gui-header-tools{min-width:0;max-width:100%}
.gui-header-tools .gui-search-form{min-width:0}
.gui-header-tools :where(input[type=search],.gui-search-suggestions){max-width:100%}
.site-footer{background:var(--gfc-canvas);color:var(--gfc-muted)}
.site-footer :where(a):focus-visible{outline:3px solid var(--gfc-focus);outline-offset:3px}
@media(max-width:1024px){
 :where(.woocommerce,.gui-template) ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .gfc-products .gui-featured .gui-search-grid,.gui-search-results .gui-search-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}
@media(max-width:600px){
 .gfc-hero .kt-row-column-wrap{gap:16px}
 .gfc-products .gui-featured .gui-search-grid,.gui-search-results .gui-search-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .gui-catalog-layout{gap:20px}
 .woocommerce .cart_totals,.woocommerce .woocommerce-checkout-review-order{padding:16px}
}
@media(max-width:359px){:where(.woocommerce,.gui-template) ul.products{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){:where(.giftimo-cinema,.gui-template,.woocommerce) :where(*, *::before, *::after){scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
