/* Giftimo Commerce & Growth: existing theme styles stay authoritative. */
.gg-finder,.gg-search,.gg-b2b,.gg-bundle,.gg-calendar,.gg-favorites,.gg-occasions,.gg-recommended,.gg-campaign,.gg-reorder,.gg-cart-recommendations,.gg-reorders{max-width:1180px;margin:1.5rem auto;padding:1.5rem;border:1px solid #e8e0e2;border-radius:12px;background:#fff;color:#292426;box-sizing:border-box}
.gg-finder h2,.gg-b2b h2,.gg-recommended h2{margin-top:0;font-size:clamp(1.35rem,2.3vw,1.8rem)}
.gg-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.gg-label,.gg-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.9rem}
.gg-form input:not([type=checkbox]),.gg-form select,.gg-form textarea,.gg-search input,.gg-occasions input{max-width:100%;width:100%;box-sizing:border-box;border:1px solid #cfc4c6;border-radius:6px;background:#fff;color:#222;padding:.75rem;font-size:1rem;min-height:44px}
.gg-form textarea,.gg-form .gg-check,.gg-form button{grid-column:1/-1}
.gg-form .gg-check{display:flex;flex-direction:row;align-items:flex-start;gap:.5rem}
.gg-button{display:inline-block;cursor:pointer;border:0;border-radius:8px;background:#8f2949!important;color:white!important;padding:.85rem 1.2rem;font-family:inherit;font-size:1rem;font-weight:600;min-height:44px;text-align:center;text-decoration:none}
.gg-button:hover{background:#712039!important}
.gg-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:1rem;margin-top:1rem}
.gg-product{min-width:0;padding:1rem;border:1px solid #eee3e6;border-radius:8px}
.gg-product img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain}
.gg-product>a{display:flex;flex-direction:column;gap:.7rem;color:inherit;text-decoration:none}
.gg-price{margin:.5rem 0;font-weight:700}.gg-text-link{color:#8f2949!important;font-weight:600}
.gg-hp{position:absolute;left:-9999px;height:1px;overflow:hidden}
.gg-success{background:#f1f9f2;border:1px solid #8ac597;padding:1rem}.gg-error{background:#fff3f3;border:1px solid #da9090;padding:1rem}.gg-empty{padding:1rem;background:#f9f7f7}
.gg-favorite{display:inline-block;cursor:pointer;border:1px solid #a43b60;background:#fff;color:#862d4b;border-radius:6px;padding:.4rem .7rem;margin:.5rem 0;font:inherit;min-height:40px}
.gg-microcopy,.gg-experiment{font-size:.9rem;padding:.8rem 1rem;background:#fcf5f6;border-left:3px solid #a53e5c;border-radius:4px}
.gg-search form{display:flex;gap:.5rem;flex-wrap:wrap;align-items:end}.gg-search form label{flex:1 0 100%}.gg-search form input{flex:1}
.gg-occasions form{display:grid;grid-template-columns:1fr 1fr auto;gap:.6rem;align-items:end}
.gg-occasions form label{display:flex;flex-direction:column}
@media(max-width:640px){.gg-form{grid-template-columns:1fr}.gg-finder,.gg-search,.gg-b2b,.gg-recommended,.gg-campaign{padding:1rem;margin:1rem auto}.gg-products{grid-template-columns:repeat(2,minmax(0,1fr))}.gg-product{padding:.6rem}.gg-occasions form{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.gg-button,.gg-favorite{transition:none}}

.gg-occasion-remove{display:inline-block;margin-left:10px}.gg-occasion-remove button{border:0;background:transparent;color:#8f2949;text-decoration:underline;cursor:pointer}

/* Commerce 3.0 – valóban bekötött termékoldali ajánlók / csomagok */
.gg-pdp-commerce{max-width:1180px;margin:1.5rem auto;display:grid;gap:1.25rem}.gg-pdp-commerce .gg-recommended,.gg-pdp-commerce .gg-bundle{margin:0;max-width:none}.gg-product-note{font-size:.8rem;color:#5c5054}.gg-pdp-commerce a:focus-visible,.gg-facets :focus-visible{outline:3px solid #8f2949;outline-offset:2px}.gg-facets{max-width:1180px;margin:1.5rem auto;border:1px solid #e8e0e2;background:#fff;padding:1rem;border-radius:10px;display:flex;flex-wrap:wrap;gap:.75rem;align-items:end}.gg-facets label{display:grid;gap:.25rem;min-width:150px;flex:1}.gg-facets select{width:100%;min-height:44px}.gg-bundle-note{color:#4f4348;font-size:.92rem}.gg-showcase-warning{border-left:4px solid #b7791f;padding:.75rem 1rem;background:#fffaf0}.gg-product-cards{display:flex;gap:1rem;flex-wrap:wrap}.gg-prod-status{font-size:.79rem;color:#62575c}@media(max-width:600px){.gg-facets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}.gg-facets label{min-width:0}.gg-facets button{grid-column:1/-1}.gg-pdp-commerce{gap:1rem}}

.gg-compare,.gg-share{max-width:1180px;margin:1.5rem auto;padding:1rem;border:1px solid #e8e0e2;border-radius:12px;background:#fff}.gg-compare-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem}.gg-compare-product{padding:1rem;border:1px solid #e8e0e2;border-radius:8px}.gg-compare-product img{max-width:100%;height:auto}.gg-suggestions{position:relative;background:#fff;border:1px solid #e8e0e2;border-radius:8px;z-index:2}.gg-suggestions a{display:block;padding:.75rem;text-decoration:none}.gg-suggestions a:hover,.gg-suggestions a:focus-visible{background:#faf4f6}.gg-suggestions[hidden]{display:none}

.gg-compare-toggle{display:block;border:1px solid #a43b60;color:#8f2949;background:#fff;border-radius:6px;padding:.5rem;margin-top:.6rem;min-height:44px;cursor:pointer;font:inherit;font-size:.82rem}.gg-compare-toggle[aria-pressed=true]{background:#f9f0f3}.gg-compare-dock{position:fixed;right:16px;bottom:72px;z-index:50;display:block;border-radius:8px;padding:.85rem 1rem;background:#8f2949;color:#fff!important;font-weight:600;text-decoration:none;box-shadow:0 4px 20px #0002}.gg-compare-dock[hidden]{display:none}@media(prefers-reduced-motion:reduce){.gg-compare-dock{transition:none}}

.gg-product{display:flex;flex-direction:column;height:100%;box-sizing:border-box;overflow-wrap:anywhere}.gg-product>a:first-child{flex:1}.gg-product button,.gg-product a{white-space:normal;overflow-wrap:anywhere;max-width:100%;box-sizing:border-box}.gg-quote-portal dd{margin:0 0 1rem;overflow-wrap:anywhere}.gg-quote-portal dt{font-weight:700}.gg-b2b .gg-check{display:flex;gap:8px}.gg-b2b form[hidden]{display:none}

.gg-search form input{min-width:0;flex-basis:150px}.gg-form label,.gg-form input,.gg-form select,.gg-form textarea,.gg-optional{min-width:0}.gg-form .gg-check,.gg-b2b .gg-check{display:block;line-height:1.5}.gg-check input[type=checkbox]{width:auto;margin-right:.5rem;vertical-align:middle}.gg-b2b,.gg-finder,.gg-search{overflow-wrap:anywhere}

/* Commerce visual contract v1; the Theme remains visual owner. These scoped fallbacks
   never change checkout or global WordPress/Woo styles. */
.gg-finder,.gg-search,.gg-b2b,.gg-recommended,.gg-bundle,.gg-cart-recommendations,.gg-pdp-commerce,.gg-microcopy,.gg-compare,.gg-facets{
  --gg-canvas:var(--g-canvas,#F7F3EE);--gg-ink:var(--g-ink,#292522);
  --gg-primary:var(--gf-color-brand,var(--g-main,#813B31));--gg-outline:var(--gf-color-border,#D8CEC3);
  color:var(--gg-ink);
}
.gg-finder,.gg-search,.gg-b2b,.gg-recommended,.gg-bundle,.gg-cart-recommendations,.gg-compare,.gg-facets{max-width:min(100%,1200px)}
.gg-button,.gg-compare-dock{background:var(--gf-color-brand,var(--g-main,#813B31))!important;color:#fff!important}
.gg-button:hover,.gg-compare-dock:hover{background:var(--gf-color-brand-hover,#693027)!important}
.gg-text-link,.gg-compare-toggle,.gg-occasion-remove button{color:var(--gf-color-brand,var(--g-main,#813B31))!important}
.gg-product:focus-within,.gg-finder :focus-visible,.gg-search :focus-visible,.gg-b2b :focus-visible,.gg-pdp-commerce :focus-visible{outline:3px solid var(--gf-color-brand,var(--g-main,#813B31));outline-offset:3px}
.gg-form input[aria-invalid=true],.gg-form select[aria-invalid=true]{border-color:#A52828}
.gg-product{height:100%;min-height:100%}
.gg-product .gg-price{font-variant-numeric:tabular-nums}
@media(max-width:420px){.gg-products{grid-template-columns:1fr 1fr;gap:.65rem}.gg-product{padding:.6rem}.gg-finder,.gg-search,.gg-b2b{padding:.85rem}}
