/*
Theme Name: Shree Ram Glass
Theme URI: https://shreeramcorporate.com
Author: Shree Ram Corporate
Description: Mobile-first glass UI theme for WooCommerce. The home page is the full glass shop app; cart, checkout, My Account, product and blog pages share the same glass header and bottom navigation.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: shree-ram-glass
*/
:root{--ink:#1c2326;--muted:#5d6a6f;--pink:#ff2e63;--accent:#e0214f;--r:26px;--g:rgba(255,255,255,.46);--gb:rgba(255,255,255,.75);--line:rgba(28,35,38,.12);--dk:rgba(28,35,38,.92);--display:Anton,Impact,"Arial Narrow",sans-serif;--sh:0 8px 28px rgba(28,35,38,.10),inset 0 1px 0 rgba(255,255,255,.85)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{background:linear-gradient(165deg,#e8eded,#cbd4d7) fixed}
body{margin:0;color:var(--ink);font:400 15px/1.6 Inter,system-ui,-apple-system,sans-serif;background:transparent;padding-bottom:calc(110px + env(safe-area-inset-bottom,0px));-webkit-font-smoothing:antialiased}
.sg-bg{position:fixed;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(220px 220px at 85% 55%,rgba(255,201,60,.35),transparent 70%)}
.sg-bg::before,.sg-bg::after{content:"";position:absolute;border-radius:50%;filter:blur(30px)}
.sg-bg::before{width:340px;height:340px;right:-120px;top:70px;background:radial-gradient(circle,rgba(255,46,99,.45),transparent 70%)}
.sg-bg::after{width:380px;height:380px;left:-150px;bottom:90px;background:radial-gradient(circle,rgba(123,75,255,.4),transparent 70%)}
a{color:inherit}img{max-width:100%;height:auto}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
h1,h2,.sg-title{font-family:var(--display);font-weight:400;text-transform:uppercase;letter-spacing:.01em;line-height:1.05;text-wrap:balance}
h1,.sg-title{font-size:34px;margin:8px 0 14px}h2{font-size:24px}h3,h4{font-weight:700}
.screen-reader-text{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
/* glass surfaces */
.sg-card,.sg-ib,.sg-brand,.sg-nav,.sg-drawer-panel,.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,.woocommerce ul.products li.product,.woocommerce div.product .woocommerce-tabs .panel,.woocommerce table.shop_table,.cart_totals,#order_review,#payment,.woocommerce-MyAccount-content,.woocommerce form.login,.woocommerce form.register,.woocommerce-checkout .col2-set,.wc-block-components-sidebar,.wc-block-cart__main,.wc-block-checkout__main,.wp-block-woocommerce-cart-order-summary-block,.woocommerce-form-coupon,.woocommerce-order{background:var(--g);border:1px solid var(--gb);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);box-shadow:var(--sh);border-radius:var(--r)}
/* header */
.sg-top{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(10px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 10px max(16px,env(safe-area-inset-left,0px))}
body.admin-bar .sg-top{top:32px;padding-top:10px}
@media (max-width:782px){body.admin-bar .sg-top{top:46px}}
.sg-ib{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;color:var(--ink);text-decoration:none;cursor:pointer;border:1px solid var(--gb);padding:0}
.sg-ib svg,.sg-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sg-right{display:flex;gap:8px}
.sg-brand{display:flex;align-items:center;gap:8px;padding:4px 14px 4px 5px;border-radius:999px;text-decoration:none;min-width:0}
.sg-brand b{font-family:var(--display);font-weight:400;text-transform:uppercase;font-size:16px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.sg-logo{width:34px;height:34px;border-radius:50%;background:var(--dk);color:#fff;display:grid;place-items:center;font-weight:700;font-size:10px;overflow:hidden;flex:0 0 auto}
.sg-logo img{width:100%;height:100%;object-fit:cover}
.sg-badge{position:absolute;top:-4px;right:-4px;background:var(--pink);color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:999px;display:grid;place-items:center;padding:0 4px;font-family:Inter,sans-serif}
.sg-badge[hidden]{display:none}
/* bottom nav */
.sg-nav{position:fixed;left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:60;display:grid;grid-template-columns:repeat(5,1fr);border-radius:30px;padding:6px;box-shadow:0 14px 34px rgba(28,35,38,.2),inset 0 1px 0 rgba(255,255,255,.9)}
.sg-nav a{display:grid;justify-items:center;gap:2px;padding:8px 0 6px;font-size:10.5px;color:var(--muted);font-weight:500;position:relative;border-radius:24px;text-decoration:none}
.sg-nav a.on{color:#fff;background:var(--dk);font-weight:600}
.sg-nav .sg-badge{top:2px;right:auto;left:calc(50% + 6px)}
@media (min-width:700px){.sg-nav{max-width:560px;left:50%;right:auto;width:calc(100% - 24px);transform:translateX(-50%)}}
/* drawer */
.sg-drawer{position:fixed;inset:0;z-index:100;background:rgba(28,35,38,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sg-drawer[hidden]{display:none}
.sg-drawer-panel{width:min(340px,86vw);height:100%;border-radius:0 var(--r) var(--r) 0;padding:calc(20px + env(safe-area-inset-top,0px)) 20px 20px;overflow:auto;background:rgba(236,240,241,.8)}
.sg-drawer ul{list-style:none;margin:16px 0;padding:0}
.sg-drawer li a{display:block;padding:12px 14px;border-radius:16px;text-decoration:none;font-weight:600}
.sg-drawer li a:hover,.sg-drawer li.current-menu-item a,.sg-drawer li.current_page_item a{background:var(--dk);color:#fff}
/* layout */
.sg-main{max-width:1180px;margin:0 auto;padding:8px max(16px,env(safe-area-inset-right,0px)) 24px max(16px,env(safe-area-inset-left,0px))}
.sg-card{padding:20px;margin-bottom:16px}
.woocommerce-cart .sg-card,.woocommerce-checkout .sg-card,.woocommerce-account .sg-card{background:none;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;padding:0}
.sg-content>*:first-child{margin-top:0}
.sg-content a{text-decoration:underline}
.sg-post{display:block;text-decoration:none}.sg-post h2{margin:0 0 6px;font-size:22px}
.sg-foot{max-width:1180px;margin:0 auto;padding:8px 16px 16px;text-align:center;color:var(--muted);font-size:12px}
/* forms and buttons */
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=search],input[type=url],textarea,select,.wc-block-components-text-input input,.wc-blocks-components-select__select,.wc-block-components-combobox input{background:rgba(255,255,255,.55)!important;border:1px solid var(--gb)!important;border-radius:18px!important;padding:13px 16px;color:var(--ink)!important;width:100%;font:inherit;outline:0;box-shadow:none}
input:focus,textarea:focus,select:focus{border-color:var(--ink)!important}
input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--ink)}
label{font-weight:600;font-size:13px}
.button,input[type=submit],button[type=submit],.wp-element-button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button:not(.is-link){display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--dk)!important;color:#fff!important;font:600 14px/1 Inter,sans-serif;padding:14px 22px;border:0;border-radius:999px!important;cursor:pointer;text-decoration:none!important;box-shadow:0 8px 20px rgba(28,35,38,.25)}
.button.alt,.single_add_to_cart_button,#place_order,.woocommerce a.button.alt,.woocommerce button.button.alt,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--accent)!important;box-shadow:0 10px 22px rgba(224,33,79,.35)}
#place_order,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{width:100%;padding:18px 22px;font-size:15px}
/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{list-style:none;padding:14px 18px;margin:0 0 14px;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.woocommerce-error{border-color:rgba(214,32,79,.4);color:#a3173b}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
/* shop grid */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;margin:0 0 20px;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{position:relative;padding:10px 10px 14px;margin:0!important;width:auto!important;float:none!important;min-width:0}
.woocommerce ul.products li.product img{border-radius:20px;width:100%;aspect-ratio:1;object-fit:cover;margin:0 0 4px}
.woocommerce-loop-product__title{font-family:var(--display);font-weight:400;text-transform:uppercase;font-size:16px!important;letter-spacing:.02em;padding:8px 0 2px!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)!important;font-weight:700}
.woocommerce ul.products li.product .price del{color:var(--muted);font-weight:400}
.woocommerce ul.products li.product .button{margin-top:8px;padding:11px 16px;font-size:12px}
.woocommerce span.onsale{position:absolute;left:18px;top:18px;z-index:2;min-width:0;min-height:0;line-height:1;padding:6px 10px;border-radius:999px;background:var(--dk);color:#fff;font-size:11px;font-weight:600;margin:0}
.woocommerce-result-count{color:var(--muted);font-size:12px;float:none;margin:0 0 10px}
.woocommerce-ordering{float:none;margin:0 0 14px}.woocommerce-ordering select{width:auto}
.woocommerce-breadcrumb{font-size:12px;color:var(--muted);margin:0 0 8px}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:8px;justify-content:center;border:0;margin:20px 0}
.woocommerce nav.woocommerce-pagination ul li{border:0;overflow:visible}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:var(--g);border:1px solid var(--gb);border-radius:999px;min-width:40px;padding:10px 14px;color:var(--ink)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--dk);color:#fff}
/* single product */
.woocommerce div.product{display:grid;gap:20px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0!important;min-width:0}
.woocommerce div.product div.images img{border-radius:var(--r)}
.woocommerce div.product .product_title{font-size:34px;margin:0 0 8px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-family:var(--display);font-size:34px;font-weight:400!important}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}
.woocommerce div.product form.cart .variations{width:100%;border:0}.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:4px 0;border:0;text-align:left}
.woocommerce .quantity .qty{width:84px;text-align:center}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:8px;flex-wrap:wrap;padding:0;margin:0 0 12px;list-style:none;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--g);border:1px solid var(--gb);border-radius:999px;margin:0;padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:9px 16px;font-weight:600;font-size:13px;text-decoration:none;display:block}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--dk)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.woocommerce div.product .woocommerce-tabs .panel{padding:20px;margin:0}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
.woocommerce .star-rating{color:var(--ink)}
/* cart, checkout, account (classic) */
.woocommerce table.shop_table{border-collapse:separate;border-spacing:0;overflow:hidden;width:100%}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px 14px;border-top:1px solid var(--line);border-left:0;border-right:0}
.woocommerce table.shop_table thead th,.woocommerce table.shop_table tr:first-child td{border-top:0}
.woocommerce table.shop_table td.product-thumbnail img{width:64px;border-radius:14px}
.cart_totals,#order_review{padding:16px;float:none!important;width:100%!important}
.cart_totals h2,#order_review_heading{font-size:22px}
.woocommerce-checkout .col2-set{width:100%!important;float:none!important;padding:16px;margin-bottom:16px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none!important;width:100%!important}
.woocommerce form .form-row{padding:0;margin:0 0 12px}
.woocommerce form .form-row label{display:block;margin-bottom:6px}
#payment{padding:12px;background:var(--g)!important}
#payment ul.payment_methods{border:0!important;padding:0!important;list-style:none}
#payment div.payment_box{background:rgba(255,255,255,.55)!important;color:var(--ink);border-radius:18px}
#payment div.payment_box::before{display:none}
.woocommerce-MyAccount-navigation ul{display:flex;gap:8px;overflow-x:auto;list-style:none;padding:0;margin:0 0 14px;scrollbar-width:none}
.woocommerce-MyAccount-navigation li a{display:block;white-space:nowrap;padding:9px 16px;border-radius:999px;background:var(--g);border:1px solid var(--gb);font-weight:600;font-size:13px;text-decoration:none}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--dk);color:#fff}
.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{float:none!important;width:100%!important}
.woocommerce-MyAccount-content{padding:20px}
.woocommerce form.login,.woocommerce form.register{padding:20px;border-radius:var(--r)}
.woocommerce-order{padding:20px}
/* checkout and cart blocks */
.wc-block-cart__main,.wc-block-checkout__main{padding:16px}
.wc-block-components-sidebar{padding:16px}
.wc-block-components-totals-wrapper{border-color:var(--line)!important}
.wc-block-components-product-name{font-weight:700;text-decoration:none}
.wc-block-components-product-metadata,.wc-block-components-totals-item__description{color:var(--muted)}
.wc-block-cart-items img,.wc-block-components-order-summary img{border-radius:14px}
.wc-block-components-radio-control__option,.wc-block-components-radio-control-accordion-option{border-radius:18px!important}
.wc-block-components-notice-banner{border-radius:18px!important}
/* desktop */
@media (min-width:760px){
h1,.sg-title{font-size:46px}
.sg-top{padding-left:max(32px,env(safe-area-inset-left,0px));padding-right:max(32px,env(safe-area-inset-right,0px))}
.sg-main{padding-left:32px;padding-right:32px}
.woocommerce ul.products{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}
.woocommerce div.product{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.woocommerce-cart .sg-main,.woocommerce-account .sg-main{max-width:980px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
