/* =========================================================
   PSXKerman – WooCommerce pages (shop, product, cart, checkout, account)
   ========================================================= */
:root{--ok:#1a9e5a;--ok-bg:#e7f6ee;--warn:#b7791f;--warn-bg:#fff5df;--bad:#c62828;--bad-bg:#fdecec;--soft:#f6f7f8;--shadow:0 10px 30px rgba(42,64,79,.08)}
.shop-main{padding:10px 0 70px}
.shop-main .cat-chips{margin-top:34px}
.wc-page{padding-top:40px}
.wc-content{font-size:15px;line-height:1.9}
.wc-content a{color:var(--brand)}
.gl-hidden-row,.gl-select-hidden{display:none!important}

/* ---------- inputs ---------- */
.woocommerce form .form-row{padding:0;margin:0 0 16px}
.woocommerce form .form-row label{font-weight:600;font-size:13.5px;margin-bottom:6px;display:block;color:var(--ink)}
.woocommerce form .form-row .required{color:var(--bad);text-decoration:none;border:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.gl-acc-content input[type=text],.gl-acc-content input[type=email],.gl-acc-content input[type=password],.gl-acc-content input[type=tel],
.gl-auth input.input-text,.woocommerce .select2-container .select2-selection--single{width:100%;border:1.5px solid var(--line)!important;border-radius:14px!important;padding:12px 16px!important;background:#fff!important;min-height:50px;font-size:15px;transition:border-color .2s,box-shadow .2s;box-shadow:none}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus,.gl-auth input.input-text:focus{outline:0;border-color:var(--brand)!important;box-shadow:0 0 0 4px rgba(44,81,106,.12)}
.woocommerce .select2-container .select2-selection--single{display:flex;align-items:center;padding:0 16px!important}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{padding:0!important;line-height:46px;color:var(--ink)}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{height:48px;left:10px;right:auto}
.select2-dropdown{border:1.5px solid var(--line)!important;border-radius:14px!important;overflow:hidden;font-family:Vazirmatn,Tahoma,sans-serif}
.select2-results__option--highlighted[aria-selected],.select2-results__option--highlighted[data-selected]{background:var(--brand)!important}
.select2-search--dropdown .select2-search__field{border-radius:10px;border:1px solid var(--line)!important;padding:8px!important}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--bad)!important}
.woocommerce form .form-row.woocommerce-validated input.input-text{border-color:#b9dfc9!important}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 8px)!important}
.woocommerce form .form-row-first{float:right!important}.woocommerce form .form-row-last{float:left!important}
.woocommerce-ordering select,.woocommerce select{border:1px solid var(--line);border-radius:999px;padding:8px 16px;background:#fff;min-height:42px}
.woocommerce form .form-row .input-checkbox,.woocommerce input[type=checkbox]{accent-color:var(--brand);width:18px;height:18px;vertical-align:middle}

/* ---------- buttons ---------- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button:not(.is-link){border-radius:999px!important;font-family:Vazirmatn,Tahoma,sans-serif!important;font-weight:700!important;padding:11px 26px!important;background:#fff;color:var(--ink);border:1.5px solid var(--ink)!important;transition:.2s;line-height:1.6}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--ink)!important;color:#fff!important}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce .checkout-button,.woocommerce #place_order,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce #place_order:hover,.woocommerce .checkout-button:hover{background:var(--brand)!important;border-color:var(--brand)!important;transform:translateY(-1px);box-shadow:0 10px 24px rgba(44,81,106,.25)}
.woocommerce .button:disabled,.woocommerce button.button.disabled,.woocommerce button.button:disabled[disabled]{opacity:.45!important;padding:11px 26px!important}
.gl-pill-light{background:#fff!important;color:var(--brand)!important;border-color:#fff!important}
.gl-pill-light:hover{background:transparent!important;color:#fff!important}

/* ---------- notices ---------- */
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-info,.woocommerce-message,.woocommerce-error,.wc-block-components-notice-banner{border:0!important;border-radius:18px!important;background:var(--card)!important;color:var(--ink)!important;padding:16px 54px 16px 20px!important;font-size:14px;margin:0 0 20px!important;list-style:none;position:relative;line-height:1.9}
.woocommerce-message{background:var(--ok-bg)!important}
.woocommerce-error{background:var(--bad-bg)!important}
.woocommerce-info::before,.woocommerce-message::before,.woocommerce-error::before{right:20px!important;left:auto!important;top:16px!important;color:var(--brand)!important}
.woocommerce-message::before{color:var(--ok)!important}.woocommerce-error::before{color:var(--bad)!important}
.woocommerce-error li{margin:0!important;padding:0!important}
.woocommerce-message .button,.woocommerce-info .button{float:left!important;padding:4px 18px!important;font-size:13px;margin-right:10px}
.woocommerce-info a:not(.button),.woocommerce-message a:not(.button){color:var(--brand);font-weight:700}

/* ---------- step bar (cart → checkout → done) ---------- */
.gl-steps{display:flex;align-items:center;justify-content:center;gap:0;margin:0 auto 34px;max-width:620px;width:100%;counter-reset:s}
.gl-steps li{display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;color:var(--muted);flex:1;justify-content:center;position:relative;white-space:nowrap}
.gl-steps li+li::before{content:"";position:absolute;right:-50%;width:calc(100% - 120px);margin-right:60px;height:2px;background:var(--line);top:50%;transform:translateY(-50%)}
.gl-steps li span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--card);color:var(--muted);font-size:15px;flex:none}
.gl-steps li span .ico{width:18px;height:18px}
.gl-steps li.on{color:var(--ink)}
.gl-steps li.on span{background:var(--ink);color:#fff;box-shadow:0 0 0 6px rgba(42,64,79,.1)}
.gl-steps li.done{color:var(--ok)}
.gl-steps li.done span{background:var(--ok);color:#fff}
.gl-steps li.done+li::before,.gl-steps li.done+li.done::before{background:var(--ok)}

/* ---------- product grid ---------- */
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)!important}
.woocommerce ul.products li.product .price del,.woocommerce div.product p.price del{color:#9aa6ae!important;opacity:1}
.woocommerce .woocommerce-result-count{float:none;margin:0;color:var(--muted);font-size:14px}
.woocommerce .woocommerce-ordering{float:none;margin:0}
.woocommerce-products-header{display:none}
.shop-main .woocommerce-result-count,.shop-main .woocommerce-ordering{display:inline-block;vertical-align:middle;margin-bottom:26px}
.shop-main .woocommerce-ordering{float:left!important}
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:28px 26px;margin:0 0 30px!important;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;padding:0!important;text-align:center}
.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
.woocommerce-pagination ul.page-numbers{display:flex!important;justify-content:center;gap:8px;border:0!important}
.woocommerce-pagination ul.page-numbers li{border:0!important}
.woocommerce-pagination .page-numbers a,.woocommerce-pagination .page-numbers span{min-width:44px;height:44px;border-radius:999px;display:grid!important;place-items:center;background:var(--card);font-weight:600;padding:0 12px!important}
.woocommerce-pagination .page-numbers span.current{background:var(--ink)!important;color:#fff!important}

/* ---------- single product ---------- */
.single-product div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:50px;margin-top:10px}
.single-product div.product>*{width:auto!important;float:none!important;margin:0!important}
.single-product div.product .woocommerce-product-gallery{grid-column:1;grid-row:1/span 2;position:relative}
.single-product div.product .summary{grid-column:2;grid-row:1;align-self:start;position:static}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells,.single-product div.product .up-sells{grid-column:1/-1}
.single-product div.product span.onsale{position:absolute;top:16px!important;right:16px!important;left:auto!important;z-index:9;min-height:0;min-width:0;line-height:1.6;padding:4px 14px;border-radius:999px;background:var(--ink);font-size:12px;margin:0!important}
.woocommerce-product-gallery__wrapper{border-radius:var(--r);overflow:hidden}
.woocommerce-product-gallery .woocommerce-product-gallery__image{background:var(--card);border-radius:var(--r)}
.woocommerce-product-gallery .woocommerce-product-gallery__image img{object-fit:contain;max-height:620px;padding:30px}
.woocommerce-product-gallery .flex-control-thumbs{display:flex!important;gap:10px;margin-top:12px!important;flex-wrap:wrap}
.woocommerce-product-gallery .flex-control-thumbs li{width:84px!important;float:none!important;margin:0!important;background:var(--card);border-radius:16px;overflow:hidden;padding:6px}
.woocommerce-product-gallery .flex-control-thumbs img{opacity:.55;border-radius:10px}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1}
.woocommerce-product-gallery__trigger{left:16px!important;right:auto!important;top:16px!important;background:#fff!important;border-radius:50%!important}
.single-product .product_title{font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.5;margin-bottom:8px!important}
.single-product .summary .price{justify-content:flex-start;font-size:26px!important;font-weight:800;color:var(--ink)!important;margin:12px 0 16px!important;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.single-product .summary .price del{font-size:15px;font-weight:500}
.single-product .woocommerce-product-details__short-description{color:var(--muted);margin-bottom:20px;font-size:14.5px;line-height:2}
.single-product .woocommerce-product-details__short-description a{color:var(--brand);font-weight:600}
.single-product .woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin-bottom:6px!important}
.woocommerce .star-rating{color:#f5a623;float:none!important}
.single-product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 10px!important;background:var(--soft);border-radius:22px;padding:16px}
.single-product form.cart .quantity{margin:0!important;float:none!important}
.single-product form.cart .single_add_to_cart_button{padding:13px 40px!important;font-size:16px;float:none!important;flex:1;min-width:200px;background:var(--ink)!important;color:#fff!important}
.single-product form.cart .single_add_to_cart_button:hover{background:var(--brand)!important}
.single-product form.variations_form{display:block}
.single-product table.variations{margin-bottom:6px!important;border:0}
.single-product table.variations tr{display:block;margin-bottom:8px}
.single-product table.variations th,.single-product table.variations td{display:block;text-align:right!important;padding:4px 0!important;border:0!important;background:none!important}
.single-product table.variations th label{font-weight:800;font-size:14px}
.single-product table.variations select{width:100%;max-width:340px;border-radius:14px!important}
.single-product .reset_variations{display:none!important}
.single-product .woocommerce-variation-add-to-cart{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.single-product .single_variation_wrap{width:100%}
.single-product .woocommerce-variation-price .price{font-size:22px!important;margin:6px 0 10px!important}
.single-product .stock{font-weight:700;font-size:13.5px}
.single-product .stock.in-stock{color:var(--ok)}
.single-product .stock.out-of-stock{color:var(--bad)}
.gl-pills{display:flex;flex-wrap:wrap;gap:10px}
.gl-pill{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:110px;padding:10px 18px;border-radius:16px;border:1.5px solid var(--line);background:#fff;font-weight:700;font-size:14px;color:var(--ink);transition:.15s;line-height:1.5}
.gl-pill small{font-size:11px;font-weight:600;color:var(--bad)}
.gl-pill:hover{border-color:var(--brand)}
.gl-pill.on{border-color:var(--ink);background:var(--ink);color:#fff;box-shadow:0 8px 20px rgba(42,64,79,.22)}
.gl-pill.on small{color:#ffd0d0}
.gl-pill.oos{opacity:.6;border-style:dashed}
.single-product .product_meta{margin-top:20px;font-size:13px;color:var(--muted);display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:16px}
.single-product .product_meta a{color:var(--brand)}
.woocommerce div.product .woocommerce-tabs{margin-top:40px!important;background:var(--card);border-radius:var(--r);padding:20px 30px 30px}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:6px;padding:0!important;margin:0 0 20px!important;flex-wrap:wrap}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;border-radius:999px!important;margin:0!important;padding:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:8px 22px!important;font-weight:600!important;color:var(--muted)!important;border-radius:999px}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--ink);color:#fff!important}
.woocommerce div.product .woocommerce-tabs .panel{line-height:2.1;background:#fff;border-radius:22px;padding:24px 28px;margin:0!important}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:21px;margin:0 0 10px;font-weight:800}
.woocommerce div.product .woocommerce-tabs .panel h3{font-size:17px;margin:20px 0 6px;font-weight:800}
.woocommerce div.product .woocommerce-tabs .panel ul{list-style:disc;padding-right:20px}
.woocommerce table.shop_attributes{border:0;margin:0}
.woocommerce table.shop_attributes tr:nth-child(even) th,.woocommerce table.shop_attributes tr:nth-child(even) td{background:var(--soft)!important}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border:0!important;padding:12px 16px!important;background:none!important;font-style:normal}
.woocommerce table.shop_attributes th{width:200px;font-weight:700;color:var(--muted)}
.woocommerce table.shop_attributes td p{padding:0;margin:0}
#reviews .commentlist{display:flex;flex-direction:column;gap:14px;padding:0!important}
#reviews .comment_container{background:var(--soft);border-radius:20px;padding:16px}
#reviews .comment-text{border:0!important;margin:0 60px 0 0!important}
#reviews img.avatar{right:16px!important;left:auto!important;border-radius:50%;border:0!important;padding:0!important}
.related>h2,.upsells>h2,.up-sells>h2,.cross-sells>h2{font-family:var(--head-font);font-size:30px;margin:50px 0 24px}
body.font-lalezar .related>h2,body.font-lalezar .upsells>h2,body.font-lalezar .cross-sells>h2{font-weight:400}

/* digital account product */
.gla-info{margin:0 0 16px;display:flex;flex-direction:column;gap:10px}
.gla-deliver{background:linear-gradient(135deg,#eaf4ff,#f2f8ff);border-radius:16px;padding:12px 16px;font-size:13.5px;color:#1c4d78;font-weight:600;line-height:1.9}
.gla-caps-help{background:var(--soft);border-radius:16px;padding:12px 16px;font-size:13.5px}
.gla-caps-help ul{margin-top:4px;display:flex;flex-direction:column;gap:2px}

/* ---------- tables (cart, orders, review) ---------- */
.woocommerce table.shop_table{border:0!important;border-radius:0!important;border-collapse:collapse!important;margin:0!important;width:100%}
.woocommerce table.shop_table th{font-weight:700;font-size:13px;color:var(--muted);background:none;padding:12px 14px!important;border:0!important;border-bottom:1px solid var(--line)!important}
.woocommerce table.shop_table td{padding:16px 14px!important;border:0!important;border-bottom:1px solid var(--line)!important;vertical-align:middle}
.woocommerce table.shop_table tbody tr:last-child td{border-bottom:0!important}

/* ---------- cart ---------- */
.woocommerce-cart .wc-content>.woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:30px;align-items:start}
.woocommerce-cart .wc-content>.woocommerce>.gl-steps,.woocommerce-cart .wc-content>.woocommerce>.woocommerce-notices-wrapper,.woocommerce-cart .wc-content>.woocommerce>.cart-empty,.woocommerce-cart .wc-content>.woocommerce>.return-to-shop,.woocommerce-cart .wc-content>.woocommerce>.wc-empty-cart-message{grid-column:1/-1}
.woocommerce-cart-form{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:10px 22px;box-shadow:var(--shadow)}
.woocommerce table.cart thead{display:none}
.woocommerce table.cart td.product-thumbnail{width:96px}
.woocommerce table.cart img{width:84px!important;height:84px;object-fit:contain;border-radius:18px;background:var(--card);padding:6px}
.woocommerce table.cart td.product-name a{font-weight:700;color:var(--ink);font-size:15px;text-decoration:none}
.woocommerce table.cart td.product-name dl.variation{margin:4px 0 0;font-size:12.5px;color:var(--muted)}
.woocommerce table.cart td.product-name dl.variation dt,.woocommerce table.cart td.product-name dl.variation dd{display:inline;float:none;margin:0}
.woocommerce table.cart td.product-name dl.variation dd p{display:inline}
.woocommerce table.cart td.product-price{color:var(--muted);font-size:13.5px}
.woocommerce table.cart td.product-subtotal{font-weight:800}
.woocommerce table.cart td.product-remove{width:40px}
.woocommerce table.cart a.remove{width:32px!important;height:32px!important;line-height:30px!important;border-radius:50%!important;background:var(--bad-bg);color:var(--bad)!important;font-size:20px!important;font-weight:400!important}
.woocommerce table.cart a.remove:hover{background:var(--bad)!important;color:#fff!important}
.woocommerce table.cart td.actions{padding:16px 0!important;background:none!important}
.woocommerce table.cart td.actions .coupon{display:flex;gap:8px;align-items:center;float:right}
.woocommerce table.cart td.actions .coupon .input-text{border-radius:999px!important;padding:10px 18px!important;border:1.5px dashed var(--line)!important;width:180px!important;min-height:46px}
.woocommerce table.cart td.actions>.button{float:left}
.woocommerce .cart-collaterals{position:sticky;top:110px}
.woocommerce .cart-collaterals .cart_totals{float:none!important;width:100%!important;background:var(--ink);color:#fff;border-radius:var(--r);padding:24px 24px 26px;box-shadow:0 20px 40px rgba(42,64,79,.25)}
.woocommerce .cart-collaterals .cart_totals h2{font-size:20px;margin-bottom:10px;font-weight:800}
.woocommerce .cart-collaterals .cart_totals table{background:transparent;border:0!important}
.woocommerce .cart-collaterals .cart_totals table th,.woocommerce .cart-collaterals .cart_totals table td{color:#fff;border-color:rgba(255,255,255,.14)!important;background:transparent!important;padding:12px 0!important}
.woocommerce .cart-collaterals .cart_totals table th{color:rgba(255,255,255,.7);width:40%}
.woocommerce .cart-collaterals .cart_totals table td{text-align:left}
.woocommerce .cart-collaterals .cart_totals .order-total td{font-size:21px;font-weight:800}
.woocommerce .cart-collaterals .cart_totals .woocommerce-shipping-destination,.woocommerce .cart-collaterals .cart_totals .woocommerce-shipping-calculator{display:none}
.woocommerce .cart-collaterals .cart_totals ul#shipping_method li{margin:0}
.woocommerce .cart-collaterals .checkout-button{background:#fff!important;color:var(--ink)!important;border-color:#fff!important;font-size:17px!important;padding:15px!important;margin:10px 0 0!important}
.woocommerce .cart-collaterals .checkout-button:hover{background:var(--blue)!important;border-color:var(--blue)!important;color:#fff!important}
.woocommerce .cart-collaterals .cross-sells{display:none}
.cart-empty.woocommerce-info{text-align:center;padding:50px 20px!important;font-size:18px;font-weight:700;background:var(--card)!important}
.cart-empty.woocommerce-info::before{display:none}
.return-to-shop{text-align:center;margin-top:10px}
.return-to-shop .button{background:var(--ink)!important;color:#fff!important}

/* ---------- checkout ---------- */
.gl-checkout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:30px;align-items:start}
.gl-checkout::before,.gl-checkout::after{display:none}
.gl-checkout>.gl-co-main{grid-column:1;grid-row:2}.gl-checkout>.gl-co-side{grid-column:2;grid-row:2}
.gl-checkout>:not(.gl-co-main):not(.gl-co-side){grid-column:1/-1;grid-row:1;margin:0}
.gl-checkout>.woocommerce-NoticeGroup .woocommerce-error{margin:0}
.gl-co-main{display:flex;flex-direction:column;gap:20px;min-width:0}
.gl-co-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:26px 28px 14px;box-shadow:var(--shadow)}
.gl-co-card h3{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:800;margin:0 0 20px}
.gl-co-card h3 small{font-size:12.5px;font-weight:500;color:var(--muted);margin-right:auto}
.gl-co-num{width:34px;height:34px;border-radius:12px;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:15px;flex:none}
.gl-fields::after{content:"";display:block;clear:both}
.woocommerce-billing-fields{display:flex;flex-direction:column;gap:20px}
.woocommerce-billing-fields>h3{display:none}
.woocommerce-account-fields{padding-bottom:20px}
.woocommerce-account-fields .create-account label{font-weight:600}
.gl-co-note{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(135deg,#eaf4ff,#f4f9ff);border-radius:22px;padding:18px 22px;color:#1c4d78}
.gl-co-note .ico{width:28px;height:28px;flex:none;margin-top:4px}
.gl-co-note b{display:block;font-size:15px}.gl-co-note span{font-size:13.5px}
.gl-co-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:12px}
.gl-co-summary{padding:24px 24px 24px}
.gl-co-summary h3{margin-bottom:10px}
.gl-co-summary h3 .ico{width:22px;height:22px}
.gl-co-secure{display:flex;align-items:center;gap:8px;justify-content:center;font-size:12.5px;color:var(--muted)}
.gl-co-secure .ico{width:16px;height:16px}
.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce-checkout-review-order-table td.product-name{font-size:14px;font-weight:600}
.woocommerce-checkout-review-order-table td.product-name .product-quantity{color:var(--muted);font-weight:500}
.woocommerce-checkout-review-order-table td.product-name dl.variation{font-size:12px;color:var(--muted);margin:2px 0 0}
.woocommerce-checkout-review-order-table td.product-name dl.variation dt,.woocommerce-checkout-review-order-table td.product-name dl.variation dd{display:inline;float:none;margin:0}
.woocommerce-checkout-review-order-table td.product-name dl.variation dd p{display:inline}
.woocommerce-checkout-review-order-table td.product-total,.woocommerce-checkout-review-order-table tfoot td{text-align:left;white-space:nowrap}
.woocommerce-checkout-review-order-table tfoot th{font-weight:600!important;color:var(--muted)!important;font-size:13.5px!important}
.woocommerce-checkout-review-order-table tfoot tr th,.woocommerce-checkout-review-order-table tfoot tr td{border-bottom:1px dashed var(--line)!important;padding:12px 0!important}
.woocommerce-checkout-review-order-table tbody td{padding:12px 0!important}
.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{border-bottom:0!important;font-size:19px!important;font-weight:800!important;color:var(--ink)!important}
.woocommerce-checkout-review-order-table ul#shipping_method{margin:0;padding:0}
.woocommerce-checkout #payment{background:transparent!important;border-radius:0!important;margin-top:12px}
.woocommerce-checkout #payment ul.payment_methods{border:0!important;padding:0!important;display:flex;flex-direction:column;gap:10px}
.woocommerce-checkout #payment ul.payment_methods li{list-style:none;border:1.5px solid var(--line);border-radius:18px;padding:14px 16px!important;margin:0!important;transition:.2s;line-height:1.7}
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked){border-color:var(--ink);background:var(--soft)}
.woocommerce-checkout #payment ul.payment_methods li label{font-weight:700;cursor:pointer;margin-right:4px}
.woocommerce-checkout #payment ul.payment_methods li input{accent-color:var(--ink);width:18px;height:18px;vertical-align:middle;margin:0!important}
.woocommerce-checkout #payment div.payment_box{background:transparent!important;border-radius:0;padding:6px 26px 0 0!important;margin:0!important;font-size:13px;color:var(--muted)}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row.place-order{padding:14px 0 0!important;margin:0}
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p{font-size:12px;color:var(--muted);line-height:1.9}
.woocommerce-checkout #place_order{width:100%;font-size:17px!important;padding:16px!important;float:none!important;margin-top:8px}
.woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-form-login-toggle .woocommerce-info{background:#fff!important;border:1.5px dashed var(--line)!important}
.woocommerce form.checkout_coupon,.woocommerce form.login{border:1px solid var(--line)!important;border-radius:22px!important;padding:20px!important;margin:0 0 20px!important;background:#fff}
.woocommerce form.checkout_coupon{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}
.woocommerce form.checkout_coupon p{margin:0!important}
.woocommerce form.checkout_coupon .form-row-first{flex:1;width:auto!important}
.woocommerce form.checkout_coupon .form-row-last{width:auto!important}

/* ---------- thank you / order details ---------- */
.woocommerce-order{max-width:880px;margin:0 auto}
.woocommerce-thankyou-order-received{background:linear-gradient(135deg,var(--ok),#23b56c);color:#fff;border-radius:var(--r);padding:28px 30px;font-size:19px;font-weight:800;margin-bottom:22px!important;text-align:center}
.woocommerce ul.order_details{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;padding:0!important;margin:0 0 26px!important}
.woocommerce ul.order_details::before,.woocommerce ul.order_details::after{display:none}
.woocommerce ul.order_details li{float:none!important;margin:0!important;border:0!important;background:var(--card);border-radius:18px;padding:14px 16px!important;font-size:12px!important;color:var(--muted);text-transform:none!important}
.woocommerce ul.order_details li strong{display:block;font-size:15px!important;color:var(--ink);margin-top:4px}
.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-bacs-bank-details{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px 26px;margin-bottom:22px;box-shadow:var(--shadow)}
.woocommerce-order-details__title,.woocommerce-column__title,.wc-bacs-bank-details-heading{font-size:19px;font-weight:800;margin-bottom:12px}
.woocommerce-table--order-details tfoot th,.woocommerce-table--order-details tfoot td{border-bottom:1px dashed var(--line)!important}
.woocommerce-table--order-details tfoot td{text-align:left}
.woocommerce-customer-details address{border:0!important;padding:0!important;font-style:normal;line-height:2.1}
.woocommerce-customer-details .woocommerce-customer-details--phone,.woocommerce-customer-details .woocommerce-customer-details--email{margin:0!important;padding:0!important}
.woocommerce-customer-details .woocommerce-customer-details--phone::before,.woocommerce-customer-details .woocommerce-customer-details--email::before{display:none}
.woocommerce-order-details .order-again{margin-top:14px}
.woocommerce-table--order-details dl.variation{font-size:12.5px;color:var(--muted)}
.woocommerce-table--order-details dl.variation dt,.woocommerce-table--order-details dl.variation dd{display:inline;float:none;margin:0}
.woocommerce-table--order-details dl.variation dd p{display:inline}

.woocommerce-order>p:not([class]){background:var(--warn-bg);color:#6b4a0e;border-radius:18px;padding:14px 18px;margin-bottom:22px;font-weight:600}
.woocommerce table.cart td.actions .coupon .button{white-space:nowrap}
.woocommerce table.cart td.actions .coupon .input-text{min-width:0}
/* digital account credentials */
.gla-box{margin-top:10px}
.gla-wait{background:var(--warn-bg);color:var(--warn);border-radius:14px;padding:10px 14px;font-size:13px;font-weight:600;margin:0}
.gla-cred{background:linear-gradient(135deg,#1f2f3a,#2c516a);color:#fff;border-radius:20px;padding:16px 18px;margin-top:10px;display:flex;flex-direction:column;gap:8px}
.gla-cred-cap{font-weight:800;font-size:13px;background:rgba(255,255,255,.14);align-self:flex-start;border-radius:999px;padding:2px 12px}
.gla-cred-row{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.08);border-radius:12px;padding:8px 12px}
.gla-cred-row>span{font-size:12.5px;opacity:.75;min-width:76px}
.gla-cred-row code{flex:1;background:none;color:#fff;font-size:14.5px;font-weight:700;word-break:break-all;font-family:Consolas,Menlo,monospace}
.gla-copy{background:#fff;color:var(--ink);border-radius:999px;padding:3px 14px;font-size:12px;font-weight:700;flex:none;transition:.2s}
.gla-copy.ok{background:var(--ok);color:#fff}
.gla-cred-note{font-size:13px;opacity:.9;line-height:1.9}
.gla-guide{font-size:13px;background:rgba(255,255,255,.08);border-radius:12px;padding:8px 12px}
.gla-guide summary{cursor:pointer;font-weight:700}
.gla-mine{display:flex;flex-direction:column;gap:16px}
.gla-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px 20px;box-shadow:var(--shadow)}
.gla-card header{display:flex;align-items:center;gap:14px;margin-bottom:6px}
.gla-card header h3{font-size:15.5px;font-weight:800;margin:0}
.gla-card header p{font-size:12.5px;color:var(--muted);margin:0}
.gla-card header .gl-status{margin-right:auto}
.gla-thumb{width:56px;height:56px;border-radius:14px;object-fit:cover;background:var(--card);flex:none}
.gla-thumb-ph{display:grid;place-items:center;font-size:26px}

/* status chip */
.gl-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 12px;font-size:12px;font-weight:700;background:var(--card);color:var(--ink);white-space:nowrap}
.gl-status.status-completed{background:var(--ok-bg);color:var(--ok)}
.gl-status.status-processing{background:#e7f1ff;color:#1565c0}
.gl-status.status-on-hold,.gl-status.status-pending{background:var(--warn-bg);color:var(--warn)}
.gl-status.status-cancelled,.gl-status.status-failed,.gl-status.status-refunded{background:var(--bad-bg);color:var(--bad)}

/* ---------- my account ---------- */
.woocommerce-account .wc-content>.woocommerce{display:block}
.gl-acc{display:grid;grid-template-columns:290px minmax(0,1fr);gap:30px;align-items:start}
.gl-acc-side{position:sticky;top:110px;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.gl-acc-user{display:flex;align-items:center;gap:14px;padding:22px 20px;background:linear-gradient(135deg,var(--ink),var(--brand));color:#fff}
.gl-acc-user b{display:block;font-size:16px}
.gl-acc-user span{font-size:12.5px;opacity:.75}
.gl-acc-avatar{width:52px;height:52px;border-radius:18px;background:rgba(255,255,255,.16);display:grid;place-items:center;font-size:22px;font-weight:800;flex:none;border:2px solid rgba(255,255,255,.25)}
.woocommerce-MyAccount-navigation{width:auto!important;float:none!important;padding:12px}
.woocommerce-MyAccount-navigation ul{display:flex;flex-direction:column;gap:2px;list-style:none;margin:0;padding:0}
.woocommerce-MyAccount-navigation li{margin:0}
.woocommerce-MyAccount-navigation a{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:14px;font-weight:600;color:var(--ink);transition:.15s;text-decoration:none}
.woocommerce-MyAccount-navigation a .ico{width:20px;height:20px;color:var(--muted)}
.woocommerce-MyAccount-navigation a:hover{background:var(--soft)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--card);color:var(--brand);font-weight:800}
.woocommerce-MyAccount-navigation .is-active a .ico{color:var(--brand)}
.woocommerce-MyAccount-navigation .is-active a::after{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue);margin-right:auto}
.woocommerce-MyAccount-navigation-link--customer-logout{border-top:1px solid var(--line);margin-top:6px!important;padding-top:6px}
.woocommerce-MyAccount-navigation-link--customer-logout a,.woocommerce-MyAccount-navigation-link--customer-logout a .ico{color:var(--bad)}
.gl-acc-content{width:auto!important;float:none!important;min-width:0;display:flex;flex-direction:column;gap:22px}
.gl-acc-content>p:first-child:empty{display:none}
.gl-acc-hello{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:linear-gradient(120deg,var(--brand),#3b7aa0);color:#fff;border-radius:var(--r);padding:28px 30px;position:relative;overflow:hidden}
.gl-acc-hello::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;border:34px solid rgba(255,255,255,.07);left:-60px;top:-90px}
.gl-acc-hello h2{font-family:var(--head-font);font-size:28px;line-height:1.5}
body.font-lalezar .gl-acc-hello h2{font-weight:400}
.gl-acc-hello p{opacity:.85;font-size:14px}
.gl-acc-hello .pill{position:relative;z-index:1}
.gl-acc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gl-stat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:2px;transition:.2s;text-decoration:none;color:var(--ink)}
a.gl-stat:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:var(--shadow)}
.gl-stat .ico{width:38px;height:38px;padding:8px;border-radius:12px;background:var(--card);color:var(--brand);margin-bottom:8px}
.gl-stat b{font-size:22px;font-weight:800}
.gl-stat b .woocommerce-Price-currencySymbol{font-size:12px;font-weight:600}
.gl-stat span{font-size:12.5px;color:var(--muted)}
.gl-acc-block{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px 24px}
.gl-acc-block-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.gl-acc-block-head h3{font-size:17px;font-weight:800}
.gl-acc-block-head a{font-size:13px;color:var(--brand);font-weight:700}
.gl-olist{display:flex;flex-direction:column}
.gl-orow{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:16px;padding:14px 4px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);transition:.15s;border-radius:12px}
.gl-orow:last-child{border-bottom:0}
.gl-orow:hover{background:var(--soft)}
.gl-orow-imgs{display:flex}
.gl-orow-imgs img{width:46px;height:46px;border-radius:14px;background:var(--card);object-fit:contain;padding:3px;border:2px solid #fff;margin-left:-14px}
.gl-orow-imgs img:first-child{margin-left:0}
.gl-orow-main b{display:block;font-size:14.5px}
.gl-orow-main small{color:var(--muted);font-size:12.5px}
.gl-orow-total{font-weight:800;font-size:14.5px;min-width:120px;text-align:left}
.gl-acc-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gl-acc-links a{background:var(--soft);border-radius:22px;padding:18px;display:flex;flex-direction:column;gap:2px;transition:.2s;text-decoration:none;color:var(--ink)}
.gl-acc-links a:hover{background:var(--card)}
.gl-acc-links .ico{width:26px;height:26px;color:var(--brand);margin-bottom:6px}
.gl-acc-links b{font-size:14.5px}.gl-acc-links span{font-size:12.5px;color:var(--muted)}
.gl-empty{text-align:center;padding:30px 20px;background:var(--soft);border-radius:22px}
.gl-empty-ico{font-size:40px;margin-bottom:6px}
.gl-empty h3{font-size:17px;font-weight:800;margin-bottom:4px}
.gl-empty p{color:var(--muted);font-size:13.5px;margin-bottom:14px}
/* account inner pages */
.gl-acc-content>h2,.gl-acc-content .woocommerce-Address-title h2,.gl-acc-content>form>h3,.gl-acc-content legend{font-size:19px;font-weight:800}
.gl-acc-content table.woocommerce-orders-table,.gl-acc-content table.shop_table{background:#fff;border:1px solid var(--line)!important;border-radius:var(--r)!important;overflow:hidden;border-collapse:separate!important}
.gl-acc-content table.woocommerce-orders-table th,.gl-acc-content table.woocommerce-orders-table td{padding:14px 16px!important}
.woocommerce-orders-table__cell-order-number a{font-weight:800;color:var(--brand)}
.woocommerce-orders-table__cell-order-actions .button{padding:6px 18px!important;font-size:13px!important;margin:2px!important}
.woocommerce-orders-table mark.order-status,.woocommerce-orders-table__cell-order-status{font-weight:700}
.gl-acc-content mark{background:var(--card);color:var(--ink);border-radius:8px;padding:0 6px;font-weight:700}
.gl-acc-content .woocommerce-Addresses,.gl-acc-content .col2-set{display:block}
.gl-acc-content .woocommerce-Address{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px 24px;width:auto!important;float:none!important}
.gl-acc-content .woocommerce-Address-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.gl-acc-content .woocommerce-Address-title::before,.gl-acc-content .woocommerce-Address-title::after{display:none}
.gl-acc-content .woocommerce-Address-title a{font-size:13px;font-weight:700;color:var(--brand)}
.gl-acc-content address{font-style:normal;line-height:2.1;color:var(--muted)}
.gl-acc-content>form,.gl-acc-content .woocommerce-address-fields,.gl-acc-content form.edit-account{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px 26px}
.gl-acc-content .woocommerce-address-fields{padding:0;border:0}
.gl-acc-content fieldset{border:1px dashed var(--line);border-radius:20px;padding:16px 18px 4px;margin:10px 0 18px}
.gl-acc-content fieldset legend{padding:0 8px;font-size:15px}
.gl-acc-content form .form-row::after{content:"";display:block;clear:both}
.gl-acc-content .clear{clear:both}
.gl-acc-content em{font-size:12px;color:var(--muted)}
.gl-acc-content .woocommerce-pagination{display:flex;gap:10px;justify-content:center}
.gl-acc-content p.order-info,.gl-acc-content>p:first-of-type{font-size:14px}
.woocommerce-account .woocommerce-order-details,.woocommerce-account .woocommerce-customer-details{box-shadow:none}
.woocommerce-order-details table.shop_table,.gl-acc-content .woocommerce-order-details table.shop_table{border:0!important;border-radius:0!important}

/* ---------- login / register ---------- */
.gl-auth{display:grid;grid-template-columns:1fr 1fr;max-width:980px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:36px;overflow:hidden;box-shadow:0 30px 60px rgba(42,64,79,.12)}
.gl-auth-art{background:linear-gradient(150deg,var(--dark),var(--brand));color:#fff;padding:46px 40px;display:flex;flex-direction:column;justify-content:center;gap:16px;position:relative;overflow:hidden}
.gl-auth-art::after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:50px solid rgba(255,255,255,.05);left:-120px;bottom:-120px}
.gl-auth-logo{font-family:var(--logo-font);font-size:28px;font-weight:700;letter-spacing:3px}
.gl-auth-art h2{font-family:var(--head-font);font-size:30px;line-height:1.5}
body.font-lalezar .gl-auth-art h2{font-weight:400}
.gl-auth-art ul{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.gl-auth-art li{display:flex;gap:10px;align-items:center;font-size:14px;opacity:.9}
.gl-auth-art li .ico{width:34px;height:34px;padding:8px;border-radius:12px;background:rgba(255,255,255,.1)}
.gl-auth-box{padding:40px 40px 34px}
.gl-auth-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);background:var(--card);border-radius:999px;padding:5px;margin-bottom:24px}
.gl-auth-tabs button{padding:10px 6px;line-height:1.5;border-radius:999px;font-weight:800;color:var(--muted);transition:.2s}
.gl-auth-tabs button.on{background:#fff;color:var(--ink);box-shadow:0 4px 12px rgba(42,64,79,.1)}
.gl-auth form.gl-auth-pane{display:none;border:0!important;padding:0!important;margin:0!important;background:none}
.gl-auth[data-tab=login] form.gl-auth-pane[data-pane=login],.gl-auth[data-tab=register] form.gl-auth-pane[data-pane=register]{display:block}
.gl-auth-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:-4px 0 18px;gap:10px;flex-wrap:wrap}
.gl-auth-row a{color:var(--brand);font-weight:700}
.gl-auth-row label{display:flex;align-items:center;gap:6px;cursor:pointer}
.gl-auth-submit{width:100%;padding:14px!important;font-size:16px!important}
.gl-auth-hint{font-size:13px;color:var(--muted);margin-bottom:12px}
.gl-auth .woocommerce-privacy-policy-text p{font-size:12px;color:var(--muted);margin-bottom:12px}
.woocommerce-ResetPassword,.woocommerce-form-lost-password{max-width:520px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:28px!important}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(3,1fr)}
  .gl-checkout{grid-template-columns:minmax(0,1fr) 360px}
  .woocommerce-cart .wc-content>.woocommerce{grid-template-columns:minmax(0,1fr) 330px}
  .gl-acc{grid-template-columns:250px minmax(0,1fr)}
  .gl-acc-stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,1fr)!important;gap:20px 14px}
  .single-product div.product{grid-template-columns:1fr;gap:26px}
  .single-product div.product .woocommerce-product-gallery,.single-product div.product .summary{grid-column:1;grid-row:auto;position:static}
  .woocommerce div.product .woocommerce-tabs{padding:12px}
  .woocommerce div.product .woocommerce-tabs .panel{padding:18px}
  .woocommerce table.shop_attributes th{width:42%}
  .shop-main .woocommerce-ordering{float:none!important;display:block}
  .gl-checkout,.woocommerce-cart .wc-content>.woocommerce{grid-template-columns:1fr}
  .gl-checkout>.gl-co-main,.gl-checkout>.gl-co-side{grid-column:1;grid-row:auto}
  .gl-co-side,.woocommerce .cart-collaterals{position:static}
  .gl-co-card{padding:20px 18px 8px}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%!important;float:none!important}
  .gl-acc{grid-template-columns:1fr}
  .gl-acc-side{position:static}
  .woocommerce-MyAccount-navigation ul{flex-direction:row;overflow-x:auto;gap:6px;scrollbar-width:none}
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
  .woocommerce-MyAccount-navigation a{white-space:nowrap;padding:9px 14px;background:var(--soft)}
  .woocommerce-MyAccount-navigation .is-active a::after{display:none}
  .woocommerce-MyAccount-navigation-link--customer-logout{border:0;margin:0!important;padding:0}
  .gl-acc-links{grid-template-columns:1fr}
  .gl-orow{grid-template-columns:auto 1fr;gap:8px 12px}
  .gl-orow .gl-status{grid-column:2;justify-self:start}
  .gl-orow-total{grid-column:2;text-align:right}
  .gl-auth{grid-template-columns:1fr;border-radius:28px}
  .gl-auth-art{padding:28px 24px}
  .gl-auth-art ul{display:none}
  .gl-auth-box{padding:26px 20px}
  .woocommerce-cart-form{padding:4px 14px}
  .woocommerce table.cart td.actions .coupon{float:none;width:100%}
  .woocommerce table.cart td.actions .coupon .input-text{flex:1;width:auto!important}
  .woocommerce table.cart td.actions .coupon .button{padding:10px 16px!important}
  .woocommerce table.cart,.woocommerce table.cart tbody,.woocommerce table.cart tr,.woocommerce table.cart td.actions{display:block;width:100%}
  .woocommerce table.cart td.actions>.button{float:none;width:100%;margin-top:10px}
  .gl-steps li{font-size:12px;flex-direction:column;gap:4px}
  .gl-steps li+li::before{top:18px;width:calc(100% - 60px);margin-right:30px}
}
@media (max-width:768px){
  .woocommerce table.shop_table_responsive tr,.woocommerce-page table.shop_table_responsive tr{display:block}
  .woocommerce table.cart tr.cart_item{display:grid!important;grid-template-columns:84px 1fr 34px;grid-template-areas:"img name rm" "img price rm" "img qty qty" "sub sub sub";gap:2px 12px;padding:14px 0;border-bottom:1px solid var(--line)}
  .woocommerce table.cart tr.cart_item td{display:block;border:0!important;padding:0!important;text-align:right!important}
  .woocommerce table.cart tr.cart_item td::before{display:none}
  .woocommerce table.cart td.product-thumbnail{grid-area:img;display:block!important;width:auto}
  .woocommerce table.cart td.product-thumbnail img{width:84px!important}
  .woocommerce table.cart td.product-name{grid-area:name}
  .woocommerce table.cart td.product-price{grid-area:price}
  .woocommerce table.cart td.product-quantity{grid-area:qty;margin-top:6px!important}
  .woocommerce table.cart td.product-subtotal{grid-area:sub;display:none!important}
  .woocommerce table.cart td.product-remove{grid-area:rm}
  .gl-acc-content table.woocommerce-orders-table tr{border-bottom:1px solid var(--line);padding:8px 0}
  .gl-acc-content table.woocommerce-orders-table td{border:0!important;padding:6px 16px!important}
}
@media (max-width:520px){
  .gl-acc-stats{grid-template-columns:1fr 1fr;gap:10px}
  .gl-stat{padding:14px}
  .gl-acc-hello{padding:22px}
  .gl-acc-hello h2{font-size:23px}
}

/* =========================================================
   Digital accounts: capacity cards, confirmation, rules
   ========================================================= */
.gla-capcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
.gla-capcard{display:flex;flex-direction:column;gap:6px;text-align:right;background:#fff;border:1.5px solid var(--line);border-radius:18px;padding:14px 16px;transition:.15s;cursor:pointer;font:inherit;color:var(--ink);position:relative}
.gla-capcard:hover{border-color:var(--brand)}
.gla-capcard.on{border-color:var(--ink);box-shadow:0 0 0 3px rgba(42,64,79,.12);background:var(--soft)}
.gla-capcard.on::after{content:"✓";position:absolute;left:12px;top:12px;width:22px;height:22px;border-radius:50%;background:var(--ink);color:#fff;font-size:12px;display:grid;place-items:center}
.gla-capcard-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding-left:26px}
.gla-capcard-head b{font-size:15px;font-weight:800}
.gla-capcard-price{font-size:13px;font-weight:700;color:var(--brand)}
.gla-capcard-sub{font-size:12.5px;color:var(--muted);font-weight:600}
.gla-capcard-list{display:flex;flex-direction:column;gap:3px;font-size:12px;line-height:1.8;color:var(--ink)}
.gla-capcard-list span{position:relative;padding-right:14px}
.gla-capcard-list span::before{content:"";position:absolute;right:0;top:9px;width:6px;height:6px;border-radius:50%;background:var(--ok)}
.gla-capcard.is-oos{opacity:.6}
.gla-capcard-oos{font-size:12px;color:var(--bad);font-weight:700}
.gla-confirm{width:100%;display:flex;flex-direction:column;gap:12px;margin:4px 0 6px}
.gla-q{font-weight:800;font-size:14px;display:block;margin-bottom:8px}
.gla-console-opts{display:flex;gap:10px;flex-wrap:wrap}
.gla-console-opts label{cursor:pointer}
.gla-console-opts input{position:absolute;opacity:0;pointer-events:none}
.gla-console-opts span{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:14px;border:1.5px solid var(--line);background:#fff;font-weight:700;font-size:14px;transition:.15s}
.gla-console-opts input:checked+span{border-color:var(--ink);background:var(--ink);color:#fff}
.gla-console-opts input:focus-visible+span{box-shadow:0 0 0 3px rgba(33,150,243,.35)}
.gla-rules-box{background:#fff;border:1.5px solid var(--line);border-radius:16px;overflow:hidden}
.gla-rules-box summary{cursor:pointer;padding:12px 16px;font-weight:700;font-size:13.5px;list-style:none}
.gla-rules-box summary::-webkit-details-marker{display:none}
.gla-rules-box summary::after{content:"＋";float:left;color:var(--muted)}
.gla-rules-box[open] summary::after{content:"－"}
.gla-rules-scroll{max-height:320px;overflow:auto;padding:0 16px 14px;border-top:1px solid var(--line)}
.gla-accept{display:flex!important;gap:10px;align-items:flex-start;background:var(--warn-bg);border-radius:14px;padding:12px 14px;font-size:13.5px;line-height:1.9;cursor:pointer;font-weight:600}
.gla-accept input{margin-top:5px!important;flex:none}
.gla-accept a{color:var(--brand);text-decoration:underline}
.gla-accept-co{margin:12px 0 0!important}
.gla-accept-co label{display:flex!important;gap:10px;align-items:flex-start;font-weight:600!important;font-size:13px!important}
.gla-rules h2{font-size:18px;font-weight:800;margin:20px 0 10px}
.gla-rules.is-compact h2{font-size:15px;margin:14px 0 6px}
.gla-rules-caps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.gla-rcap{background:var(--soft);border-radius:18px;padding:14px 16px}
.gla-rcap h3{font-size:16px;font-weight:800;margin:0}
.gla-rcap-sub{color:var(--brand);font-weight:700;font-size:13px;margin:2px 0 6px}
.gla-rcap ul,.gla-rules-list{padding-right:20px;font-size:13.5px;line-height:2}
.gla-rcap ul{list-style:disc}
.gla-rules-list{list-style:persian;display:flex;flex-direction:column;gap:6px}
.gla-rules.is-compact .gla-rules-list{font-size:12.5px}
.gla-sony{background:#f3f6ff;border-radius:16px;padding:12px 16px;font-size:13px;line-height:2}
.gla-sony blockquote{direction:ltr;text-align:left;font-family:Consolas,Menlo,monospace;font-size:12.5px;background:#fff;border-radius:10px;padding:8px 12px;margin:6px 0;border-left:4px solid #003791}
.gla-src{font-size:12px;color:var(--muted)}
.gla-src a{color:var(--brand)}
.gla-reseller .description{font-size:12.5px;color:var(--muted);margin-bottom:12px}
.gla-reseller-toggle{display:flex;gap:8px;align-items:center;font-weight:700;margin-bottom:14px;cursor:pointer}
.gla-reseller-fields{display:none}
.gla-reseller:has(input[name=gla_reseller]:checked) .gla-reseller-fields{display:block}
.gla-guide ul{list-style:disc;padding-right:18px;margin:6px 0}
.gla-guide a{color:#9fd3ff}

/* =========================================================
   Tickets (customer)
   ========================================================= */
.glt-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.glt-head h2{font-size:20px;font-weight:800}
.glt-head a:not(.button){color:var(--brand);font-weight:700;font-size:13.5px}
.glt-meta{font-size:12.5px;color:var(--muted)}
.glt-meta a{color:var(--brand)}
.glt-chip{display:inline-block;font-size:12px;border-radius:999px;padding:3px 12px;font-weight:700}
.glt-list{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.glt-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;transition:.15s}
.glt-row:last-child{border-bottom:0}
.glt-row:hover{background:var(--soft)}
.glt-row.is-new{background:#f2fbf5}
.glt-row-main b{display:block;font-size:14.5px}
.glt-row-main small{color:var(--muted);font-size:12px}
.glt-thread{display:flex;flex-direction:column;gap:12px}
.glt-msg{max-width:82%;border-radius:22px;padding:14px 18px;background:#fff;border:1px solid var(--line)}
.glt-msg.is-user{align-self:flex-start;border-bottom-right-radius:6px;background:#eef5fb;border-color:#d6e6f3}
.glt-msg.is-staff{align-self:flex-end;border-bottom-left-radius:6px;background:#fff;box-shadow:var(--shadow)}
.glt-msg-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-bottom:4px}
.glt-msg-head b{color:var(--ink)}
.glt-msg-body{font-size:14px;line-height:2;word-break:break-word}
.glt-file{margin-top:8px}
.glt-file img,.glt-file video{max-width:100%;max-height:280px;border-radius:14px;display:block;margin-bottom:6px}
.glt-file-link{font-size:12.5px;color:var(--brand);font-weight:700}
.glt-form{padding-bottom:22px}
.glt-form input[type=file]{font-size:13px}
.glt-close{display:flex;justify-content:flex-end}
.glt-close .button{font-size:13px!important;padding:8px 18px!important}
.glt-closed{background:var(--card);border-radius:16px;padding:14px 18px;font-size:14px}
.glt-closed a{color:var(--brand);font-weight:700}
.glt-order-help{margin-top:14px}
@media (max-width:860px){.gla-capcards{grid-template-columns:1fr}.glt-msg{max-width:100%}}

/* captcha (plugin) */
.gls-cap{margin:0 0 16px}
.gls-cap label{font-weight:600;font-size:13.5px;margin-bottom:6px;display:block}
.gls-cap-row{display:flex;gap:8px;align-items:center}
.gls-cap-img{border-radius:12px;flex:none;background:var(--card);border:1.5px solid var(--line)}
.gls-cap-row input[name=gls_cap]{flex:1;min-width:0;letter-spacing:6px;text-align:center;font-weight:800;font-size:18px;border:1.5px solid var(--line)!important;border-radius:14px!important;padding:10px 12px!important;min-height:50px;background:#fff}
.gls-cap-row input[name=gls_cap]:focus{outline:0;border-color:var(--brand)!important;box-shadow:0 0 0 4px rgba(44,81,106,.12)}
.gls-cap-new{width:44px;height:44px;border-radius:50%;background:var(--card);font-size:18px;flex:none;cursor:pointer;border:0;transition:.2s;color:var(--ink)}
.gls-cap-new:hover{background:var(--ink);color:#fff;transform:rotate(90deg)}
/* digital products: capacity cards replace the variation pills */
.summary .gla-capcards~form.variations_form table.variations{display:none}

/* Console buyers: offline game install recommendation (checkout + thank-you) */
.glcu{border:2px solid #2196f333;background:linear-gradient(180deg,#f2f8fd,#fff)}
.glcu-lead{color:var(--ink);line-height:2;margin:-6px 0 14px}
.glcu-toggle{display:flex;gap:10px;align-items:center;font-weight:800;cursor:pointer;margin-bottom:12px;background:#fff;border:1.5px solid var(--line);border-radius:16px;padding:12px 14px}
.glcu-toggle input{width:20px;height:20px;accent-color:var(--blue)}
.glcu:has(input[name=glcu_install]:checked) .glcu-toggle{border-color:var(--blue);box-shadow:0 0 0 3px #2196f31f}
.glcu-fields{display:none}
.glcu:has(input[name=glcu_install]:checked) .glcu-fields{display:block}
.glcu-note{font-size:13px;color:var(--muted);margin:-4px 0 12px}
.glcu-ticket{display:flex;flex-direction:column;gap:6px;background:#fff8e6;color:#5c4400;border-radius:16px;padding:12px 16px;margin:0 0 12px;line-height:1.9;font-size:14px}
.glcu-ticket .button{align-self:flex-start;margin-top:4px}
.glcu-ty{margin:24px 0}
.glt-install-help{background:#eef6fd;border-radius:14px;padding:10px 14px;margin-bottom:14px}
.gl-auth[data-tab=otp] form.gl-auth-pane[data-pane=otp]{display:block}

/* ---------- 1.6.7: one-in-stock button, checkout button, used flag, white image frames ---------- */
/* موجودی ۱ / فروش تکی: ووکامرس کادر تعداد را مخفی می‌کند؛ قاب خالی آن هم نمایش داده نشود */
.single-product form.cart .quantity:has(>input[type=hidden]),.woocommerce td.product-quantity .quantity:has(>input[type=hidden]){display:none!important}
.single-product form.cart .quantity:has(>input[type=hidden])+.single_add_to_cart_button{flex-basis:100%}
/* دکمه‌ی «ادامه جهت تسویه حساب» روی کارت تیره: سفید و پررنگ */
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button.button.alt,.woocommerce .cart-collaterals a.checkout-button{background:#fff!important;color:var(--ink)!important;border:0!important;font-weight:800;display:block;text-align:center;border-radius:999px!important;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.woocommerce .cart-collaterals .wc-proceed-to-checkout a.checkout-button.button.alt:hover,.woocommerce .cart-collaterals a.checkout-button:hover{background:var(--blue)!important;color:#fff!important}
/* برچسب «کارکرده» روی گوشه‌ی چپ بالای عکس محصول */
.single-product div.product>.gl-used-flag{grid-column:1;grid-row:1;justify-self:end;align-self:start;z-index:9;margin:18px!important;pointer-events:none}
.woocommerce-product-gallery__trigger{top:auto!important;bottom:16px!important}
/* قاب عکس سفید: عکس‌هایی که حاشیه‌ی سفید دارند یکدست دیده شوند */
.woocommerce-product-gallery .woocommerce-product-gallery__image{background:#fff;border:1px solid var(--line);box-sizing:border-box}
.woocommerce-product-gallery .flex-control-thumbs li{background:#fff;border:1px solid var(--line)}
.woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active){border-color:var(--ink)}
.woocommerce table.cart img{background:#fff;border:1px solid var(--line)}
.gl-orow-imgs img{background:#fff}
@media (max-width:860px){
  .single-product div.product .woocommerce-product-gallery{grid-row:1}
  .single-product div.product .summary{grid-row:2}
  .single-product div.product>.gl-used-flag{grid-row:1}
}
