/* Agossa 5.1 — checkout/cart/mobile/product finishing layer. */
:root{
  --ag51-ink:#20201e;
  --ag51-muted:#7c7872;
  --ag51-line:#e6e2dc;
  --ag51-line-strong:#d9d4cd;
  --ag51-soft:#f8f7f4;
  --ag51-white:#fff;
  --ag51-radius:12px;
}

/* Checkout: lighter controls, reliable checkboxes and corporate geometry. */
body.woocommerce-checkout:not(.woocommerce-order-received) .agossa-checkout-left{padding-top:28px!important}
body.woocommerce-checkout .agossa-checkout-inner{max-width:680px!important}
body.woocommerce-checkout .agossa-v49-field-row{display:grid!important;width:100%!important;margin:0 0 12px!important;gap:12px!important}
body.woocommerce-checkout .agossa-v49-field-row--1{grid-template-columns:minmax(0,1fr)!important}
body.woocommerce-checkout .agossa-v49-field-row--2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.woocommerce-checkout .agossa-v49-field-row>.form-row,
body.woocommerce-checkout .agossa-v49-corporate-details .form-row{
  float:none!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;display:block!important;
}
body.woocommerce-checkout .agossa-v49-fields input.input-text,
body.woocommerce-checkout .agossa-v49-fields select,
body.woocommerce-checkout .agossa-v49-fields .select2-selection--single{
  width:100%!important;height:52px!important;min-height:52px!important;border:1px solid var(--ag51-line-strong)!important;border-radius:10px!important;background:#fff!important;padding:0 14px!important;font-size:13px!important;color:var(--ag51-ink)!important;box-shadow:none!important;transition:border-color .16s ease,box-shadow .16s ease!important;
}
body.woocommerce-checkout .agossa-v49-fields input.input-text:focus,
body.woocommerce-checkout .agossa-v49-fields select:focus,
body.woocommerce-checkout .agossa-v49-fields .select2-container--open .select2-selection--single{
  outline:0!important;border-color:#8e8982!important;box-shadow:0 0 0 3px rgba(31,30,28,.045)!important;
}
body.woocommerce-checkout .agossa-v49-corporate-toggle{display:block!important;margin:2px 0 14px!important}
body.woocommerce-checkout .agossa-v49-corporate-toggle>.form-row{display:block!important}
body.woocommerce-checkout .agossa-v49-corporate-toggle .woocommerce-form__label-for-checkbox,
body.woocommerce-checkout .agossa-marketing-checkbox label{
  display:inline-flex!important;align-items:center!important;gap:9px!important;cursor:pointer!important;background:transparent!important;color:#68645e!important;font-size:11px!important;line-height:1.4!important;user-select:none!important;
}
body.woocommerce-checkout input[type="checkbox"]{
  appearance:auto!important;-webkit-appearance:checkbox!important;pointer-events:auto!important;opacity:1!important;position:static!important;clip:auto!important;clip-path:none!important;width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;accent-color:#252421!important;cursor:pointer!important;background:#fff!important;
}
body.woocommerce-checkout .agossa-v49-corporate-details[hidden]{display:none!important}
body.woocommerce-checkout .agossa-v49-corporate-details.is-open{
  display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0 0 14px!important;width:100%!important;
}
body.woocommerce-checkout .agossa-v49-corporate-details.is-open>.agossa-v49-field-row{display:grid!important;margin:0!important;gap:12px!important}
body.woocommerce-checkout .agossa-v49-corporate-details.is-open>.agossa-v49-field-row:first-child{grid-template-columns:1fr!important}
body.woocommerce-checkout .agossa-v49-corporate-details.is-open>.agossa-v49-field-row:last-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.woocommerce-checkout .agossa-v49-corporate-details.is-open>.agossa-v49-field-row>.form-row{grid-column:auto!important}

body.woocommerce-checkout .agossa-v49-phone-shell{
  display:grid!important;grid-template-columns:142px minmax(0,1fr)!important;width:100%!important;min-height:52px!important;border:1px solid var(--ag51-line-strong)!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;
}
body.woocommerce-checkout .agossa-v49-phone-shell>.form-row{display:block!important;width:100%!important;margin:0!important;padding:0!important}
body.woocommerce-checkout .agossa-v49-phone-shell #billing_phone_country_type_field{grid-column:1!important;border-right:1px solid var(--ag51-line)!important}
body.woocommerce-checkout .agossa-v49-phone-shell #billing_phone_field{grid-column:2!important}
body.woocommerce-checkout .agossa-v49-phone-shell #billing_phone_country_code_field{display:none!important}
body.woocommerce-checkout .agossa-v49-phone-shell.is-other{grid-template-columns:116px 86px minmax(0,1fr)!important}
body.woocommerce-checkout .agossa-v49-phone-shell.is-other #billing_phone_country_code_field{display:block!important;grid-column:2!important;border-right:1px solid var(--ag51-line)!important}
body.woocommerce-checkout .agossa-v49-phone-shell.is-other #billing_phone_field{grid-column:3!important}
body.woocommerce-checkout .agossa-v49-phone-shell input.input-text,
body.woocommerce-checkout .agossa-v49-phone-shell select,
body.woocommerce-checkout .agossa-v49-phone-shell .select2-selection--single{
  border:0!important;border-radius:0!important;box-shadow:none!important;height:50px!important;min-height:50px!important;background:#fff!important;
}
body.woocommerce-checkout .agossa-v49-phone-shell:focus-within{border-color:#8e8982!important;box-shadow:0 0 0 3px rgba(31,30,28,.045)!important}
body.woocommerce-checkout .agossa-checkout-payment{margin-top:38px!important;padding-top:26px!important}
body.woocommerce-checkout .agossa-payment-heading h2{font-size:21px!important;letter-spacing:-.025em!important}
body.woocommerce-checkout #payment{border-color:var(--ag51-line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}

/* Checkout summary always keeps coupon/totals readable. */
body.woocommerce-checkout .agossa-review-coupon{display:block!important;visibility:visible!important}
body.woocommerce-checkout .agossa-review-totals{display:block!important;visibility:visible!important}
body.woocommerce-checkout .agossa-review-products{padding-right:12px!important}

/* Cart — optional image strip heading, quieter summary and robust quantity control. */
body.woocommerce-cart .agossa-cart-page-v40{width:min(calc(100% - 64px),1320px)!important;padding-top:34px!important}
body.woocommerce-cart .agossa-cart-heading-v40{
  position:relative!important;min-height:138px!important;margin-bottom:38px!important;padding:28px 34px!important;border:0!important;border-radius:14px!important;overflow:hidden!important;display:flex!important;align-items:flex-end!important;background:#f3f1ed!important;color:var(--ag51-ink)!important;
}
body.woocommerce-cart .agossa-cart-heading-v40.has-image{color:#fff!important;background-size:cover!important;background-position:center!important}
body.woocommerce-cart .agossa-cart-heading-v40.has-image::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(20,19,17,.58),rgba(20,19,17,.08) 70%)}
body.woocommerce-cart .agossa-cart-heading-v40>div,body.woocommerce-cart .agossa-cart-heading-v40>.agossa-cart-count-v40{position:relative;z-index:1!important}
body.woocommerce-cart .agossa-cart-heading-v40 h1{margin:4px 0 0!important;font-size:36px!important;line-height:1!important}
body.woocommerce-cart .agossa-cart-heading-v40.has-image .agossa-cart-eyebrow-v40,body.woocommerce-cart .agossa-cart-heading-v40.has-image .agossa-cart-count-v40{color:rgba(255,255,255,.78)!important}
body.woocommerce-cart .agossa-cart-layout-v40{grid-template-columns:minmax(0,1fr) 380px!important;gap:72px!important}
body.woocommerce-cart .agossa-cart-stepper-v40{display:grid!important;grid-template-columns:38px 48px 38px!important;height:42px!important;border:1px solid var(--ag51-line-strong)!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}
body.woocommerce-cart .agossa-cart-qty-btn,body.woocommerce-cart .agossa-cart-qty-input{border:0!important;outline:0!important;box-shadow:none!important;background:#fff!important;height:40px!important;min-width:0!important}
body.woocommerce-cart .agossa-cart-qty-input{width:48px!important;text-align:center!important;border-left:1px solid #eeeae4!important;border-right:1px solid #eeeae4!important;border-radius:0!important;padding:0!important;-moz-appearance:textfield!important}
body.woocommerce-cart .agossa-cart-qty-input::-webkit-outer-spin-button,body.woocommerce-cart .agossa-cart-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.woocommerce-cart .agossa-cart-summary-v40{border:1px solid var(--ag51-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 14px 42px rgba(30,28,25,.045)!important}
body.woocommerce-cart .agossa-cart-summary-head-v40{padding:22px 24px!important;background:#f8f7f4!important;border-bottom:1px solid var(--ag51-line)!important}
body.woocommerce-cart .agossa-cart-delivery-v40{padding:22px 24px!important;background:#fff!important}
body.woocommerce-cart .agossa-cart-totals-lines-v40{padding:18px 24px 6px!important}
body.woocommerce-cart .agossa-cart-grand-v40{margin:8px 24px 0!important;padding:18px 0!important}
body.woocommerce-cart .agossa-cart-checkout-v40{padding:14px 20px 0!important}
body.woocommerce-cart .agossa-cart-secure-v40{padding:12px 20px 18px!important}

/* Mobile menu — slimmer editorial drawer and renamed quick actions. */
@media(max-width:991.98px){
  .mobile-menu-panel{width:min(86vw,360px)!important;background:#fbfaf8!important;box-shadow:26px 0 70px rgba(23,21,18,.16)!important}
  .mobile-menu-panel::after{inset:0 0 0 min(86vw,360px)!important;background:rgba(21,20,18,.28)!important;backdrop-filter:blur(3px)!important}
  .mobile-menu-panel-inner{padding:18px 20px 26px!important;background:#fbfaf8!important}
  .mobile-menu-panel-head{height:58px!important;padding:0!important;border-bottom:1px solid var(--ag51-line)!important}
  .mobile-menu-panel-head>span{font-size:10px!important;letter-spacing:.16em!important;color:#8e8982!important}
  .mobile-menu-close{width:38px!important;height:38px!important;border:1px solid var(--ag51-line)!important;border-radius:50%!important;background:#fff!important}
  .mobile-menu-list{padding:22px 0 8px!important}
  .mobile-menu-list>li{border-bottom:1px solid var(--ag51-line)!important}
  .mobile-menu-list>li>a{display:flex!important;align-items:center!important;min-height:58px!important;padding:0 2px!important;font-size:15px!important;font-weight:570!important;letter-spacing:-.015em!important;color:#2d2b27!important}
  .mobile-submenu-toggle{right:0!important;width:42px!important;height:58px!important}
  .mobile-menu-list .sub-menu{padding:0 0 14px 14px!important}
  .mobile-menu-list .sub-menu a{font-size:12px!important;color:#77726b!important;padding:8px 0!important}
  .mobile-menu-quicklinks{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding-top:18px!important;border-top:0!important}
  .mobile-menu-quicklinks a{min-height:54px!important;border:1px solid var(--ag51-line)!important;border-radius:12px!important;background:#fff!important;padding:0 14px!important;font-size:12px!important;font-weight:600!important}
  .mobile-menu-quicklinks a span{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:50%!important;background:#f4f2ee!important}
  .mobile-menu-quicklinks a span svg{width:16px!important;height:16px!important}
  .mobile-menu-quicklinks a em{margin-left:auto!important;font-style:normal!important;font-size:10px!important;color:#817c75!important}
}

/* Mobile cart — information hierarchy first. */
@media(max-width:991px){
  body.woocommerce-cart .agossa-cart-page-v40{padding:18px 16px 46px!important}
  body.woocommerce-cart .agossa-cart-heading-v40{min-height:112px!important;margin-bottom:22px!important;padding:22px!important;border-radius:12px!important}
  body.woocommerce-cart .agossa-cart-heading-v40 h1{font-size:32px!important}
  body.woocommerce-cart .agossa-cart-layout-v40{gap:22px!important}
  body.woocommerce-cart .agossa-cart-columns-v40{display:none!important}
  body.woocommerce-cart .agossa-cart-item-v40{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px 12px!important;padding:16px!important;margin-bottom:12px!important;border:1px solid var(--ag51-line)!important;border-radius:14px!important;background:#fff!important}
  body.woocommerce-cart .agossa-cart-product-v40{grid-column:1/-1!important;display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;padding-right:28px!important}
  body.woocommerce-cart .agossa-cart-image-v40,body.woocommerce-cart .agossa-cart-image-v40 img{width:82px!important;height:82px!important;border-radius:10px!important;object-fit:cover!important}
  body.woocommerce-cart .agossa-cart-remove-v40{position:absolute!important;right:14px!important;top:14px!important;width:30px!important;height:30px!important;display:grid!important;place-items:center!important}
  body.woocommerce-cart .agossa-cart-copy-v40 h2{font-size:15px!important;margin-bottom:5px!important}
  body.woocommerce-cart .agossa-cart-copy-v40 p{font-size:11px!important;line-height:1.5!important;margin:0!important}
  body.woocommerce-cart .agossa-cart-item-qty-v40{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:13px 0 0!important;border-top:1px solid #f0ede8!important}
  body.woocommerce-cart .agossa-cart-item-qty-v40::before{content:"Miktar";font-size:10px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:#938e86}
  body.woocommerce-cart .agossa-cart-qty-label-v40{margin-left:8px!important;font-size:11px!important;color:#77736d!important}
  body.woocommerce-cart .agossa-cart-tax-v40,body.woocommerce-cart .agossa-cart-price-v40{border:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;font-size:13px!important}
  body.woocommerce-cart .agossa-cart-tax-v40::before,body.woocommerce-cart .agossa-cart-price-v40::before{content:attr(data-label);font-size:9px;font-weight:650;letter-spacing:.1em;text-transform:uppercase;color:#99948d}
  body.woocommerce-cart .agossa-cart-price-v40{align-items:flex-end!important;font-weight:700!important}
  body.woocommerce-cart .agossa-cart-coupon-v40{display:grid!important;grid-template-columns:minmax(0,1fr) 112px!important;gap:9px!important}
  body.woocommerce-cart .agossa-cart-coupon-v40 input,body.woocommerce-cart .agossa-cart-coupon-v40 button{height:50px!important;border-radius:10px!important}
  body.woocommerce-cart .agossa-cart-summary-v40{border-radius:14px!important;overflow:hidden!important}
  body.woocommerce-cart .agossa-cart-summary-head-v40{padding:18px!important}
  body.woocommerce-cart .agossa-cart-delivery-v40{padding:18px!important}
  body.woocommerce-cart .agossa-cart-totals-lines-v40{padding:15px 18px 4px!important}
  body.woocommerce-cart .agossa-cart-grand-v40{margin:6px 18px 0!important}
}

/* Product page mobile — preserve desktop elegance, avoid oversized sheet UI. */
@media(max-width:991px){
  .single-product .agossa-product-hero{background:#f6f4f0!important}
  .single-product .agossa-hero-slider{aspect-ratio:1/1.02!important;max-height:none!important;background:#f3f1ed!important}
  .single-product .agossa-product-panel-wrap{margin-top:0!important;padding:0 12px 22px!important;background:#f6f4f0!important}
  .single-product .agossa-product-panel{margin-top:-12px!important;padding:24px 18px 26px!important;border:1px solid #e7e2db!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 36px rgba(28,26,23,.055)!important}
  .single-product .agossa-panel-kicker{font-size:9px!important;letter-spacing:.16em!important;color:#918c84!important}
  .single-product .agossa-panel-title{font-size:clamp(28px,8vw,36px)!important;line-height:1.03!important;font-weight:500!important;letter-spacing:-.04em!important}
  .single-product .agossa-panel-subtitle{font-size:12px!important;line-height:1.55!important;color:#817c75!important}
  .single-product .agossa-panel-price{font-size:28px!important;line-height:1!important;margin-top:17px!important}
  .single-product .agossa-panel-variations{margin-top:20px!important;padding-top:18px!important;border-top:1px solid #ebe7e1!important}
  .single-product .agossa-choice-row,.single-product .agossa-variation-select{min-height:52px!important;border-radius:12px!important}
  .single-product .agossa-quantity-row{gap:10px!important}
  .single-product .single_add_to_cart_button{min-height:56px!important;border-radius:12px!important;font-size:12px!important;letter-spacing:.11em!important}
  .single-product .agossa-product-tabs-v36{padding:42px 0 54px!important}
  .single-product .agossa-product-tabs-inner-v36{width:calc(100% - 32px)!important}
  .single-product .agossa-product-tab-nav-v36{gap:22px!important;margin-bottom:24px!important}
  .single-product .agossa-product-tab-panel-v36{font-size:13px!important;line-height:1.75!important}
  .single-product .agossa-product-tab-panel-v36 h2{font-size:22px!important;margin-bottom:16px!important}
  .single-product #reviews{gap:24px!important}
  .single-product #review_form_wrapper{padding:18px!important;border-radius:12px!important;background:#faf9f7!important}
}

@media(max-width:640px){
  body.woocommerce-checkout .agossa-v49-field-row--2,
  body.woocommerce-checkout .agossa-v49-corporate-details.is-open>.agossa-v49-field-row:last-child{grid-template-columns:1fr!important}
  body.woocommerce-checkout .agossa-v49-phone-shell{grid-template-columns:126px minmax(0,1fr)!important}
  body.woocommerce-checkout .agossa-v49-phone-shell.is-other{grid-template-columns:102px 74px minmax(0,1fr)!important}
  body.woocommerce-checkout .agossa-checkout-left{padding:20px 16px 34px!important}
  body.woocommerce-checkout .agossa-v49-fields input.input-text,body.woocommerce-checkout .agossa-v49-fields select,body.woocommerce-checkout .agossa-v49-fields .select2-selection--single{height:50px!important;min-height:50px!important;font-size:13px!important}
}
