/*
Theme Name: Sphere Catalog
Author: Custom theme for Ravi
Description: A responsive, inquiry-only WooCommerce catalog with product galleries, email inquiry forms, and a classic blue-gradient catalog design. No online payments.
Version: 1.5.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: sphere-catalog
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, custom-logo, custom-menu, featured-images
*/
:root{--blue:#4c7397;--ink:#171a1b;--muted:#587486;--line:#ededed;--red:#c72f43}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:150px}body{margin:0;color:var(--ink);background:#fff;font:18px/1.65 'Open Sans',Arial,sans-serif}a{color:var(--muted)}a:hover{color:var(--red)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}h1,h2,h3{line-height:1.35;color:#111;font-weight:700}h1{font-size:clamp(30px,4vw,44px)}h2{font-size:clamp(25px,2.5vw,30px)}h3{font-size:24px}p{margin:0 0 1.4em}.wrap{width:min(1140px,calc(100% - 48px));margin-inline:auto}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;left:15px;top:15px;z-index:10000;background:white;padding:12px}.site-header{position:sticky;top:0;background:linear-gradient(200deg,var(--blue),white);box-shadow:5px 5px 20px #0006;z-index:100;padding:24px 0 6px}.admin-bar .site-header{top:32px}.header-inner{display:flex;gap:24px;align-items:flex-end;min-height:100px}.brand{width:260px;flex-shrink:0;display:flex;gap:12px;align-items:center;text-decoration:none;font-weight:700;font-size:20px;line-height:1.35;color:#111;padding-bottom:7px}.brand-logo{width:92px;height:92px;object-fit:contain;flex-shrink:0}.brand span{overflow-wrap:anywhere}#primary-navigation{margin-left:auto;padding-bottom:12px}.nav-list{list-style:none;display:flex;gap:26px;margin:0;padding:0;align-items:flex-end;flex-wrap:wrap}.nav-list li{list-style:none;position:relative}.nav-list a{color:#111;font-size:17px;line-height:1.4;font-weight:700;text-decoration:none}.nav-list .current-menu-item>a{color:#fff;text-shadow:0 0 5px #0005}.nav-list a:hover{color:var(--red)}.sub-menu{display:none;position:absolute;top:100%;left:-22px;background:#fff;min-width:230px;max-height:65vh;overflow:auto;padding:20px;box-shadow:0 5px 20px #0003;border-top:5px solid var(--blue);margin:0}.sub-menu li{padding:5px 0}.sub-menu .sub-menu{position:static;display:none;box-shadow:none;border:0;padding:5px 0 5px 15px;min-width:0}.nav-list li:hover>.sub-menu,.nav-list li:focus-within>.sub-menu,.nav-list li.submenu-open>.sub-menu{display:block}.submenu-toggle{border:0;background:none;color:#111;padding:0 4px;line-height:1;font-size:17px}.menu-toggle{display:none}.search-toggle{border:0;background:none;margin-bottom:12px;padding:4px;color:#111}.search-panel{background:#eef2f5;padding:20px 0;margin-top:12px}.search-form{display:flex;gap:10px}.search-form label{flex:1}.search-form input{width:100%}.section-header{background:var(--blue);color:white;padding:35px 0}.section-header h1{color:white;margin:0;text-shadow:0 3px 5px #0004}.section-header p{margin:12px 0 0}.section-header a{color:white}.news-list{padding-top:35px;padding-bottom:55px;min-height:55vh}.news-post{padding:0 0 45px;margin-bottom:55px;border-bottom:1px solid var(--line)}.news-post h2 a{text-decoration:none;color:inherit}.news-post .meta{font-weight:700;margin:18px 0 26px}.page-content{padding-block:45px;min-height:55vh}.page-content h1{margin-top:0}.page-content iframe{max-width:100%}.button,.wp-block-button__link{display:inline-block;border:2px solid var(--muted);background:white;color:var(--muted);text-transform:uppercase;text-decoration:none;font-size:14px;line-height:1.5;font-weight:700;padding:12px 18px;cursor:pointer;border-radius:0}.button:hover{background:var(--blue);border-color:var(--blue);color:#fff}.catalog-list{padding-block:30px 55px;min-height:55vh}.catalog-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.catalog-toolbar p{margin:0;font-size:15px}.catalog-toolbar select{max-width:100%;font-size:15px;padding:8px;border:1px solid #ccd4db;background:white}.product-row{display:grid;grid-template-columns:44% 1fr;gap:6%;align-items:start;padding:35px 0 55px;border-bottom:1px solid var(--line)}.product-gallery{position:relative;align-self:center;min-width:0}.product-photo{display:flex;min-height:240px;align-items:center;justify-content:center}.product-photo img{max-height:430px;width:100%;object-fit:contain}.product-details h1,.product-details h2{margin:0 0 12px}.product-details h1 a,.product-details h2 a{color:inherit;text-decoration:none}.product-details .price{color:var(--red);font-size:21px;font-weight:700;margin-bottom:22px}.price del{color:#737373;font-size:.85em;font-weight:400}.price ins{text-decoration:none}.sku{font-size:14px;color:#626b70;margin-bottom:15px}.product-description p{margin-bottom:20px}.stock{margin-top:24px}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.gallery-controls button{border:0;background:#eef1f3;color:#252b2e;font-size:28px;line-height:1;padding:8px 15px}.gallery-controls span{font-size:13px;color:#666}.single-product-content{padding-block:30px 60px}.breadcrumbs{font-size:14px;margin-bottom:10px}.single-product-content .product-row{padding-top:20px}.attributes{padding:25px 0}table{border-collapse:collapse;width:100%}td,th{padding:12px;text-align:left;border-bottom:1px solid var(--line)}.inquiry-panel{max-width:820px;padding-top:30px}.inquiry-panel h2{margin-bottom:8px}.inquiry-form label{display:block;font-size:16px;font-weight:700;margin-bottom:18px}.inquiry-form input:not([type=checkbox]),.inquiry-form textarea,.search-form input{display:block;border:1px solid #aebbc3;background:#fff;border-radius:0;padding:11px;width:100%;margin-top:6px;color:#171a1b}.inquiry-form textarea{resize:vertical}.inquiry-form input[type=number]{max-width:140px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.inquiry-form .consent{display:flex;align-items:flex-start;gap:10px;font-weight:400}.consent input{margin-top:7px;flex-shrink:0}.small{font-size:14px;color:#5c676e}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice{border-left:4px solid var(--blue);background:#edf3f7;padding:16px}.notice.error{border-color:#be3d41;background:#fff0ef}.notice.success{border-color:#2f7951;background:#edf8f0}.site-footer{padding:30px 0;background:#eef1f3;font-size:14px;color:#54626b}.site-footer p{margin:5px 0}.site-footer a{margin-left:10px}.pagination,.woocommerce-pagination{padding:30px 0}.page-numbers{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0}.page-numbers a,.page-numbers.current{padding:8px 13px;border:1px solid #ccd5dc;text-decoration:none}.page-numbers.current{background:var(--blue);color:white}.nav-links{display:flex;gap:20px;flex-wrap:wrap}#photo-dialog{border:0;padding:40px 20px 15px;max-width:95vw;max-height:95vh;background:white;box-shadow:0 15px 70px #0008}#photo-dialog::backdrop{background:#000c}#photo-dialog img{display:block;max-width:87vw;max-height:75vh;object-fit:contain;margin:auto}#photo-dialog p{font-size:14px;text-align:center;margin:10px 0 0}.photo-close{position:absolute;right:5px;top:0;background:none;border:0;font-size:32px;line-height:1.2}.wp-caption{max-width:100%}.alignwide{max-width:100%}.alignleft{float:left;margin:0 25px 20px 0}.alignright{float:right;margin:0 0 20px 25px}.wp-block-image img{height:auto}
@media(max-width:1050px){.header-inner{align-items:center;min-height:85px;flex-wrap:wrap;gap:12px}.brand{width:auto;max-width:calc(100% - 145px);margin-right:auto;font-size:18px}.brand-logo{width:70px;height:70px}.menu-toggle{display:block;background:none;border:0;font-size:17px;padding:10px 4px}.search-toggle{margin:0}#primary-navigation{display:none;flex-basis:100%;order:5;margin:0;padding:10px 0;max-height:65vh;overflow:auto}#primary-navigation.is-open{display:block}.nav-list{display:block}.nav-list>li{padding:9px 0}.sub-menu{position:static;box-shadow:none;max-height:none;background:#f5f7f9;border-top:0;margin-top:10px;padding:8px 20px}.submenu-toggle{padding:5px 12px;float:right}.nav-list li:hover>.sub-menu{display:none}.nav-list li.submenu-open>.sub-menu,.nav-list li:focus-within>.sub-menu{display:block}.nav-list .current-menu-item>a{color:#25485f;text-shadow:none}.site-header{padding-top:10px}.admin-bar .site-header{top:32px}html{scroll-padding-top:115px}}
@media(max-width:650px){body{font-size:16px}.wrap{width:calc(100% - 32px)}.brand{font-size:16px;max-width:calc(100% - 110px)}.brand-logo{width:55px;height:55px}.menu-toggle span{display:none}.header-inner{min-height:70px}.product-row{grid-template-columns:1fr;gap:25px;padding:25px 0 40px}.product-photo{min-height:170px}.product-photo img{max-height:320px}.product-details h1,.product-details h2{font-size:25px}.section-header{padding:27px 0}.form-grid{grid-template-columns:1fr;gap:0}.catalog-toolbar{align-items:flex-start;flex-direction:column}.search-form{flex-direction:column}.admin-bar .site-header{top:46px}.news-post{margin-bottom:35px;padding-bottom:25px}.news-list{padding-top:25px}.brand span{max-width:150px}html{scroll-padding-top:95px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.product-details h1{font-size:clamp(25px,2.5vw,32px)}.product-gallery>img{display:block;max-height:430px;width:100%;object-fit:contain}
/* Customer accounts use WooCommerce's native forms, endpoints, and access checks. */
.woocommerce-account .woocommerce{display:flow-root}.woocommerce-account .woocommerce-MyAccount-navigation{float:left;width:25%;padding-right:25px}.woocommerce-account .woocommerce-MyAccount-navigation ul{padding:0;margin:0;list-style:none;border:1px solid var(--line)}.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;text-decoration:none;border-bottom:1px solid var(--line)}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--blue);color:white}.woocommerce-account .woocommerce-MyAccount-content{float:right;width:73%;overflow-x:auto}.woocommerce-account form.login,.woocommerce-account form.register{border:1px solid #ccd5dc;padding:24px;border-radius:0}.woocommerce-account form .form-row label{display:block}.woocommerce-account form .input-text{border:1px solid #aebbc3;padding:11px;background:white;width:100%}.woocommerce-account .woocommerce form .button{background:white;border:2px solid var(--muted);border-radius:0;color:var(--muted);padding:12px 18px}.woocommerce-account .woocommerce form .button:hover{background:var(--blue);color:white}.woocommerce-account .woocommerce table.shop_table{border-collapse:collapse;border-radius:0;font-size:15px}.woocommerce-account .woocommerce .woocommerce-orders-table .button{font-size:13px;padding:7px 12px}.woocommerce-account .woocommerce-notices-wrapper{clear:both}.woocommerce-account .woocommerce-Addresses{display:flex;gap:20px;flex-wrap:wrap}.woocommerce-account .woocommerce-Address{flex:1;min-width:220px}
@media(max-width:760px){.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;padding:0;margin-bottom:24px}.woocommerce-account #customer_login .col-1,.woocommerce-account #customer_login .col-2{float:none;width:100%;margin-bottom:24px}}
/* Full EEStore wordmark already includes the store name and tagline. */
.brand.brand-wordmark{width:290px;flex:0 0 290px;max-width:calc(100% - 110px);padding:0 0 8px}.brand-wordmark .brand-logo{width:100%;height:auto;max-height:96px;flex:0 1 auto;object-fit:contain}.footer-links{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:16px}.footer-links a{margin:0;font-weight:700;text-decoration:none}.contact-content{max-width:900px}.contact-panel{max-width:100%;padding-top:5px}
@media(max-width:1050px){.brand.brand-wordmark{width:240px;flex:0 1 240px}.brand-wordmark .brand-logo{max-height:80px}}
@media(max-width:650px){.brand.brand-wordmark{width:200px;flex:0 1 200px;padding-bottom:0}.brand-wordmark .brand-logo{max-height:65px}}
/* Upsells and cross-sells are curated catalog links, never cart controls. */
.linked-products{padding:30px 0 35px;border-bottom:1px solid var(--line)}.linked-products>h2{margin:0 0 24px}.linked-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.linked-product-card{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid #e0e5e9}.linked-product-image{display:flex;align-items:center;justify-content:center;height:180px;margin-bottom:16px}.linked-product-image img{width:100%;max-height:180px;object-fit:contain}.linked-product-card h3{font-size:19px;margin:0 0 12px;overflow-wrap:anywhere}.linked-product-card h3 a{text-decoration:none;color:var(--ink)}.linked-product-card h3 a:hover{color:var(--blue)}.linked-product-card .price{color:var(--red);font-weight:700;font-size:17px;margin-bottom:15px}.linked-product-card .button{align-self:flex-start;margin-top:auto;font-size:12px;padding:10px 12px}.linked-stock{font-size:13px;color:#67747c;margin:0 0 14px}
@media(max-width:950px){.linked-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.linked-products-grid{grid-template-columns:1fr}.linked-product-image{height:200px}.linked-product-image img{max-height:200px}}
.nav-list .sc-sale-link>a{color:var(--red)}.sale-count{font-size:15px;color:#5b6972;margin-bottom:8px}.sale-empty{padding:25px 0}
