:root{--vdc-ink:#30241f;--vdc-muted:#786d66;--vdc-line:#e5dbd2;--vdc-soft:#f3eee8;--vdc-blue:#d9edf5;--vdc-shadow:0 18px 50px rgba(55,38,28,.07)}
body.woocommerce-account,body.woocommerce-cart,body:has(.vd-wishlist-page){background:#fbf8f4}
.woocommerce-account .site-main,.woocommerce-cart .site-main{width:min(1180px,calc(100% - 40px));padding-block:60px 100px}
.woocommerce-account .vd-page-header,.woocommerce-cart .vd-page-header{text-align:center}.woocommerce-account .vd-page-header h1,.woocommerce-cart .vd-page-header h1{font-size:clamp(2.2rem,4vw,3.5rem)}
/* Authentication */
.vd-auth-intro{max-width:620px;margin:0 auto 34px;text-align:center}.vd-auth-intro>span,.vd-wishlist-hero span,.vd-account-section-title span{color:#7b6a20;font-size:.76rem;font-weight:800}.vd-auth-intro h1{margin:7px 0 10px;font-size:clamp(2rem,4vw,3.2rem)}.vd-auth-intro p{color:var(--vdc-muted)}
.woocommerce-account #customer_login{display:grid;max-width:900px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;direction:rtl}.woocommerce-account #customer_login>div{width:auto;float:none}.woocommerce-account #customer_login h2{margin-bottom:16px;font-size:1.45rem}.woocommerce-account #customer_login form{height:calc(100% - 54px);padding:30px;background:#fff;border:1px solid var(--vdc-line);border-radius:20px;box-shadow:var(--vdc-shadow)}.woocommerce-account #customer_login label{margin-bottom:7px;font-size:.84rem;font-weight:700}.woocommerce-account #customer_login input.input-text{min-height:50px;padding:11px 14px;background:#fcfaf8;border:1px solid #d9cec5;border-radius:11px}.woocommerce-account #customer_login .button{min-height:46px;padding:10px 25px;color:#fff;background:var(--vdc-ink);border-radius:11px}.woocommerce-account #customer_login .woocommerce-privacy-policy-text{color:var(--vdc-muted);font-size:.82rem;line-height:1.8}.woocommerce-account #customer_login .dokan-role-customer,.woocommerce-account #customer_login .dokan-role-seller{display:none}
/* Logged-in account */
.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;direction:rtl}.woocommerce-account .woocommerce-MyAccount-navigation{grid-column:1;padding:16px;background:#fff;border:1px solid var(--vdc-line);border-radius:18px;box-shadow:var(--vdc-shadow)}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;gap:5px}.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:13px 15px;color:#594d47;border-radius:10px;font-weight:700}.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{color:#355d6c;background:var(--vdc-blue)}.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:12px;padding-top:12px;border-top:1px solid var(--vdc-line)}.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a{color:#a33b35}.woocommerce-account .woocommerce-MyAccount-content{grid-column:2;min-height:520px;padding:34px;background:#fff;border:1px solid var(--vdc-line);border-radius:20px;box-shadow:var(--vdc-shadow)}.vd-account-profile{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px;background:linear-gradient(135deg,#f5f0ea,#edf3ef);border:1px solid var(--vdc-line);border-radius:18px}.vd-account-profile__identity{display:flex;align-items:center;gap:16px}.vd-account-profile__identity img{border:5px solid #fff;border-radius:50%;box-shadow:0 7px 20px rgba(55,38,28,.1)}.vd-account-profile__identity span,.vd-account-profile__identity small{display:block;color:var(--vdc-muted)}.vd-account-profile__identity h2{margin:2px 0}.vd-account-marketplace{margin-top:38px}.vd-account-section-title{margin-bottom:20px}.vd-account-section-title h2{margin:5px 0;font-size:1.55rem}.vd-account-marketplace__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.vd-account-marketplace__grid a{display:flex;min-height:120px;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--vdc-ink);border-radius:15px}.vd-account-marketplace__grid .vd-icon{width:24px;height:24px;color:#70855e}
/* Cart */
.woocommerce-cart .vd-checkout-progress{max-width:600px;margin:10px auto 40px}.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start;direction:rtl}.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,.woocommerce-cart .woocommerce>.vd-checkout-progress{grid-column:1/-1}.woocommerce-cart .woocommerce-cart-form{grid-column:1;width:100%;float:none;padding:0;overflow:hidden;background:#fff;border:1px solid var(--vdc-line);border-radius:20px;box-shadow:var(--vdc-shadow)}.woocommerce-cart .cart-collaterals{grid-column:2;grid-row:3;width:100%;float:none}.woocommerce-cart table.shop_table{margin:0;border:0;border-radius:0}.woocommerce-cart table.cart th{padding:16px 13px;color:var(--vdc-muted);background:#f7f3ef;border:0;font-size:.78rem}.woocommerce-cart table.cart td{padding:20px 13px;border-color:#eee6df}.woocommerce-cart table.cart img{width:86px;border-radius:12px}.woocommerce-cart table.cart .product-name a{color:var(--vdc-ink);font-size:.96rem;font-weight:800}.woocommerce-cart table.cart .product-price,.woocommerce-cart table.cart .product-subtotal{font-size:.95rem;font-weight:800}.woocommerce-cart table.cart .quantity .qty{width:62px;min-height:42px;border-radius:9px}.woocommerce-cart table.cart td.actions{padding:18px;background:#fcfaf8}.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:9px}.woocommerce-cart table.cart td.actions .coupon .input-text{width:190px;min-height:44px}.woocommerce-cart table.cart td.actions .button{min-height:44px;border-radius:10px}.woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none;padding:25px;background:#fff;border:1px solid var(--vdc-line);border-radius:20px;box-shadow:var(--vdc-shadow)}.woocommerce-cart .cart_totals h2{font-size:1.35rem}.woocommerce-cart .cart_totals table{border:1px solid var(--vdc-line);border-radius:12px}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{padding:15px;color:#fff;background:var(--vdc-ink);border-radius:11px;font-size:1rem}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:#1f1714}
/* Wishlist */
.vd-wishlist-page{padding-bottom:100px}.vd-wishlist-hero{padding:65px 0;text-align:center;background:linear-gradient(125deg,#f1e8df,#e8f0ea)}.vd-wishlist-hero h1{margin:8px 0;font-size:clamp(2.4rem,5vw,4rem)}.vd-wishlist-hero p{margin:0;color:var(--vdc-muted)}.vd-wishlist-shell{padding-top:35px}.vd-wishlist-toolbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--vdc-line)}.vd-wishlist-toolbar a{color:#4e6974;font-weight:800}.vd-wishlist-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.vd-wishlist-card{display:grid;grid-template-columns:180px minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid var(--vdc-line);border-radius:18px;box-shadow:var(--vdc-shadow)}.vd-wishlist-card__image img{display:block;width:100%;height:100%;min-height:220px;object-fit:cover}.vd-wishlist-card__body{display:flex;min-width:0;flex-direction:column;padding:22px}.vd-wishlist-card__body>span{color:#7b6a20;font-size:.72rem}.vd-wishlist-card h2{margin:8px 0;font-size:1.05rem}.vd-wishlist-card__price{margin-top:auto;color:#6f5b17;font-size:1.05rem;font-weight:900}.vd-wishlist-card__actions{display:flex;align-items:center;gap:9px;margin-top:15px}.vd-wishlist-card__actions .vd-button{flex:1;text-align:center}.vd-wishlist-card__actions button{width:42px;height:42px;padding:0;color:#a23b35;background:#f8eeec;border:0;border-radius:50%;font-size:22px}.vd-wishlist-empty{max-width:560px;margin:55px auto 0;padding:50px;text-align:center;background:#fff;border:1px solid var(--vdc-line);border-radius:22px}.vd-wishlist-empty .vd-icon{width:50px;height:50px;color:#8c756a}.vd-wishlist-empty[hidden]{display:none}.vd-wishlist-loading{grid-column:1/-1;padding:55px;text-align:center;color:var(--vdc-muted)}
@media(max-width:900px){.woocommerce-account.logged-in .woocommerce,.woocommerce-cart .woocommerce{grid-template-columns:1fr}.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{grid-column:1;grid-row:auto}.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(3,1fr)}.vd-wishlist-products{grid-template-columns:1fr}}
@media(max-width:640px){.woocommerce-account #customer_login{grid-template-columns:1fr}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto}.woocommerce-account .woocommerce-MyAccount-navigation li{flex:0 0 auto}.woocommerce-account .woocommerce-MyAccount-content{padding:20px 15px}.vd-account-profile{align-items:flex-start;flex-direction:column}.vd-account-marketplace__grid{grid-template-columns:1fr}.vd-wishlist-card{grid-template-columns:120px minmax(0,1fr)}.vd-wishlist-card__image img{min-height:180px}.vd-wishlist-card__body{padding:15px}.woocommerce-cart table.cart .product-thumbnail{display:none}.woocommerce-cart table.cart td.actions .coupon{flex-direction:column}.woocommerce-cart table.cart td.actions .coupon .input-text{width:100%}}

/* Refined Arabic cart layout: generous width and non-breaking money columns. */
.woocommerce-cart .entry-content>.woocommerce{width:100%;max-width:none}
.woocommerce-cart .site-main{width:min(1320px,calc(100% - 48px));max-width:1320px;padding-block:52px 100px}.woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1fr) 350px;gap:30px}.woocommerce-cart .woocommerce-cart-form{width:100%;min-width:0}.woocommerce-cart table.shop_table{width:100%;table-layout:auto}.woocommerce-cart table.cart th{padding:16px 12px;white-space:nowrap}.woocommerce-cart table.cart th.product-remove{width:48px}.woocommerce-cart table.cart th.product-thumbnail{width:96px}.woocommerce-cart table.cart th.product-name{width:36%}.woocommerce-cart table.cart th.product-price{width:16%}.woocommerce-cart table.cart th.product-quantity{width:22%}.woocommerce-cart table.cart th.product-subtotal{width:16%}.woocommerce-cart table.cart td{padding:20px 12px;vertical-align:middle}.woocommerce-cart table.cart img{width:78px;max-width:none;border-radius:12px}.woocommerce-cart table.cart .product-name a{display:block;font-size:.96rem;line-height:1.6}.woocommerce-cart table.cart .product-price,.woocommerce-cart table.cart .product-subtotal{font-size:.92rem;font-weight:900;white-space:nowrap}.woocommerce-cart table.cart .quantity{display:flex;justify-content:center}.woocommerce-cart table.cart .quantity .qty{width:58px;padding-inline:5px}.woocommerce-cart table.cart .product-remove a{display:grid;width:34px;height:34px;place-items:center;margin:auto;color:#a53b35!important;background:#faefed;border-radius:50%}.woocommerce-cart table.cart td.actions .coupon .input-text{width:210px}.woocommerce-cart .cart_totals th,.woocommerce-cart .cart_totals td{padding:16px 12px}.woocommerce-cart .cart_totals td{font-weight:800;white-space:nowrap}
@media(max-width:1180px){.woocommerce-cart .site-main{width:min(960px,calc(100% - 40px))}.woocommerce-cart .woocommerce{display:flex;flex-direction:column;gap:24px}.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,.woocommerce-cart .woocommerce>.vd-checkout-progress,.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{width:100%;grid-column:auto;grid-row:auto}.woocommerce-cart .cart-collaterals .cart_totals{max-width:none}}

/* Account width and authentication layout corrections. */
.woocommerce-account .site-main{width:min(1320px,calc(100% - 48px));max-width:1320px}.woocommerce-account .entry-content>.woocommerce{width:100%;max-width:none}.woocommerce-account.logged-in .woocommerce{grid-template-columns:280px minmax(0,1fr);gap:30px}.woocommerce-account.logged-in .woocommerce-MyAccount-content{min-width:0;padding:38px}.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{width:100%}.woocommerce-account:not(.logged-in) .entry-content>.woocommerce{display:block}.woocommerce-account:not(.logged-in) #customer_login{display:grid;width:min(100%,1000px);max-width:1000px;margin:0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;direction:rtl}.woocommerce-account:not(.logged-in) #customer_login>.u-column1,.woocommerce-account:not(.logged-in) #customer_login>.u-column2{width:100%!important;max-width:none;float:none}.woocommerce-account:not(.logged-in) #customer_login h2{text-align:center}.woocommerce-account:not(.logged-in) #customer_login form{width:100%;min-width:0;height:auto;min-height:520px;padding:34px}.woocommerce-account:not(.logged-in) #customer_login .form-row{width:100%;float:none}.woocommerce-account:not(.logged-in) #customer_login input.input-text{width:100%;font-size:.95rem}.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login__submit,.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register__submit{min-width:140px}.woocommerce-account .woocommerce-MyAccount-content>p:first-child{padding:18px 20px;background:#f6f2ed;border:1px solid var(--vdc-line);border-radius:12px;line-height:1.9}.woocommerce-account .woocommerce-MyAccount-content>.dokan-btn,.woocommerce-account .woocommerce-MyAccount-content>a.dokan-btn{margin-bottom:20px}
@media(max-width:900px){.woocommerce-account .site-main{width:min(100% - 32px,760px)}.woocommerce-account:not(.logged-in) #customer_login{grid-template-columns:1fr}.woocommerce-account:not(.logged-in) #customer_login form{min-height:0}.woocommerce-account.logged-in .woocommerce-MyAccount-content{padding:26px 20px}}
@media(max-width:540px){.woocommerce-account .site-main{width:calc(100% - 22px)}.woocommerce-account:not(.logged-in) #customer_login form{padding:24px 18px}.vd-auth-intro h1{font-size:2.15rem}.woocommerce-account.logged-in .woocommerce-MyAccount-content{padding:20px 14px}}

/* Keep login and registration cards on the same row. */
.woocommerce-account:not(.logged-in) #customer_login{grid-template-areas:"login register";align-items:stretch}.woocommerce-account:not(.logged-in) #customer_login>.u-column1{grid-area:login}.woocommerce-account:not(.logged-in) #customer_login>.u-column2{grid-area:register}.woocommerce-account:not(.logged-in) #customer_login>.u-column1,.woocommerce-account:not(.logged-in) #customer_login>.u-column2{display:flex;min-width:0;flex-direction:column}.woocommerce-account:not(.logged-in) #customer_login form{display:flex;flex:1;min-height:0;flex-direction:column}.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-login .lost_password{margin-top:8px}.woocommerce-account:not(.logged-in) #customer_login .woocommerce-form-register__submit{margin-top:8px}.woocommerce-account:not(.logged-in) #customer_login .woocommerce-privacy-policy-text{margin-top:auto;padding-top:15px}.woocommerce-account:not(.logged-in) #customer_login .user-role{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:10px 22px}.woocommerce-account:not(.logged-in) #customer_login .user-role br{display:none}
@media(max-width:900px){.woocommerce-account:not(.logged-in) #customer_login{grid-template-areas:"login" "register"}.woocommerce-account:not(.logged-in) #customer_login>.u-column1,.woocommerce-account:not(.logged-in) #customer_login>.u-column2{grid-column:1}}
