/* Original page layouts adapted to WordPress and native WooCommerce forms. */
body .woo-wallet-my-wallet-container{--wallet-primary-color:var(--gold-dark);--wallet-bg-color:var(--cream);--wallet-border-color:var(--cream-dark);--wallet-text-color:var(--text);font-family:var(--font)}body .woo-wallet-my-wallet-container .woo-wallet-header{text-align:right}body .woo-wallet-my-wallet-container .woo-wallet-header h2{color:var(--text)}body .woo-wallet-my-wallet-container .woo-wallet-top-section{border-radius:26px;border:1px solid var(--cream-dark);box-shadow:var(--shadow-soft)}body .woo-wallet-my-wallet-container .woo-wallet-balance-card{border-radius:26px 26px 0 0;background:linear-gradient(135deg,var(--gold-dark),var(--gold))}body .woo-wallet-my-wallet-container .woo-wallet-nav-tabs{background:var(--cream)}body .woo-wallet-my-wallet-container .woo-wallet-price{font-family:var(--font)}
.woocommerce div.product.gl-single-product div.summary{float:none!important;width:auto!important;min-width:0}.product-bottom .add_to_cart_button.product_type_simple{width:42px;min-width:42px;height:42px;padding:10px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%}.product-bottom .add_to_cart_button.product_type_simple svg{width:21px;height:21px}.product-price{min-width:0}.product-price .amount{overflow-wrap:anywhere}.gl-navigation .gl-menu{gap:14px}.brand{min-width:0}.brand b{display:block;white-space:nowrap;max-width:210px;overflow:hidden;text-overflow:ellipsis}
.gl-catalog-layout{padding-block:24px}.gl-catalog-layout .shop-content{min-width:0}.gl-catalog-layout .shop-toolbar{flex-wrap:wrap;gap:14px}.gl-catalog-layout .woocommerce-notices-wrapper{flex-basis:100%}.gl-catalog-layout .woocommerce-result-count{margin:0;float:none}.gl-catalog-layout .woocommerce-ordering{margin:0;float:none;margin-inline-start:auto}.gl-catalog-layout ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gl-catalog-layout ul.products li.product .product-name{font-size:1.1rem}.gl-filter-option{display:flex;align-items:center;gap:10px;padding-block:7px}.gl-filter-option input{accent-color:var(--gold-dark)}.gl-price-filter{display:grid;gap:6px;margin-block:12px}.gl-price-filter input{width:100%;padding:10px;border:1px solid var(--cream-dark);border-radius:12px;background:var(--warm-white)}.gl-commerce .woocommerce-products-header{padding-block:12px}.gl-commerce .woocommerce-breadcrumb{margin-block:0 20px}.gl-commerce .woocommerce-products-header h1{font-size:2rem}.gl-commerce .term-description{color:var(--text-light)}
.woocommerce div.gl-single-product .pd-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;align-items:start}.woocommerce div.gl-single-product .summary{float:none;width:auto;margin:0;padding:26px}.woocommerce div.gl-single-product .pd-gallery{position:relative}.woocommerce div.gl-single-product div.images{float:none;width:100%;margin:0}.woocommerce div.gl-single-product .woocommerce-product-gallery__image img{width:100%;height:auto;object-fit:contain}.woocommerce div.gl-single-product .product_title{font-size:2.2rem;line-height:1.6}.woocommerce div.gl-single-product .price{color:var(--gold-dark);font-size:1.7rem;margin-block:16px}.woocommerce div.gl-single-product form.cart{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-block:24px}.woocommerce div.gl-single-product form.variations_form{display:block}.woocommerce div.gl-single-product .variations td,.woocommerce div.gl-single-product .variations th{padding:10px}.woocommerce div.gl-single-product .single_add_to_cart_button{background:linear-gradient(135deg,#E7C766,#C9A227);color:white;border-radius:999px;min-height:48px}.gl-product-details{padding-top:26px}.gl-product-details .woocommerce-tabs{background:var(--warm-white);padding:24px;border:1px solid var(--cream-dark);border-radius:26px}.woocommerce .related.products,.woocommerce .up-sells{clear:both;padding-block:32px}.woocommerce .related.products>h2,.woocommerce .up-sells>h2{margin-bottom:20px}.woocommerce .product_meta{display:grid;gap:8px;margin-bottom:20px}.woocommerce .stock{color:#526944}.woocommerce .stock.out-of-stock{color:#9d3838}
.gl-cart-page .cart-page-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:26px;align-items:start}.gl-cart-page .woocommerce-cart-form{min-width:0;padding:18px}.gl-cart-page .cart-collaterals{width:auto}.gl-cart-page .cart-collaterals .cart_totals{float:none;width:100%;background:var(--cream);padding:22px;border-radius:26px}.gl-cart-page .cart-collaterals .cart_totals h2{font-size:1.4rem;margin-bottom:16px}.gl-cart-page table.shop_table{border:0;font-size:.95rem}.gl-cart-page .product-thumbnail img{width:72px!important;max-width:72px;height:72px;object-fit:cover;border-radius:12px}.gl-cart-page table.shop_table th,.gl-cart-page table.shop_table td{padding:12px 6px}.gl-cart-page .coupon{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.gl-cart-page .coupon input{min-width:120px!important;border-radius:10px!important;padding:12px!important;border:1px solid var(--cream-dark)!important}.gl-cart-page .wc-proceed-to-checkout a{display:block;text-align:center}.gl-cart-page .cross-sells{float:none!important;width:100%!important;margin-top:24px}.gl-cart-page .cart-empty{padding-block:30px}.gl-cart-page .shipping-calculator-form{padding:12px}.gl-cart-page .woocommerce-shipping-methods label{font-size:.9rem}
.gl-checkout-page .co-grid{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:26px;align-items:start}.gl-checkout-page .co-card{min-width:0}.gl-checkout-page .col2-set,.gl-checkout-page .col2-set .col-1,.gl-checkout-page .col2-set .col-2{float:none;width:100%}.gl-checkout-page .co-head h2{font-size:1.4rem}.gl-checkout-page .woocommerce-billing-fields h3{font-size:1.1rem;margin-block:16px}.gl-checkout-page .woocommerce-additional-fields{margin-top:20px}.gl-checkout-page #order_review_heading{margin:0}.gl-checkout-page table.shop_table{background:transparent;border:0}.gl-checkout-page #payment{background:var(--warm-white)}.gl-checkout-page #payment .payment_box{background:var(--cream)}.gl-checkout-page #place_order{width:100%;float:none;border-radius:999px}.gl-checkout-page .woocommerce-order{background:var(--cream);padding:28px;border-radius:26px}.gl-checkout-page .woocommerce-order-overview{display:flex;flex-wrap:wrap;gap:18px;margin-block:22px!important}.gl-checkout-page .woocommerce-order-overview li{float:none!important;border:0!important}.gl-checkout-page .woocommerce-order-details,.gl-checkout-page .woocommerce-customer-details{margin-top:24px}.gl-checkout-page .woocommerce-form-coupon{border-radius:19px;border-color:var(--cream-dark)}
.gl-account-layout .woocommerce-MyAccount-navigation{float:none;width:auto;padding:18px}.gl-account-layout .woocommerce-MyAccount-content{float:none;width:auto;min-width:0;padding:26px;margin-top:24px}.gl-account-layout .dash-content{min-width:0}.gl-account-layout .dash-welcome{padding:26px}.gl-account-layout .woocommerce-MyAccount-content h2{font-size:1.4rem;margin-bottom:16px}.gl-account-layout .woocommerce-MyAccount-content table{width:100%}.gl-account-layout .woocommerce-MyAccount-content .button{font-size:.9rem}.gl-account-layout .woocommerce-MyAccount-content .col2-set .col-1,.gl-account-layout .woocommerce-MyAccount-content .col2-set .col-2{width:48%}.gl-account-layout .dash-panel{display:block}.auth-wrap .woocommerce-form{padding:0!important;border:0!important;margin:20px 0!important}.auth-wrap .woocommerce-form .field{margin-bottom:18px}.auth-wrap .woocommerce-form .field input{width:100%;min-height:46px}.auth-wrap .btn-full{margin-block:16px}.auth-wrap .gl-remember{display:flex;align-items:center;gap:8px}.auth-wrap .woocommerce-form .password-toggle{min-width:36px}.auth-wrap .auth-switch{margin-top:18px}.gl-loved-card{border:1px solid var(--cream-dark);background:var(--warm-white);padding:20px;border-radius:19px}.gl-loved-card p{margin-block:8px}.gl-preference{display:flex!important;align-items:center;gap:12px}.gl-account-layout .gl-request{margin-top:26px}.gl-account-layout .woocommerce-address-fields__field-wrapper,.gl-account-layout .edit-account{max-width:760px}.woocommerce .woocommerce-form-login__submit,.woocommerce .woocommerce-form-register .btn{color:white}.gl-account-page>.dash-wrap:has(.auth-wrap){max-width:none;padding:0;width:100%}
@media(max-width:1080px){.gl-catalog-layout{grid-template-columns:1fr}.gl-catalog-layout .shop-filters{display:none}.gl-catalog-layout .shop-filters.gl-filter-open{display:block;position:static}.gl-catalog-layout .filters-toggle-btn{display:inline-flex}.gl-cart-page .cart-page-layout{grid-template-columns:1fr}.gl-checkout-page .co-grid{grid-template-columns:1fr!important}.woocommerce div.gl-single-product .pd-layout{gap:22px}.gl-catalog-layout ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){.woocommerce div.gl-single-product .pd-layout{grid-template-columns:1fr}.gl-account-layout{display:grid;grid-template-columns:1fr}.gl-account-layout .dash-side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.gl-account-layout .dash-side-label{grid-column:1/-1}.gl-account-layout .woocommerce-MyAccount-content{padding:18px}.gl-account-layout .woocommerce-MyAccount-content .col2-set .col-1,.gl-account-layout .woocommerce-MyAccount-content .col2-set .col-2{width:100%;float:none}.gl-cart-page .woocommerce-cart-form{padding:10px}.gl-cart-page .product-thumbnail{display:none}.gl-cart-page .dash-title-row{flex-wrap:wrap}.gl-checkout-page .co-card{padding:18px}.woocommerce div.gl-single-product .product_title{font-size:1.8rem}.gl-catalog-layout ul.products{gap:12px}.gl-catalog-layout .product-bottom{display:grid}.gl-account-layout .dash-wrap.container{width:94%;padding-inline:0}.woocommerce .woocommerce-orders-table td{overflow-wrap:anywhere}}
@media(max-width:480px){.gl-catalog-layout .shop-toolbar{align-items:stretch}.gl-catalog-layout .woocommerce-ordering{margin-inline-start:0;max-width:100%}.gl-cart-page .cart-page-layout{gap:18px}.gl-checkout-page .co-steps{gap:6px}.gl-checkout-page .co-step{font-size:.8rem}.gl-account-layout .dash-side{gap:4px}.gl-account-layout .dash-nav-item{padding:10px;font-size:.85rem}.woocommerce table.shop_table_responsive tr td{border-top:1px solid var(--cream-dark)}}
@media(max-width:480px){.header-inner{gap:8px}.brand b{max-width:120px;font-size:.95rem}.header-actions{gap:5px}.header-actions .icon-btn{width:32px;height:32px}.header-actions .hamburger{width:30px;min-width:30px}.brand-mark img{width:32px}.brand{gap:6px}.gl-catalog-layout .product-bottom{display:flex;flex-wrap:wrap}.gl-catalog-layout .product-bottom .product-price{flex-basis:100%}}
.bs-jalali-field .bs-date-label{display:block;font-size:.82rem;font-weight:600;color:var(--text-light);margin-bottom:9px}
.bs-jalali-field .bs-date-label .req{color:var(--gold-dark)}
.bs-jalali-field .bs-date-grid{display:grid;grid-template-columns:minmax(70px,.8fr) minmax(110px,1.25fr) minmax(70px,.8fr);gap:12px;align-items:end}
.bs-jalali-field .bs-date-grid label{min-width:0;margin:0;font-size:.76rem}
.bs-jalali-field .bs-date-grid :is(input,select){display:block;width:100%;min-width:0;height:40px;padding:6px 3px;border:0;border-bottom:1.5px solid rgba(39,37,31,.18);border-radius:0;background:transparent;color:var(--text);box-shadow:none;outline:none}
.bs-jalali-field .bs-date-grid :is(input,select):focus-visible{border-bottom-color:var(--gold);outline:2px solid var(--gold);outline-offset:2px}
.bs-jalali-field .bs-date-help{margin:10px 0 0;color:var(--text-light);font-size:.76rem;line-height:1.8}
@media(max-width:420px){.bs-jalali-field .bs-date-grid{gap:8px;grid-template-columns:minmax(65px,.8fr) minmax(105px,1.2fr) minmax(65px,.8fr)}}

/* The native WooCommerce gallery stays in the grid's normal flow. */
.woocommerce div.gl-single-product .pd-gallery{top:auto;min-width:0}
.woocommerce div.gl-single-product .pd-gallery .woocommerce-product-gallery__wrapper{margin:0}
.woocommerce div.gl-single-product .pd-info{min-width:0;overflow-wrap:anywhere}
@media(max-width:768px){
    .single-product .gl-commerce{padding-top:16px}
    .woocommerce div.gl-single-product .pd-wrap{padding-top:0}
    .woocommerce div.gl-single-product .pd-back{margin-bottom:16px}
    .woocommerce div.gl-single-product .pd-layout{gap:20px}
    .woocommerce div.gl-single-product .pd-gallery{position:static;inset:auto}
    .woocommerce div.gl-single-product .summary{padding:20px 18px}
    .woocommerce div.gl-single-product .product_title{font-size:clamp(1.35rem,6vw,1.8rem);line-height:1.65;margin-bottom:12px}
    .woocommerce div.gl-single-product .product_meta .sku{direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
    .woocommerce div.gl-single-product .gl-contact-order{display:block;width:100%;text-align:center;margin-block:16px}
    .woocommerce div.gl-single-product .summary .btn-full{white-space:normal;line-height:1.8}
}
