/* Crystore storefront: product-first layout, scoped to the header and homepage. */
.crystore-site .cs-storefront .woocommerce ul.cs-product-grid li.cs-catalog-card{border:0!important}
.crystore-site .cs-storefront .cs-catalog-image{border:0;box-shadow:none;border-radius:12px}
.crystore-site .cs-header-inner{display:grid;grid-template-columns:216px minmax(0,1fr);gap:48px;height:92px;min-height:92px}
.crystore-site .cs-header-actions{display:grid;grid-template-columns:minmax(200px,560px) 44px 44px;justify-content:end;align-items:center;gap:16px;margin:0;width:100%}
.crystore-site .cs-header-search{display:flex;width:100%;max-width:none;margin:0}
.crystore-site .cs-header-search input[type=search]{height:46px;padding:10px 48px 10px 16px;font-size:14px;border-radius:10px;background:#f7f8fa;border-color:#e2e5ec}
.crystore-site .cs-header-search button{width:40px;height:40px;right:3px;padding:10px;display:grid;place-items:center}
.crystore-site .cs-header-search button .cs-icon{width:20px;height:20px}
.crystore-site .cs-header .cs-icon-button{width:44px;height:44px;min-height:44px;border:1px solid #e8eaf0;border-radius:10px}
.crystore-site .cs-header .cs-icon-button:hover{background:#f5f5ff!important}
.crystore-site .cs-header .cs-menu-toggle{display:none}
.cs-commerce-nav{display:flex;align-items:center;gap:28px;height:48px;border-top:1px solid #f1f2f5;font-size:13px;font-weight:600;white-space:nowrap}
.cs-commerce-nav a{display:flex;align-items:center;min-height:44px}.cs-commerce-nav a:first-child{color:#4f46e5}.cs-commerce-nav-spacer{flex:1}
.cs-storefront{padding-bottom:48px}.cs-storefront h1,.cs-storefront h2,.cs-storefront h3{letter-spacing:0}
.cs-store-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-block:30px 22px}
.cs-store-intro h1{font-size:29px;font-weight:700;line-height:1.4}.cs-store-intro p{margin:6px 0 0;color:#657083;font-size:14px}
.cs-store-text-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:13px;color:#596277;white-space:nowrap}.cs-store-text-link .cs-icon{width:16px;height:16px}
.cs-store-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cs-store-category{display:flex;align-items:center;gap:12px;padding:19px 16px;border:1px solid var(--cs-category-line);border-radius:12px;background:var(--cs-category-bg);min-width:0;transition:border-color .15s,background .15s}
.cs-store-category.cs-tone-indigo{--cs-category-bg:#f3f0ff;--cs-category-line:#e7dfff;--cs-category-ink:#6d47c7}
.cs-store-category.cs-tone-peach{--cs-category-bg:#fff5eb;--cs-category-line:#f5e3ce;--cs-category-ink:#b56a24}
.cs-store-category.cs-tone-mint{--cs-category-bg:#f0f8f3;--cs-category-line:#dcece2;--cs-category-ink:#398164}
.cs-store-category.cs-tone-blue{--cs-category-bg:#eff6ff;--cs-category-line:#dce8fa;--cs-category-ink:#3979ba}
.cs-store-category:hover{border-color:var(--cs-category-ink);color:inherit!important}.cs-store-category-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#ffffffb3;color:var(--cs-category-ink);flex:none}
.cs-store-category-icon .cs-icon{width:23px;height:23px}.cs-store-category strong{display:block;color:#242c3b;font-size:16px;font-weight:650;line-height:1.5}.cs-store-category small{display:block;color:#697184;font-size:11px;margin-top:3px;line-height:1.6}.cs-store-category .cs-category-arrow{width:15px;height:15px;margin-left:auto;color:var(--cs-category-ink)}
.cs-store-selection,.cs-store-more{padding-top:30px}.cs-store-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.cs-store-section-heading h2{font-size:23px;line-height:1.5}.cs-store-section-heading p{font-size:12px;margin:4px 0 0;color:#727b8c}
.cs-storefront .woocommerce ul.cs-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px;margin:0!important;padding:0!important;list-style:none!important;clear:both}
.cs-storefront .woocommerce ul.cs-product-grid:before,.cs-storefront .woocommerce ul.cs-product-grid:after{display:none!important}
.cs-storefront .woocommerce ul.cs-product-grid li.cs-catalog-card{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:none!important;border:1px solid #e6e9ef;border-radius:12px;background:#fff;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.cs-storefront .woocommerce ul.cs-product-grid li.cs-catalog-card:hover{border-color:#b9bcea;box-shadow:none!important}
.cs-storefront .cs-catalog-image{display:block;position:relative;background:#f7f8fa;aspect-ratio:1/1;overflow:hidden;border-bottom:1px solid #eff0f4}
.cs-storefront .woocommerce ul.products li.product .cs-catalog-image img{width:100%;height:100%;object-fit:contain;display:block;margin:0!important;padding:0;border-radius:0;aspect-ratio:auto;box-shadow:none;transition:transform .2s}
.cs-storefront .cs-catalog-image:hover img{transform:none}
.cs-product-tag{position:absolute;top:12px;left:12px;padding:3px 8px;border:1px solid #e1e4ed;border-radius:5px;background:#ffffffed;color:#657083;font-size:10px;font-weight:500;line-height:1.7}
.cs-catalog-details{padding:16px;display:flex;flex:1;flex-direction:column;min-width:0}.cs-catalog-category{color:#7a8292;font-size:11px;margin-bottom:5px}
.cs-storefront .cs-catalog-details h3{font-size:16px;line-height:1.65;font-weight:650;min-height:52px;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cs-catalog-description{font-size:12px;color:#7b8494;line-height:1.7;margin:0 0 12px!important;min-height:40px}
.cs-catalog-price{font-size:18px;font-weight:700;color:#111827;line-height:1.5;margin-top:auto;margin-bottom:14px;min-height:27px}.cs-catalog-price del{font-size:12px;color:#8d94a2;margin-right:6px;font-weight:400}.cs-catalog-price ins{background:none;text-decoration:none}.cs-catalog-price .woocommerce-Price-currencySymbol{font-size:.75em;margin-right:3px}
.cs-storefront .cs-catalog-action a.button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 12px!important;margin:0!important;border:1px solid #dedff9!important;border-radius:8px!important;background:#f2f2ff!important;color:#4f46e5!important;font-size:13px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:0;box-shadow:none!important}
.cs-storefront .cs-catalog-action a.button:hover{background:#6366f1!important;border-color:#6366f1!important;color:#fff!important;transform:none!important}.cs-storefront .cs-catalog-action .added_to_cart{display:block;text-align:center;font-size:12px;margin-top:8px;color:#4f46e5;text-decoration:underline}
.cs-store-empty{padding:32px;border:1px solid #e6e9ef;background:#f7f8fa;border-radius:12px}.cs-store-empty h3{font-size:18px}.cs-store-empty p{font-size:14px;color:#657083;margin-top:8px}
.cs-custom-request{margin-top:40px;padding:24px 28px;display:flex;align-items:center;gap:18px;border:1px solid #dce8fa;border-radius:12px;background:#f5f9ff}
.cs-custom-icon{display:grid;place-items:center;color:#3979ba;background:#e8f1ff;border-radius:12px;width:48px;height:48px;flex:none}.cs-custom-request h2{font-size:19px}.cs-custom-request p{font-size:13px;color:#657083;margin:6px 0 0}.cs-custom-request .cs-button{margin-left:auto;font-size:13px;gap:10px;flex:none;background:#fff}
.cs-store-help{padding-top:42px}.cs-store-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e6e9ef;border-radius:12px;overflow:hidden}
.cs-store-help-grid>a{padding:24px;display:block;position:relative;background:#fff;border-right:1px solid #e6e9ef}.cs-store-help-grid>a:last-child{border:0}.cs-store-help-grid>a:hover{background:#fafbff;color:inherit}.cs-store-help-grid>a>.cs-icon{width:23px;height:23px;color:#7a82a0;margin-bottom:12px}.cs-store-help-grid h3{font-size:16px;margin:0 0 7px}.cs-store-help-grid p{font-size:13px;line-height:1.8;color:#657083;min-height:47px;margin:0 0 12px}.cs-store-help-grid span{font-size:12px;color:#4f46e5}
.cs-store-policy-links{display:flex;gap:24px;justify-content:center;padding-top:18px;font-size:12px;color:#657083}.cs-store-policy-links a{min-height:44px;display:flex;align-items:center}
@media(max-width:1100px){.crystore-site .cs-header-inner{gap:28px}.cs-commerce-nav{gap:19px}.cs-store-category{padding:16px 12px;gap:9px}.cs-store-category small{font-size:10px}.cs-store-category .cs-category-arrow{display:none}.cs-storefront .woocommerce ul.cs-product-grid{gap:14px}.cs-catalog-details{padding:12px}.cs-store-intro h1{font-size:27px}}
@media(max-width:1024px){.crystore-site .cs-header-inner{grid-template-columns:190px minmax(0,1fr);gap:20px}.crystore-site .cs-header .cs-brand-horizontal{width:190px}.crystore-site .cs-header-actions{grid-template-columns:minmax(120px,1fr) 44px 44px 44px;gap:8px}.crystore-site .cs-header .cs-menu-toggle{display:inline-flex}.cs-commerce-nav{display:none}.cs-store-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-storefront .woocommerce ul.cs-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cs-mobile-search{display:none!important}.cs-store-help-grid>a{padding:20px}.cs-custom-request{flex-wrap:wrap}.cs-custom-request .cs-button{margin-left:auto}}
@media(max-width:767px){.crystore-site .cs-container{width:calc(100% - 32px)}.crystore-site .cs-header-inner{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) repeat(3,44px);grid-template-rows:auto 44px;gap:10px 4px;padding-block:10px 12px}.crystore-site .cs-header .cs-brand{grid-row:1;grid-column:1}.crystore-site .cs-header .cs-brand-horizontal{width:160px;max-width:100%}.crystore-site .cs-header-actions{display:contents}.crystore-site .cs-header-search{display:flex!important;grid-row:2;grid-column:1/-1}.crystore-site .cs-header-search input[type=search]{height:44px;font-size:16px}.crystore-site .cs-account-link{grid-row:1;grid-column:2}.crystore-site .cs-cart-link{grid-row:1;grid-column:3}.crystore-site .cs-header .cs-menu-toggle{grid-row:1;grid-column:4}.crystore-site .cs-header .cs-icon-button{border:0}.cs-store-intro{padding-block:22px 17px;display:block}.cs-store-intro h1{font-size:23px}.cs-store-intro p{font-size:13px;margin-top:4px}.cs-store-intro>.cs-store-text-link{display:none}.cs-store-categories{gap:10px}.cs-store-category{padding:14px 10px;gap:8px;min-height:74px;border-radius:10px}.cs-store-category-icon{width:30px;height:34px;border-radius:8px}.cs-store-category-icon .cs-icon{width:20px;height:20px}.cs-store-category strong{font-size:14px}.cs-store-category small{display:none}.cs-store-selection,.cs-store-more{padding-top:24px}.cs-store-section-heading{gap:12px;margin-bottom:14px}.cs-store-section-heading h2{font-size:21px}.cs-store-section-heading p{font-size:11px;max-width:260px}.cs-store-text-link{font-size:12px}.cs-storefront .woocommerce ul.cs-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.cs-storefront .cs-catalog-image{aspect-ratio:1}.cs-storefront .woocommerce ul.products li.product .cs-catalog-image img{padding:0}.cs-product-tag{left:8px;top:8px;font-size:9px;padding:2px 6px}.cs-catalog-details{padding:11px}.cs-catalog-category{font-size:10px}.cs-storefront .cs-catalog-details h3{font-size:14px;min-height:46px;margin-bottom:5px}.cs-catalog-description{font-size:11px;min-height:38px;margin-bottom:10px!important}.cs-catalog-price{font-size:16px;margin-bottom:10px;min-height:24px}.cs-storefront .cs-catalog-action a.button{font-size:12px!important;padding:8px!important}.cs-custom-request{margin-top:28px;padding:20px;gap:12px}.cs-custom-icon{width:38px;height:38px}.cs-custom-request>div{flex:1;min-width:190px}.cs-custom-request h2{font-size:18px}.cs-custom-request p{font-size:12px}.cs-custom-request .cs-button{width:100%;margin:3px 0 0;min-height:44px}.cs-store-help{padding-top:30px}.cs-store-help-grid{grid-template-columns:1fr}.cs-store-help-grid>a{padding:20px 20px 20px 58px;border-right:0;border-bottom:1px solid #e6e9ef}.cs-store-help-grid>a>.cs-icon{position:absolute;left:20px;top:23px;width:20px;height:20px}.cs-store-help-grid h3{font-size:15px}.cs-store-help-grid p{min-height:0;font-size:12px;margin-bottom:7px}.cs-store-policy-links{gap:20px}.cs-storefront{padding-bottom:26px}}
@media(max-width:359px){.crystore-site .cs-header .cs-brand-horizontal{width:136px}.cs-store-intro h1{font-size:20px}.cs-store-category{gap:6px;padding-inline:8px}.cs-store-category strong{font-size:13px}.cs-store-category-icon{width:26px}.cs-catalog-details{padding:9px}.cs-storefront .cs-catalog-details h3{font-size:13px}.cs-storefront .woocommerce ul.cs-product-grid{gap:10px}}
@media(prefers-reduced-motion:reduce){.cs-storefront *{transition:none!important}}

/* Keep the member entry available alongside cart and menu on narrow screens. */
.crystore-site .cs-header .cs-account-link{display:inline-flex}

