body.woocommerce-cart,body.woocommerce-checkout{background:var(--mcc-page,#f3f5f7)}
.woocommerce-cart .site-main,.woocommerce-checkout .site-main{background:var(--mcc-page,#f3f5f7);padding-block:34px 54px}.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{width:min(1460px,calc(100% - 48px));margin-inline:auto;color:var(--mcc-text,#17213a)}
.meydan-cart-layout,.meydan-checkout-layout{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:28px;align-items:start;direction:ltr}.meydan-cart-layout>* ,.meydan-checkout-layout>*{direction:rtl}
.meydan-cart-summary,.meydan-cart-products,.meydan-checkout-summary,.meydan-checkout-card{border-radius:24px;background:var(--mcc-card,#fff);overflow:hidden}.meydan-cart-summary{position:sticky;top:108px}.meydan-cart-summary header,.meydan-checkout-summary header,.meydan-cart-products__head,.meydan-checkout-card>header{padding:24px 28px;border-bottom:1px solid var(--mcc-border,#e5e9ef)}.meydan-cart-summary h2,.meydan-checkout-summary h2,.meydan-cart-products h1,.meydan-checkout-card h1,.meydan-checkout-card h2{margin:0;font-size:19px;font-weight:700}.meydan-cart-summary__body,.meydan-checkout-summary__body{padding:20px 28px 28px}.meydan-cart-summary__body>div,.meydan-checkout-summary__body>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;color:var(--mcc-muted,#7b8799);font-size:15px}.meydan-cart-summary__body strong,.meydan-checkout-summary__body strong{color:var(--mcc-text,#17213a);font-weight:600}.meydan-cart-summary__body .is-discount span,.meydan-cart-summary__body .is-discount strong,.meydan-checkout-summary__body .is-discount span,.meydan-checkout-summary__body .is-discount strong{color:var(--mcc-discount,#0d8b5f)}.meydan-cart-summary__payable,.meydan-checkout-summary__payable{margin-top:8px;padding-top:22px!important;border-top:1px solid var(--mcc-border,#e5e9ef);font-size:17px!important;font-weight:700}.meydan-cart-checkout-button,.meydan-place-order{display:flex;align-items:center;justify-content:center;width:100%;min-height:58px;margin-top:16px;border:0;border-radius:14px;background:var(--mcc-accent,#ec6b00);color:var(--mcc-accent-text,#fff)!important;font:inherit;font-size:18px;font-weight:700;text-decoration:none;cursor:pointer}.meydan-place-order:disabled{opacity:.5;cursor:not-allowed}.meydan-money{white-space:nowrap}
.meydan-cart-products__head{display:flex;align-items:center;justify-content:space-between}.meydan-cart-products__head button{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--mcc-muted,#7b8799);font:inherit;font-size:14px;cursor:pointer}.meydan-cart-products__head button .meydan-icon{width:21px;height:21px}.meydan-cart-products__list{padding:0 28px}.meydan-cart-item{display:grid;grid-template-columns:136px minmax(0,1fr);grid-template-rows:auto auto;gap:12px 22px;align-items:start;padding:28px 0;border-bottom:1px solid var(--mcc-border,#e5e9ef);direction:rtl}.meydan-cart-item:last-child{border-bottom:0}.meydan-cart-item__image{grid-column:1;grid-row:1;display:grid;place-items:center;width:136px;height:136px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:22px;background:#fff;overflow:hidden}.meydan-cart-item__image img{width:100%;height:100%;padding:8px;object-fit:contain;border-radius:20px}.meydan-cart-item__content{grid-column:2;grid-row:1 / span 2;min-width:0;align-self:center}.meydan-cart-item__title{display:block;margin-bottom:10px;color:var(--mcc-text,#17213a)!important;font-size:17px;font-weight:600;text-decoration:none}.meydan-cart-item__variation{display:grid;gap:5px;margin-bottom:14px;color:var(--mcc-muted,#7b8799);font-size:13px}.meydan-cart-item__variation span{display:block}.meydan-cart-item__variation b{font-weight:500}.meydan-cart-item__prices{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.meydan-cart-item__prices del{color:var(--mcc-muted,#7b8799);font-size:12px;opacity:.72}.meydan-cart-item__sale{display:flex;align-items:center;gap:10px}.meydan-cart-item__sale em{padding:3px 8px;border-radius:999px;background:#fff0ed;color:#ef6a5a;font-style:normal;font-size:11px}.meydan-cart-item__sale strong{font-size:15px;color:var(--mcc-text,#17213a)}.meydan-cart-item__quantity{grid-column:1;grid-row:2;align-self:start;display:grid;grid-template-columns:minmax(0,1fr) minmax(38px,46px) minmax(0,1fr);width:100%;max-width:136px;height:46px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:12px;overflow:hidden;background:#fff;direction:rtl;box-sizing:border-box}.meydan-cart-item__quantity button,.meydan-cart-item__quantity input{min-width:0;width:100%;padding:0;border:0;border-inline-start:1px solid var(--mcc-border,#e5e9ef);background:#fff;color:var(--mcc-accent,#ec6b00);font:inherit;text-align:center}.meydan-cart-item__quantity button:last-child{border-inline-start:0;color:var(--mcc-accent,#ec6b00)}.meydan-cart-item__quantity .meydan-icon{width:20px;height:20px;margin:auto}.meydan-cart-item__quantity input{width:100%;color:var(--mcc-text,#17213a);appearance:textfield}.meydan-cart-page.is-processing{opacity:.55;pointer-events:none}.meydan-cart-empty{padding:40px;border-radius:22px;background:#fff;text-align:center}
/* Checkout */
.meydan-checkout-sidebar{position:sticky;top:108px}.meydan-checkout-sidebar .meydan-checkout-summary{margin-bottom:14px}.meydan-checkout-main{display:grid;gap:22px}.meydan-checkout-receiver__body{min-height:180px;padding:28px}.meydan-checkout-add-address{display:inline-flex;align-items:center;gap:10px;margin-top:18px;padding:13px 20px;border:1px solid var(--mcc-accent,#ec6b00);border-radius:12px;background:transparent;color:var(--mcc-accent,#ec6b00);font:inherit;font-weight:600;cursor:pointer}.meydan-checkout-add-address .meydan-icon{width:20px;height:20px}.meydan-checkout-address{display:grid;gap:8px}.meydan-checkout-address__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.meydan-checkout-address__tag{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:10px;color:var(--mcc-muted,#7b8799);font-size:12px}.meydan-checkout-address__tag .meydan-icon{width:17px;height:17px}.meydan-checkout-address__top button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--mcc-accent,#ec6b00);font:inherit;font-size:13px;cursor:pointer}.meydan-checkout-address p{margin:0;color:var(--mcc-muted,#7b8799);font-size:13px;line-height:1.9}.meydan-checkout-address>strong{font-size:15px}.meydan-checkout-shipping{padding:0 28px 28px;border-top:1px solid var(--mcc-border,#e5e9ef)}.meydan-checkout-shipping h3{margin:28px 0 18px;font-size:17px}.meydan-checkout-muted{color:var(--mcc-muted,#7b8799);font-size:13px}.meydan-shipping-option{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:86px;margin:12px 0;padding:16px 22px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:18px;background:#fff;cursor:pointer}.meydan-shipping-option.is-selected{border:2px solid var(--mcc-accent,#ec6b00);background:var(--mcc-selected,#fffaf5)}.meydan-shipping-option input{position:absolute;opacity:0}.meydan-shipping-option__copy{display:flex;flex-direction:column;gap:4px}.meydan-shipping-option__copy strong{font-size:16px}.meydan-shipping-option__copy small{color:var(--mcc-muted,#7b8799);font-size:12px}.meydan-shipping-option__radio{width:21px;height:21px;border:2px solid var(--mcc-border,#e5e9ef);border-radius:50%}.meydan-shipping-option.is-selected .meydan-shipping-option__radio{border:6px solid var(--mcc-accent,#ec6b00)}
.meydan-checkout-payment-card{padding-bottom:20px}.meydan-payment-methods{padding:20px 28px}.meydan-payment-methods .payment_methods{list-style:none;margin:0;padding:0;display:grid;gap:10px}.meydan-payment-methods .wc_payment_method{padding:14px 16px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:14px}.meydan-payment-methods label{font-weight:600}.meydan-payment-methods .payment_box{margin-top:8px;color:var(--mcc-muted,#7b8799);font-size:13px}.meydan-checkout-terms{margin-top:14px}.meydan-checkout-native-fields{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* Checkout dialogs */
.meydan-checkout-dialog{width:min(720px,calc(100% - 28px));max-width:none;padding:0;border:0;border-radius:24px;background:transparent;color:var(--mcc-text,#17213a)}.meydan-checkout-dialog::backdrop{background:color-mix(in srgb,var(--mcc-overlay,#4b5563) 82%,transparent)}.meydan-checkout-dialog__panel{margin:0;border:0;border-radius:24px;background:var(--mcc-card,#fff);overflow:hidden}.meydan-checkout-dialog__panel>header{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid var(--mcc-border,#e5e9ef)}.meydan-checkout-dialog__panel>header h2{margin:0;font-size:19px}.meydan-checkout-dialog__panel>header button{display:grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:var(--mcc-muted,#7b8799);cursor:pointer}.meydan-checkout-dialog__body{padding:26px 30px}.meydan-checkout-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:18px}.meydan-checkout-dialog label{position:relative;display:block}.meydan-checkout-dialog label>span:first-child{position:absolute;z-index:1;top:-10px;right:13px;padding:0 7px;background:var(--mcc-card,#fff);color:var(--mcc-muted,#7b8799);font-size:12px}.meydan-checkout-dialog input,.meydan-checkout-dialog select,.meydan-checkout-dialog textarea{width:100%;min-height:54px;padding:10px 14px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:12px;background:#fff;color:var(--mcc-text,#17213a);font:inherit;outline:0}.meydan-checkout-dialog textarea{resize:vertical}.meydan-checkout-dialog input:focus,.meydan-checkout-dialog select:focus,.meydan-checkout-dialog textarea:focus{border-color:var(--mcc-accent,#ec6b00);box-shadow:0 0 0 3px color-mix(in srgb,var(--mcc-accent,#ec6b00) 18%,transparent)}.meydan-checkout-feedback{min-height:20px;margin:12px 0 0;color:var(--mcc-discount,#0d8b5f);font-size:12px}.meydan-checkout-feedback.is-error{color:#c2413b}.meydan-checkout-dialog__panel>footer{display:flex;gap:12px;padding:18px 30px 24px;border-top:1px solid var(--mcc-border,#e5e9ef)}.meydan-checkout-dialog__panel>footer button{min-width:104px;height:48px;padding:0 20px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:12px;background:#fff;color:var(--mcc-text,#17213a);font:inherit;font-weight:600;cursor:pointer}.meydan-checkout-dialog__panel>footer .is-primary{border-color:var(--mcc-accent,#ec6b00);background:var(--mcc-accent,#ec6b00);color:var(--mcc-accent-text,#fff)}.meydan-checkout-dialog__panel>footer .is-loading{opacity:.65;cursor:wait}.meydan-checkout-address-list{display:grid;gap:10px;max-height:360px;overflow:auto}.meydan-checkout-address-choice{position:relative!important;display:grid!important;grid-template-columns:24px 1fr;gap:15px;align-items:center;padding:18px;border-bottom:1px solid var(--mcc-border,#e5e9ef);cursor:pointer}.meydan-checkout-address-choice>input{position:absolute;opacity:0;width:1px;height:1px}.meydan-checkout-address-choice__radio{position:static!important;width:18px;height:18px;padding:0!important;border:2px solid var(--mcc-border,#e5e9ef);border-radius:50%;background:#fff!important}.meydan-checkout-address-choice input:checked+.meydan-checkout-address-choice__radio{border:6px solid var(--mcc-accent,#ec6b00)}.meydan-checkout-address-choice>span:last-child{position:static!important;display:grid;gap:5px;padding:0!important;background:transparent!important}.meydan-checkout-address-choice b{font-size:12px;font-weight:500}.meydan-checkout-address-choice strong{font-size:14px}.meydan-checkout-address-choice small{color:var(--mcc-muted,#7b8799);font-size:12px;line-height:1.8}.meydan-checkout-new-address{display:inline-flex;align-items:center;gap:7px;margin-top:18px;border:0;background:transparent;color:var(--mcc-accent,#ec6b00);font:inherit;font-weight:600;cursor:pointer}.meydan-checkout-new-address .meydan-icon{width:19px;height:19px}
@media(max-width:900px){.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{width:min(100% - 24px,720px)}.meydan-cart-layout,.meydan-checkout-layout{grid-template-columns:1fr;direction:rtl}.meydan-cart-summary,.meydan-checkout-sidebar{position:static;order:2}.meydan-cart-products,.meydan-checkout-main{order:1}.meydan-cart-item{grid-template-columns:100px minmax(0,1fr);gap:14px}.meydan-cart-item__image{width:100px;height:100px}.meydan-cart-item__quantity{grid-column:1;justify-self:stretch}.meydan-checkout-sidebar{display:grid;gap:12px}.meydan-place-order{margin-top:0}.meydan-checkout-field-grid{grid-template-columns:1fr}.meydan-checkout-dialog__body{padding:22px}.meydan-checkout-dialog__panel>header,.meydan-checkout-dialog__panel>footer{padding-inline:22px}}
@media(max-width:520px){.woocommerce-cart .site-main,.woocommerce-checkout .site-main{padding-block:18px 36px}.meydan-cart-summary,.meydan-cart-products,.meydan-checkout-summary,.meydan-checkout-card{border-radius:18px}.meydan-cart-products__head,.meydan-cart-summary header,.meydan-checkout-card>header,.meydan-checkout-summary header{padding:18px 20px}.meydan-cart-products__list{padding:0 18px}.meydan-cart-item{grid-template-columns:88px minmax(0,1fr);padding:20px 0}.meydan-cart-item__image{width:88px;height:88px;border-radius:16px}.meydan-cart-item__title{font-size:14px}.meydan-cart-summary__body,.meydan-checkout-summary__body{padding:16px 20px 22px}.meydan-checkout-receiver__body,.meydan-checkout-shipping,.meydan-payment-methods{padding-inline:20px}.meydan-shipping-option{padding:14px 16px}.meydan-checkout-dialog{width:calc(100% - 18px);border-radius:18px}.meydan-checkout-dialog__panel{border-radius:18px}}

/* Stable, overflow-safe cart and checkout layout. */
.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.meydan-cart-page,.meydan-checkout-page,.meydan-cart-layout,.meydan-checkout-layout,.meydan-cart-products,.meydan-checkout-main,.meydan-checkout-sidebar,.meydan-checkout-card{min-width:0;box-sizing:border-box}
.meydan-cart-item__content,.meydan-cart-item__title,.meydan-cart-item__variation{min-width:0;overflow-wrap:anywhere}
.meydan-cart-item__variation span{max-width:100%;word-break:normal}
.meydan-place-order.is-loading{position:relative;color:transparent!important;pointer-events:none;cursor:wait}
.meydan-place-order.is-loading::after{content:"";position:absolute;top:50%;left:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border:2px solid color-mix(in srgb,var(--mcc-accent-text,#fff) 45%,transparent);border-top-color:var(--mcc-accent-text,#fff);border-radius:50%;animation:meydan-checkout-spin .65s linear infinite}
@keyframes meydan-checkout-spin{to{transform:rotate(360deg)}}
.meydan-checkout-form{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
.meydan-checkout-form #payment{float:none!important;width:100%!important;margin:0!important;background:transparent!important}
.meydan-checkout-form #payment ul.payment_methods{float:none!important;width:100%!important;border:0!important}
.meydan-checkout-form #payment div.form-row{float:none!important;width:100%!important;padding:0!important}
.meydan-checkout-address__top,.meydan-shipping-option{min-width:0}
.meydan-shipping-option__copy{min-width:0;overflow-wrap:anywhere}
.meydan-checkout-dialog__panel{max-height:min(90dvh,780px);display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.meydan-checkout-dialog__body{overflow:auto;min-width:0}
@media(max-width:900px){
  .woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{width:min(100% - 28px,860px)!important}
  .meydan-cart-layout,.meydan-checkout-layout{grid-template-columns:1fr!important;gap:18px!important;direction:rtl!important}
  .meydan-cart-products,.meydan-checkout-main{order:1!important}
  .meydan-cart-summary,.meydan-checkout-sidebar{position:static!important;order:2!important;width:100%!important}
  .meydan-checkout-sidebar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px!important}
  .meydan-checkout-sidebar .meydan-checkout-summary{margin:0!important}
  .meydan-place-order{margin-top:0!important}
}
@media(max-width:700px){
  .woocommerce-cart .site-main,.woocommerce-checkout .site-main{padding-block:16px 30px!important}
  .woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{width:calc(100% - 20px)!important}
  .meydan-cart-products__head,.meydan-cart-summary header,.meydan-checkout-card>header,.meydan-checkout-summary header{padding:16px 17px!important}
  .meydan-cart-products__list{padding:0 14px!important}
  .meydan-cart-item{grid-template-columns:92px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:10px 13px!important;padding:18px 0!important}
  .meydan-cart-item__image{width:92px!important;height:92px!important;border-radius:16px!important}
  .meydan-cart-item__content{align-self:start!important}
  .meydan-cart-item__title{margin-bottom:6px!important;font-size:14px!important;line-height:1.75!important}
  .meydan-cart-item__variation{gap:2px!important;margin-bottom:8px!important;font-size:11.5px!important;line-height:1.65!important}
  .meydan-cart-item__prices{gap:3px!important}.meydan-cart-item__sale{gap:6px!important}
  .meydan-cart-item__quantity{max-width:92px!important;height:40px!important;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)!important;border-radius:10px!important}
  .meydan-cart-item__quantity .meydan-icon{width:17px!important;height:17px!important}
  .meydan-cart-summary__body,.meydan-checkout-summary__body{padding:14px 17px 20px!important}
  .meydan-cart-summary__body>div,.meydan-checkout-summary__body>div{gap:10px!important;padding:9px 0!important;font-size:13px!important}
  .meydan-cart-checkout-button,.meydan-place-order{min-height:52px!important;border-radius:12px!important;font-size:16px!important}
  .meydan-checkout-main{gap:14px!important}
  .meydan-checkout-receiver__body{min-height:0!important;padding:18px!important}
  .meydan-checkout-address__top{align-items:flex-start!important;gap:10px!important;flex-wrap:wrap!important}
  .meydan-checkout-address p{font-size:12px!important;line-height:1.85!important;overflow-wrap:anywhere}
  .meydan-checkout-shipping{padding:0 18px 18px!important}
  .meydan-checkout-shipping h3{margin:20px 0 12px!important;font-size:15px!important}
  .meydan-shipping-option{min-height:72px!important;padding:12px 14px!important;border-radius:14px!important;gap:10px!important}
  .meydan-shipping-option__copy strong{font-size:14px!important}.meydan-shipping-option__copy small{font-size:11px!important}
  .meydan-payment-methods{padding:14px 18px!important}
  .meydan-payment-methods .wc_payment_method{padding:12px!important;border-radius:12px!important}
  .meydan-checkout-dialog{width:calc(100% - 14px)!important;max-height:94dvh!important;border-radius:16px!important}
  .meydan-checkout-dialog__panel{max-height:94dvh!important;border-radius:16px!important}
  .meydan-checkout-dialog__panel>header{min-height:60px!important;padding:12px 16px!important}.meydan-checkout-dialog__panel>header h2{font-size:17px!important}
  .meydan-checkout-dialog__body{padding:18px 16px!important}
  .meydan-checkout-field-grid{grid-template-columns:1fr!important;gap:16px!important;margin-bottom:16px!important}
  .meydan-checkout-dialog input,.meydan-checkout-dialog select,.meydan-checkout-dialog textarea{min-height:50px!important}
  .meydan-checkout-dialog__panel>footer{position:sticky;bottom:0;padding:12px 16px 16px!important;background:var(--mcc-card,#fff);gap:8px!important}
  .meydan-checkout-dialog__panel>footer button{flex:1;min-width:0!important;height:46px!important;padding:0 10px!important}
}
@media(max-width:390px){
  .meydan-cart-item{grid-template-columns:78px minmax(0,1fr)!important;gap:9px 10px!important}
  .meydan-cart-item__image{width:78px!important;height:78px!important}
  .meydan-cart-item__quantity{max-width:78px!important;grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr)!important}
  .meydan-cart-item__quantity .meydan-icon{width:15px!important;height:15px!important}
  .meydan-cart-item__sale strong{font-size:13px!important}
}


/* 0.12.0 cart / checkout layout corrections. */
@media(min-width:901px){
  .meydan-cart-layout,.meydan-checkout-layout{
    display:grid!important;
    grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important;
    grid-template-areas:"sidebar main"!important;
    gap:28px!important;
    align-items:start!important;
    direction:ltr!important;
  }
  .meydan-cart-summary,.meydan-checkout-sidebar{grid-area:sidebar!important;direction:rtl!important}
  .meydan-cart-products,.meydan-checkout-main{grid-area:main!important;direction:rtl!important;min-width:0!important}
  .meydan-cart-summary,.meydan-checkout-sidebar{top:calc(var(--meydan-sticky-main-height,132px) + 86px)!important;z-index:5}
}

/* Quantity control: buttons are separate cells; quantity stays perfectly centered. */
.meydan-cart-item__quantity{
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  direction:rtl!important;
}
.meydan-cart-item__quantity button{
  flex:0 0 42px!important;
  width:42px!important;
  min-width:42px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--mcc-accent,#ec6b00)!important;
  cursor:pointer;
}
.meydan-cart-item__quantity input{
  flex:1 1 auto!important;
  width:0!important;
  min-width:34px!important;
  height:100%!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  border-inline:1px solid var(--mcc-border,#e5e9ef)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--mcc-text,#17213a)!important;
  font:inherit!important;
  font-weight:600!important;
  line-height:1!important;
  text-align:center!important;
  text-align-last:center!important;
  appearance:textfield!important;
  -moz-appearance:textfield!important;
}
.meydan-cart-item__quantity input::-webkit-outer-spin-button,.meydan-cart-item__quantity input::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
.meydan-cart-item__quantity button .meydan-icon{margin:auto!important}

/* Checkout form hierarchy: main content on the right, invoice sidebar on the left. */
.meydan-checkout-main{width:100%!important;align-self:start!important}
.meydan-checkout-sidebar{width:100%!important;align-self:start!important}
.meydan-checkout-dialog label.is-wide textarea{min-height:92px!important;padding-block:14px!important;line-height:1.9!important}

/* Meydan-styled WooCommerce notices and coupon prompt. */
.woocommerce-cart .woocommerce-notices-wrapper,.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-form-coupon-toggle{width:100%;margin:0 0 18px!important}
.woocommerce-cart .woocommerce-error,.woocommerce-cart .woocommerce-info,.woocommerce-cart .woocommerce-message,
.woocommerce-checkout .woocommerce-error,.woocommerce-checkout .woocommerce-info,.woocommerce-checkout .woocommerce-message{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:54px!important;
  margin:0 0 14px!important;
  padding:12px 16px!important;
  border:1px solid var(--mcc-border,#e5e9ef)!important;
  border-inline-start:4px solid var(--mcc-accent,#ec6b00)!important;
  border-radius:14px!important;
  background:var(--mcc-card,#fff)!important;
  color:var(--mcc-text,#17213a)!important;
  font:inherit!important;
  font-size:13px!important;
  line-height:1.8!important;
  list-style:none!important;
  box-shadow:none!important;
}
.woocommerce-cart .woocommerce-error:before,.woocommerce-cart .woocommerce-info:before,.woocommerce-cart .woocommerce-message:before,
.woocommerce-checkout .woocommerce-error:before,.woocommerce-checkout .woocommerce-info:before,.woocommerce-checkout .woocommerce-message:before{display:none!important;content:none!important}
.woocommerce-cart .woocommerce-error,.woocommerce-checkout .woocommerce-error{border-inline-start-color:#dc3545!important;background:color-mix(in srgb,#dc3545 5%,var(--mcc-card,#fff))!important}
.woocommerce-cart .woocommerce-message,.woocommerce-checkout .woocommerce-message{border-inline-start-color:#16a36a!important;background:color-mix(in srgb,#16a36a 5%,var(--mcc-card,#fff))!important}
.woocommerce-checkout .woocommerce-info a,.woocommerce-checkout .woocommerce-form-coupon-toggle a{color:var(--mcc-accent,#ec6b00)!important;font-weight:700;text-decoration:none!important}
.woocommerce-checkout form.checkout_coupon{
  width:100%!important;
  margin:-4px 0 20px!important;
  padding:16px!important;
  border:1px solid var(--mcc-border,#e5e9ef)!important;
  border-radius:14px!important;
  background:var(--mcc-card,#fff)!important;
  box-shadow:none!important;
}
.woocommerce-checkout form.checkout_coupon .form-row{float:none!important;width:100%!important;margin:0!important;padding:0!important}
.woocommerce-checkout form.checkout_coupon p:first-child{margin:0 0 12px;color:var(--mcc-muted,#7b8799);font-size:13px}
.woocommerce-checkout form.checkout_coupon .form-row-first{display:inline-block!important;width:calc(100% - 150px)!important;vertical-align:middle}
.woocommerce-checkout form.checkout_coupon .form-row-last{display:inline-block!important;width:140px!important;margin-inline-start:6px!important;vertical-align:middle}
.woocommerce-checkout form.checkout_coupon input.input-text{width:100%!important;min-height:46px!important;padding:0 13px!important;border:1px solid var(--mcc-border,#e5e9ef)!important;border-radius:11px!important;background:#fff!important;font:inherit!important;outline:0}
.woocommerce-checkout form.checkout_coupon button{width:100%!important;min-height:46px!important;border:0!important;border-radius:11px!important;background:var(--mcc-accent,#ec6b00)!important;color:var(--mcc-accent-text,#fff)!important;font:inherit!important;font-weight:700!important}

/* The gateway description is intentionally hidden for Aghaye Pardakht. */
.meydan-payment-methods .payment_box.payment_method_WC_aqayepardakht{display:none!important}

/* Keep the two-column checkout until tablet/mobile widths, not at common small desktop widths. */
@media(min-width:901px) and (max-width:1024px){
  .woocommerce-checkout .woocommerce{width:min(100% - 28px,980px)!important}
  .meydan-checkout-layout{grid-template-columns:minmax(250px,300px) minmax(0,1fr)!important;grid-template-areas:"sidebar main"!important;gap:18px!important;direction:ltr!important}
  .meydan-checkout-sidebar{position:sticky!important;order:initial!important}
  .meydan-checkout-main{order:initial!important}
}
@media(max-width:900px){
  .meydan-checkout-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:"main" "sidebar"!important;direction:rtl!important}
  .meydan-checkout-main{grid-area:main!important;order:1!important}
  .meydan-checkout-sidebar{grid-area:sidebar!important;position:static!important;order:2!important}
}
@media(max-width:700px){
  .meydan-cart-item__quantity button{flex-basis:34px!important;width:34px!important;min-width:34px!important}
  .meydan-cart-item__quantity input{min-width:28px!important;padding-inline:2px!important}
  .woocommerce-checkout form.checkout_coupon .form-row-first,.woocommerce-checkout form.checkout_coupon .form-row-last{display:block!important;width:100%!important;margin:0!important}
  .woocommerce-checkout form.checkout_coupon .form-row-last{margin-top:8px!important}
}

.meydan-checkout-page.is-shipping-processing [data-meydan-shipping-methods]{opacity:.62;pointer-events:none;transition:opacity .16s ease}


/* 0.12.1 checkout hierarchy, coupon, logos and compact payment refinements. */
.meydan-checkout-sidebar{display:grid;gap:14px}
.meydan-checkout-sidebar .meydan-checkout-summary{margin-bottom:0!important}
.meydan-checkout-sidebar .meydan-checkout-payment-card{margin:0;padding:0;overflow:hidden}
.meydan-checkout-sidebar .meydan-checkout-payment-card>header{padding:18px 22px}
.meydan-checkout-sidebar .meydan-checkout-payment-card h2{font-size:16px}
.meydan-checkout-sidebar .meydan-payment-methods{padding:16px 20px 18px}
.meydan-payment-methods .wc_payment_method label{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0}
.meydan-payment-methods .wc_payment_method label img{display:block!important;width:auto!important;height:auto!important;max-width:42px!important;max-height:26px!important;margin:0!important;object-fit:contain!important}

/* Shipping carrier branding: image on the physical right, selector on the left. */
.meydan-shipping-option{gap:14px}
.meydan-shipping-option__main{display:flex;align-items:center;gap:13px;min-width:0}
.meydan-shipping-option__logo{flex:0 0 52px;display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:12px;background:#fff;overflow:hidden}
.meydan-shipping-option__logo img{display:block;width:42px;height:42px;object-fit:contain;border-radius:8px}
.meydan-shipping-option__radio{flex:0 0 21px;margin-inline-start:auto}

/* Coupon is a first-class Meydan card above receiver info, matching its width. */
.woocommerce-checkout .woocommerce-form-coupon-toggle.meydan-checkout-coupon{display:block!important;width:100%!important;margin:0!important;padding:0!important;border:1px solid var(--mcc-border,#e5e9ef)!important;border-inline-start:1px solid var(--mcc-border,#e5e9ef)!important;border-radius:18px!important;background:var(--mcc-card,#fff)!important;color:var(--mcc-text,#17213a)!important;box-shadow:none!important;overflow:hidden}
.woocommerce-checkout .woocommerce-form-coupon-toggle.meydan-checkout-coupon:before{display:none!important;content:none!important}
.meydan-checkout-coupon__toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:58px;padding:14px 20px;border:0;background:transparent;color:var(--mcc-text,#17213a);font:inherit;cursor:pointer;text-align:right}
.meydan-checkout-coupon__toggle span{font-weight:650}.meydan-checkout-coupon__toggle strong{color:var(--mcc-accent,#ec6b00);font-size:13px;font-weight:700}
.meydan-checkout-coupon__body{padding:0 20px 18px;border-top:1px solid var(--mcc-border,#e5e9ef)}
.meydan-checkout-coupon__fields{display:grid;grid-template-columns:minmax(0,1fr) 126px;gap:10px;padding-top:16px}
.meydan-checkout-coupon__fields input,.meydan-checkout-coupon__fields button{box-sizing:border-box;width:100%;height:48px;min-height:48px;margin:0!important;padding:0 14px;border-radius:11px;font:inherit;line-height:48px}
.meydan-checkout-coupon__fields input{border:1px solid var(--mcc-border,#e5e9ef);background:#fff;color:var(--mcc-text,#17213a);outline:0}
.meydan-checkout-coupon__fields input:focus{border-color:var(--mcc-accent,#ec6b00);box-shadow:0 0 0 3px color-mix(in srgb,var(--mcc-accent,#ec6b00) 12%,transparent)}
.meydan-checkout-coupon__fields button{position:relative;border:0;background:var(--mcc-accent,#ec6b00);color:var(--mcc-accent-text,#fff);font-weight:700;cursor:pointer}
.meydan-checkout-coupon__fields button.is-loading{color:transparent;pointer-events:none}
.meydan-checkout-coupon__fields button.is-loading:after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;border:2px solid color-mix(in srgb,var(--mcc-accent-text,#fff) 35%,transparent);border-top-color:var(--mcc-accent-text,#fff);border-radius:50%;animation:meydan-checkout-spin .7s linear infinite}
.meydan-checkout-coupon__feedback{min-height:20px;margin:8px 0 0;color:#16855f;font-size:12px}.meydan-checkout-coupon__feedback.is-error{color:#c33d4a}

/* Wide address field should feel like an address field, not a single-line input. */
.meydan-checkout-dialog label.is-wide textarea{min-height:112px!important}

@media(max-width:900px){
  .meydan-checkout-sidebar{gap:12px!important}
  .meydan-checkout-sidebar .meydan-checkout-payment-card{order:1}
  .meydan-place-order{order:2}
}
@media(max-width:520px){
  .meydan-shipping-option__logo{flex-basis:44px;width:44px;height:44px;border-radius:10px}
  .meydan-shipping-option__logo img{width:35px;height:35px}
  .meydan-checkout-coupon__toggle{min-height:54px;padding:12px 16px;align-items:flex-start;flex-direction:column;gap:4px}
  .meydan-checkout-coupon__body{padding-inline:16px}
  .meydan-checkout-coupon__fields{grid-template-columns:1fr}
  .meydan-checkout-coupon__fields input,.meydan-checkout-coupon__fields button{height:46px;min-height:46px;line-height:46px}
}


/* 0.12.3 checkout polish: movable payment area, larger methods and redesigned coupon. */
@media(min-width:901px){
 .meydan-checkout-layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important;grid-template-areas:"summary main" "payment main" "place main"!important;gap:14px 28px!important;direction:ltr!important}
 .meydan-checkout-sidebar{grid-area:summary!important;position:sticky!important;top:calc(var(--meydan-sticky-main-height,132px) + 86px)!important;direction:rtl!important;display:block!important}
 .meydan-checkout-payment-card{grid-area:payment!important;direction:rtl!important;align-self:start!important;margin:0!important}
 .meydan-place-order{grid-area:place!important;direction:rtl!important;margin:0!important;align-self:start!important}
 .meydan-checkout-main{grid-area:main!important;direction:rtl!important;min-width:0!important}
}
.meydan-checkout-payment-card{overflow:hidden!important}.meydan-checkout-payment-card>header{padding:20px 24px!important}.meydan-checkout-payment-card h2{font-size:17px!important}.meydan-payment-methods{padding:18px 22px 22px!important}.meydan-payment-methods .payment_methods{gap:13px!important}.meydan-payment-methods .wc_payment_method{min-height:78px!important;padding:18px 18px!important;border-radius:16px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}.meydan-payment-methods .wc_payment_method>input{margin:0 0 0 10px!important}.meydan-payment-methods .wc_payment_method label{min-height:40px!important;font-size:15px!important}.meydan-payment-methods .wc_payment_method label img{max-width:34px!important;max-height:22px!important}

/* Coupon: compact, balanced card aligned with receiver. */
.woocommerce-checkout .woocommerce-form-coupon-toggle.meydan-checkout-coupon{border-radius:20px!important;overflow:hidden!important}.meydan-checkout-coupon__toggle{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;align-items:center!important;gap:13px!important;min-height:76px!important;padding:12px 18px!important;text-align:right!important}.meydan-checkout-coupon__icon{display:grid!important;place-items:center!important;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--mcc-accent,#ec6b00) 9%,#fff);color:var(--mcc-accent,#ec6b00)}.meydan-checkout-coupon__icon .meydan-icon{width:22px;height:22px}.meydan-checkout-coupon__copy{display:grid;gap:3px;min-width:0}.meydan-checkout-coupon__copy strong{color:var(--mcc-text,#17213a)!important;font-size:14px!important}.meydan-checkout-coupon__copy small{color:var(--mcc-muted,#7b8799);font-size:12px;line-height:1.7}.meydan-checkout-coupon__action{display:inline-flex;align-items:center;gap:6px;color:var(--mcc-accent,#ec6b00);font-size:12px;font-weight:700;white-space:nowrap}.meydan-checkout-coupon__action .meydan-icon{width:16px;height:16px;transition:transform .16s ease}.meydan-checkout-coupon__toggle[aria-expanded="true"] .meydan-checkout-coupon__action .meydan-icon{transform:rotate(180deg)}.meydan-checkout-coupon__body{padding:0 18px 18px!important}.meydan-checkout-coupon__fields{grid-template-columns:minmax(0,1fr) 130px!important;gap:10px!important}.meydan-checkout-coupon__fields input,.meydan-checkout-coupon__fields button{height:50px!important;min-height:50px!important;line-height:50px!important}

@media(max-width:900px){
 .meydan-checkout-layout{grid-template-columns:1fr!important;grid-template-areas:"main" "payment" "summary" "place"!important;gap:14px!important;direction:rtl!important}
 .meydan-checkout-main{grid-area:main!important;order:initial!important}.meydan-checkout-payment-card{grid-area:payment!important;order:initial!important}.meydan-checkout-sidebar{grid-area:summary!important;position:static!important;order:initial!important}.meydan-place-order{grid-area:place!important;order:initial!important;margin:0!important}
 .meydan-payment-methods .wc_payment_method{min-height:72px!important;padding:15px 16px!important}
}
@media(max-width:520px){.meydan-checkout-coupon__toggle{grid-template-columns:40px minmax(0,1fr)!important;min-height:72px!important;padding:11px 14px!important}.meydan-checkout-coupon__action{grid-column:2;justify-self:start}.meydan-checkout-coupon__icon{width:40px;height:40px}.meydan-checkout-coupon__fields{grid-template-columns:1fr!important}.meydan-payment-methods{padding:14px!important}.meydan-payment-methods .wc_payment_method{min-height:68px!important;padding:14px!important}}

/* 0.12.3: checkout sidebar is one intrinsic stack so summary/payment/order can never overlap. */
.meydan-checkout-layout{align-items:start!important}
.meydan-checkout-main,.meydan-checkout-sidebar,.meydan-checkout-summary,.meydan-checkout-payment-card,.meydan-place-order{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.meydan-checkout-sidebar{display:flex!important;flex-direction:column!important;gap:14px!important;align-self:start!important}
.meydan-checkout-sidebar>.meydan-checkout-summary,
.meydan-checkout-sidebar>.meydan-checkout-payment-card,
.meydan-checkout-sidebar>.meydan-place-order{position:relative!important;inset:auto!important;width:100%!important;margin:0!important;flex:0 0 auto!important}
.meydan-checkout-summary__body{position:relative!important;height:auto!important;min-height:0!important;overflow:visible!important}

@media(min-width:901px){
  .meydan-checkout-layout{grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important;grid-template-areas:"sidebar main"!important;gap:28px!important;direction:ltr!important}
  .meydan-checkout-sidebar{grid-area:sidebar!important;position:sticky!important;top:calc(var(--meydan-sticky-main-height,132px) + 24px)!important;direction:rtl!important}
  .meydan-checkout-main{grid-area:main!important;direction:rtl!important}
  .meydan-checkout-sidebar>.meydan-checkout-summary{order:1!important}
  .meydan-checkout-sidebar>.meydan-checkout-payment-card{order:2!important}
.meydan-checkout-payment-card>.meydan-place-order{width:calc(100% - 56px)!important;margin:0 28px 8px!important}
  }

@media(max-width:900px){
  .meydan-checkout-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"main" "sidebar"!important;gap:14px!important;direction:rtl!important}
  .meydan-checkout-main{grid-area:main!important}
  .meydan-checkout-sidebar{grid-area:sidebar!important;position:static!important}
  /* Payment comes first in the mobile sidebar, then invoice and the final action. */
  .meydan-checkout-sidebar>.meydan-checkout-payment-card{order:1!important}
  .meydan-checkout-sidebar>.meydan-checkout-summary{order:2!important}
  }

/* Coupon must remain fluid at every width and never force the checkout grid wider. */
.woocommerce-checkout .woocommerce-form-coupon-toggle.meydan-checkout-coupon,
.meydan-checkout-coupon__toggle,
.meydan-checkout-coupon__body,
.meydan-checkout-coupon__fields{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.meydan-checkout-coupon__copy{overflow:hidden!important}
.meydan-checkout-coupon__copy strong,.meydan-checkout-coupon__copy small{overflow-wrap:anywhere!important}
.meydan-checkout-coupon__fields input{min-width:0!important}

@media(max-width:700px){
  .meydan-checkout-coupon__toggle{grid-template-columns:40px minmax(0,1fr)!important;min-height:68px!important;padding:11px 14px!important}
  .meydan-checkout-coupon__action{grid-column:2!important;justify-self:start!important;white-space:normal!important}
  .meydan-checkout-coupon__icon{width:40px!important;height:40px!important}
  .meydan-checkout-coupon__body{padding:0 14px 14px!important}
  .meydan-checkout-coupon__fields{grid-template-columns:minmax(0,1fr) 112px!important;gap:8px!important}
  .meydan-checkout-coupon__fields input,.meydan-checkout-coupon__fields button{width:100%!important;height:46px!important;min-height:46px!important;line-height:46px!important}
}


/* 0.12.4 checkout: direct coupon field, complete billing data, native Meydan notices. */
.meydan-checkout-sidebar>.meydan-checkout-coupon{order:0!important}
.meydan-checkout-sidebar>.meydan-checkout-summary{order:1!important}
.meydan-checkout-sidebar>.meydan-checkout-payment-card{order:2!important}
.meydan-checkout-payment-card>.meydan-place-order{width:calc(100% - 56px)!important;margin:0 28px 8px!important}

.meydan-checkout-coupon{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  padding:14px!important;
  border:1px solid var(--mcc-border,#e5e9ef)!important;
  border-radius:16px!important;
  background:var(--mcc-card,#fff)!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
.meydan-checkout-coupon__fields{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px!important;
  gap:8px!important;
  padding:0!important;
  min-width:0!important;
}
.meydan-checkout-coupon__fields input,
.meydan-checkout-coupon__fields button{
  box-sizing:border-box!important;
  width:100%!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border-radius:11px!important;
  font:inherit!important;
  line-height:normal!important;
}
.meydan-checkout-coupon__fields input{
  min-width:0!important;
  border:1px solid var(--mcc-border,#e5e9ef)!important;
  background:#fff!important;
  color:var(--mcc-text,#17213a)!important;
  outline:0!important;
}
.meydan-checkout-coupon__fields input:focus{
  border-color:var(--mcc-accent,#ec6b00)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--mcc-accent,#ec6b00) 12%,transparent)!important;
}
.meydan-checkout-coupon__fields button{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  background:var(--mcc-accent,#ec6b00)!important;
  color:var(--mcc-accent-text,#fff)!important;
  font-weight:700!important;
  cursor:pointer!important;
}
.meydan-checkout-coupon__feedback{min-height:0!important;margin:7px 2px 0!important;color:#16855f!important;font-size:12px!important;line-height:1.7!important}
.meydan-checkout-coupon__feedback:empty{display:none!important}
.meydan-checkout-coupon__feedback.is-error{display:block!important;color:#c33d4a!important}

/* WooCommerce's payment-method list contributes no extra inner padding; cards own their spacing. */
.meydan-payment-methods .wc_payment_methods.payment_methods.methods{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

/* Checkout errors/messages must always use Meydan's visual language, including AJAX-injected groups. */
.woocommerce-checkout .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
.woocommerce-cart .woocommerce-NoticeGroup{
  direction:rtl!important;
  text-align:right!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font:inherit!important;
}
.woocommerce-checkout .woocommerce-NoticeGroup ul,
.woocommerce-cart .woocommerce-NoticeGroup ul{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-message{
  display:block!important;
  min-height:0!important;
  padding:13px 15px!important;
  border-width:1px!important;
  border-inline-start-width:4px!important;
  border-radius:14px!important;
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1.9!important;
}
.woocommerce-checkout .woocommerce-error li,
.woocommerce-checkout .woocommerce-info li,
.woocommerce-checkout .woocommerce-message li{
  direction:rtl!important;
  text-align:right!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font:inherit!important;
  line-height:inherit!important;
}

@media(max-width:520px){
  .meydan-checkout-payment-card>.meydan-place-order{width:calc(100% - 40px)!important;margin:0 20px 4px!important}
  .meydan-checkout-coupon{padding:12px!important;border-radius:14px!important}
  .meydan-checkout-coupon__fields{grid-template-columns:minmax(0,1fr) 96px!important;gap:7px!important}
  .meydan-checkout-coupon__fields input,.meydan-checkout-coupon__fields button{height:44px!important;min-height:44px!important;padding-inline:10px!important}
}

/* 0.12.6: final checkout hierarchy + Meydan order-received experience. */
.meydan-checkout-payment-card{padding-bottom:0!important}
.meydan-checkout-sidebar>.meydan-checkout-coupon{order:0!important}
.meydan-checkout-sidebar>.meydan-checkout-summary{order:1!important}
.meydan-checkout-sidebar>.meydan-checkout-payment-card{order:2!important}
.meydan-checkout-sidebar>.meydan-place-order{
  order:3!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-height:56px!important;
  margin:0!important;
  padding:12px 18px!important;
  box-sizing:border-box!important;
}
/* Coupon controls remain one row at every responsive breakpoint. */
.meydan-checkout-coupon__fields{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(88px,112px)!important;
  gap:8px!important;
  align-items:stretch!important;
}
.meydan-checkout-coupon__fields input,
.meydan-checkout-coupon__fields button{min-width:0!important;margin:0!important}
@media(max-width:520px){
  .meydan-checkout-coupon__fields{grid-template-columns:minmax(0,1fr) 92px!important;gap:7px!important}
  .meydan-checkout-sidebar>.meydan-place-order{min-height:52px!important}
}
@media(max-width:360px){
  .meydan-checkout-coupon{padding:10px!important}
  .meydan-checkout-coupon__fields{grid-template-columns:minmax(0,1fr) 86px!important;gap:6px!important}
  .meydan-checkout-coupon__fields input,.meydan-checkout-coupon__fields button{padding-inline:8px!important;font-size:12px!important}
}

/* 0.13.0 thank-you page: entirely driven by Meydan cart/checkout color settings. */
.meydan-thankyou-page{direction:rtl;color:var(--mcc-text,#17213a);background:var(--mcc-page,#f3f5f7);padding:0 0 34px}
.meydan-thankyou-shell{display:grid;gap:16px;width:min(1180px,calc(100% - 28px));margin-inline:auto;min-width:0}
.meydan-thankyou-card{min-width:0;border:1px solid var(--mcc-border,#e5e9ef);border-radius:22px;background:var(--mcc-card,#fff);color:var(--mcc-text,#17213a);box-shadow:none;overflow:hidden}
.meydan-thankyou-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:26px 28px;direction:rtl}
.meydan-thankyou-hero__status{display:flex;align-items:center;gap:16px;min-width:0}.meydan-thankyou-hero__icon,.meydan-thankyou-message__icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--mcc-selected,#fffaf5);color:var(--mcc-accent,#ec6b00);flex:0 0 54px}
.meydan-thankyou-hero__icon .meydan-icon,.meydan-thankyou-message__icon .meydan-icon{width:28px;height:28px}
.meydan-thankyou-eyebrow{margin:0 0 3px;color:var(--mcc-muted,#7b8799);font-size:11px}
.meydan-thankyou-hero h1,.meydan-thankyou-message h1{margin:0;color:var(--mcc-text,#17213a);font-size:21px;line-height:1.6;font-weight:700}
.meydan-thankyou-hero__copy{min-width:0}.meydan-thankyou-hero__copy>p:last-child,.meydan-thankyou-message p{margin:5px 0 0;color:var(--mcc-muted,#7b8799);font-size:13px;line-height:1.9}
.meydan-thankyou-order-number{display:grid;place-items:center;align-content:center;min-width:148px;min-height:64px;padding:10px 16px;border:1px solid color-mix(in srgb,var(--mcc-accent,#ec6b00) 18%,var(--mcc-border,#e5e9ef));border-radius:15px;text-align:center;background:var(--mcc-selected,#fffaf5)}
.meydan-thankyou-order-number small{display:block;margin-bottom:3px;color:var(--mcc-muted,#7b8799);font-size:10px}.meydan-thankyou-order-number strong{font-size:17px}
.meydan-thankyou-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-width:0;border:1px solid var(--mcc-border,#e5e9ef);border-radius:18px;background:var(--mcc-card,#fff);overflow:hidden}
.meydan-thankyou-meta__item{display:flex;align-items:center;gap:11px;min-width:0;min-height:82px;padding:14px 17px;border-inline-start:1px solid var(--mcc-border,#e5e9ef)}.meydan-thankyou-meta__item:first-child{border-inline-start:0}
.meydan-thankyou-meta__icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:var(--mcc-selected,#fffaf5);color:var(--mcc-accent,#ec6b00)}.meydan-thankyou-meta__icon .meydan-icon{width:20px;height:20px}
.meydan-thankyou-meta__copy{display:grid;gap:3px;min-width:0}.meydan-thankyou-meta small{color:var(--mcc-muted,#7b8799);font-size:10px}.meydan-thankyou-meta strong{min-width:0;color:var(--mcc-text,#17213a);font-size:13px;font-weight:700;line-height:1.7;overflow-wrap:anywhere}.meydan-thankyou-meta__item.is-total strong{font-size:14px}
.meydan-thankyou-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:16px;align-items:start;direction:ltr;min-width:0}.meydan-thankyou-main,.meydan-thankyou-side{direction:rtl;min-width:0}.meydan-thankyou-main{display:grid;gap:16px}.meydan-thankyou-side{display:grid;gap:10px;position:sticky;top:calc(var(--meydan-sticky-main-height,132px) + 20px)}
.meydan-order-products>header,.meydan-order-delivery>header,.meydan-order-total-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:14px 20px;border-bottom:1px solid var(--mcc-border,#e5e9ef)}
.meydan-order-products h2,.meydan-order-delivery h2,.meydan-order-total-card h2{margin:0;font-size:15px}.meydan-order-products>header>span{color:var(--mcc-muted,#7b8799);font-size:11px}
.meydan-order-products__list{padding:0 20px}.meydan-order-product{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:13px;align-items:center;min-width:0;padding:17px 0;border-bottom:1px solid var(--mcc-border,#e5e9ef)}.meydan-order-product:last-child{border-bottom:0}.meydan-order-product__image{display:grid;place-items:center;width:70px;height:70px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:14px;background:var(--mcc-card,#fff);overflow:hidden}.meydan-order-product__image img{display:block;width:100%;height:100%;padding:6px;object-fit:contain}.meydan-order-product__content{display:grid;gap:5px;min-width:0}.meydan-order-product__content>strong{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.meydan-order-product__content small,.meydan-order-product__meta{color:var(--mcc-muted,#7b8799);font-size:10px;line-height:1.75}.meydan-order-product__meta p{margin:0}.meydan-order-product__price{min-width:0;font-size:12px;font-weight:700;white-space:nowrap}
.meydan-order-delivery__body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px 20px 16px}.meydan-order-delivery__body>div{display:grid;gap:5px;min-width:0;padding:13px 0;border-bottom:1px solid var(--mcc-border,#e5e9ef)}.meydan-order-delivery__body>div:nth-child(2n){padding-inline-start:18px}.meydan-order-delivery__body .is-wide{grid-column:1/-1;border-bottom:0}.meydan-order-delivery__body small{color:var(--mcc-muted,#7b8799);font-size:10px}.meydan-order-delivery__body strong{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.meydan-order-delivery__body span{color:var(--mcc-muted,#7b8799);font-size:10px}
.meydan-order-total-card__body{padding:10px 18px 16px}.meydan-order-total-card__body>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;color:var(--mcc-muted,#7b8799);font-size:12px}.meydan-order-total-card__body strong{min-width:0;color:var(--mcc-text,#17213a);font-weight:700;text-align:left}.meydan-order-total-card__body .is-discount span,.meydan-order-total-card__body .is-discount strong{color:var(--mcc-discount,#0d8b5f)}.meydan-order-total-card__body .is-total{margin-top:5px;padding-top:15px;border-top:1px solid var(--mcc-border,#e5e9ef);color:var(--mcc-text,#17213a);font-size:14px;font-weight:700}
.meydan-thankyou-actions{display:grid;gap:8px}.meydan-thankyou-button{display:flex;align-items:center;justify-content:center;min-height:47px;padding:10px 15px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:12px;background:var(--mcc-card,#fff);color:var(--mcc-text,#17213a)!important;text-decoration:none!important;font-size:12px;font-weight:700}.meydan-thankyou-button.is-primary{border-color:var(--mcc-accent,#ec6b00);background:var(--mcc-accent,#ec6b00);color:var(--mcc-accent-text,#fff)!important}
.meydan-thankyou-message{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:24px}.meydan-thankyou-message>div:not(.meydan-thankyou-actions){flex:1 1 360px}.meydan-thankyou-message.is-failed .meydan-thankyou-message__icon{background:#fff0ef;color:#d84b4b}.meydan-thankyou-message.is-neutral .meydan-thankyou-message__icon{background:var(--mcc-selected,#fffaf5);color:var(--mcc-muted,#7b8799)}.meydan-thankyou-message .meydan-thankyou-actions{flex:0 0 auto;grid-auto-flow:column}
.meydan-thankyou-hooks:empty{display:none}.meydan-thankyou-hooks>.woocommerce-order-details,.meydan-thankyou-hooks>.woocommerce-customer-details{display:none!important}
@media(max-width:980px){.meydan-thankyou-layout{grid-template-columns:1fr;direction:rtl}.meydan-thankyou-side{position:static}.meydan-thankyou-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.meydan-thankyou-meta__item:nth-child(3),.meydan-thankyou-meta__item:nth-child(4){border-top:1px solid var(--mcc-border,#e5e9ef)}.meydan-thankyou-meta__item:nth-child(odd){border-inline-start:0}}
@media(max-width:620px){.meydan-thankyou-page{padding-bottom:24px}.meydan-thankyou-shell{width:calc(100% - 18px);gap:11px}.meydan-thankyou-card{border-radius:17px}.meydan-thankyou-hero{grid-template-columns:1fr;padding:18px 15px;gap:14px}.meydan-thankyou-hero__status{align-items:flex-start;gap:11px}.meydan-thankyou-hero__icon{width:43px;height:43px;flex-basis:43px;border-radius:12px}.meydan-thankyou-hero__icon .meydan-icon{width:23px;height:23px}.meydan-thankyou-hero h1{font-size:17px}.meydan-thankyou-hero__copy>p:last-child{font-size:12px;line-height:1.8}.meydan-thankyou-order-number{display:flex;align-items:center;justify-content:space-between;width:100%;min-width:0;min-height:52px;padding:9px 12px;text-align:right}.meydan-thankyou-order-number small{margin:0}.meydan-thankyou-order-number strong{font-size:16px}.meydan-order-products>header,.meydan-order-delivery>header,.meydan-order-total-card>header{min-height:56px;padding:12px 15px}.meydan-order-products__list{padding-inline:14px}.meydan-order-product{grid-template-columns:58px minmax(0,1fr);gap:10px;padding:13px 0}.meydan-order-product__image{width:58px;height:58px;border-radius:12px}.meydan-order-product__price{grid-column:2;justify-self:start;white-space:normal}.meydan-order-delivery__body{grid-template-columns:1fr;padding-inline:15px}.meydan-order-delivery__body>div:nth-child(2n){padding-inline-start:0}.meydan-order-delivery__body .is-wide{grid-column:auto}.meydan-thankyou-message{padding:18px 15px}.meydan-thankyou-message .meydan-thankyou-actions{width:100%;grid-auto-flow:row}.meydan-thankyou-actions{width:100%}}
@media(max-width:480px){.meydan-thankyou-meta{grid-template-columns:1fr;border-radius:16px}.meydan-thankyou-meta__item{min-height:64px;padding:11px 13px;border-inline-start:0!important;border-top:1px solid var(--mcc-border,#e5e9ef)!important}.meydan-thankyou-meta__item:first-child{border-top:0!important}.meydan-thankyou-meta__icon{width:34px;height:34px;flex-basis:34px;border-radius:10px}.meydan-thankyou-meta__icon .meydan-icon{width:18px;height:18px}.meydan-thankyou-meta__copy{grid-template-columns:minmax(90px,.75fr) minmax(0,1fr);align-items:center;width:100%;gap:8px}.meydan-thankyou-meta strong{text-align:left}.meydan-thankyou-meta__item.is-total strong{font-size:13px}}

/* 0.12.7: checkout reference lock — mirrors the approved Meydan checkout composition. */
@media(min-width:901px){
  body.woocommerce-checkout{background:#f3f5f7!important}
  .woocommerce-checkout .site-main{background:#f3f5f7!important;padding-block:17px 28px!important}
  .woocommerce-checkout .woocommerce{width:min(1460px,calc(100% - 28px))!important;max-width:1460px!important;margin-inline:auto!important}

  .meydan-checkout-layout{
    display:grid!important;
    grid-template-columns:360px minmax(0,1fr)!important;
    grid-template-areas:"sidebar main"!important;
    gap:28px!important;
    align-items:start!important;
    direction:ltr!important;
  }
  .meydan-checkout-sidebar{
    grid-area:sidebar!important;
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    position:sticky!important;
    top:calc(var(--meydan-sticky-main-height,132px) + 24px)!important;
    width:360px!important;
    direction:rtl!important;
  }
  .meydan-checkout-main{grid-area:main!important;display:block!important;width:100%!important;direction:rtl!important}

  /* Coupon card: exactly one compact row, as in the reference. */
  .meydan-checkout-sidebar>.meydan-checkout-coupon{
    order:0!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    width:100%!important;
    min-height:109px!important;
    margin:0 0 19px!important;
    padding:20px!important;
    border:1px solid #e5e9ef!important;
    border-radius:20px!important;
    background:#fff!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-coupon__fields{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 101px!important;
    gap:12px!important;
    width:100%!important;
    padding:0!important;
    direction:rtl!important;
  }
  .meydan-checkout-coupon__fields input,
  .meydan-checkout-coupon__fields button{
    width:100%!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding-inline:13px!important;
    border-radius:11px!important;
    line-height:normal!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-coupon__feedback{margin-bottom:0!important}

  /* Invoice card. */
  .meydan-checkout-sidebar>.meydan-checkout-summary{
    order:1!important;
    width:100%!important;
    margin:0 0 14px!important;
    border-radius:24px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .meydan-checkout-summary>header{
    display:flex!important;
    align-items:center!important;
    min-height:74px!important;
    padding:0 28px!important;
    border-bottom:1px solid #e5e9ef!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-summary>header h2{font-size:18px!important;line-height:1.5!important}
  .meydan-checkout-summary__body{padding:20px 28px 28px!important}
  .meydan-checkout-summary__body>div{padding:11px 0!important;font-size:14px!important;line-height:1.7!important}
  .meydan-checkout-summary__payable{margin-top:7px!important;padding-top:22px!important;font-size:16px!important}

  /* Payment card is independent from the final action. */
  .meydan-checkout-sidebar>.meydan-checkout-payment-card{
    order:2!important;
    width:100%!important;
    margin:0 0 17px!important;
    padding:0!important;
    border-radius:24px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .meydan-checkout-payment-card>header{
    display:flex!important;
    align-items:center!important;
    min-height:63px!important;
    padding:0 28px!important;
    border-bottom:1px solid #e5e9ef!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-payment-card>header h2{font-size:17px!important;line-height:1.5!important}
  .meydan-checkout-sidebar .meydan-payment-methods{padding:9px 22px 31px!important}
  .meydan-payment-methods .payment_methods{gap:10px!important}
  .meydan-payment-methods .wc_payment_method{
    min-height:78px!important;
    padding:14px 18px!important;
    border:1px solid #e5e9ef!important;
    border-radius:16px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  .meydan-payment-methods .wc_payment_method label{font-size:15px!important;min-height:40px!important}
  .meydan-payment-methods .wc_payment_method label img{max-width:42px!important;max-height:28px!important}

  .meydan-checkout-sidebar>.meydan-place-order{
    order:3!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:58px!important;
    height:58px!important;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:14px!important;
    background:#ec6b00!important;
    color:#fff!important;
    font-size:18px!important;
    font-weight:700!important;
    line-height:1!important;
    box-sizing:border-box!important;
  }

  /* Receiver + shipping are one large card on the right. */
  .meydan-checkout-receiver{
    width:100%!important;
    margin:0!important;
    border-radius:24px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  .meydan-checkout-receiver>header{
    display:flex!important;
    align-items:center!important;
    min-height:74px!important;
    padding:0 28px!important;
    border-bottom:1px solid #e5e9ef!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-receiver>header h1{font-size:19px!important;line-height:1.5!important}
  .meydan-checkout-receiver__body{
    min-height:283px!important;
    padding:28px 32px!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-address{gap:8px!important}
  .meydan-checkout-address__top{margin-bottom:10px!important}
  .meydan-checkout-address__tag{padding:5px 10px!important;border-radius:10px!important;font-size:12px!important}
  .meydan-checkout-address>strong{font-size:15px!important;line-height:1.8!important}
  .meydan-checkout-address p{font-size:13px!important;line-height:1.9!important}

  .meydan-checkout-shipping{
    padding:0 28px 28px!important;
    border-top:1px solid #e5e9ef!important;
    box-sizing:border-box!important;
  }
  .meydan-checkout-shipping h3{margin:28px 0 17px!important;font-size:17px!important;line-height:1.5!important}
  .meydan-shipping-option{
    min-height:86px!important;
    margin:12px 0!important;
    padding:16px 22px!important;
    border:1px solid #e5e9ef!important;
    border-radius:18px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  .meydan-shipping-option.is-selected{
    min-height:88px!important;
    border:2px solid #ec6b00!important;
    background:#fffaf5!important;
  }
  .meydan-shipping-option__logo{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:12px!important}
  .meydan-shipping-option__logo img{width:42px!important;height:42px!important}
  .meydan-shipping-option__copy strong{font-size:16px!important;line-height:1.6!important}
  .meydan-shipping-option__copy small{font-size:12px!important;line-height:1.7!important}
  .meydan-shipping-option__radio{width:21px!important;height:21px!important;flex-basis:21px!important}
}

/* Responsive continuation of the same reference hierarchy. */
@media(max-width:900px){
  .woocommerce-checkout .site-main{padding-block:18px 36px!important}
  .woocommerce-checkout .woocommerce{width:min(100% - 24px,720px)!important;margin-inline:auto!important}
  .meydan-checkout-layout{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:"main" "sidebar"!important;gap:14px!important;direction:rtl!important}
  .meydan-checkout-main{grid-area:main!important}
  .meydan-checkout-sidebar{grid-area:sidebar!important;display:flex!important;flex-direction:column!important;gap:12px!important;position:static!important;width:100%!important}
  .meydan-checkout-sidebar>.meydan-checkout-coupon,
  .meydan-checkout-sidebar>.meydan-checkout-summary,
  .meydan-checkout-sidebar>.meydan-checkout-payment-card,
  .meydan-checkout-sidebar>.meydan-place-order{width:100%!important;margin:0!important}
  .meydan-checkout-sidebar>.meydan-checkout-coupon{order:0!important}
  .meydan-checkout-sidebar>.meydan-checkout-summary{order:1!important}
  .meydan-checkout-sidebar>.meydan-checkout-payment-card{order:2!important}
  .meydan-checkout-sidebar>.meydan-place-order{order:3!important}
  .meydan-checkout-coupon__fields{grid-template-columns:minmax(0,1fr) 96px!important;gap:8px!important}
}

/* 0.12.8 checkout correction: coupon controls are a single immutable row. */
body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields{
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  direction:rtl!important;
}
body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields>input{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
}
body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields>button{
  flex:0 0 101px!important;
  width:101px!important;
  min-width:101px!important;
  white-space:nowrap!important;
}
@media(max-width:900px){
  body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields{gap:8px!important}
  body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields>button{flex-basis:96px!important;width:96px!important;min-width:96px!important}
}
@media(max-width:520px){
  body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:7px!important}
  body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields>button{flex-basis:92px!important;width:92px!important;min-width:92px!important}
}
@media(max-width:360px){
  body.woocommerce-checkout .meydan-checkout-sidebar>.meydan-checkout-coupon .meydan-checkout-coupon__fields>button{flex-basis:86px!important;width:86px!important;min-width:86px!important}
}

/* 0.13.0: thank-you hero alignment hardening. */
@media(max-width:390px){
  .meydan-thankyou-hero__status{display:grid;grid-template-columns:40px minmax(0,1fr);gap:10px}
  .meydan-thankyou-hero__icon{width:40px;height:40px;flex-basis:40px;border-radius:11px}
  .meydan-thankyou-eyebrow{font-size:10px}
  .meydan-thankyou-hero h1{font-size:16px;line-height:1.7}
  .meydan-thankyou-hero__copy>p:last-child{margin-top:3px;font-size:11px}
}

/* 0.14.0: thank-you readability and separator cleanup. */
.meydan-thankyou-meta{gap:1px!important;background:var(--mcc-border,#e5e9ef)!important}
.meydan-thankyou-meta__item{border:0!important;background:var(--mcc-card,#fff)!important}
.meydan-order-product__content{align-content:center;gap:7px!important;padding-inline:2px}
.meydan-order-product__title{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--mcc-text,#17213a)!important;text-decoration:none!important;font-size:14px!important;font-weight:700!important;line-height:1.85!important;overflow-wrap:anywhere}
.meydan-order-product__title:hover{color:var(--mcc-accent,#ec6b00)!important}
.meydan-order-product__meta{display:flex;flex-wrap:wrap;gap:5px 8px;color:var(--mcc-muted,#7b8799)!important;font-size:10px!important;line-height:1.8!important}
.meydan-order-product__meta p{display:flex;flex-wrap:wrap;gap:4px 7px;margin:0!important}
.meydan-order-product__quantity{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;padding:4px 8px;border-radius:999px;background:var(--mcc-selected,#fffaf5);color:var(--mcc-muted,#7b8799);font-size:10px;font-weight:600}
.meydan-order-product__quantity bdi{color:var(--mcc-text,#17213a);font-weight:800}
.meydan-order-product__price{display:flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;border:1px solid var(--mcc-border,#e5e9ef);border-radius:11px;background:color-mix(in srgb,var(--mcc-page,#f3f5f7) 55%,var(--mcc-card,#fff));color:var(--mcc-text,#17213a);font-size:12px!important;font-weight:800!important}
@media(max-width:980px){.meydan-thankyou-meta__item{border:0!important}}
@media(max-width:620px){
  .meydan-thankyou-hero{padding:20px 16px!important}
  .meydan-thankyou-hero__status{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;text-align:center!important}
  .meydan-thankyou-hero__icon{align-self:center!important;margin-inline:auto!important}
  .meydan-thankyou-hero__copy{width:100%!important;text-align:center!important}
  .meydan-thankyou-eyebrow,.meydan-thankyou-hero__copy>p:last-child{max-width:500px;margin-inline:auto!important;text-align:center!important}
  .meydan-thankyou-order-number{margin-inline:auto!important}
  .meydan-order-product{grid-template-columns:64px minmax(0,1fr)!important;align-items:start!important}
  .meydan-order-product__image{width:64px!important;height:64px!important}
  .meydan-order-product__price{grid-column:1/-1!important;justify-self:stretch!important;justify-content:flex-start!important;min-height:36px!important;margin-top:2px!important}
}
@media(max-width:480px){.meydan-thankyou-meta{gap:1px!important}.meydan-thankyou-meta__item{border:0!important}.meydan-thankyou-meta__copy{grid-template-columns:minmax(82px,.75fr) minmax(0,1fr)!important}.meydan-order-product__title{font-size:13px!important}}

/* 0.14.0 final thank-you product readability pass. */
.meydan-order-product__content{gap:8px!important;min-width:0!important}
.meydan-order-product__title{font-size:15px!important;line-height:1.8!important;font-weight:750!important;letter-spacing:0!important}
.meydan-order-product__title:focus-visible{outline:2px solid color-mix(in srgb,var(--mcc-accent,#ec6b00) 42%,transparent);outline-offset:3px;border-radius:5px}
.meydan-order-product__meta{font-size:11.5px!important;line-height:1.8!important;color:var(--mcc-muted,#65748b)!important}
.meydan-order-product__meta .wc-item-meta{display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;margin:0!important;padding:0!important;list-style:none!important}
.meydan-order-product__meta .wc-item-meta li{display:inline-flex!important;align-items:baseline!important;gap:4px!important;margin:0!important;padding:0!important;min-width:0!important}
.meydan-order-product__meta .wc-item-meta-label{margin:0!important;color:var(--mcc-muted,#65748b)!important;font-weight:650!important}
.meydan-order-product__meta .wc-item-meta p{display:inline!important;margin:0!important;color:var(--mcc-text,#17213a)!important;font-weight:550!important}
.meydan-order-product__quantity{font-size:11px!important;line-height:1.5!important;padding:5px 9px!important}
.meydan-order-product__price{min-width:128px!important;min-height:42px!important;padding-inline:12px!important;font-size:13px!important}
@media(max-width:620px){
 .meydan-order-product__title{font-size:14px!important;line-height:1.75!important}
 .meydan-order-product__meta{font-size:11px!important}
 .meydan-order-product__price{min-width:0!important;font-size:12.5px!important}
}

/* 0.15.0: compact desktop order meta + product information aligned beside the thumbnail. */
@media(min-width:981px){
 .meydan-thankyou-meta{height:5rem!important;min-height:5rem!important;gap:0!important;background:var(--mcc-card,#fff)!important;overflow:hidden!important}
 .meydan-thankyou-meta__item{height:5rem!important;min-height:0!important;padding:9px 15px!important;box-sizing:border-box!important;background:var(--mcc-card,#fff)!important;border:0!important}
 .meydan-thankyou-meta__item:not(:last-child){border-inline-end:1px solid var(--mcc-border,#e5e9ef)!important}
 .meydan-thankyou-meta__icon{width:34px!important;height:34px!important;flex:0 0 34px!important}
 .meydan-thankyou-meta__copy{align-content:center!important;min-height:0!important}
 .meydan-thankyou-meta__copy strong{line-height:1.55!important}
}
.meydan-order-product{align-items:start!important}
.meydan-order-product__image{align-self:start!important}
.meydan-order-product__content{align-self:start!important;align-content:start!important;justify-content:start!important;padding-top:1px!important}
.meydan-order-product__title{align-self:start!important;margin:0!important}
.meydan-order-product__meta{align-self:start!important;margin-top:1px!important}
.meydan-order-product__meta .wc-item-meta{margin-top:0!important}

/* 0.16.0 thank-you density corrections. */
@media(min-width:981px){.meydan-thankyou-meta{height:5rem!important;min-height:0!important;max-height:5rem!important}.meydan-thankyou-meta__item{height:100%!important;min-height:0!important;padding-block:8px!important}.meydan-thankyou-meta__copy{min-height:0!important;align-content:center!important}.meydan-thankyou-meta__copy small,.meydan-thankyou-meta__copy strong{line-height:1.45!important}}
@media(max-width:620px){.meydan-thankyou-hero{gap:10px!important}.meydan-thankyou-hero__status{gap:7px!important}.meydan-thankyou-hero__icon{width:42px!important;height:42px!important;min-height:42px!important;flex:0 0 42px!important;margin:0 auto 2px!important}.meydan-thankyou-hero__icon .meydan-icon{width:22px!important;height:22px!important}.meydan-thankyou-hero__copy{margin:0!important}.meydan-thankyou-order-number{margin-top:4px!important}}

/* 0.16.0 final thank-you compactness across desktop/tablet/mobile. */
@media(min-width:761px) and (max-width:980px){.meydan-thankyou-meta{grid-template-columns:repeat(4,minmax(0,1fr))!important;height:5rem!important;min-height:0!important;max-height:5rem!important;gap:0!important;background:var(--mcc-card,#fff)!important}.meydan-thankyou-meta__item{height:100%!important;min-height:0!important;padding:8px 11px!important;border:0!important}.meydan-thankyou-meta__item:not(:last-child){border-inline-end:1px solid var(--mcc-border,#e5e9ef)!important}.meydan-thankyou-meta__item:nth-child(3),.meydan-thankyou-meta__item:nth-child(4){border-top:0!important}.meydan-thankyou-meta__item:nth-child(odd){border-inline-start:0!important}.meydan-thankyou-meta__icon{width:32px!important;height:32px!important;flex:0 0 32px!important}}
@media(max-width:620px){.meydan-thankyou-hero{padding:16px 14px!important;gap:7px!important}.meydan-thankyou-hero__status{gap:4px!important}.meydan-thankyou-hero__icon{width:36px!important;height:36px!important;min-height:36px!important;flex:0 0 36px!important;margin:0 auto!important;border-radius:10px!important}.meydan-thankyou-hero__icon .meydan-icon{width:19px!important;height:19px!important}.meydan-thankyou-order-number{margin-top:2px!important}}

/* 1.0.1 — Empty cart: clean, background-free state. */
body.woocommerce-cart.meydan-cart-is-empty,body.woocommerce-cart.meydan-cart-is-empty .site-main{background:transparent!important}
body.woocommerce-cart.meydan-cart-is-empty .site-main{padding-block:clamp(48px,8vw,110px)!important}
.meydan-cart-page.is-empty{display:grid;min-height:42vh;place-items:center;padding:24px 0;background:transparent}
.meydan-cart-empty{display:flex;width:min(620px,100%);flex-direction:column;align-items:center;padding:0 22px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--mcc-text,#17213a);text-align:center}
.meydan-cart-empty:before,.meydan-cart-empty:after{display:none!important}
.meydan-cart-empty__icon{display:grid;width:112px;height:112px;place-items:center;margin-bottom:26px;border:1px solid color-mix(in srgb,var(--mcc-accent,#ec6b00) 24%,transparent);border-radius:50%;color:var(--mcc-accent,#ec6b00)}
.meydan-cart-empty__icon .meydan-icon{width:48px;height:48px}
.meydan-cart-empty h1{margin:0;color:var(--mcc-text,#17213a);font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.5}
.meydan-cart-empty p{max-width:520px;margin:12px 0 0;color:var(--mcc-muted,#7b8799);font-size:15px;line-height:2}
.meydan-cart-empty__button{display:inline-flex;min-height:50px;align-items:center;justify-content:center;gap:10px;margin-top:26px;padding:10px 22px;border:1px solid var(--mcc-accent,#ec6b00);border-radius:14px;background:transparent;color:var(--mcc-accent,#ec6b00)!important;font-size:15px;font-weight:700;text-decoration:none!important;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.meydan-cart-empty__button .meydan-icon{width:19px;height:19px}.meydan-cart-empty__button:hover{transform:translateY(-2px);background:var(--mcc-accent,#ec6b00);color:var(--mcc-accent-text,#fff)!important}
@media(max-width:520px){body.woocommerce-cart.meydan-cart-is-empty .site-main{padding-block:42px!important}.meydan-cart-page.is-empty{min-height:48vh}.meydan-cart-empty__icon{width:92px;height:92px;margin-bottom:20px}.meydan-cart-empty__icon .meydan-icon{width:40px;height:40px}.meydan-cart-empty p{font-size:13.5px}.meydan-cart-empty__button{width:min(100%,280px)}}

/* Sepahan/Meydan integration: centered native modal in the top layer,
   overriding theme-level absolute/right-aligned dialog declarations. */
body.sepahan-commerce-meydan dialog.meydan-checkout-dialog,
body.sepahan-commerce-meydan dialog.meydan-checkout-address-picker {
 position:fixed!important;
 inset:0!important;
 top:0!important;left:0!important;right:0!important;bottom:0!important;
 transform:none!important;
 translate:none!important;
 margin:auto!important;
 width:min(940px,calc(100vw - 40px))!important;
 max-width:calc(100vw - 24px)!important;
 max-height: min(90dvh,920px)!important;
 height:auto!important;
 padding:0!important;
 border:0!important;
 border-radius:24px!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
 background:var(--mcc-card,#fff)!important;
 box-shadow:0 30px 95px rgba(15,23,42,.22)!important;
 z-index:2147483640!important;
 direction:rtl!important;
}
body.sepahan-commerce-meydan dialog.meydan-checkout-dialog:not([open]) {display:none!important}
body.sepahan-commerce-meydan dialog.meydan-checkout-dialog[open] {display:block!important}
body.sepahan-commerce-meydan dialog.meydan-checkout-dialog::backdrop {background:rgba(20,28,42,.68)!important;backdrop-filter:blur(3px)}
body.sepahan-commerce-meydan .meydan-checkout-dialog__panel {
 display:grid!important; grid-template-rows:auto minmax(0,1fr) auto!important;
 width:100%!important;max-width:100%!important;min-height:360px!important;
 max-height:min(90dvh,920px)!important; margin:0!important;
 padding:0!important; border-radius:24px!important;
 background:var(--mcc-card,#fff)!important;
}
body.sepahan-commerce-meydan .meydan-checkout-dialog__body {overflow:auto!important;min-height:0!important; padding:28px 34px!important}
body.sepahan-commerce-meydan .meydan-checkout-address-picker .meydan-checkout-dialog__body {min-height:270px!important}
body.sepahan-commerce-meydan .meydan-checkout-address-list {max-height:min(52dvh,570px)!important;overflow:auto!important}
body.sepahan-commerce-meydan .meydan-checkout-dialog__panel>header {padding:24px 34px!important}
body.sepahan-commerce-meydan .meydan-checkout-dialog__panel>footer {padding:22px 34px!important;position:relative!important}
/* No background behind the cart's quantity/count/remove controls. */
body.sepahan-commerce-meydan .meydan-cart-item__quantity,
body.sepahan-commerce-meydan .meydan-cart-item__quantity button,
body.sepahan-commerce-meydan .meydan-cart-item__quantity input,
body.sepahan-commerce-meydan .meydan-cart-item__quantity [data-cart-minus],
body.sepahan-commerce-meydan .meydan-cart-item__quantity [data-cart-remove] {
 background:transparent!important;background-color:transparent!important;box-shadow:none!important;
}
body.sepahan-commerce-meydan .meydan-cart-item__quantity {border-color:transparent!important}
body.sepahan-commerce-meydan .meydan-cart-item__quantity button:hover,
body.sepahan-commerce-meydan .meydan-cart-item__quantity button:focus-visible {color:var(--mcc-accent,#ec6b00)!important}
@media(max-width:700px){
 body.sepahan-commerce-meydan dialog.meydan-checkout-dialog,
 body.sepahan-commerce-meydan dialog.meydan-checkout-address-picker{
  width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;
  max-height:94dvh!important;border-radius:18px!important}
 body.sepahan-commerce-meydan .meydan-checkout-dialog__panel{max-height:94dvh!important;min-height:0!important;border-radius:18px!important}
 body.sepahan-commerce-meydan .meydan-checkout-dialog__body{padding:20px 18px!important}
 body.sepahan-commerce-meydan .meydan-checkout-dialog__panel>header{padding:18px!important}
 body.sepahan-commerce-meydan .meydan-checkout-dialog__panel>footer{padding:16px 18px!important}
}

/* Third-party WooCommerce checkout fields rendered in the address dialog. */
.meydan-checkout-dialog .sepahan-checkout-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin-top:18px;min-width:0}
.meydan-checkout-dialog .sepahan-checkout-extra-fields h3{grid-column:1/-1;margin:0 0 5px;color:var(--mcc-text,#111827);font-size:15px}
.meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row{float:none!important;width:100%!important;margin:0!important;padding:0!important;min-width:0}
.meydan-checkout-dialog .sepahan-checkout-extra-fields label{display:block;font-size:12px;color:var(--mcc-text,#111827);margin-bottom:7px}
.meydan-checkout-dialog .sepahan-checkout-extra-fields :is(input,select,textarea){width:100%;min-width:0;background:var(--mcc-card,#fff);color:var(--mcc-text,#111827);border:1px solid var(--mcc-border,#e5e9ef);border-radius:12px}
.meydan-checkout-dialog .sepahan-checkout-extra-fields input[type=checkbox],
.meydan-checkout-dialog .sepahan-checkout-extra-fields input[type=radio]{width:auto;min-height:0}
.meydan-checkout-dialog .sepahan-checkout-extra-fields .woocommerce-input-wrapper{display:block}
.meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row-wide{grid-column:1/-1}
@media(max-width:640px){.meydan-checkout-dialog .sepahan-checkout-extra-fields{grid-template-columns:1fr}}

.meydan-checkout-receiver .sepahan-checkout-edit-extras{display:inline-flex;align-items:center;margin:10px 20px 18px;padding:5px 0;border:0;background:transparent;color:var(--mcc-accent,#2563eb);font-size:12px;font-weight:600;cursor:pointer}
.meydan-checkout-receiver .sepahan-checkout-edit-extras:hover{text-decoration:underline}


/* 2.3.1.3: Checkout field extensions use WooCommerce label markup, not floating labels.
   The legacy dialog rule for label > span:first-child must not position (optional). */
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row > label,
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row > label.checkbox {
  position:static!important; display:flex!important; flex-wrap:wrap!important; align-items:center!important;
  gap:4px 8px!important; width:auto!important; max-width:100%!important; margin:0 0 9px!important;
  padding:0!important; font-size:13px!important; font-weight:500!important;
  line-height:1.9!important; color:var(--mcc-text,#17213a)!important; background:transparent!important;
}
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row > label :is(.optional,.required),
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row > label > span:first-child {
  position:static!important; top:auto!important; right:auto!important; inset:auto!important;
  transform:none!important; z-index:auto!important; padding:0!important; margin:0!important;
  display:inline!important; background:transparent!important; font-size:11px!important;
  line-height:inherit!important; white-space:normal!important; color:var(--mcc-muted,#7b8799)!important;
}
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row > label .required {color:var(--mcc-accent,#ec6b00)!important}
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row .woocommerce-input-wrapper {min-width:0;width:100%;}
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row :is(input:not([type=checkbox]):not([type=radio]),textarea,select){box-sizing:border-box;}
body.sepahan-commerce-meydan .meydan-checkout-dialog .sepahan-checkout-extra-fields .form-row label.checkbox input[type=checkbox] {width:17px!important;height:17px!important;min-height:0!important;flex:none;}
/* Never let the legacy dialog's generic input rule unhide the city fallback. */
body.sepahan-commerce-meydan .meydan-checkout-dialog [data-meydan-city-fallback][hidden],
body.sepahan-commerce-meydan .meydan-checkout-dialog [data-meydan-city-hint][hidden] {display:none!important;}
body.sepahan-commerce-meydan .meydan-checkout-dialog [data-meydan-city-fallback]:not([hidden]) {display:block;width:100%;}
body.sepahan-commerce-meydan .meydan-checkout-dialog [data-meydan-city-select][hidden] {display:none!important;}
body.sepahan-commerce-meydan .meydan-checkout-dialog .meydan-checkout-city-hint {display:block;position:static; margin-top:5px; font-size:11px;line-height:1.9; color:var(--mcc-muted,#7b8799)}
