/* Dadeh Negaran Faraz — WooCommerce in the dark glass style */

/* Header cart */
.dnf-cart{position:relative;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);}
.dnf-cart:hover{color:#fff;background:rgba(255,255,255,.13);}
.dnf-cart__count{position:absolute;top:-4px;inset-inline-end:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;line-height:1;color:var(--dnf-on-gold);background:var(--dnf-grad-gold);}

/* Layout */
.dnf-woo{padding-top:clamp(28px,4vw,48px);}
.dnf-woo .woocommerce-breadcrumb{margin:0 0 18px;font-size:13px;color:var(--dnf-dim);}
.dnf-woo .woocommerce-breadcrumb a{color:var(--dnf-dim);}
.dnf-woo .woocommerce-breadcrumb a:hover{color:#fff;}
.dnf-woo .woocommerce-products-header__title,.dnf-woo h1.page-title{margin:0 0 24px;font-size:clamp(32px,4.4vw,56px);font-weight:900;line-height:1.3;}
.dnf-woo .woocommerce-result-count{margin:0 0 24px;color:var(--dnf-muted);font-size:14px;line-height:46px;}
.dnf-woo .woocommerce-ordering{margin:0 0 24px;}
.dnf-woo .woocommerce-ordering select{width:auto;min-width:220px;}

/* Product grid */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:16px;margin:0 0 32px;padding:0;clear:both;}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none;}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none;width:auto;margin:0;padding:0 0 20px;display:flex;flex-direction:column;border-radius:28px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid var(--dnf-line);box-shadow:0 20px 50px rgba(0,0,0,.3);transition:transform .3s,border-color .3s;text-align:start;}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:rgba(180,155,255,.45);}
.woocommerce ul.products li.product a img{margin:0 0 16px;aspect-ratio:1;object-fit:cover;width:100%;}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .woocommerce-loop-category__title{padding:0 20px;margin:0 0 6px;font-size:17px;font-weight:800;line-height:1.6;color:#fff;letter-spacing:0;}
.woocommerce ul.products li.product .price{padding:0 20px;margin:0 0 14px;color:var(--dnf-gold-2);font-size:16px;font-weight:700;}
.woocommerce ul.products li.product .price del{color:var(--dnf-dim);opacity:1;font-weight:400;}
.woocommerce ul.products li.product .price ins{text-decoration:none;}
.woocommerce ul.products li.product .star-rating{margin:0 20px 8px;}
.woocommerce ul.products li.product .button{margin:auto 20px 0;align-self:flex-start;}
.woocommerce ul.products li.product .added_to_cart{margin:10px 20px 0;font-size:13px;font-weight:700;}
.woocommerce span.onsale{top:14px;left:auto;right:auto;inset-inline-start:14px;margin:0;min-height:0;min-width:0;padding:6px 14px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.5;color:var(--dnf-on-gold);background:var(--dnf-grad-gold);}
.woocommerce ul.products li.product .onsale{margin:0;}
.woocommerce .star-rating span::before,.woocommerce p.stars a{color:var(--dnf-gold);}

/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,.wc-block-components-button:not(.is-link),.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button{padding:13px 24px;border:0;border-radius:999px;font-size:15px;font-weight:700;line-height:1.5;color:#fff;background:var(--dnf-grad-purple);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 8px 24px rgba(108,60,233,.5);transition:background .2s;}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover,.wc-block-components-button:not(.is-link):hover{color:#fff;background:linear-gradient(180deg,#9B78FF,#5A2BD6);}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce .single_add_to_cart_button.button,.woocommerce a.checkout-button.button,.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{color:var(--dnf-on-gold)!important;background:var(--dnf-grad-gold)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 10px 30px rgba(255,184,0,.35)!important;}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce .single_add_to_cart_button.button:hover{background:linear-gradient(180deg,#FFDA7A,#F0A800)!important;}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],.woocommerce button.button.alt.disabled{color:#fff;opacity:.5;}

/* Single product */
.woocommerce div.product{position:relative;padding:clamp(20px,3vw,40px);border-radius:36px;background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid var(--dnf-line);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 18px 50px rgba(0,0,0,.3);}
.woocommerce div.product::after{content:"";display:table;clear:both;}
.woocommerce div.product div.images img{border-radius:24px;}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{border-radius:24px;overflow:hidden;}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{inset-inline-end:14px;top:14px;}
.woocommerce div.product div.images .flex-control-thumbs{margin-top:10px;display:flex;gap:10px;flex-wrap:wrap;}
.woocommerce div.product div.images .flex-control-thumbs li{width:72px;float:none;}
.woocommerce div.product div.images .flex-control-thumbs img{border-radius:14px;}
.woocommerce div.product .product_title{margin:0 0 12px;font-size:clamp(26px,3vw,38px);font-weight:900;line-height:1.4;letter-spacing:0;}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--dnf-gold-2);font-size:24px;font-weight:800;}
.woocommerce div.product p.price del,.woocommerce div.product span.price del{color:var(--dnf-dim);opacity:1;font-size:.75em;font-weight:400;}
.woocommerce div.product p.price ins{text-decoration:none;}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--dnf-muted);}
.woocommerce div.product form.cart{margin:24px 0;display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none;}
.woocommerce div.product form.cart div.quantity{float:none;margin:0;}
.woocommerce div.product form.cart .button{float:none;}
.woocommerce div.product form.cart .variations{margin-bottom:16px;width:100%;}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{padding:6px 0;text-align:start;vertical-align:middle;}
.woocommerce div.product form.cart.variations_form{display:block;}
.woocommerce .quantity .qty{width:84px;padding:12px 10px;border-radius:999px;text-align:center;}
.woocommerce div.product .product_meta{font-size:14px;color:var(--dnf-dim);display:flex;flex-direction:column;gap:4px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);}
.woocommerce div.product .stock{color:#A8F0B4;}
.woocommerce div.product .out-of-stock{color:#FF8E87;}
.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:32px;}
.woocommerce div.product .woocommerce-tabs ul.tabs{margin:0 0 20px;padding:5px;display:inline-flex;gap:4px;flex-wrap:wrap;border-radius:999px;background:rgba(10,6,25,.4);border:1px solid rgba(255,255,255,.14);overflow:visible;}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after,.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{margin:0;padding:0;border:0;border-radius:999px;background:transparent;}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:9px 18px;font-size:14px;font-weight:700;color:rgba(244,241,255,.75);}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:rgba(255,255,255,.95);}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--dnf-on-gold);}
.woocommerce div.product .woocommerce-tabs .panel{margin:0;color:rgba(244,241,255,.86);}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:22px;margin:0 0 14px;letter-spacing:0;}
.woocommerce .related.products,.woocommerce .upsells.products,.woocommerce .cross-sells{clear:both;padding-top:40px;}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2,.woocommerce .cross-sells>h2,.woocommerce .cart_totals>h2{font-size:26px;margin:0 0 20px;letter-spacing:0;}
.woocommerce #reviews #comments ol.commentlist{padding:0;}
.woocommerce #reviews #comments ol.commentlist li .comment-text{border:1px solid rgba(255,255,255,.12);border-radius:18px;}
.woocommerce #reviews #comments ol.commentlist li img.avatar{border:0;background:none;border-radius:50%;padding:0;}

/* Tables: cart, orders, attributes */
.woocommerce table.shop_table{border:1px solid rgba(255,255,255,.14);border-radius:22px;overflow:hidden;border-collapse:separate;margin-bottom:24px;}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-color:rgba(255,255,255,.1);padding:14px 16px;text-align:start;}
.woocommerce table.shop_table th{color:#fff;background:rgba(108,60,233,.18);}
.woocommerce table.shop_table td a{color:#fff;}
.woocommerce table.shop_table img{border-radius:12px;}
.woocommerce a.remove{color:#FF8E87!important;}
.woocommerce a.remove:hover{background:#FF5F57;color:#fff!important;}
.woocommerce table.shop_attributes{border-color:rgba(255,255,255,.12);}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-color:rgba(255,255,255,.12);background:transparent!important;padding:10px 14px;font-style:normal;}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;flex-wrap:wrap;}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:180px;padding:11px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(10,6,25,.35);color:#fff;float:none;margin:0;}
.woocommerce .cart-collaterals .cart_totals{padding:24px;border-radius:26px;background:rgba(255,255,255,.05);border:1px solid var(--dnf-line);}

/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-noreviews,p.no-comments,.wc-block-components-notice-banner{margin-bottom:24px;padding:16px 20px;padding-inline-start:52px;border-radius:20px;border:1px solid rgba(180,155,255,.35);border-top-width:1px;background:rgba(108,60,233,.18);color:#fff;}
.woocommerce-message{border-color:rgba(40,200,64,.45);background:rgba(40,200,64,.14);}
.woocommerce-error{border-color:rgba(255,95,87,.5);background:rgba(255,95,87,.14);}
.woocommerce-message::before{color:#28C840;}.woocommerce-info::before{color:var(--dnf-lav);}.woocommerce-error::before{color:#FF5F57;}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{left:auto;right:auto;inset-inline-start:18px;top:16px;}
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{float:inline-end;padding:8px 18px;font-size:13px;}
.wc-block-components-notice-banner{padding-inline-start:20px;}
.wc-block-components-notice-banner>svg{fill:#fff;background:var(--dnf-purple);}

/* Forms: checkout, account */
.woocommerce form .form-row label{color:rgba(244,241,255,.8);}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{padding:13px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.2);background:rgba(10,6,25,.35);color:#fff;height:auto;}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff;padding:0;line-height:1.6;}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;}
.select2-dropdown{background:#17102E;border-color:rgba(255,255,255,.2);color:#fff;border-radius:14px;overflow:hidden;}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--dnf-purple);}
.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[data-selected=true]{background:rgba(108,60,233,.35);}
.select2-container--default .select2-search--dropdown .select2-search__field{background:rgba(10,6,25,.5);border-color:rgba(255,255,255,.2);color:#fff;border-radius:10px;}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon,.woocommerce form.lost_reset_password{border:1px solid var(--dnf-line);border-radius:26px;padding:24px;background:rgba(255,255,255,.04);}
.woocommerce-checkout #payment{border-radius:26px;background:rgba(255,255,255,.05);border:1px solid var(--dnf-line);}
.woocommerce-checkout #payment ul.payment_methods{border-bottom-color:rgba(255,255,255,.12);}
.woocommerce-checkout #payment div.payment_box{background:rgba(108,60,233,.22);color:#fff;border-radius:14px;}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:rgba(108,60,233,.22);}
.woocommerce-checkout h3{font-size:22px;letter-spacing:0;}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;border-radius:22px;background:rgba(255,255,255,.05);border:1px solid var(--dnf-line);}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 16px;border-radius:14px;color:rgba(244,241,255,.8);text-decoration:none;font-size:15px;}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:rgba(108,60,233,.35);color:#fff;}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px;justify-content:center;flex-wrap:wrap;}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none;overflow:visible;}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;height:44px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:700;color:#fff;background:var(--dnf-glass);border:1px solid rgba(255,255,255,.14);}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--dnf-purple);border-color:var(--dnf-purple-2);color:#fff;}

/* Block-based cart and checkout */
.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select .wc-blocks-components-select__select,.wc-block-components-totals-coupon__input input{background:rgba(10,6,25,.35)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:14px!important;}
.wc-block-components-text-input label,.wc-blocks-components-select .wc-blocks-components-select__label,.wc-block-components-form .wc-block-components-text-input label{color:rgba(244,241,255,.6)!important;}
.wc-block-components-sidebar,.wc-block-cart__sidebar,.wc-block-checkout__sidebar{padding:20px!important;border-radius:26px;background:rgba(255,255,255,.05);border:1px solid var(--dnf-line);}
.wc-block-components-totals-item,.wc-block-components-product-name,.wc-block-components-order-summary-item__quantity,.wc-block-components-title,.wc-block-components-checkbox__label,.wc-block-components-radio-control__label,.wc-block-components-panel__button{color:#fff!important;}
.wc-block-components-order-summary-item__quantity{background:var(--dnf-purple)!important;border-color:var(--dnf-purple-2)!important;box-shadow:none!important;}
.wc-block-components-product-metadata,.wc-block-components-totals-item__description,.wc-block-components-radio-control__description,.wc-block-components-checkout-step__description{color:var(--dnf-dim)!important;}
.wc-block-cart-items,.wc-block-cart-items td,.wc-block-cart-items th,.wc-block-components-totals-wrapper,.wc-block-components-radio-control-accordion-option,.wc-block-components-order-summary-item,.wc-block-components-panel{border-color:rgba(255,255,255,.12)!important;}
.wc-block-components-radio-control-accordion-option,.wc-block-components-radio-control--highlight-checked::after,.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option::after{box-shadow:none!important;border-color:rgba(255,255,255,.14)!important;}
.wc-block-components-quantity-selector{border-radius:999px!important;background:rgba(10,6,25,.35);}
.wc-block-components-quantity-selector::after{border-color:rgba(255,255,255,.2)!important;border-radius:999px!important;}
.wc-block-components-quantity-selector input,.wc-block-components-quantity-selector button{color:#fff!important;background:transparent!important;}
.wc-block-cart-item__remove-link,.wc-block-components-totals-coupon-link,.wc-block-components-checkout-return-to-cart-button{color:var(--dnf-link)!important;}
.wc-block-cart-items .wc-block-cart-items__row img,.wc-block-components-order-summary-item__image img{border-radius:12px;}
.wc-block-cart__empty-cart__title,.wp-block-woocommerce-empty-cart-block h2{color:#fff;}
.wc-block-components-product-price,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--dnf-gold-2)!important;}
.wc-block-components-sale-badge{color:var(--dnf-on-gold)!important;background:var(--dnf-grad-gold)!important;border:0!important;}

@media (max-width:768px){
	.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;}
	.woocommerce table.shop_table_responsive tr td::before{color:var(--dnf-dim);}
	.woocommerce table.shop_table_responsive tr:nth-child(2n) td{background:transparent;}
}

/* Block checkout: selects and notices */
.wc-blocks-components-select .wc-blocks-components-select__container{background:rgba(10,6,25,.35)!important;border-radius:14px!important;}
.wc-blocks-components-select .wc-blocks-components-select__select{background:transparent!important;}
.wc-blocks-components-select .wc-blocks-components-select__select option{background:#17102E;color:#fff;}
.wc-blocks-components-select .wc-blocks-components-select__expand{fill:#fff;}
.wc-block-components-notice-banner.is-error,.wc-block-components-notice-banner.is-info,.wc-block-components-notice-banner.is-success,.wc-block-components-notice-banner.is-warning{color:#fff;border-radius:18px;background:rgba(108,60,233,.18);border-color:rgba(180,155,255,.35);}
.wc-block-components-notice-banner.is-error{background:rgba(255,95,87,.14);border-color:rgba(255,95,87,.5);}
.wc-block-components-notice-banner.is-success{background:rgba(40,200,64,.14);border-color:rgba(40,200,64,.45);}
.wc-block-components-notice-banner a{color:#fff;}
.wc-block-components-sale-badge{border-radius:999px!important;padding:2px 10px!important;}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]{background:rgba(10,6,25,.35);border-color:rgba(255,255,255,.3);}
.wc-block-components-address-form__address_2-toggle,.wc-block-checkout__terms,.wc-block-checkout__guest-checkout-notice{color:var(--dnf-muted)!important;}
