:root{--ast-red:#e21b2d;--ast-red2:#c91525;--ast-navy:#07152b;--ast-text:#0b1324;--ast-muted:#697386;--ast-border:#e8edf4;--ast-bg:#f6f8fb;--ast-radius:20px;--ast-shadow:0 18px 45px rgba(7,21,43,.08)}
*{box-sizing:border-box}html,body{overflow-x:hidden}body{font-family:Arial,'Helvetica Neue',sans-serif;background:var(--ast-bg)!important;color:var(--ast-text);font-size:14px}a{color:var(--ast-text)}a:hover{color:var(--ast-red);text-decoration:none}.container{max-width:1440px;width:100%;padding-left:24px;padding-right:24px}.row{margin-left:-10px;margin-right:-10px}
.ast-header{background:#fff;box-shadow:0 6px 24px rgba(7,21,43,.06);position:relative;z-index:50}.ast-topbar{background:var(--ast-navy);color:#fff;font-size:14px}.ast-topbar-inner{display:flex;justify-content:space-between;align-items:center;min-height:38px}.ast-authorized{font-weight:800;white-space:nowrap}.ast-authorized i{color:var(--ast-red);margin-right:6px}.ast-toplinks{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ast-toplinks a,.ast-social{color:#fff;opacity:.96}.ast-phone{font-weight:800;text-decoration:underline}.ast-mainbar{background:#fff}.ast-mainbar-inner{display:flex;align-items:center;gap:34px;min-height:118px}.ast-logo{flex:0 0 245px;text-align:left!important;margin:0!important}.ast-logo img,#logo img{display:block;max-width:245px!important;max-height:88px!important;width:auto!important;height:auto!important;margin:0!important}.ast-logo h1{margin:0;font-size:34px;font-weight:900}.ast-search-wrap{flex:1 1 auto;min-width:320px;max-width:720px;margin-left:auto}.ast-search-wrap #search{display:flex!important;width:100%;margin:0!important}.ast-search-wrap #search input,.ast-search-wrap input[name='search']{height:54px!important;border-radius:30px 0 0 30px!important;border:1px solid var(--ast-border)!important;box-shadow:none!important;padding:0 24px!important;font-size:15px;background:#fff}.ast-search-wrap #search .input-group-btn{width:76px}.ast-search-wrap #search .btn,.ast-search-wrap .btn{height:54px!important;width:76px!important;border-radius:0 30px 30px 0!important;background:var(--ast-red)!important;border-color:var(--ast-red)!important;color:#fff!important;font-size:18px!important}.ast-actions{flex:0 0 auto;display:flex!important;align-items:center;justify-content:flex-end;gap:14px;white-space:nowrap}.ast-action{display:flex;align-items:center;gap:8px;font-weight:800;min-height:46px}.ast-action i{font-size:25px;color:var(--ast-navy)}.ast-action small{display:block;color:var(--ast-muted);font-weight:400;font-size:12px;line-height:1}.ast-cart{display:flex;align-items:center}.ast-cart #cart{margin:0!important}.ast-cart #cart>.btn{background:var(--ast-red)!important;border:0!important;border-radius:14px!important;color:#fff!important;min-width:165px;height:54px;font-weight:800;box-shadow:none!important;text-align:center}.ast-cart #cart.open>.btn,.ast-cart #cart>.btn:hover{background:var(--ast-red2)!important}.ast-menu-bar{border-top:1px solid var(--ast-border);border-bottom:1px solid var(--ast-border);background:#fff}.ast-menu-inner{display:flex;align-items:center;min-height:64px}.ast-menu-bar #menu{background:transparent!important;border:0!important;border-radius:0!important;min-height:0!important;margin:0!important;width:100%;box-shadow:none!important}.ast-menu-bar #menu .navbar-header{display:none!important}.ast-menu-bar #menu .navbar-collapse{display:block!important;border:0!important;padding:0!important}.ast-menu-bar #menu .nav{display:flex;align-items:center;justify-content:space-between;gap:8px;float:none!important;width:100%;margin:0;flex-wrap:nowrap}.ast-menu-bar #menu .nav>li{float:none!important;display:flex;align-items:center;white-space:nowrap}.ast-menu-bar #menu .nav>li>a{display:flex;align-items:center;gap:8px;color:var(--ast-text)!important;font-weight:800;text-transform:uppercase;font-size:13px;padding:18px 10px!important;background:transparent!important}.ast-menu-bar #menu .nav>li>a:hover{background:#fff4f5!important;color:var(--ast-red)!important}.ast-menu-bar #menu img{max-width:46px!important;max-height:46px!important;height:auto!important;width:auto!important}.ast-home{padding:26px 0 0}.ast-hero{display:grid;grid-template-columns:1.12fr 1fr .72fr;gap:30px;align-items:center;background:linear-gradient(135deg,#f0f3f7,#fff);border:1px solid var(--ast-border);border-radius:22px;padding:48px 68px;box-shadow:var(--ast-shadow);overflow:hidden;position:relative;margin-bottom:0}.ast-hero:after{content:'';position:absolute;right:25%;top:18px;width:420px;height:420px;border:8px solid rgba(255,255,255,.85);border-radius:50%;pointer-events:none}.ast-hero-content,.ast-hero-image,.ast-hero-badges{position:relative;z-index:2}.ast-kicker{color:var(--ast-red);font-weight:900;text-transform:uppercase;letter-spacing:.4px}.ast-hero h1{font-size:43px;line-height:1.08;margin:10px 0 16px;font-weight:900;color:var(--ast-text)}.ast-hero p{font-size:17px;color:#253047;max-width:460px}.ast-hero-price{display:flex;align-items:center;gap:16px;margin-top:20px;flex-wrap:wrap}.ast-hero-price del{font-size:18px;color:#7c8797}.ast-hero-price strong{font-size:34px;color:var(--ast-red);font-weight:900}.ast-hero-price span{background:var(--ast-navy);color:#fff;border-radius:12px;padding:8px 12px;font-weight:900;text-transform:uppercase;font-size:12px}.ast-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:26px;padding:14px 28px;font-weight:900;margin-top:24px;gap:8px}.ast-btn-red{background:var(--ast-red);color:#fff!important}.ast-btn-red:hover{background:var(--ast-red2);color:#fff!important}.ast-btn-light{background:#fff;border:1px solid #d8dee8;color:var(--ast-text)!important;margin-left:12px}.ast-hero-image{text-align:center}.ast-hero-image img{max-height:330px;width:auto;display:inline-block}.ast-hero-badges div{background:#fff;border:1px solid var(--ast-border);box-shadow:0 12px 28px rgba(7,21,43,.06);border-radius:30px;padding:14px 18px;margin-bottom:14px;font-weight:900;text-transform:uppercase;font-size:13px}.ast-hero-badges i{color:var(--ast-red);margin-right:8px}.ast-service-strip{background:#fff;border:1px solid var(--ast-border);border-radius:0 0 18px 18px;display:grid;grid-template-columns:repeat(4,1fr);padding:18px 24px;margin:0 18px 26px;box-shadow:0 10px 28px rgba(7,21,43,.04)}.ast-service-strip div{display:grid;grid-template-columns:42px 1fr;column-gap:12px;align-items:center}.ast-service-strip i{grid-row:span 2;font-size:28px;color:var(--ast-red)}.ast-service-strip strong{font-size:14px}.ast-service-strip span{color:var(--ast-muted);font-size:13px}.ast-category-cards{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;margin-bottom:26px}.ast-category-cards a{background:#fff;border:1px solid var(--ast-border);border-radius:16px;min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-weight:900;box-shadow:0 8px 22px rgba(7,21,43,.04);text-align:center}.ast-category-cards img{height:56px;max-width:90px}.ast-category-cards .ast-campaign{color:var(--ast-red);border-color:#ffd7dc}.ast-category-cards .ast-campaign i{font-size:42px}.ast-content-top{margin-bottom:22px}.ast-content-top .slideshow,.ast-content-top .swiper-viewport,.ast-content-top .owl-carousel{border-radius:18px;overflow:hidden}.ast-home-content{width:100%;padding:0!important;float:none!important;clear:both}.ast-section-head{display:flex;align-items:center;justify-content:space-between;margin:12px 0 16px}.ast-section-head h2{font-size:24px;font-weight:900;margin:0;position:relative}.ast-section-head h2:before{content:'';display:block;width:28px;height:3px;background:var(--ast-red);margin-bottom:8px;border-radius:8px}.ast-section-head a{font-weight:800;color:var(--ast-red)}.ast-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}.ast-product-card{background:#fff;border:1px solid var(--ast-border);border-radius:16px;padding:16px;display:grid;grid-template-columns:135px minmax(0,1fr);gap:16px;transition:.25s;min-height:170px;overflow:hidden}.ast-product-card:hover{transform:translateY(-4px);box-shadow:var(--ast-shadow)}.ast-product-image{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}.ast-product-image img{max-height:120px;width:auto;max-width:100%}.ast-wish{position:absolute;top:0;right:0;background:#fff;border:1px solid var(--ast-border);border-radius:50%;width:32px;height:32px}.ast-product-info{min-width:0}.ast-product-info h3{font-size:15px;font-weight:900;line-height:1.25;min-height:38px;margin:0 0 8px}.ast-product-info p{display:none}.ast-price strong{color:var(--ast-red);font-size:18px;font-weight:900}.ast-price del{color:#7c8797;margin-left:8px}.ast-card-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.ast-card-actions button{border:1px solid var(--ast-border);background:#fff;border-radius:22px;height:34px;padding:0 12px}.ast-card-actions .ast-add-cart{background:var(--ast-red);color:#fff;border-color:var(--ast-red);font-weight:900}.ast-smart-banner{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;background:linear-gradient(135deg,#07152b,#0d325f);border-radius:18px;margin:28px 0;padding:34px 54px;color:#fff;overflow:hidden}.ast-smart-banner h2{font-size:32px;font-weight:900;color:#fff}.ast-smart-banner p{color:#dce7f7}.ast-smart-banner img{max-height:180px;justify-self:end}.breadcrumb{background:transparent}.btn-primary,.btn-danger{background:var(--ast-red)!important;border-color:var(--ast-red)!important}.product-thumb{border-radius:16px;overflow:hidden;border-color:var(--ast-border)}
@media(max-width:1320px){.ast-mainbar-inner{gap:20px}.ast-account span{display:none}.ast-menu-bar #menu .nav>li>a{font-size:12px;padding-left:7px!important;padding-right:7px!important}.ast-menu-bar #menu img{max-width:38px!important;max-height:38px!important}.ast-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ast-hero{grid-template-columns:1fr 1fr}.ast-hero-badges{grid-column:1/3;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.ast-hero-badges div{margin:0}}
@media(max-width:991px){.container{padding-left:16px;padding-right:16px}.ast-topbar-inner{display:block;text-align:center;padding:8px 0}.ast-toplinks{justify-content:center;margin-top:6px}.ast-mainbar-inner{display:grid;grid-template-columns:190px 1fr;gap:16px;min-height:auto;padding-top:18px;padding-bottom:18px}.ast-search-wrap{min-width:0;max-width:none;margin-left:0}.ast-actions{grid-column:1/3;justify-content:center}.ast-menu-bar #menu .nav{overflow-x:auto;justify-content:flex-start;padding-bottom:4px}.ast-hero{grid-template-columns:1fr;text-align:center;padding:34px 22px}.ast-hero p{margin-left:auto;margin-right:auto}.ast-hero-badges{grid-column:auto;grid-template-columns:1fr}.ast-hero-price{justify-content:center}.ast-category-cards{grid-template-columns:repeat(3,1fr)}.ast-service-strip{grid-template-columns:repeat(2,1fr);gap:16px}.ast-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ast-smart-banner{grid-template-columns:1fr;text-align:center}.ast-smart-banner img{justify-self:center;margin-top:18px}}
@media(max-width:600px){.ast-mainbar-inner{display:block;text-align:center}.ast-logo{display:flex;justify-content:center}.ast-logo img,#logo img{max-width:210px!important}.ast-search-wrap{margin:16px 0}.ast-actions{flex-wrap:wrap}.ast-cart #cart>.btn{min-width:210px}.ast-hero h1{font-size:30px}.ast-hero-price strong{font-size:26px}.ast-btn{width:100%;margin-left:0}.ast-btn-light{margin-left:0;margin-top:10px}.ast-service-strip,.ast-category-cards,.ast-product-grid,.ast-smart-banner{grid-template-columns:1fr}.ast-product-card{grid-template-columns:105px minmax(0,1fr)}.ast-smart-banner{padding:28px}}

/* AST Modern V4 product page fixes */
.ast-page{background:#f6f8fb;padding-bottom:40px}.ast-breadcrumb{padding:14px 0;margin:0;background:transparent!important;border:0}.ast-breadcrumb>li+li:before{content:'>';color:#9aa3b2}.ast-product-content{float:none!important;width:100%!important}.ast-product-content>.row{margin-left:-10px;margin-right:-10px}.ast-product-detail-card{display:grid;grid-template-columns:minmax(430px,1fr) minmax(390px,.9fr);gap:42px;align-items:start;background:#fff;border:1px solid var(--ast-border);border-radius:22px;padding:34px;box-shadow:0 18px 45px rgba(7,21,43,.06);margin-bottom:28px}.ast-product-gallery{min-width:0}.ast-main-image{background:#fff;border:1px solid var(--ast-border);border-radius:18px;padding:30px;display:flex;align-items:center;justify-content:center;min-height:560px}.ast-product-gallery .thumbnail{border:0!important;margin:0!important;padding:0!important;background:transparent!important;display:flex!important;align-items:center;justify-content:center}.ast-main-image img{max-height:500px;width:auto;max-width:100%;object-fit:contain}.ast-thumbs{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.ast-thumbs .thumbnail{width:86px;height:86px;border:1px solid var(--ast-border)!important;border-radius:12px!important;background:#fff!important;padding:8px!important}.ast-thumbs img{max-width:100%;max-height:100%;object-fit:contain}.ast-product-summary{padding:10px 4px}.ast-product-tools{display:flex;gap:8px;margin-bottom:18px}.ast-round-btn{width:42px;height:42px;border:1px solid var(--ast-border);background:#fff;border-radius:12px;color:var(--ast-navy)}.ast-product-summary h1{font-size:34px;line-height:1.18;font-weight:900;color:var(--ast-text);margin:0 0 16px}.ast-meta-list{display:grid;gap:6px;color:#374151;margin-bottom:16px}.ast-meta-list span{color:#7b8494;font-weight:700;margin-right:6px}.ast-stock{color:#15803d}.ast-rating-row{display:flex;align-items:center;gap:8px;margin:12px 0 18px}.ast-rating-row .fa-star,.ast-rating-row .fa-star-o{color:#f59e0b}.ast-product-price-box{border-top:1px solid var(--ast-border);border-bottom:1px solid var(--ast-border);padding:22px 0;margin:18px 0}.ast-old-price{text-decoration:line-through;color:#7b8494;font-size:18px;margin-bottom:6px}.ast-current-price{font-size:36px;font-weight:900;color:var(--ast-red);line-height:1.1}.ast-tax,.ast-points,.ast-discounts{font-size:13px;color:#697386;margin-top:8px}.ast-buy-box h3{font-size:18px;font-weight:900;margin:0 0 14px}.ast-qty-cart{display:grid;grid-template-columns:auto 132px minmax(220px,1fr);gap:14px;align-items:center;margin-top:18px}.ast-qty-cart>label{margin:0;font-weight:900}.ast-qty-control{display:flex;border:1px solid var(--ast-border);border-radius:12px;overflow:hidden;background:#fff;height:46px}.ast-qty-control button{width:38px;border:0;background:#fff;font-size:18px;font-weight:900}.ast-qty-control input{border:0!important;box-shadow:none!important;text-align:center;height:44px!important;padding:0!important}.ast-cart-main-btn{height:48px;border:0!important;border-radius:14px!important;background:var(--ast-red)!important;color:#fff!important;font-weight:900;font-size:15px}.ast-cart-main-btn:hover{background:var(--ast-red2)!important}.ast-product-tabs{background:#fff;border:1px solid var(--ast-border);border-radius:18px;padding:22px 26px;box-shadow:0 12px 35px rgba(7,21,43,.04);margin-bottom:28px}.ast-product-tabs .nav-tabs{border-bottom:1px solid var(--ast-border)}.ast-product-tabs .nav-tabs>li>a{font-weight:900;color:var(--ast-text);border-radius:12px 12px 0 0}.ast-product-tabs .nav-tabs>li.active>a{color:var(--ast-red)}.ast-product-tabs .tab-content{padding:22px 0 0;line-height:1.7;color:#283246}.ast-related-products{margin-bottom:30px}
.ast-product-page .col-sm-12,.ast-product-page .col-md-12{padding-left:10px;padding-right:10px}.ast-product-page .image-additional,.ast-product-page .thumbnails{list-style:none!important;padding:0!important;margin:0!important}.ast-product-page .thumbnails>li{list-style:none!important;margin:0!important}.ast-product-page .thumbnails>li:before{display:none!important;content:none!important}
@media(max-width:1199px){.ast-product-detail-card{grid-template-columns:1fr;gap:26px}.ast-main-image{min-height:430px}.ast-main-image img{max-height:390px}.ast-product-summary h1{font-size:30px}}
@media(max-width:767px){.ast-product-detail-card{padding:18px;border-radius:16px}.ast-main-image{min-height:300px;padding:18px}.ast-main-image img{max-height:280px}.ast-product-summary h1{font-size:25px}.ast-current-price{font-size:29px}.ast-qty-cart{grid-template-columns:1fr}.ast-cart-main-btn{width:100%}.ast-thumbs .thumbnail{width:70px;height:70px}.ast-product-tabs{padding:16px}}

/* AST Modern V5 - aggressive product page layout repair for OC3/default fallback */
#product-product.ast-product-page,
#product-product { background:#f6f8fb!important; }
#product-product .container { max-width:1440px!important; }
#product-product ul,
#product-product li { list-style:none!important; }
#product-product li:before { content:none!important; display:none!important; }
#product-product .breadcrumb.ast-breadcrumb,
#product-product .breadcrumb { background:transparent!important; padding:14px 0!important; margin:0!important; }

/* If OpenCart/OCMOD still renders the default product.twig, force it into a modern two-column product layout */
#product-product #content > .row {
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(390px,.8fr)!important;
  gap:34px!important;
  align-items:start!important;
  margin:24px 0 32px!important;
}
#product-product #content > .row:before,
#product-product #content > .row:after { display:none!important; content:none!important; }
#product-product #content > .row > [class*='col-'] {
  width:auto!important;
  max-width:none!important;
  float:none!important;
  padding:0!important;
}
#product-product #content > .row > [class*='col-']:nth-child(1),
#product-product .ast-product-gallery {
  background:#fff!important;
  border:1px solid #e8edf4!important;
  border-radius:22px!important;
  padding:28px!important;
  box-shadow:0 18px 45px rgba(7,21,43,.06)!important;
  min-width:0!important;
}
#product-product #content > .row > [class*='col-']:nth-child(2),
#product-product .ast-product-summary {
  background:#fff!important;
  border:1px solid #e8edf4!important;
  border-radius:22px!important;
  padding:32px!important;
  box-shadow:0 18px 45px rgba(7,21,43,.06)!important;
  min-width:0!important;
}
#product-product #content h1,
#product-product .ast-product-summary h1 {
  font-size:34px!important;
  line-height:1.18!important;
  font-weight:900!important;
  color:#07152b!important;
  margin:0 0 16px!important;
}
#product-product .thumbnails {
  display:grid!important;
  grid-template-columns:repeat(6,86px)!important;
  gap:12px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
#product-product .thumbnails > li {
  float:none!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
#product-product .thumbnails > li:first-child {
  grid-column:1 / -1!important;
}
#product-product .thumbnails > li:first-child .thumbnail,
#product-product .ast-main-image {
  width:100%!important;
  min-height:540px!important;
  max-height:620px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:0!important;
  background:#fff!important;
  padding:20px!important;
  overflow:hidden!important;
}
#product-product .thumbnails > li:first-child .thumbnail img,
#product-product .ast-main-image img {
  max-height:520px!important;
  width:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  display:block!important;
  margin:auto!important;
}
#product-product .image-additional,
#product-product .thumbnails > li:not(:first-child) {
  width:86px!important;
  height:86px!important;
}
#product-product .image-additional .thumbnail,
#product-product .thumbnails > li:not(:first-child) .thumbnail,
#product-product .ast-thumbs .thumbnail {
  width:86px!important;
  height:86px!important;
  border:1px solid #e8edf4!important;
  border-radius:12px!important;
  background:#fff!important;
  padding:8px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  overflow:hidden!important;
}
#product-product .image-additional img,
#product-product .thumbnails > li:not(:first-child) img,
#product-product .ast-thumbs img {
  max-width:100%!important;
  max-height:100%!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}
#product-product #product {
  margin-top:18px!important;
}
#product-product #product .form-group,
#product-product .form-group { margin-bottom:14px!important; }
#product-product #button-cart,
#product-product .ast-cart-main-btn {
  background:#e21b2d!important;
  border:0!important;
  border-radius:14px!important;
  height:50px!important;
  padding:0 34px!important;
  color:#fff!important;
  font-weight:900!important;
  min-width:260px!important;
}
#product-product .btn-group button,
#product-product .ast-round-btn {
  border:1px solid #e8edf4!important;
  background:#fff!important;
  border-radius:10px!important;
  color:#07152b!important;
}
#product-product .list-unstyled { margin:0 0 14px!important; padding:0!important; line-height:1.9!important; }
#product-product .list-unstyled h2,
#product-product .ast-current-price {
  color:#e21b2d!important;
  font-size:34px!important;
  font-weight:900!important;
}
#product-product .nav-tabs { border-bottom:1px solid #e8edf4!important; }
#product-product .nav-tabs > li > a { font-weight:900!important; color:#07152b!important; }
#product-product .tab-content,
#product-product .ast-product-tabs {
  background:#fff!important;
  border:1px solid #e8edf4!important;
  border-radius:18px!important;
  padding:22px 26px!important;
  box-shadow:0 12px 35px rgba(7,21,43,.04)!important;
  margin-bottom:28px!important;
  line-height:1.7!important;
}
#product-product .rating .fa-star,
#product-product .rating .fa-star-o { color:#f59e0b!important; }

/* Header spacing repair */
.ast-mainbar-inner { min-height:96px!important; padding:12px 0!important; }
.ast-logo img,#logo img { max-height:76px!important; }
.ast-menu-inner { min-height:58px!important; }
.ast-menu-bar #menu .nav>li>a { padding-top:12px!important; padding-bottom:12px!important; }
.ast-menu-bar #menu img { max-width:42px!important; max-height:42px!important; }

@media(max-width:991px){
  #product-product #content > .row { grid-template-columns:1fr!important; }
  #product-product #content > .row > [class*='col-']:nth-child(1),
  #product-product #content > .row > [class*='col-']:nth-child(2){ padding:18px!important; }
  #product-product .thumbnails{ grid-template-columns:repeat(4,72px)!important; }
  #product-product .thumbnails > li:first-child .thumbnail{ min-height:360px!important; }
  #product-product .thumbnails > li:first-child .thumbnail img{ max-height:340px!important; }
  #product-product .image-additional,#product-product .thumbnails > li:not(:first-child),#product-product .image-additional .thumbnail,#product-product .thumbnails > li:not(:first-child) .thumbnail{ width:72px!important; height:72px!important; }
}

/* V6 product image popup gallery fix */
.ast-product-gallery-popup .thumbnail { cursor: zoom-in; }
.mfp-bg { z-index: 20000 !important; }
.mfp-wrap { z-index: 20001 !important; }
.mfp-arrow, .mfp-close { z-index: 20002 !important; }
.mfp-img { max-height: calc(100vh - 120px) !important; }
.mfp-figure:after { border-radius: 18px; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.ast-popup-open { overflow: hidden; }
.ast-simple-lightbox { position: fixed; inset: 0; z-index: 20001; background: rgba(5,12,25,.86); display: flex; align-items: center; justify-content: center; padding: 40px; }
.ast-simple-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; background: #fff; border-radius: 16px; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.ast-simple-close { position: fixed; top: 20px; right: 30px; z-index: 20002; border: 0; background: #fff; color: #07152b; width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 38px; }


/* V7 navigation dropdown / subcategory fix */
.ast-menu-bar,
.ast-menu-bar .ast-menu-inner,
.ast-menu-bar #menu,
.ast-menu-bar #menu .navbar-collapse,
.ast-menu-bar #menu .nav { overflow: visible !important; }
.ast-menu-bar #menu .nav > li { position: relative !important; }
.ast-menu-bar #menu .nav > li.dropdown > a:after,
.ast-menu-bar #menu .nav > li > a.dropdown-toggle:after {
  content: "\f107";
  font-family: FontAwesome;
  font-weight: normal;
  margin-left: 6px;
  color: #e21b2d;
  font-size: 12px;
}
.ast-menu-bar #menu .dropdown-menu {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 99999 !important;
  min-width: 270px;
  max-width: 720px;
  padding: 18px 18px 16px !important;
  margin: 0 !important;
  border: 1px solid #e8edf4 !important;
  border-radius: 0 0 18px 18px !important;
  background: #fff !important;
  box-shadow: 0 22px 55px rgba(7,21,43,.16) !important;
}
.ast-menu-bar #menu .nav > li:hover > .dropdown-menu,
.ast-menu-bar #menu .nav > li.open > .dropdown-menu,
.ast-menu-bar #menu .dropdown-menu.ast-show-menu {
  display: block !important;
}
.ast-menu-bar #menu .dropdown-inner {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 8px 18px;
  min-width: 420px;
}
.ast-menu-bar #menu .dropdown-inner ul {
  display: block !important;
  float: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.ast-menu-bar #menu .dropdown-inner li,
.ast-menu-bar #menu .dropdown-menu li {
  display: block !important;
  width: 100% !important;
  list-style: none !important;
}
.ast-menu-bar #menu .dropdown-inner a,
.ast-menu-bar #menu .dropdown-menu li a {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  color: #07152b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  white-space: normal !important;
}
.ast-menu-bar #menu .dropdown-inner a:hover,
.ast-menu-bar #menu .dropdown-menu li a:hover {
  background: #fff4f5 !important;
  color: #e21b2d !important;
  text-decoration: none !important;
}
.ast-menu-bar #menu .dropdown-menu .see-all {
  display: block !important;
  margin-top: 12px !important;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  background: #e21b2d !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-align: center !important;
}
.ast-menu-bar #menu .dropdown-menu .see-all:hover { background: #b91525 !important; color:#fff!important; }
.ast-menu-bar #menu .nav > li:last-child .dropdown-menu,
.ast-menu-bar #menu .nav > li:nth-last-child(2) .dropdown-menu,
.ast-menu-bar #menu .nav > li:nth-last-child(3) .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}
@media(max-width:991px){
  .ast-menu-bar #menu .navbar-header{display:block!important;}
  .ast-menu-bar #menu .navbar-collapse{display:none!important;}
  .ast-menu-bar #menu .navbar-collapse.in{display:block!important;}
  .ast-menu-bar #menu .nav{display:block!important;overflow:visible!important;}
  .ast-menu-bar #menu .nav>li{display:block!important;width:100%!important;}
  .ast-menu-bar #menu .dropdown-menu{position:static!important;min-width:0!important;max-width:none!important;width:100%!important;box-shadow:none!important;border-radius:12px!important;padding:10px!important;margin:0 0 10px!important;}
  .ast-menu-bar #menu .dropdown-inner{display:block!important;min-width:0!important;}
}

/* V8 header, navigation and cart visual match fix */
.ast-header{box-shadow:0 8px 24px rgba(7,21,43,.045)!important;z-index:1000!important}
.ast-topbar{background:#07152b!important;color:#fff!important;height:38px!important;overflow:hidden!important}
.ast-topbar-inner{min-height:38px!important;height:38px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}
.ast-authorized{font-size:15px!important;font-weight:900!important;letter-spacing:.1px!important}.ast-authorized i{color:#e21b2d!important}.ast-toplinks{gap:16px!important;font-size:14px!important}.ast-toplinks a{color:#fff!important;font-weight:700!important}.ast-phone{font-weight:900!important;text-decoration:underline!important}.ast-social{font-size:16px!important;font-weight:900!important}
.ast-mainbar{background:#fff!important;border-bottom:1px solid #eef2f7!important}.ast-mainbar-inner{min-height:118px!important;display:grid!important;grid-template-columns:260px minmax(380px,1fr) auto!important;gap:36px!important;align-items:center!important}.ast-logo{flex:none!important;width:260px!important;text-align:left!important}.ast-logo img,#logo img{max-width:230px!important;max-height:86px!important;width:auto!important;height:auto!important;object-fit:contain!important}.ast-search-wrap{width:100%!important;max-width:680px!important;margin:0 auto!important;min-width:0!important}.ast-search-wrap #search{display:flex!important;width:100%!important}.ast-search-wrap #search input,.ast-search-wrap input[name='search']{height:54px!important;border:1px solid #dde5ef!important;border-right:0!important;border-radius:30px 0 0 30px!important;background:#fff!important;font-size:15px!important;color:#07152b!important;padding:0 24px!important;box-shadow:none!important}.ast-search-wrap #search .input-group-btn{width:72px!important}.ast-search-wrap #search .btn,.ast-search-wrap .btn{width:72px!important;height:54px!important;border-radius:0 30px 30px 0!important;background:#e21b2d!important;border-color:#e21b2d!important;color:#fff!important;font-size:20px!important;display:flex!important;align-items:center!important;justify-content:center!important}.ast-actions{display:flex!important;align-items:center!important;gap:20px!important;justify-content:flex-end!important;white-space:nowrap!important}.ast-action{display:flex!important;align-items:center!important;gap:8px!important;color:#07152b!important;font-weight:900!important;line-height:1.1!important}.ast-action i{font-size:27px!important;color:#07152b!important}.ast-action small{display:block!important;color:#697386!important;font-size:12px!important;font-weight:600!important;margin-top:2px!important}.ast-wishlist{position:relative!important}.ast-wishlist:after{content:'0';position:absolute;top:-8px;left:22px;width:18px;height:18px;border-radius:50%;background:#e21b2d;color:#fff;font-size:11px;line-height:18px;text-align:center;font-weight:900}.ast-cart{min-width:176px!important}
.ast-cart #cart,.ast-cart-root{margin:0!important;width:100%!important}.ast-cart #cart>.btn,.ast-cart-button{height:58px!important;min-width:176px!important;padding:0 18px!important;background:#e21b2d!important;border:0!important;border-radius:14px!important;color:#fff!important;box-shadow:0 10px 24px rgba(226,27,45,.18)!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:11px!important;text-align:left!important;text-shadow:none!important}.ast-cart-button:hover,.ast-cart #cart.open>.btn{background:#c91525!important;color:#fff!important}.ast-cart-button-icon{font-size:28px!important;line-height:1!important}.ast-cart-button-label{display:flex!important;flex-direction:column!important;line-height:1.05!important}.ast-cart-button-label strong{font-size:15px!important;font-weight:900!important;color:#fff!important}.ast-cart-button-label small{font-size:12px!important;color:#fff!important;font-weight:800!important;margin-top:4px!important}.ast-cart-button-arrow{font-size:16px!important;margin-left:6px!important}.ast-cart-dropdown{border:0!important;border-radius:16px!important;box-shadow:0 24px 60px rgba(7,21,43,.18)!important;margin-top:12px!important;padding:12px!important;min-width:360px!important}.ast-cart-empty{padding:25px 18px!important;margin:0!important;color:#697386!important}.ast-cart-items{max-height:380px!important;overflow:auto!important}.ast-cart-thumb img{width:58px!important;height:58px!important;object-fit:contain!important}.ast-cart-name a{font-weight:800!important;color:#07152b!important}.ast-cart-total{font-weight:900!important;color:#e21b2d!important}.ast-cart-remove .btn{border-radius:50%!important}.ast-cart-links{display:flex!important;gap:10px!important;justify-content:flex-end!important;margin:12px 0 0!important}.ast-cart-view{border:1px solid #dde5ef!important;background:#fff!important;color:#07152b!important;border-radius:10px!important;font-weight:800!important}.ast-cart-checkout{background:#e21b2d!important;color:#fff!important;border-radius:10px!important;font-weight:900!important}
.ast-menu-bar{height:64px!important;background:#fff!important;border-top:0!important;border-bottom:1px solid #e8edf4!important;box-shadow:0 10px 24px rgba(7,21,43,.035)!important;overflow:visible!important}.ast-menu-inner{min-height:64px!important;height:64px!important;display:flex!important;align-items:center!important;overflow:visible!important}.ast-menu-bar #menu{height:64px!important;background:transparent!important;border:0!important;margin:0!important;overflow:visible!important}.ast-menu-bar #menu .navbar-collapse{padding:0!important;overflow:visible!important}.ast-menu-bar #menu .nav{height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:nowrap!important;overflow:visible!important}.ast-menu-bar #menu .nav>li{height:64px!important;display:flex!important;align-items:center!important;position:relative!important;white-space:nowrap!important}.ast-menu-bar #menu .nav>li>a{height:64px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 4px!important;color:#07152b!important;background:transparent!important;font-size:13px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:-.1px!important;border-radius:0!important}.ast-menu-bar #menu .nav>li>a:hover,.ast-menu-bar #menu .nav>li.open>a{color:#e21b2d!important;background:transparent!important}.ast-menu-bar #menu .nav>li>a img{display:none!important}.ast-menu-bar #menu .nav>li>a:before{font-family:FontAwesome;width:28px;height:28px;border:1px solid #dfe6f0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#07152b;font-size:15px;background:#fff;line-height:1;flex:0 0 28px}.ast-menu-bar #menu .nav>li:nth-child(1)>a:before{content:'\f108'}.ast-menu-bar #menu .nav>li:nth-child(2)>a:before{content:'\f2db'}.ast-menu-bar #menu .nav>li:nth-child(3)>a:before{content:'\f1ad'}.ast-menu-bar #menu .nav>li:nth-child(4)>a:before{content:'\f0ad'}.ast-menu-bar #menu .nav>li:nth-child(5)>a:before{content:'\f0e7'}.ast-menu-bar #menu .nav>li:nth-child(6)>a:before{content:'\f2dc'}.ast-menu-bar #menu .nav>li:nth-child(7)>a:before{content:'\f10b'}.ast-menu-bar #menu .nav>li:nth-child(8)>a:before{content:'\f1b9'}.ast-menu-bar #menu .nav>li:nth-child(9)>a:before{content:'\f005'}.ast-menu-bar #menu .nav>li:nth-child(10)>a:before{content:'\f295';color:#e21b2d;border-color:#ffd6db;background:#fff8f9}.ast-menu-bar #menu .nav>li:hover>a:before{border-color:#e21b2d!important;color:#e21b2d!important;background:#fff4f5!important}.ast-menu-bar #menu .nav>li.dropdown>a:after,.ast-menu-bar #menu .nav>li>a.dropdown-toggle:after{display:none!important}.ast-menu-bar #menu .dropdown-menu{top:64px!important;border-radius:0 0 18px 18px!important;margin-top:0!important}.ast-menu-bar #menu .see-all{background:#e21b2d!important;color:#fff!important}
@media(max-width:1320px){.ast-mainbar-inner{grid-template-columns:220px minmax(320px,1fr) auto!important;gap:22px!important}.ast-logo{width:220px!important}.ast-logo img,#logo img{max-width:205px!important}.ast-actions{gap:14px!important}.ast-menu-bar #menu .nav{gap:8px!important}.ast-menu-bar #menu .nav>li>a{font-size:12px!important}.ast-menu-bar #menu .nav>li>a:before{width:24px;height:24px;font-size:13px;flex-basis:24px}.ast-cart #cart>.btn,.ast-cart-button{min-width:160px!important}}
@media(max-width:991px){.ast-mainbar-inner{display:grid!important;grid-template-columns:1fr!important;text-align:center!important;gap:16px!important;padding:16px 0!important}.ast-logo{width:100%!important;display:flex!important;justify-content:center!important}.ast-search-wrap{max-width:100%!important}.ast-actions{justify-content:center!important;flex-wrap:wrap!important}.ast-menu-bar{height:auto!important}.ast-menu-inner{height:auto!important;min-height:56px!important}.ast-menu-bar #menu,.ast-menu-bar #menu .nav{height:auto!important}.ast-menu-bar #menu .nav>li{height:auto!important}.ast-menu-bar #menu .nav>li>a{height:auto!important;padding:12px 10px!important}.ast-menu-bar #menu .navbar-header{display:block!important}.ast-menu-bar #menu .navbar-collapse{display:none!important}.ast-menu-bar #menu .navbar-collapse.in{display:block!important}.ast-menu-bar #menu .nav{display:block!important}.ast-menu-bar #menu .dropdown-menu{position:static!important;min-width:0!important;width:100%!important;box-shadow:none!important}.ast-cart-dropdown{min-width:300px!important;right:auto!important;left:50%!important;transform:translateX(-50%)!important}}


/* V9 header/menu/cart strict alignment fix - reference look */
.ast-header, .ast-header *{box-sizing:border-box!important}
.ast-header{width:100%!important;overflow:visible!important;background:#fff!important}
.ast-header .container{max-width:1500px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important}
.ast-topbar{height:40px!important;line-height:40px!important;background:#07152b!important;color:#fff!important;overflow:hidden!important}
.ast-topbar-inner{height:40px!important;min-height:40px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;padding-top:0!important;padding-bottom:0!important}
.ast-authorized{display:flex!important;align-items:center!important;gap:7px!important;font-size:15px!important;font-weight:900!important;white-space:nowrap!important;line-height:1!important}
.ast-toplinks{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:14px!important;flex-wrap:nowrap!important;white-space:nowrap!important;line-height:1!important}
.ast-toplinks a,.ast-toplinks span{color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1!important;text-decoration:none!important}
.ast-toplinks a:not(:last-child){position:relative!important}
.ast-phone{font-weight:900!important;text-decoration:underline!important}

.ast-mainbar{height:auto!important;min-height:118px!important;background:#fff!important;border-bottom:1px solid #edf1f6!important;overflow:visible!important}
.ast-mainbar-inner{height:118px!important;min-height:118px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important;position:relative!important;overflow:visible!important;flex-wrap:nowrap!important}
.ast-logo,#logo.ast-logo{order:1!important;flex:0 0 260px!important;width:260px!important;max-width:260px!important;min-width:260px!important;margin:0!important;padding:0!important;text-align:left!important;float:none!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important}
.ast-logo a,#logo.ast-logo a{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;height:auto!important}
.ast-logo img,#logo img{display:block!important;width:auto!important;height:auto!important;max-width:230px!important;max-height:86px!important;margin:0!important;padding:0!important;object-fit:contain!important;float:none!important;position:static!important;transform:none!important}
.ast-search-wrap{order:2!important;flex:1 1 520px!important;min-width:260px!important;max-width:650px!important;margin:0 auto!important;padding:0!important;float:none!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;display:block!important}
.ast-search-wrap #search{width:100%!important;display:flex!important;margin:0!important;padding:0!important;float:none!important;position:static!important}
.ast-search-wrap #search input,.ast-search-wrap input[name='search']{height:54px!important;border-radius:30px 0 0 30px!important;border:1px solid #dde5ef!important;border-right:0!important;background:#fff!important;box-shadow:none!important;font-size:15px!important;padding:0 24px!important;width:100%!important;min-width:0!important}
.ast-search-wrap #search .input-group-btn{width:72px!important;flex:0 0 72px!important;display:block!important}
.ast-search-wrap #search .btn,.ast-search-wrap .btn{width:72px!important;height:54px!important;border-radius:0 30px 30px 0!important;background:#e21b2d!important;border-color:#e21b2d!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:20px!important;line-height:1!important;padding:0!important}
.ast-actions{order:3!important;flex:0 0 auto!important;min-width:390px!important;width:auto!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;margin:0!important;padding:0!important;white-space:nowrap!important;float:none!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;clear:none!important;z-index:5!important}
.ast-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;margin:0!important;padding:0!important;color:#07152b!important;font-size:14px!important;font-weight:900!important;line-height:1.05!important;min-height:54px!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;text-decoration:none!important}
.ast-action i{font-size:28px!important;color:#07152b!important;line-height:1!important}
.ast-action span{display:block!important;color:#07152b!important;font-weight:900!important}.ast-action small{display:block!important;font-size:12px!important;color:#697386!important;font-weight:600!important;margin-top:3px!important}
.ast-wishlist:after{content:'0'!important;position:absolute!important;top:10px!important;left:23px!important;width:17px!important;height:17px!important;line-height:17px!important;border-radius:50%!important;background:#e21b2d!important;color:#fff!important;font-size:11px!important;text-align:center!important;font-weight:900!important}
.ast-cart{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 178px!important;min-width:178px!important;width:178px!important;margin:0!important;padding:0!important;float:none!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important}
.ast-cart #cart,.ast-cart-root{width:178px!important;min-width:178px!important;margin:0!important;padding:0!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;display:block!important}
.ast-cart #cart>.btn,.ast-cart-button{width:178px!important;min-width:178px!important;max-width:178px!important;height:58px!important;margin:0!important;padding:0 14px!important;border-radius:14px!important;border:0!important;background:#e21b2d!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;box-shadow:0 12px 24px rgba(226,27,45,.20)!important;text-shadow:none!important;overflow:hidden!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;text-align:left!important}
.ast-cart-button-icon{font-size:28px!important;line-height:1!important;flex:0 0 auto!important;color:#fff!important}.ast-cart-button-label{display:flex!important;flex-direction:column!important;line-height:1.08!important;min-width:0!important}.ast-cart-button-label strong{display:block!important;color:#fff!important;font-size:15px!important;font-weight:900!important}.ast-cart-button-label small{display:block!important;color:#fff!important;font-size:12px!important;font-weight:800!important;margin-top:3px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:118px!important}.ast-cart-button-arrow{display:block!important;color:#fff!important;font-size:14px!important;line-height:1!important;margin-left:auto!important}
.ast-cart .dropdown-menu{right:0!important;left:auto!important;top:100%!important;transform:none!important}

.ast-menu-bar{height:64px!important;min-height:64px!important;background:#fff!important;border-top:0!important;border-bottom:1px solid #e8edf4!important;box-shadow:0 8px 24px rgba(7,21,43,.04)!important;overflow:visible!important;position:relative!important;z-index:998!important}
.ast-menu-inner{height:64px!important;min-height:64px!important;display:flex!important;align-items:center!important;overflow:visible!important;padding-left:16px!important;padding-right:16px!important}
.ast-menu-bar #menu{width:100%!important;height:64px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.ast-menu-bar #menu .navbar-collapse{height:64px!important;display:block!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important}
.ast-menu-bar #menu .nav{height:64px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;flex-wrap:nowrap!important;margin:0!important;padding:0!important;float:none!important;overflow:visible!important;width:100%!important}
.ast-menu-bar #menu .nav>li{height:64px!important;display:flex!important;align-items:center!important;float:none!important;position:relative!important;white-space:nowrap!important;min-width:0!important}
.ast-menu-bar #menu .nav>li>a{height:64px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 2px!important;color:#07152b!important;background:transparent!important;font-size:12.5px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:-.25px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;max-width:170px!important}
.ast-menu-bar #menu .nav>li>a:before{width:30px!important;height:30px!important;flex:0 0 30px!important;border:1px solid #dfe6f0!important;border-radius:50%!important;background:#fff!important;color:#07152b!important;font-size:15px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.ast-menu-bar #menu .nav>li:hover>a,.ast-menu-bar #menu .nav>li.open>a{color:#e21b2d!important}.ast-menu-bar #menu .nav>li:hover>a:before,.ast-menu-bar #menu .nav>li.open>a:before{color:#e21b2d!important;border-color:#e21b2d!important;background:#fff4f5!important}
.ast-menu-bar #menu .dropdown-menu{top:64px!important;z-index:3000!important}

/* V9 category listing card repair */
#product-category .product-layout{margin-bottom:26px!important}#product-category .product-thumb{background:#fff!important;border:1px solid #e8edf4!important;border-radius:18px!important;box-shadow:0 8px 28px rgba(7,21,43,.035)!important;padding:20px!important;min-height:430px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important}#product-category .product-thumb .image{height:240px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0 0 18px!important;background:#fff!important}#product-category .product-thumb .image img{max-height:235px!important;width:auto!important;max-width:100%!important;object-fit:contain!important;margin:0 auto!important}#product-category .product-thumb h4{font-size:18px!important;line-height:1.15!important;font-weight:900!important;min-height:44px!important;margin:0 0 12px!important}#product-category .product-thumb h4 a{color:#07152b!important}#product-category .product-thumb .caption{min-height:0!important;padding:0!important;flex:1 1 auto!important}#product-category .product-thumb .caption p{color:#4b5563!important;font-size:14px!important;line-height:1.45!important;max-height:42px!important;overflow:hidden!important}#product-category .product-thumb .price{color:#e21b2d!important;font-size:20px!important;font-weight:900!important;margin-top:12px!important}#product-category .product-thumb .price-old{color:#7b8494!important;text-decoration:line-through!important;font-size:14px!important;margin-left:8px!important;font-weight:600!important}#product-category .product-thumb .button-group{border:0!important;background:transparent!important;display:flex!important;gap:10px!important;align-items:center!important;margin-top:auto!important;padding-top:16px!important}#product-category .product-thumb .button-group button{height:42px!important;border:0!important;border-radius:22px!important;background:#e21b2d!important;color:#fff!important;font-weight:900!important;padding:0 18px!important;width:auto!important;float:none!important;box-shadow:none!important}#product-category .product-thumb .button-group button+button{width:42px!important;height:42px!important;padding:0!important;background:#fff!important;color:#07152b!important;border:1px solid #e8edf4!important}#product-category .product-thumb .button-group button:hover{background:#c91525!important;color:#fff!important}

@media(max-width:1450px){.ast-header .container{max-width:1320px!important}.ast-mainbar-inner{gap:20px!important}.ast-logo,#logo.ast-logo{flex-basis:220px!important;width:220px!important;min-width:220px!important}.ast-logo img,#logo img{max-width:205px!important}.ast-search-wrap{max-width:560px!important}.ast-actions{min-width:350px!important;gap:13px!important}.ast-cart,.ast-cart #cart,.ast-cart-root,.ast-cart #cart>.btn,.ast-cart-button{width:164px!important;min-width:164px!important;max-width:164px!important}.ast-menu-bar #menu .nav>li>a{font-size:11.5px!important;gap:6px!important;max-width:150px!important}.ast-menu-bar #menu .nav>li>a:before{width:26px!important;height:26px!important;flex-basis:26px!important;font-size:13px!important}}
@media(max-width:1199px){.ast-mainbar-inner{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:220px 1fr!important;gap:16px!important;padding-top:16px!important;padding-bottom:16px!important}.ast-actions{grid-column:1/3!important;justify-content:center!important;min-width:0!important}.ast-search-wrap{max-width:none!important}.ast-menu-bar{height:auto!important}.ast-menu-inner{height:auto!important;overflow-x:auto!important}.ast-menu-bar #menu,.ast-menu-bar #menu .navbar-collapse,.ast-menu-bar #menu .nav{height:64px!important;min-width:max-content!important}.ast-menu-bar #menu .nav{justify-content:flex-start!important;gap:16px!important}.ast-menu-bar #menu .nav>li>a{max-width:none!important}}
@media(max-width:767px){.ast-topbar{height:auto!important;line-height:1.3!important}.ast-topbar-inner{height:auto!important;min-height:40px!important;flex-direction:column!important;gap:6px!important;padding-top:8px!important;padding-bottom:8px!important}.ast-toplinks{gap:10px!important;flex-wrap:wrap!important;justify-content:center!important}.ast-mainbar-inner{display:flex!important;flex-direction:column!important;height:auto!important;padding:16px 0!important}.ast-logo,#logo.ast-logo{width:100%!important;min-width:0!important;max-width:none!important;flex-basis:auto!important;justify-content:center!important}.ast-search-wrap{width:100%!important;max-width:none!important}.ast-actions{width:100%!important;min-width:0!important;flex-wrap:wrap!important;justify-content:center!important}.ast-cart{width:178px!important}.ast-menu-inner{padding-left:10px!important;padding-right:10px!important}}

/* V10 menu text visibility + modern category page */
.ast-header .container{max-width:1640px!important;width:100%!important;padding-left:24px!important;padding-right:24px!important}.ast-mainbar-inner{display:grid!important;grid-template-columns:260px minmax(420px,1fr) auto!important;align-items:center!important;gap:32px!important;min-height:118px!important}.ast-logo,#logo.ast-logo{width:260px!important;min-width:260px!important;flex:0 0 260px!important}.ast-logo img,#logo img{max-width:245px!important;max-height:90px!important}.ast-search-wrap{max-width:690px!important;width:100%!important;margin:0 auto!important}.ast-actions{min-width:430px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important}.ast-cart,.ast-cart #cart{width:auto!important;min-width:0!important;max-width:none!important}.ast-cart #cart>.btn,.ast-cart-button{width:190px!important;min-width:190px!important;max-width:190px!important;height:58px!important;border-radius:14px!important;text-align:left!important;padding:8px 18px!important;overflow:hidden!important}.ast-cart #cart>.btn strong,.ast-cart-title{display:block!important;font-size:16px!important;line-height:1.05!important}.ast-cart #cart>.btn .ast-cart-total,.ast-cart-total{display:block!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.ast-menu-bar{height:auto!important;min-height:66px!important;overflow:visible!important}.ast-menu-inner{height:auto!important;min-height:66px!important;overflow-x:auto!important;overflow-y:visible!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important}.ast-menu-bar #menu,.ast-menu-bar #menu .navbar-collapse{height:auto!important;min-height:66px!important;overflow:visible!important}.ast-menu-bar #menu .nav{height:auto!important;min-height:66px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:24px!important;flex-wrap:nowrap!important;width:max-content!important;min-width:100%!important;overflow:visible!important}.ast-menu-bar #menu .nav>li{height:66px!important;flex:0 0 auto!important;min-width:auto!important;max-width:none!important;overflow:visible!important}.ast-menu-bar #menu .nav>li>a{height:66px!important;padding:0!important;gap:8px!important;font-size:13px!important;letter-spacing:-.15px!important;max-width:none!important;width:auto!important;overflow:visible!important;text-overflow:unset!important;white-space:nowrap!important;line-height:1!important}.ast-menu-bar #menu .nav>li>a:before{width:32px!important;height:32px!important;flex:0 0 32px!important;font-size:15px!important}.ast-menu-bar #menu .dropdown-menu{top:66px!important}.ast-menu-inner::-webkit-scrollbar{height:5px}.ast-menu-inner::-webkit-scrollbar-thumb{background:#d9e1ec;border-radius:10px}

.ast-category-page{max-width:1640px!important;padding-top:14px!important;padding-bottom:40px!important}.ast-breadcrumb{background:transparent!important;padding:14px 0!important;margin:0 0 14px!important;font-size:13px}.ast-category-layout{display:flex!important;gap:34px!important;align-items:flex-start!important}.ast-category-layout>#column-left,.ast-category-layout>.col-sm-3:first-child{width:360px!important;flex:0 0 360px!important;float:none!important}.ast-category-layout>#content.ast-category-content{flex:1 1 auto!important;float:none!important;width:auto!important;padding-left:0!important;padding-right:0!important}.ast-category-content{min-width:0!important}.ast-category-head{background:linear-gradient(135deg,#fff,#f7f9fc)!important;border:1px solid #e8edf4!important;border-radius:22px!important;padding:30px 34px!important;margin-bottom:22px!important;box-shadow:0 12px 35px rgba(7,21,43,.045)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important}.ast-section-line{display:block!important;width:34px!important;height:4px!important;background:#e21b2d!important;border-radius:8px!important;margin-bottom:12px!important}.ast-category-head h1{font-size:34px!important;line-height:1.15!important;margin:0!important;font-weight:900!important;color:#07152b!important;letter-spacing:-.6px!important}.ast-category-desc{color:#5b6575!important;margin-top:12px!important;max-width:860px!important;line-height:1.6!important}.ast-category-thumb img{max-width:170px!important;max-height:130px!important;object-fit:contain!important}.ast-subcategory-box{background:#fff!important;border:1px solid #e8edf4!important;border-radius:18px!important;padding:22px 26px!important;margin-bottom:22px!important;box-shadow:0 10px 28px rgba(7,21,43,.035)!important}.ast-subcategory-title{font-size:22px!important;font-weight:900!important;color:#07152b!important;margin-bottom:16px!important}.ast-subcategory-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.ast-subcategory-grid a{display:flex!important;align-items:center!important;gap:9px!important;background:#f8fafc!important;border:1px solid #e8edf4!important;border-radius:14px!important;padding:12px 14px!important;color:#07152b!important;font-weight:800!important;text-decoration:none!important}.ast-subcategory-grid a:hover{background:#fff4f5!important;border-color:#ffd4da!important;color:#e21b2d!important}.ast-category-toolbar{display:flex!important;align-items:center!important;gap:18px!important;background:#fff!important;border:1px solid #e8edf4!important;border-radius:18px!important;padding:14px 16px!important;margin-bottom:24px!important;box-shadow:0 8px 24px rgba(7,21,43,.035)!important}.ast-view-buttons{display:flex!important;gap:8px!important}.ast-view-buttons .btn{width:40px!important;height:40px!important;border-radius:12px!important;border:1px solid #e8edf4!important;background:#fff!important;color:#07152b!important}.ast-view-buttons .btn.active,.ast-view-buttons .btn:hover{background:#e21b2d!important;border-color:#e21b2d!important;color:#fff!important}.ast-compare-link{font-weight:800!important;color:#2273bd!important;margin-right:auto!important}.ast-sort-group{display:flex!important;align-items:center!important;gap:8px!important}.ast-sort-group label{margin:0!important;color:#5b6575!important;font-weight:700!important}.ast-sort-group select{height:42px!important;border-radius:12px!important;border-color:#dfe6f0!important;min-width:230px!important;box-shadow:none!important}.ast-limit-group select{min-width:110px!important}.ast-products-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important}.ast-category-product{width:auto!important;float:none!important;padding:0!important}.ast-product-card{height:100%!important;background:#fff!important;border:1px solid #e8edf4!important;border-radius:22px!important;box-shadow:0 14px 34px rgba(7,21,43,.045)!important;padding:22px!important;display:flex!important;flex-direction:column!important;transition:.22s ease!important;overflow:hidden!important}.ast-product-card:hover{transform:translateY(-4px)!important;box-shadow:0 22px 46px rgba(7,21,43,.08)!important}.ast-product-image{height:250px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;margin-bottom:18px!important;background:#fff!important}.ast-product-image img{max-height:240px!important;max-width:100%!important;width:auto!important;object-fit:contain!important;display:block!important;margin:auto!important}.ast-wish{position:absolute!important;right:0!important;top:0!important;width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid #e8edf4!important;background:#fff!important;color:#07152b!important}.ast-product-body{display:flex!important;flex-direction:column!important;flex:1!important}.ast-product-body h3{font-size:20px!important;line-height:1.15!important;margin:0 0 10px!important;font-weight:900!important;letter-spacing:-.3px!important;min-height:46px!important}.ast-product-body h3 a{color:#07152b!important;text-decoration:none!important}.ast-product-body p{font-size:14px!important;color:#5b6575!important;line-height:1.5!important;max-height:44px!important;overflow:hidden!important;margin-bottom:12px!important}.ast-rating{color:#ff9800!important;font-size:13px!important;margin-bottom:10px!important}.ast-price{display:flex!important;align-items:center!important;gap:10px!important;margin-top:auto!important;margin-bottom:16px!important}.ast-price strong{color:#e21b2d!important;font-size:22px!important;font-weight:900!important}.ast-price del{color:#7b8494!important;font-size:14px!important}.ast-product-actions{display:flex!important;align-items:center!important;gap:10px!important}.ast-compare{width:42px!important;height:42px!important;border-radius:50%!important;border:1px solid #e8edf4!important;background:#fff!important;color:#07152b!important}.ast-add-cart{height:42px!important;border:0!important;border-radius:24px!important;background:#e21b2d!important;color:#fff!important;font-weight:900!important;padding:0 22px!important;flex:1!important}.ast-add-cart:hover{background:#c91525!important}.ast-pagination-row{margin-top:24px!important;background:#fff!important;border:1px solid #e8edf4!important;border-radius:16px!important;padding:14px!important}.ast-empty-category{background:#fff!important;border:1px solid #e8edf4!important;border-radius:18px!important;padding:30px!important;text-align:center!important}

@media(max-width:1450px){.ast-header .container,.ast-category-page{max-width:1320px!important}.ast-mainbar-inner{grid-template-columns:220px minmax(360px,1fr) auto!important;gap:18px!important}.ast-logo,#logo.ast-logo{width:220px!important;min-width:220px!important}.ast-logo img,#logo img{max-width:210px!important}.ast-actions{min-width:390px!important;gap:12px!important}.ast-menu-bar #menu .nav{gap:18px!important}.ast-menu-bar #menu .nav>li>a{font-size:12px!important}.ast-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ast-category-layout>#column-left,.ast-category-layout>.col-sm-3:first-child{width:310px!important;flex-basis:310px!important}}
@media(max-width:1199px){.ast-mainbar-inner{grid-template-columns:220px 1fr!important}.ast-actions{grid-column:1/3!important;justify-content:center!important;min-width:0!important}.ast-search-wrap{max-width:none!important}.ast-category-layout{display:block!important}.ast-category-layout>#column-left,.ast-category-layout>.col-sm-3:first-child{width:100%!important;flex-basis:auto!important;margin-bottom:24px!important}.ast-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ast-category-toolbar{flex-wrap:wrap!important}.ast-compare-link{margin-right:0!important}.ast-sort-group{flex:1 1 220px!important}.ast-sort-group select{min-width:0!important;width:100%!important}.ast-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){.ast-header .container,.ast-category-page{padding-left:14px!important;padding-right:14px!important}.ast-mainbar-inner{display:flex!important;flex-direction:column!important}.ast-logo,#logo.ast-logo{width:100%!important;min-width:0!important;text-align:center!important}.ast-logo img,#logo img{margin:auto!important}.ast-actions{width:100%!important;flex-wrap:wrap!important}.ast-cart #cart>.btn,.ast-cart-button{width:190px!important}.ast-menu-bar #menu .nav{gap:18px!important}.ast-category-head{padding:22px!important;display:block!important}.ast-subcategory-grid,.ast-products-grid{grid-template-columns:1fr!important}.ast-category-toolbar{display:grid!important;grid-template-columns:1fr!important}.ast-product-image{height:220px!important}.ast-product-image img{max-height:210px!important}}


/* V11 FINAL HEADER / MENU / CATEGORY ALIGNMENT FIX
   Amaç: logo-arama-hesap-favori-sepet satırını referans görseldeki gibi sabitlemek,
   menü yazılarının kesilmesini engellemek ve kategori sayfasını daha kontrollü hale getirmek. */
.ast-header{position:relative!important;z-index:5000!important;background:#fff!important;overflow:visible!important}
.ast-header .container{max-width:1440px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px!important;padding-right:24px!important}
.ast-topbar{height:40px!important;line-height:40px!important;overflow:hidden!important;background:#07152b!important}
.ast-topbar-inner{height:40px!important;min-height:40px!important;padding-top:0!important;padding-bottom:0!important}
.ast-toplinks{height:40px!important;line-height:40px!important;overflow:hidden!important}
.ast-toplinks a,.ast-social,.ast-authorized{line-height:40px!important}

/* Main header: grid/flex karmaşasını iptal et, öğeleri kontrollü pozisyonla yerleştir */
.ast-mainbar{height:128px!important;min-height:128px!important;background:#fff!important;border-bottom:1px solid #eef2f7!important;overflow:visible!important}
.ast-mainbar-inner{position:relative!important;display:block!important;height:128px!important;min-height:128px!important;padding:0!important;margin:0 auto!important;overflow:visible!important}
.ast-logo,#logo.ast-logo,#logo{position:absolute!important;left:24px!important;top:24px!important;width:250px!important;min-width:250px!important;height:86px!important;margin:0!important;padding:0!important;text-align:left!important;float:none!important;z-index:3!important;overflow:visible!important}
.ast-logo a,#logo a{display:block!important;width:auto!important;height:auto!important}
.ast-logo img,#logo img{display:block!important;max-width:240px!important;max-height:86px!important;width:auto!important;height:auto!important;margin:0!important;object-fit:contain!important;object-position:left center!important}
.ast-search-wrap{position: absolute !important;
    left: 45% !important;
    top: 36px !important;
    transform: translateX(-50%) !important;
    width: 620px !important;
    max-width: 620px !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    z-index: 2 !important;}
.ast-search-wrap #search{display:flex!important;align-items:stretch!important;width:100%!important;margin:0!important;padding:0!important}
.ast-search-wrap #search input,.ast-search-wrap input[name='search']{width:100%!important;height:54px!important;min-width:0!important;line-height:54px!important;border-radius:30px 0 0 30px!important;border:1px solid #dde5ef!important;border-right:0!important;background:#fff!important;box-shadow:none!important;padding:0 24px!important;font-size:15px!important;color:#07152b!important}
.ast-search-wrap #search .input-group-btn{width:72px!important;min-width:72px!important;display:block!important}
.ast-search-wrap #search .btn,.ast-search-wrap .btn{width:72px!important;min-width:72px!important;height:54px!important;border-radius:0 30px 30px 0!important;background:#e21b2d!important;border:1px solid #e21b2d!important;color:#fff!important;font-size:20px!important;display:flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important}
.ast-actions{position:absolute!important;right:24px!important;top:30px!important;height:64px!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;min-width:410px!important;width:auto!important;margin:0!important;padding:0!important;float:none!important;z-index:4!important;white-space:nowrap!important;overflow:visible!important}
.ast-action{height:54px!important;display:flex!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0 2px!important;font-weight:900!important;color:#07152b!important;text-decoration:none!important;line-height:1.1!important;overflow:visible!important}
.ast-action i{font-size:26px!important;color:#07152b!important;line-height:1!important}.ast-action span{display:block!important}.ast-action small{display:block!important;font-size:12px!important;font-weight:500!important;color:#667085!important;margin-top:2px!important}.ast-cart{height:58px!important;display:flex!important;align-items:center!important;overflow:visible!important}.ast-cart #cart,.ast-cart-root{width:auto!important;margin:0!important;position:relative!important;display:block!important}.ast-cart #cart>.btn,.ast-cart-button{height:58px!important;min-width:190px!important;max-width:230px!important;border-radius:14px!important;background:#e21b2d!important;border:0!important;color:#fff!important;box-shadow:0 14px 32px rgba(226,27,45,.18)!important;padding:0 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;overflow:hidden!important;text-align:left!important;line-height:1.1!important}.ast-cart-button-icon{font-size:25px!important;line-height:1!important}.ast-cart-button-label{display:block!important;min-width:0!important}.ast-cart-button-label strong{display:block!important;font-size:16px!important;font-weight:900!important;color:#fff!important}.ast-cart-button-label small,.ast-cart #cart-total{display:block!important;font-size:12px!important;font-weight:800!important;color:#fff!important;max-width:145px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.ast-cart-button-arrow{margin-left:auto!important;color:#fff!important}.ast-cart-dropdown{z-index:99999!important;right:0!important;left:auto!important;top:100%!important;border-radius:14px!important;box-shadow:0 24px 60px rgba(7,21,43,.18)!important;border:1px solid #e8edf4!important}

/* Navigation: harf kesilmesini tamamen durdur */
.ast-menu-bar{height:66px!important;min-height:66px!important;background:#fff!important;border-top:1px solid #eef2f7!important;border-bottom:1px solid #eef2f7!important;overflow:visible!important;position:relative!important;z-index:4500!important}.ast-menu-inner{height:66px!important;min-height:66px!important;display:block!important;overflow-x:auto!important;overflow-y:visible!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;padding-top:0!important;padding-bottom:0!important}.ast-menu-inner::-webkit-scrollbar{height:0!important}.ast-menu-bar #menu{display:block!important;width:max-content!important;min-width:100%!important;height:66px!important;min-height:66px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}.ast-menu-bar #menu .navbar-collapse{display:block!important;width:auto!important;height:66px!important;min-height:66px!important;padding:0!important;margin:0!important;border:0!important;overflow:visible!important}.ast-menu-bar #menu .nav{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:28px!important;flex-wrap:nowrap!important;width:auto!important;min-width:max-content!important;height:66px!important;margin:0!important;padding:0!important;float:none!important;overflow:visible!important}.ast-menu-bar #menu .nav>li{display:flex!important;align-items:center!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:0!important;height:66px!important;float:none!important;position:relative!important;white-space:nowrap!important;overflow:visible!important}.ast-menu-bar #menu .nav>li>a{display:flex!important;align-items:center!important;gap:10px!important;width:auto!important;max-width:none!important;min-width:0!important;height:66px!important;padding:0!important;margin:0!important;background:transparent!important;color:#07152b!important;font-size:14px!important;font-weight:900!important;line-height:66px!important;text-transform:uppercase!important;letter-spacing:0!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;text-decoration:none!important}.ast-menu-bar #menu .nav>li>a *{white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.ast-menu-bar #menu .nav>li>a:hover{color:#e21b2d!important;background:transparent!important}.ast-menu-bar #menu img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;object-fit:contain!important;display:inline-block!important;flex:0 0 38px!important;margin:0!important}.ast-menu-bar #menu .dropdown-menu{top:66px!important;z-index:99999!important}

/* Category page: daha kompakt ve premium görünüm */
.ast-category-page{max-width:1440px!important;padding-top:26px!important}.ast-category-layout{display:grid!important;grid-template-columns:320px minmax(0,1fr)!important;gap:38px!important;align-items:start!important}.ast-category-layout:before,.ast-category-layout:after,.ast-category-content:before,.ast-category-content:after{display:none!important;content:none!important}.ast-category-layout>#column-left,.ast-category-layout>.col-sm-3:first-child{width:auto!important;max-width:none!important;float:none!important;padding:0!important}.ast-category-content{width:auto!important;max-width:none!important;float:none!important;padding:0!important}.ast-category-head{min-height:132px!important;padding:34px 40px!important;border-radius:22px!important}.ast-category-head h1{font-size:40px!important;line-height:1.05!important;margin:10px 0 0!important}.ast-subcategory-box{border-radius:22px!important;padding:28px!important}.ast-subcategory-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.ast-subcategory-grid a{min-height:50px!important;border-radius:14px!important;font-size:16px!important;padding:0 18px!important}.ast-category-toolbar{border-radius:22px!important;padding:16px!important;gap:20px!important}.ast-products-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:28px!important;overflow:visible!important}.ast-product-card{border-radius:22px!important;padding:24px!important;min-height:475px!important;background:#fff!important;border:1px solid #e8edf4!important;box-shadow:0 18px 45px rgba(7,21,43,.055)!important;transition:transform .2s ease,box-shadow .2s ease!important}.ast-product-card:hover{transform:translateY(-4px)!important;box-shadow:0 24px 65px rgba(7,21,43,.09)!important}.ast-product-image{height:245px!important}.ast-product-body h3{font-size:19px!important;line-height:1.18!important;min-height:46px!important}.ast-product-body p{font-size:14px!important;color:#667085!important}.ast-price strong{font-size:22px!important}.ast-add-cart{height:44px!important;border-radius:24px!important}.ast-compare,.ast-wish{box-shadow:0 8px 20px rgba(7,21,43,.05)!important}

@media(max-width:1380px){.ast-search-wrap{width:450px!important;max-width:450px!important}.ast-actions{min-width:375px!important;gap:12px!important}.ast-cart #cart>.btn,.ast-cart-button{min-width:170px!important;max-width:190px!important}.ast-menu-bar #menu .nav{gap:22px!important}.ast-menu-bar #menu .nav>li>a{font-size:13px!important}.ast-menu-bar #menu img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}.ast-category-layout{grid-template-columns:300px minmax(0,1fr)!important}.ast-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}}
@media(max-width:1199px){.ast-mainbar{height:auto!important}.ast-mainbar-inner{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:220px 1fr!important;gap:16px!important;padding:16px 24px!important}.ast-logo,#logo.ast-logo,#logo,.ast-search-wrap,.ast-actions{position:static!important;transform:none!important;width:auto!important;min-width:0!important;height:auto!important}.ast-actions{grid-column:1/3!important;justify-content:center!important}.ast-category-layout{display:block!important}.ast-category-layout>#column-left,.ast-category-layout>.col-sm-3:first-child{margin-bottom:24px!important}.ast-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ast-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){.ast-topbar{height:auto!important}.ast-topbar-inner{height:auto!important;display:block!important;text-align:center!important;padding:6px 0!important}.ast-toplinks{display:none!important}.ast-mainbar-inner{display:flex!important;flex-direction:column!important;padding:16px!important}.ast-logo,#logo.ast-logo,#logo{text-align:center!important}.ast-logo img,#logo img{margin:auto!important}.ast-search-wrap{width:100%!important;max-width:none!important}.ast-actions{width:100%!important;flex-wrap:wrap!important}.ast-cart #cart>.btn,.ast-cart-button{min-width:190px!important}.ast-menu-bar,.ast-menu-inner,.ast-menu-bar #menu,.ast-menu-bar #menu .navbar-collapse,.ast-menu-bar #menu .nav,.ast-menu-bar #menu .nav>li,.ast-menu-bar #menu .nav>li>a{height:60px!important;min-height:60px!important;line-height:60px!important}.ast-products-grid,.ast-subcategory-grid{grid-template-columns:1fr!important}.ast-category-head{padding:24px!important}.ast-category-head h1{font-size:30px!important}.ast-category-toolbar{display:grid!important;grid-template-columns:1fr!important}.ast-product-card{min-height:auto!important}}

/* Sepet dropdown menünün arkasında kalmasın */
.ast-header,
.ast-main-header,
.header-main,
.header-center,
.header-actions {
  position: relative;
  z-index: 1000;
  overflow: visible !important;
}

.ast-category-nav,
.category-menu,
.ast-menu-wrap,
#menu {
  position: relative;
  z-index: 100;
}

#cart,
#cart > .btn-group,
.header-cart,
.ast-cart {
  position: relative;
  z-index: 1200;
}

#cart .dropdown-menu,
.header-cart .dropdown-menu,
.ast-cart .dropdown-menu {
  z-index: 9999 !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
}
/* =========================================================
   AST Modern V35 - MOBILE REAL FIX
   Masaüstünü bozmaz. 0-767px için header/menu/cart düzenler.
   ========================================================= */
@media (max-width: 767px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background: #f3f6fa !important;
  }

  .container,
  .ast-header .container,
  .ast-cart-page .container,
  .ast-category-page,
  #common-home .container,
  #product-category .container,
  #product-product .container,
  #checkout-cart .container,
  #checkout-checkout .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Üst bar mobilde kompakt */
  .ast-topbar {
    height: auto !important;
    min-height: 46px !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
  }
  .ast-topbar-inner {
    height: auto !important;
    min-height: 46px !important;
    padding: 10px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .ast-authorized {
    justify-content: center !important;
    font-size: 16px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
  .ast-toplinks {
    display: none !important;
  }

  /* Header boşluklarını yok et */
  .ast-mainbar {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
  }
  .ast-mainbar-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 18px 14px 20px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .ast-logo,
  #logo.ast-logo,
  #logo {
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
  }
  .ast-logo img,
  #logo img {
    max-width: 210px !important;
    max-height: 86px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .ast-search-wrap {
    order: 2 !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
  }
  .ast-search-wrap #search {
    width: 100% !important;
    display: flex !important;
    margin: 0 !important;
  }
  .ast-search-wrap #search input,
  .ast-search-wrap input[name='search'] {
    height: 52px !important;
    min-width: 0 !important;
    font-size: 15px !important;
    border-radius: 28px 0 0 28px !important;
  }
  .ast-search-wrap #search .input-group-btn {
    width: 66px !important;
    flex: 0 0 66px !important;
  }
  .ast-search-wrap #search .btn,
  .ast-search-wrap .btn {
    width: 66px !important;
    height: 52px !important;
    border-radius: 0 28px 28px 0 !important;
  }

  .ast-actions {
    order: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 420px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px 20px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
  }
  .ast-action {
    min-height: 44px !important;
    height: auto !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
  }
  .ast-action i {
    font-size: 24px !important;
  }
  .ast-action small {
    font-size: 12px !important;
  }
  .ast-wishlist:after {
    top: -4px !important;
    left: 22px !important;
  }

  .ast-cart {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
  .ast-cart #cart,
  .ast-cart-root {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .ast-cart #cart > .btn,
  .ast-cart-button {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    height: 58px !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    padding: 0 18px !important;
  }
  .ast-cart-button-label small {
    max-width: 140px !important;
  }

  /* Mobil kategori menüsü: yatay kaydır, label/boşluk yok */
  .ast-menu-bar {
    height: auto !important;
    min-height: 58px !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .ast-menu-inner {
    height: auto !important;
    min-height: 58px !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .ast-menu-bar #menu,
  .ast-menu-bar #menu .navbar-collapse,
  .ast-menu-bar #menu .nav {
    height: auto !important;
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    width: max-content !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .ast-menu-bar #menu .navbar-header,
  .ast-menu-bar #menu .btn-navbar,
  .ast-menu-bar #menu .navbar-toggle {
    display: none !important;
  }
  .ast-menu-bar #menu .nav {
    gap: 18px !important;
    justify-content: flex-start !important;
  }
  .ast-menu-bar #menu .nav > li {
    height: 58px !important;
    flex: 0 0 auto !important;
  }
  .ast-menu-bar #menu .nav > li > a {
    height: 58px !important;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    max-width: none !important;
    overflow: visible !important;
  }
  .ast-menu-bar #menu .nav > li > a:before {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
  }

  /* Sayfa üst boşlukları */
  .ast-cart-page,
  .ast-page,
  .ast-category-page {
    padding-top: 22px !important;
  }
  .ast-breadcrumb,
  .breadcrumb {
    margin: 0 0 18px !important;
    padding: 0 !important;
    line-height: 1.4 !important;
  }
  .alert,
  .ast-alert {
    border-radius: 16px !important;
    padding: 14px 16px !important;
    margin-bottom: 18px !important;
  }

  /* Sepet mobil: tabloyu kart yap, yatay taşmayı kes */
  .ast-cart-page .ast-cart-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    width: 100% !important;
  }
  .ast-cart-left,
  .ast-cart-card,
  .ast-cart-options,
  .ast-cart-summary {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .ast-cart-card {
    overflow: visible !important;
    border-radius: 20px !important;
  }
  .ast-cart-table,
  .ast-cart-table thead,
  .ast-cart-table tbody,
  .ast-cart-table tr,
  .ast-cart-table td {
    display: block !important;
    width: 100% !important;
  }
  .ast-cart-table {
    min-width: 0 !important;
    table-layout: auto !important;
  }
  .ast-cart-table thead {
    display: none !important;
  }
  .ast-cart-table tbody tr {
    padding: 18px !important;
    border-bottom: 1px solid #e8edf4 !important;
  }
  .ast-cart-table tbody tr:last-child {
    border-bottom: 0 !important;
  }
  .ast-cart-table tbody td {
    border: 0 !important;
    padding: 0 !important;
  }
  .ast-cart-table tbody tr {
    display: grid !important;
    grid-template-columns: 116px minmax(0,1fr) !important;
    gap: 10px 14px !important;
    align-items: center !important;
  }
  .ast-col-image {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    width: auto !important;
  }
  .ast-product-img {
    width: 112px !important;
    height: 112px !important;
    border-radius: 18px !important;
    padding: 10px !important;
  }
  .ast-product-img img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
  .ast-cart-table td:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .ast-product-name {
    font-size: 19px !important;
    line-height: 1.18 !important;
    word-break: normal !important;
  }
  .ast-col-code {
    display: none !important;
  }
  .ast-col-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;
    text-align: left !important;
  }
  .ast-qty-wrap {
    justify-content: flex-start !important;
  }
  .ast-qty-input {
    width: 62px !important;
    height: 42px !important;
  }
  .ast-icon-btn {
    width: 42px !important;
    height: 42px !important;
  }
  .ast-col-price,
  .ast-col-total {
    grid-column: 2 !important;
    text-align: left !important;
    width: auto !important;
  }
  .ast-col-price {
    grid-row: 3 !important;
  }
  .ast-col-total {
    grid-row: 4 !important;
  }
  .ast-col-price:before {
    content: 'Birim: ';
    font-weight: 800;
    color: #64748b;
    margin-right: 6px;
  }
  .ast-col-total:before {
    content: 'Toplam: ';
    font-weight: 800;
    color: #64748b;
    margin-right: 6px;
  }
  .ast-price-main,
  .ast-price-total {
    font-size: 17px !important;
  }

  .ast-cart-options {
    padding: 20px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }
  .ast-options-title {
    font-size: 24px !important;
    line-height: 1.12 !important;
  }
  .ast-options-text {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  .ast-cart-options .panel-title a {
    font-size: 17px !important;
    padding: 16px 18px !important;
  }
  .ast-cart-options .panel-body {
    padding: 16px !important;
  }
  .ast-cart-options .form-horizontal .form-group,
  .ast-cart-options .form-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .ast-cart-options .control-label {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 8px !important;
  }
  .ast-cart-options .input-group {
    display: flex !important;
    width: 100% !important;
  }
  .ast-cart-options input.form-control {
    height: 46px !important;
    min-width: 0 !important;
    border-radius: 12px 0 0 12px !important;
  }
  .ast-cart-options .input-group-btn .btn {
    height: 46px !important;
    border-radius: 0 12px 12px 0 !important;
    white-space: nowrap !important;
    padding: 0 14px !important;
  }

  .ast-cart-summary {
    position: static !important;
    padding: 24px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }
  .ast-cart-summary-title {
    font-size: 28px !important;
  }
  .ast-cart-summary-line,
  .ast-summary-line {
    font-size: 15px !important;
  }
  .ast-cart-summary-line.total span:last-child,
  .ast-summary-line.total span:last-child {
    font-size: 25px !important;
  }
  .ast-cart-summary-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .ast-cart-summary-action {
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    position: static !important;
    transform: none !important;
  }
  .ast-bottom-services {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Kategori/ürün genel mobil güvenlik */
  .ast-category-layout,
  .ast-product-detail-card,
  .ast-products-grid,
  .ast-product-grid,
  .ast-category-cards,
  .ast-smart-banner,
  .ast-service-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  .ast-category-layout > #column-left,
  .ast-category-layout > .col-sm-3:first-child,
  .ast-category-layout > #content,
  .ast-category-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
  .ast-category-head {
    padding: 22px !important;
    border-radius: 20px !important;
  }
  .ast-category-head h1 {
    font-size: 30px !important;
  }
  .ast-category-toolbar {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .ast-sort-group,
  .ast-limit-group {
    width: 100% !important;
  }
  .ast-sort-group select,
  .ast-limit-group select {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 420px) {
  .ast-logo img,
  #logo img {
    max-width: 190px !important;
  }
  .ast-search-wrap {
    max-width: 100% !important;
  }
  .ast-actions {
    max-width: 100% !important;
  }
  .ast-cart-table tbody tr {
    grid-template-columns: 100px minmax(0,1fr) !important;
    padding: 14px !important;
  }
  .ast-product-img {
    width: 96px !important;
    height: 96px !important;
  }
  .ast-product-name {
    font-size: 17px !important;
  }
  .ast-qty-input {
    width: 54px !important;
  }
  .ast-icon-btn {
    width: 40px !important;
    height: 40px !important;
  }
}

/* =========================================================
   AST Modern V36 - Mobile final repair
   Product page + cart preview/dropdown + navigation + cart page
   ========================================================= */
@media (max-width: 767px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    background: #f3f6fa !important;
  }

  .container,
  .ast-header .container,
  .ast-cart-page .container,
  #product-product .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Header mobile: no huge gaps, no broken rows */
  .ast-topbar {
    height: auto !important;
    min-height: 38px !important;
    padding: 9px 0 !important;
    overflow: hidden !important;
  }

  .ast-topbar-inner {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .ast-authorized {
    font-size: 15px !important;
    line-height: 1.25 !important;
    justify-content: center !important;
  }

  .ast-toplinks {
    display: none !important;
  }

  .ast-mainbar {
    border-bottom: 1px solid #e8edf4 !important;
    overflow: visible !important;
  }

  .ast-mainbar-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 18px 0 20px !important;
    overflow: visible !important;
  }

  .ast-logo,
  #logo.ast-logo {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .ast-logo img,
  #logo img {
    max-width: 235px !important;
    max-height: 92px !important;
    width: auto !important;
    height: auto !important;
  }

  .ast-search-wrap {
    width: 100% !important;
    max-width: 430px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
  }

  .ast-search-wrap #search,
  .ast-search-wrap .input-group {
    width: 100% !important;
    display: flex !important;
  }

  .ast-search-wrap #search input,
  .ast-search-wrap input[name='search'] {
    min-width: 0 !important;
    height: 56px !important;
    border-radius: 30px 0 0 30px !important;
    font-size: 16px !important;
  }

  .ast-search-wrap #search .input-group-btn {
    width: 72px !important;
    flex: 0 0 72px !important;
  }

  .ast-search-wrap #search .btn,
  .ast-search-wrap .btn {
    width: 72px !important;
    height: 56px !important;
    border-radius: 0 30px 30px 0 !important;
  }

  .ast-actions {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px 22px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ast-action {
    min-height: 38px !important;
    font-size: 15px !important;
  }

  .ast-action i {
    font-size: 28px !important;
  }

  .ast-cart {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 10050 !important;
  }

  .ast-cart #cart,
  .ast-cart-root {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    position: relative !important;
  }

  .ast-cart #cart > .btn,
  .ast-cart-button {
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    height: 64px !important;
    border-radius: 16px !important;
    padding: 8px 18px !important;
  }

  /* Cart preview dropdown mobile: never cut by menu, never too wide */
  .ast-header,
  .ast-mainbar,
  .ast-mainbar-inner,
  .ast-actions,
  .ast-cart,
  #cart,
  .ast-cart-root {
    overflow: visible !important;
  }

  #cart .dropdown-menu,
  .ast-cart-dropdown,
  .ast-cart .dropdown-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    max-width: 430px !important;
    z-index: 999999 !important;
    border-radius: 18px !important;
    padding: 14px !important;
    overflow: visible !important;
  }

  #cart .dropdown-menu table,
  .ast-cart-dropdown table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }

  #cart .dropdown-menu td,
  .ast-cart-dropdown td {
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 13px !important;
  }

  #cart .dropdown-menu .btn,
  .ast-cart-dropdown .btn,
  .ast-cart-links a {
    white-space: nowrap !important;
    font-size: 14px !important;
  }

  .ast-cart-links {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  /* Mobile nav: horizontal scroll, no bootstrap collapse label */
  .ast-menu-bar {
    height: auto !important;
    min-height: 62px !important;
    overflow: hidden !important;
    z-index: 800 !important;
  }

  .ast-menu-inner {
    height: auto !important;
    min-height: 62px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 10px !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .ast-menu-bar #menu .navbar-header {
    display: none !important;
  }

  .ast-menu-bar #menu,
  .ast-menu-bar #menu .navbar-collapse {
    display: block !important;
    height: auto !important;
    min-height: 62px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .ast-menu-bar #menu .nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    min-width: max-content !important;
    width: max-content !important;
    height: 62px !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  .ast-menu-bar #menu .nav > li {
    flex: 0 0 auto !important;
    height: 62px !important;
  }

  .ast-menu-bar #menu .nav > li > a {
    height: 62px !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    padding: 0 !important;
  }

  .ast-menu-bar #menu .dropdown-menu {
    display: none !important;
  }

  /* Product detail mobile repair */
  #product-product .ast-page,
  #product-product {
    overflow-x: hidden !important;
  }

  #product-product #content > .row,
  #product-product .ast-product-detail-card {
    display: block !important;
    grid-template-columns: none !important;
    margin: 16px 0 24px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #product-product #content > .row > [class*='col-']:nth-child(1),
  #product-product .ast-product-gallery {
    width: 100% !important;
    padding: 14px !important;
    border-radius: 20px !important;
    margin-bottom: 16px !important;
    background: #fff !important;
    border: 1px solid #e8edf4 !important;
    box-shadow: 0 12px 30px rgba(7,21,43,.05) !important;
  }

  #product-product #content > .row > [class*='col-']:nth-child(2),
  #product-product .ast-product-summary {
    width: 100% !important;
    padding: 22px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid #e8edf4 !important;
    box-shadow: 0 12px 30px rgba(7,21,43,.05) !important;
  }

  #product-product .ast-main-image,
  #product-product .thumbnails > li:first-child .thumbnail {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    padding: 18px !important;
    border: 1px solid #e8edf4 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  #product-product .ast-main-image img,
  #product-product .thumbnails > li:first-child .thumbnail img {
    max-height: 310px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  #product-product .thumbnails,
  #product-product .ast-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 12px 0 4px !important;
    margin: 0 !important;
    grid-template-columns: none !important;
  }

  #product-product .thumbnails > li:first-child {
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  #product-product .image-additional,
  #product-product .thumbnails > li:not(:first-child),
  #product-product .image-additional .thumbnail,
  #product-product .thumbnails > li:not(:first-child) .thumbnail,
  #product-product .ast-thumbs .thumbnail {
    flex: 0 0 82px !important;
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }

  #product-product #content h1,
  #product-product .ast-product-summary h1 {
    font-size: 26px !important;
    line-height: 1.18 !important;
  }

  #product-product .ast-current-price,
  #product-product .list-unstyled h2 {
    font-size: 30px !important;
  }

  #product-product .ast-qty-cart,
  #product-product #product .form-group {
    width: 100% !important;
  }

  #product-product #button-cart,
  #product-product .ast-cart-main-btn {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Cart page mobile: product row becomes a card */
  .ast-cart-page {
    padding-top: 22px !important;
  }

  .ast-cart-layout {
    display: block !important;
  }

  .ast-cart-card {
    overflow: visible !important;
    border-radius: 20px !important;
  }

  .ast-cart-table,
  .ast-cart-table thead,
  .ast-cart-table tbody,
  .ast-cart-table tr,
  .ast-cart-table td {
    display: block !important;
    width: 100% !important;
  }

  .ast-cart-table thead {
    display: none !important;
  }

  .ast-cart-table tbody tr {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
    border-bottom: 1px solid #edf1f7 !important;
  }

  .ast-cart-table tbody td {
    border: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .ast-cart-table .ast-col-image {
    grid-row: 1 / span 4 !important;
    width: 112px !important;
  }

  .ast-product-img {
    width: 104px !important;
    height: 104px !important;
    border-radius: 18px !important;
  }

  .ast-product-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }

  .ast-product-name {
    font-size: 19px !important;
    line-height: 1.18 !important;
  }

  .ast-col-code {
    display: none !important;
  }

  .ast-col-qty {
    text-align: left !important;
    margin-top: 12px !important;
  }

  .ast-qty-wrap {
    justify-content: flex-start !important;
  }

  .ast-col-price,
  .ast-col-total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-top: 10px !important;
  }

  .ast-col-price:before {
    content: 'Birim Fiyatı';
    font-size: 13px;
    color: #64748b;
    font-weight: 800;
  }

  .ast-col-total:before {
    content: 'Tutar';
    font-size: 13px;
    color: #64748b;
    font-weight: 800;
  }

  .ast-cart-options,
  .ast-cart-summary {
    margin-top: 18px !important;
    border-radius: 20px !important;
  }

  .ast-cart-options {
    padding: 20px !important;
  }

  .ast-options-title {
    font-size: 24px !important;
    line-height: 1.15 !important;
  }

  .ast-cart-options .input-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .ast-cart-options input.form-control {
    width: 100% !important;
    height: 48px !important;
    border-radius: 14px !important;
  }

  .ast-cart-options .input-group-btn,
  .ast-cart-options .input-group-btn .btn {
    width: 100% !important;
    display: block !important;
  }

  .ast-cart-options .input-group-btn .btn {
    height: 48px !important;
    border-radius: 14px !important;
  }

  .ast-cart-summary,
  .ast-summary,
  .ast-cart-summary-isolated {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px !important;
    overflow: hidden !important;
  }

  .ast-cart-summary-actions,
  .ast-summary .ast-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ast-cart-summary-action,
  .ast-summary .ast-action {
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    position: static !important;
    transform: none !important;
  }
}

@media (max-width: 420px) {
  .ast-logo img,
  #logo img {
    max-width: 210px !important;
  }

  .ast-search-wrap {
    max-width: 100% !important;
  }

  .ast-actions {
    gap: 12px 18px !important;
  }

  .ast-cart #cart > .btn,
  .ast-cart-button {
    width: 235px !important;
    min-width: 235px !important;
    max-width: 235px !important;
  }

  .ast-menu-bar #menu .nav {
    gap: 16px !important;
  }

  .ast-menu-bar #menu .nav > li > a {
    font-size: 13px !important;
  }

  #product-product .ast-main-image img,
  #product-product .thumbnails > li:first-child .thumbnail img {
    max-height: 280px !important;
  }
}

/* === AST_MODERN_V37_MOBILE_MENU_FIX_START === */
/* =========================================================
   AST Modern V37 - REAL MOBILE NAVIGATION FIX
   Appended by installer. Desktop styles are not touched.
   ========================================================= */
@media (max-width: 767px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .ast-header,
  .ast-mainbar,
  .ast-menu-bar {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .ast-header .container,
  .ast-mainbar .container,
  .ast-menu-bar .container,
  .ast-menu-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Header blocks: clean mobile stacking */
  .ast-mainbar-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 0 18px !important;
    overflow: visible !important;
  }

  .ast-logo,
  #logo.ast-logo,
  #logo {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .ast-logo img,
  #logo img {
    max-width: 245px !important;
    max-height: 92px !important;
    margin: 0 auto !important;
  }

  .ast-search-wrap {
    order: 2 !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
  }

  .ast-search-wrap #search,
  .ast-search-wrap .input-group {
    width: 100% !important;
    display: flex !important;
  }

  .ast-search-wrap #search input,
  .ast-search-wrap input[name='search'] {
    height: 52px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    border-radius: 28px 0 0 28px !important;
    padding-left: 18px !important;
    font-size: 15px !important;
  }

  .ast-search-wrap #search .input-group-btn {
    width: 70px !important;
    flex: 0 0 70px !important;
  }

  .ast-search-wrap #search .btn,
  .ast-search-wrap .btn {
    width: 70px !important;
    height: 52px !important;
    border-radius: 0 28px 28px 0 !important;
  }

  .ast-actions {
    order: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 420px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px 20px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  .ast-action {
    min-height: 38px !important;
    height: auto !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ast-action i {
    font-size: 28px !important;
  }

  .ast-cart {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  .ast-cart #cart,
  .ast-cart-root {
    width: 100% !important;
    max-width: 290px !important;
    min-width: 0 !important;
  }

  .ast-cart #cart > .btn,
  .ast-cart-button {
    width: 100% !important;
    max-width: 290px !important;
    min-width: 0 !important;
    height: 62px !important;
    border-radius: 16px !important;
  }

  .ast-cart-button-label small,
  .ast-cart-total {
    max-width: 190px !important;
  }

  /* Cart dropdown must fit screen and stay over menu */
  .ast-cart .dropdown-menu,
  #cart .dropdown-menu,
  .ast-cart-dropdown {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 10px) !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    max-width: 420px !important;
    z-index: 99999 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  /* Real mobile category navigation */
  .ast-menu-bar {
    height: auto !important;
    min-height: 0 !important;
    background: #fff !important;
    border-top: 1px solid #e8edf4 !important;
    border-bottom: 1px solid #e8edf4 !important;
    box-shadow: 0 10px 24px rgba(7,21,43,.04) !important;
    z-index: 900 !important;
  }

  .ast-menu-inner {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  .ast-menu-inner::-webkit-scrollbar {
    display: none !important;
  }

  .ast-menu-bar #menu,
  .ast-menu-bar #menu .navbar-collapse {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ast-menu-bar #menu .navbar-header {
    display: none !important;
  }

  .ast-menu-bar #menu .nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: max-content !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    overflow: visible !important;
  }

  .ast-menu-bar #menu .nav > li {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 112px !important;
    max-width: 132px !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: relative !important;
  }

  .ast-menu-bar #menu .nav > li > a {
    width: 100% !important;
    height: 74px !important;
    min-height: 74px !important;
    max-width: none !important;
    padding: 8px 8px !important;
    border: 1px solid #e4eaf3 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(7,21,43,.035) !important;
    color: #07152b !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -0.2px !important;
  }

  .ast-menu-bar #menu .nav > li > a:before {
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px !important;
    margin: 0 !important;
    font-size: 14px !important;
  }

  .ast-menu-bar #menu .nav > li > a:hover,
  .ast-menu-bar #menu .nav > li.open > a {
    color: #e21b2d !important;
    border-color: #ffd4dc !important;
    background: #fff7f8 !important;
  }

  /* Dropdowns on mobile: full card below item, not clipped */
  .ast-menu-bar #menu .dropdown-menu {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-top: 8px !important;
    padding: 14px !important;
    border-radius: 18px !important;
    z-index: 99998 !important;
    box-shadow: 0 22px 55px rgba(7,21,43,.20) !important;
  }

  .ast-menu-bar #menu .dropdown-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    min-width: 0 !important;
  }

  .ast-menu-bar #menu .dropdown-inner a,
  .ast-menu-bar #menu .dropdown-menu li a {
    font-size: 14px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 420px) {
  .ast-menu-bar #menu .nav > li {
    min-width: 104px !important;
    max-width: 122px !important;
  }

  .ast-menu-bar #menu .nav > li > a {
    font-size: 10.5px !important;
  }
}
/* === AST_MODERN_V37_MOBILE_MENU_FIX_END === */

/* AST Modern V38 - real mobile toggle menu */
@media (max-width: 991px) {
  body.ast-mobile-menu-open {
    overflow: hidden !important;
  }

  .ast-mobile-toggle-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 56px !important;
    background: #07152b !important;
    color: #fff !important;
    padding: 0 16px !important;
    box-shadow: 0 8px 22px rgba(7,21,43,.18) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10050 !important;
  }

  .ast-mobile-menu-btn,
  .ast-mobile-account-btn {
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .ast-mobile-menu-btn i,
  .ast-mobile-account-btn i {
    font-size: 24px !important;
    color: #fff !important;
  }

  .ast-mobile-toggle-title {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: .4px !important;
    text-transform: uppercase !important;
  }

  .ast-menu-bar {
    display: none !important;
  }

  .ast-mobile-menu-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(7,21,43,.55) !important;
    z-index: 10060 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: .22s ease !important;
  }

  body.ast-mobile-menu-open .ast-mobile-menu-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ast-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 84vw !important;
    max-width: 360px !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 10070 !important;
    transform: translateX(-105%) !important;
    transition: transform .25s ease !important;
    box-shadow: 22px 0 50px rgba(7,21,43,.25) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.ast-mobile-menu-open .ast-mobile-drawer {
    transform: translateX(0) !important;
  }

  .ast-mobile-drawer-head {
    height: 64px !important;
    background: #07152b !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 16px !important;
  }

  .ast-mobile-drawer-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #fff !important;
  }

  .ast-mobile-close {
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .ast-mobile-drawer-body {
    padding: 14px !important;
  }

  .ast-mobile-drawer .nav,
  .ast-mobile-drawer ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
  }

  .ast-mobile-drawer li {
    display: block !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
    float: none !important;
  }

  .ast-mobile-drawer li > a {
    min-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    background: #f6f8fb !important;
    border: 1px solid #e8edf4 !important;
    color: #07152b !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }

  .ast-mobile-drawer li > a:hover {
    background: #fff4f5 !important;
    border-color: #ffd7dc !important;
    color: #e21b2d !important;
  }

  .ast-mobile-drawer li > a img {
    width: 28px !important;
    height: 28px !important;
    object-fit: contain !important;
    flex: 0 0 28px !important;
  }

  .ast-mobile-drawer .dropdown-menu {
    display: none !important;
    position: static !important;
    float: none !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 8px 0 0 16px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .ast-mobile-drawer li.ast-sub-open > .dropdown-menu {
    display: block !important;
  }

  .ast-mobile-drawer .dropdown-inner {
    display: block !important;
    min-width: 0 !important;
  }

  .ast-mobile-drawer .dropdown-inner ul {
    display: block !important;
  }

  .ast-mobile-drawer .dropdown-menu a,
  .ast-mobile-drawer .dropdown-inner a {
    min-height: 42px !important;
    background: #fff !important;
    border-color: #e8edf4 !important;
    font-size: 14px !important;
    text-transform: none !important;
    font-weight: 800 !important;
  }

  .ast-mobile-subtoggle {
    margin-left: auto !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    color: #e21b2d !important;
    border: 1px solid #ffd7dc !important;
    font-size: 12px !important;
    flex: 0 0 28px !important;
  }

  .ast-mobile-drawer li.ast-sub-open > a .ast-mobile-subtoggle {
    transform: rotate(180deg) !important;
  }

  /* Header mobile compact: no giant empty gaps */
  .ast-mainbar-inner {
    min-height: auto !important;
    height: auto !important;
    padding: 18px 14px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  .ast-logo,
  #logo.ast-logo {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .ast-logo img,
  #logo img {
    max-width: 230px !important;
    max-height: 90px !important;
    margin: 0 auto !important;
  }

  .ast-search-wrap {
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
  }

  .ast-actions {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
  }

  .ast-cart,
  .ast-cart #cart,
  .ast-cart-root {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 300px !important;
    justify-content: center !important;
  }

  .ast-cart #cart > .btn,
  .ast-cart-button {
    width: 100% !important;
    max-width: 300px !important;
    min-width: 0 !important;
  }

  .ast-cart .dropdown-menu,
  .ast-cart-dropdown,
  #cart .dropdown-menu {
    position: fixed !important;
    top: 58px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;
    z-index: 10080 !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
  }
}

@media (min-width: 992px) {
  .ast-mobile-toggle-bar,
  .ast-mobile-drawer,
  .ast-mobile-menu-backdrop {
    display: none !important;
  }
}

/* AST Modern V50 - Account login/register form spacing + responsive fix */
#account-login .ast-account-page,
#account-register .ast-account-page,
.ast-account-page {
  overflow-x: hidden !important;
}

/* Main account cards */
.ast-account-page .ast-card,
.ast-account-page .ast-form-card,
.ast-account-page .ast-login-card,
.ast-account-page .ast-register-card,
.ast-account-page .ast-section-card {
  overflow: hidden !important;
}

/* Generic register form row repair */
.ast-account-page .form-horizontal .form-group,
#account-register .form-horizontal .form-group,
#account-login .form-horizontal .form-group {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* If V49 uses grid rows */
.ast-account-page .ast-form-grid,
.ast-account-page .ast-register-grid,
.ast-account-page .ast-input-grid,
.ast-account-page .ast-field-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px 26px !important;
  align-items: start !important;
}

.ast-account-page .ast-form-grid > *,
.ast-account-page .ast-register-grid > *,
.ast-account-page .ast-input-grid > *,
.ast-account-page .ast-field-grid > * {
  min-width: 0 !important;
}

/* Bootstrap columns inside modern account cards must have breathing space */
#account-register .ast-account-page .row,
#account-login .ast-account-page .row,
.ast-account-page .row {
  margin-left: -12px !important;
  margin-right: -12px !important;
}

#account-register .ast-account-page [class*="col-"],
#account-login .ast-account-page [class*="col-"],
.ast-account-page [class*="col-"] {
  padding-left: 12px !important;
  padding-right: 12px !important;
  min-width: 0 !important;
}

/* Inputs */
.ast-account-page input.form-control,
.ast-account-page select.form-control,
.ast-account-page textarea.form-control,
#account-register input.form-control,
#account-register select.form-control,
#account-register textarea.form-control,
#account-login input.form-control,
#account-login select.form-control,
#account-login textarea.form-control {
  width: 100% !important;
  max-width: 100% !important;
  height: 56px !important;
  border-radius: 14px !important;
  border: 1px solid #dbe4f0 !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 0 18px !important;
  color: #07152b !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
}

.ast-account-page textarea.form-control {
  height: auto !important;
  min-height: 110px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.ast-account-page input.form-control:focus,
.ast-account-page select.form-control:focus,
.ast-account-page textarea.form-control:focus {
  border-color: #ef1b2d !important;
  box-shadow: 0 0 0 4px rgba(239,27,45,.08) !important;
  outline: none !important;
}

/* Remove browser password icon overlap issues by reserving space */
.ast-account-page input[type="password"].form-control {
  padding-right: 48px !important;
}

/* Form labels */
.ast-account-page label,
#account-register label,
#account-login label {
  font-weight: 800 !important;
  color: #07152b !important;
  margin-bottom: 8px !important;
}

/* Sections inside register */
.ast-account-page fieldset,
#account-register fieldset {
  background: #fff !important;
  border: 1px solid #e8edf4 !important;
  border-radius: 22px !important;
  padding: 26px 28px !important;
  margin: 0 0 24px !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.05) !important;
}

.ast-account-page legend,
#account-register legend {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 22px !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  color: #07152b !important;
}

/* Button polish */
.ast-account-page .btn-primary,
#account-register .btn-primary,
#account-login .btn-primary {
  height: 54px !important;
  border-radius: 14px !important;
  padding: 0 28px !important;
  font-weight: 900 !important;
  background: #ef1b2d !important;
  border-color: #ef1b2d !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(239,27,45,.18) !important;
}

.ast-account-page .btn-default,
#account-register .btn-default,
#account-login .btn-default {
  height: 54px !important;
  border-radius: 14px !important;
  padding: 0 24px !important;
  font-weight: 800 !important;
  border-color: #dbe4f0 !important;
  color: #07152b !important;
  background: #fff !important;
}

/* Account side box */
.ast-account-page .list-group a,
#account-login .list-group a,
#account-register .list-group a {
  padding: 15px 18px !important;
  font-weight: 800 !important;
  color: #07152b !important;
  border-color: #e8edf4 !important;
}

.ast-account-page .list-group a.active,
.ast-account-page .list-group a:hover,
#account-login .list-group a.active,
#account-login .list-group a:hover,
#account-register .list-group a.active,
#account-register .list-group a:hover {
  background: #fff4f5 !important;
  color: #ef1b2d !important;
  border-color: #ffd6dc !important;
}

/* Account page responsive */
@media (max-width: 991px) {
  .ast-account-page .ast-form-grid,
  .ast-account-page .ast-register-grid,
  .ast-account-page .ast-input-grid,
  .ast-account-page .ast-field-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ast-account-page fieldset,
  #account-register fieldset {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }

  .ast-account-page .row,
  #account-register .row,
  #account-login .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  .ast-account-page [class*="col-"],
  #account-register [class*="col-"],
  #account-login [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

@media (max-width: 767px) {
  .ast-account-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ast-account-page .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .ast-account-page h1,
  #account-register h1,
  #account-login h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }

  .ast-account-page input.form-control,
  .ast-account-page select.form-control,
  .ast-account-page textarea.form-control,
  #account-register input.form-control,
  #account-register select.form-control,
  #account-register textarea.form-control,
  #account-login input.form-control,
  #account-login select.form-control,
  #account-login textarea.form-control {
    height: 52px !important;
    border-radius: 13px !important;
  }

  .ast-account-page .buttons,
  #account-register .buttons,
  #account-login .buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ast-account-page .buttons .btn,
  #account-register .buttons .btn,
  #account-login .buttons .btn {
    width: 100% !important;
  }
}

