/* Shared Sakura chrome. Keep decorative frames outside usable content. */
.home .category-filters .filter-chip,
.home .category-filters .filter-chip.is-active{
 border:0!important;
 box-shadow:none!important;
}
.home .category-filters .filter-chip:focus-visible{
 outline:0;
 filter:drop-shadow(0 0 3px #fff) drop-shadow(0 0 5px #9c235e);
}
body::before{background:#d9f1ff url('../images/baby-blue-clouds.png') center/cover no-repeat!important;opacity:1!important}
.site-header{width:calc(100% - 48px);max-width:1320px;margin:0 auto 12px;align-self:center;position:relative;isolation:isolate}
.site-header:before{inset:0 0 -6px;background-image:url('../images/sakura-header-shell.svg')}
.site-header:after{display:none}
.site-header .header-inner{display:grid;grid-template-columns:140px 1fr auto;align-items:center;gap:24px;height:98px;min-height:98px;max-width:none;width:100%;padding:4px 36px 10px!important}
.site-header .brand-image{display:flex;align-items:center;justify-content:center;width:140px;height:84px;margin:0;padding:0;position:static;transform:none;line-height:0}
.site-header .brand-image img{display:block;width:126px;height:84px;max-width:100%;object-fit:contain;transform:none;filter:drop-shadow(0 2px 0 #fff3d6)}
.site-header .primary-nav{width:auto;margin:0;order:0;justify-self:end}
.site-header .primary-nav ul{display:flex;align-items:center;gap:12px;margin:0;padding:0}
.site-header .primary-nav a{padding:10px 14px;font-size:14px;line-height:1.3;color:#721448;border-radius:6px}
.site-header .header-actions{display:flex;align-items:center;gap:14px;margin:0}
.site-header .gg-cart-link{min-height:43px;padding:9px 13px;font-size:13px}
.site-header .gg-language-switch{flex-direction:row;gap:2px;align-items:center;padding:3px;border:1px solid #fff4fc;border-radius:8px;background:#ffeff8e0}
.site-header .gg-language-switch a{padding:7px 9px;font-size:12px;line-height:1.4}

/* Text and purchase actions sit inside the innermost SVG edge. */
.home .gg-card-arena ul.products li.product{padding:25px!important}
.home .gg-card-arena ul.products li.product .woocommerce-loop-product__link{min-width:0}
.home .gg-card-arena ul.products li.product .woocommerce-loop-product__title{padding:0 9px!important;line-height:1.1!important;margin:3px 0!important;overflow-wrap:anywhere}
.home .gg-card-arena ul.products li.product .gg-merch-subtitle{padding:0 9px 3px;font-size:21px;line-height:1.15}
.home .gg-card-arena ul.products li.product .price{padding:0 9px!important;margin-bottom:4px!important;line-height:1.15!important}
.home .gg-card-arena ul.products li.product a.button{width:auto!important;align-self:stretch;min-width:0;min-height:48px!important;margin:6px 7px 6px!important;padding:10px 16px!important;font-size:14px!important;line-height:1.25!important;white-space:normal;text-align:center;overflow-wrap:anywhere}
.home .gg-card-arena ul.products li.product a.button:before{flex:0 0 21px}
.home .gg-card-arena .gg-merch-art{height:calc(var(--card-width,334px)*.94)!important;margin-bottom:9px!important}
.home .gg-card-arena ul.products li.product a img{height:calc(var(--card-width,334px)*.94)!important;margin-bottom:9px!important;background:#ffe4f2!important;object-fit:contain!important}
.home .gg-card-arena ul.products li.product .added_to_cart{position:absolute;bottom:-28px;left:25px;right:25px;text-align:center;font-size:12px}

/* A quiet, legible panel system for account, product and checkout screens. */
.page-main,.commerce-main,.error-page,.gg-entry{background:linear-gradient(135deg,#fff3fbea,#ffdef2f5)!important;border:2px solid #e17aaf!important;border-radius:10px!important;box-shadow:inset 0 0 0 3px #fff6fc,0 4px 0 #be39772b,0 15px 40px #87346620!important}
.page-main,.commerce-main,.error-page{margin-top:26px;margin-bottom:40px;padding:34px 38px 42px}
.page-content>h1,.commerce-main h1,.gg-entry h1{font-family:GGPixel,monospace;letter-spacing:0;font-weight:400;color:#722049;font-size:42px}
.woocommerce-account .woocommerce-MyAccount-navigation{background:transparent}
.woocommerce-MyAccount-navigation ul{background:#ffd4eaba;border:1px solid #e998bc;padding:10px;border-radius:7px;box-shadow:inset 0 0 0 2px #fff3fb}
.woocommerce-MyAccount-navigation li{border:0!important;margin:0 0 6px}
.woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px!important;border:1px solid transparent;border-radius:4px;font-size:14px;color:#772451;background:none;line-height:1.4}
.woocommerce-MyAccount-navigation li.is-active a{background:#eb2587!important;color:#fff!important;border-color:#bc246e;box-shadow:inset 0 0 0 2px #ff9acf}
.woocommerce-MyAccount-navigation li a:hover{background:#ffeafa}
.woocommerce-MyAccount-content{min-width:0;color:#563448}
.woocommerce-account .gg-loyalty-hero{background:linear-gradient(120deg,#ffedf8,#ffc3e4);border:2px solid #ed83b6;border-radius:7px;box-shadow:inset 0 0 0 3px #fff4fb;padding:26px}
.woocommerce-account .gg-loyalty-hero h2,.woocommerce-account .gg-loyalty-card h3,.woocommerce-account h2,.woocommerce-account h3{font-family:GGPixel,monospace;font-weight:400;letter-spacing:0;color:#852755}
.woocommerce-account .gg-loyalty-hero h2{font-size:36px}
.woocommerce-account .gg-loyalty-card{background:#fff5fb;border:1px solid #e48eb8;border-radius:7px;box-shadow:inset 0 0 0 2px #ffe2f2;padding:22px;min-width:0}
.woocommerce-account .gg-loyalty-card h3{font-size:28px}
.woocommerce-account .gg-loyalty-rules,.woocommerce-Address{background:#fff0f8;border:1px solid #e79bbf;border-radius:7px;padding:20px}
.woocommerce table.shop_table,.gg-loyalty-table{border-color:#e9a0c4!important;border-radius:6px;overflow:hidden;background:#fff7fc}
.woocommerce table.shop_table th,.gg-loyalty-table th{background:#ffd8ed!important;color:#76214e!important}
.woocommerce table.shop_table td,.gg-loyalty-table td{border-color:#f0c3da!important;overflow-wrap:anywhere}
.woocommerce-account .gg-loyalty-table td code{overflow-wrap:anywhere;white-space:normal}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon,.single-product.woocommerce div.product form.cart{background:#fff2fa;border:1px solid #e6a0c3;border-radius:7px;box-shadow:inset 0 0 0 2px #fff9fd}
input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),textarea,select,.woocommerce .quantity .qty{background:#fffafd;border:1px solid #d68aac;border-radius:5px;color:#492537}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #d62e84;outline-offset:2px}
.page-main .button,.commerce-main .button,.gg-entry button,.gg-entry input[type=submit],.page-main input[type=submit],.wc-block-components-button:not(.is-link){background:#e91e86!important;border:2px solid #ffc4e3!important;border-radius:5px!important;box-shadow:0 0 0 1px #c34080,inset 0 1px #ffeafb!important;color:#fff!important;min-height:43px;line-height:1.3;padding:11px 20px;font-family:inherit;font-weight:650}
.page-main .button:hover,.commerce-main .button:hover,.wc-block-components-button:not(.is-link):hover{background:#c51c72!important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff0f9;border-radius:6px;border-color:#e64798;box-shadow:0 1px 0 #f1bbd5;color:#65354d}
.wc-block-cart,.wc-block-checkout{--wc-form-color-background:#fffafd;--wc-form-color-border:#d68aac;--wc-form-border-radius:5px;color:#563448}
.wc-block-components-sidebar{background:linear-gradient(#ffe0f1,#fff2fa);border:1px solid #e697bd;border-radius:7px;box-shadow:inset 0 0 0 2px #fff5fc}
.wc-block-components-title,.wc-block-components-checkout-step__title{color:#78264e}
.single-product.woocommerce div.product>div.images{background:#ffe4f2;border:1px solid #e48eb8;border-radius:8px}
.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active{box-shadow:inset 0 -3px #e8298b}

.site-footer{background:linear-gradient(110deg,#ffd5ecee,#f8bcddef);border-top:3px solid #fff1fa;box-shadow:0 -2px 0 #e271a7,inset 0 5px 0 #ee9ac3;backdrop-filter:blur(12px);padding:28px 0 18px;margin-top:auto}
.site-footer>.shell{max-width:1320px;padding-inline:36px}
.footer-top{align-items:center;padding-bottom:22px;gap:24px}
.footer-identity{gap:16px;min-width:0}
.footer-brand{display:flex;align-items:center;justify-content:center;flex-shrink:0}
.footer-brand img{width:100px;height:80px;object-fit:contain}
.footer-identity strong{font:400 26px/1.15 GGPixel,monospace;color:#7c2452}
.footer-identity span{color:#89526c;font-size:12px}
.footer-social{gap:10px}
.footer-social a{padding:10px 14px;border:1px solid #e89dbc;background:#fff0f885;border-radius:5px;color:#79284f;font-size:13px}
.footer-social a:hover{background:#fff0f8;border-color:#d25c94}
.footer-bottom{border-color:#db8eaf;padding-top:18px;color:#834e67}
:where(a,button):focus-visible{outline:2px solid #9c235e;outline-offset:4px}
@media(max-width:900px){.site-header{width:calc(100% - 24px)}.site-header .header-inner{grid-template-columns:116px 1fr auto;padding-inline:20px!important;gap:12px}.site-header .brand-image{width:116px}.site-header .primary-nav ul{gap:0}.site-header .header-actions{gap:8px}.site-header .primary-nav a{padding:10px}.page-main,.commerce-main{padding:26px}}
@media(max-width:600px){
 .site-header{width:calc(100% - 16px);margin-bottom:8px}.site-header .header-inner{grid-template-columns:92px minmax(0,1fr);grid-template-rows:48px 38px;height:110px;min-height:110px;gap:0 8px;padding:8px 12px 16px!important}
 .site-header .brand-image{grid-column:1;grid-row:1/3;width:92px;height:86px}.site-header .brand-image img{width:92px;height:86px}
 .site-header .header-actions{grid-column:2;grid-row:1;justify-self:end;gap:8px}.site-header .primary-nav{grid-column:2;grid-row:2;justify-self:end}.site-header .primary-nav a{font-size:12px;padding:8px 10px}.site-header .primary-nav ul{gap:6px}
 .site-header .gg-cart-link{min-height:36px;padding:6px 9px;gap:6px}.site-header .cart-label{display:none}.site-header .gg-language-switch a{padding:5px 7px;font-size:11px}.site-header .gg-language-switch{flex-direction:row}
 .home .shop-section{padding-top:26px}.home .gg-card-arena.is-ready ul.products li.product{padding:24px!important;height:452px}.home .gg-card-arena .gg-merch-art{height:225px!important}.home .gg-card-arena ul.products li.product .woocommerce-loop-product__title{padding-inline:7px!important;font-size:24px!important}.home .gg-card-arena ul.products li.product .gg-merch-subtitle{padding-inline:7px;font-size:17px}.home .gg-card-arena ul.products li.product .price{padding-inline:7px!important;font-size:26px!important}.home .gg-card-arena ul.products li.product a.button{margin:5px 6px 7px!important;min-height:44px!important;font-size:12px!important;padding:9px 12px!important}
 .page-main,.commerce-main,.error-page{margin:18px 10px 28px;padding:23px 18px 28px!important;width:calc(100% - 20px)!important}.page-content>h1,.commerce-main h1{font-size:34px}
 .woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}.woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:22px;padding:7px}.woocommerce-MyAccount-navigation li{margin:0}.woocommerce-MyAccount-navigation li a{padding:9px 10px!important;font-size:12px}
 .woocommerce-account .gg-loyalty-card,.woocommerce-account .gg-loyalty-hero{padding:18px}.woocommerce-account .gg-loyalty-hero h2{font-size:30px}.woocommerce-account .gg-loyalty-card h3{font-size:25px}
 .site-footer>.shell{padding-inline:20px}.footer-top{flex-direction:column;align-items:flex-start;gap:20px}.footer-brand img{width:82px;height:70px}.footer-identity strong{font-size:24px}.footer-social{width:100%;gap:7px}.footer-social a{padding:9px 11px;font-size:12px}.footer-bottom{gap:12px;flex-wrap:wrap;font-size:10px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}

/* One shared outer width for header, page panels and footer. */
:root{--gg-layout-width:1320px;--gg-layout-gutter:48px}
body>.site-header,
body:not(.gg-entrance)>.page-main,
body:not(.gg-entrance)>.commerce-main,
body:not(.gg-entrance)>.error-page,
body>.site-footer{
 box-sizing:border-box;
 width:calc(100% - var(--gg-layout-gutter))!important;
 max-width:var(--gg-layout-width)!important;
 margin-left:auto!important;
 margin-right:auto!important;
}
.site-footer>.shell{max-width:none;width:100%;box-sizing:border-box}
.site-footer{
 position:relative;
 isolation:isolate;
 background:none;
 border:0;
 border-radius:0;
 box-shadow:none;
 backdrop-filter:none;
 -webkit-backdrop-filter:none;
 overflow:visible;
 padding-top:32px;
}
.site-footer:before{
 content:'';
 position:absolute;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:url('../images/sakura-header-shell.svg') center/100% 100% no-repeat;
 transform:scaleY(-1);
}
@media(max-width:900px){:root{--gg-layout-gutter:24px}}
@media(max-width:600px){:root{--gg-layout-gutter:16px}}
@media(max-width:600px){.home .gg-card-arena ul.products li.product a img{height:225px!important}}

/* Keep product artwork softly rounded inside the RPG card frames. */
.home .gg-card-arena ul.products li.product a img,
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img,
.woocommerce div.product .woocommerce-product-gallery__image,
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product .flex-control-thumbs img,
.wc-block-components-product-image img,
.woocommerce .product-thumbnail img,
.woocommerce-mini-cart-item img{
 border-radius:14px!important;
}
.woocommerce div.product .woocommerce-product-gallery__image{overflow:hidden}

/* Size the artwork itself, so contain letterboxing cannot hide its rounded corners. */
.home .gg-card-arena .gg-product-artwork{
 display:flex;
 align-items:center;
 justify-content:center;
 flex:none;
 height:calc(var(--card-width,334px)*.94);
 margin-bottom:9px;
}
.home .gg-card-arena ul.products li.product a .gg-product-artwork img{
 width:auto!important;
 height:auto!important;
 max-width:100%!important;
 max-height:100%!important;
 aspect-ratio:auto!important;
 margin:0!important;
 border-radius:14px!important;
 background:none!important;
 box-shadow:none!important;
}
@media(max-width:600px){.home .gg-card-arena .gg-product-artwork{height:225px}}
.home .category-filters .gg-category-toggle{display:none}
.gg-category-options{display:contents}
@media(max-width:760px){
  .home .category-filters.has-category-toggle{display:block;width:calc(100% - 24px);max-width:370px;margin-inline:auto}
  .home .category-filters.has-category-toggle .gg-category-toggle{display:flex;justify-content:space-between;width:100%;min-width:0;min-height:54px;padding:12px 24px;cursor:pointer;font-size:21px}
  .home .category-filters.has-category-toggle .gg-category-options{display:none}
  .home .category-filters.has-category-toggle.is-open .gg-category-options{display:flex;flex-direction:column;gap:8px;padding:10px;margin-top:8px;background:rgba(255,237,248,.98);border:1px solid #f58dc5;border-radius:16px;box-shadow:0 8px 24px #81245225}
  .home .category-filters .gg-category-options .filter-chip{width:100%;min-width:0;max-width:none;min-height:48px;flex:none;justify-content:flex-start;padding:12px 20px;white-space:normal;overflow-wrap:anywhere}
  .gg-category-chevron{flex:none;transition:transform .18s ease}
  .category-filters.is-open .gg-category-chevron{transform:rotate(180deg)}
}
@media(prefers-reduced-motion:reduce){.gg-category-chevron{transition:none}}
