/* Pazar Molası v1617 - sepet ve kırmızı düğme görünümü */
#cart.pm-cart-card .dropdown > .btn,
#cart.pm-cart-card .dropdown > .btn.btn-dark {
  display: flex !important;
  min-width: 190px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg,#9f0d2a 0%,#c9143b 58%,#e53b5d 100%) !important;
  box-shadow: 0 9px 22px rgba(181,18,49,.24) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  transition: transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
#cart.pm-cart-card .dropdown > .btn i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.16);
  color: #fff !important;
  font-size: 14px;
}
#cart.pm-cart-card .dropdown > .btn::after { color:#fff; border-top-color:#fff; }
#cart.pm-cart-card .dropdown > .btn:hover,
#cart.pm-cart-card .dropdown > .btn:focus,
#cart.pm-cart-card .dropdown > .btn.show {
  color:#fff !important;
  filter:brightness(.96);
  transform:translateY(-1px);
  box-shadow:0 12px 27px rgba(181,18,49,.3) !important;
}

.btn-primary,
a.btn-primary,
button.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show,
#compare-total,
#compare-total:hover,
#compare-total:focus {
  color:#fff !important;
}
.btn-primary i,.btn-primary span,
a.btn-primary i,a.btn-primary span,
button.btn-primary i,button.btn-primary span,
#compare-total i,#compare-total span {
  color:#fff !important;
}

@media(max-width:575px){
  #cart.pm-cart-card .dropdown > .btn,
  #cart.pm-cart-card .dropdown > .btn.btn-dark {
    min-width:0;
    min-height:46px;
    padding:8px 11px;
    border-radius:13px !important;
  }
  #cart.pm-cart-card .dropdown > .btn i{width:28px;height:28px}
}

/* Recently viewed products: wishlist and cart */
.pm-recent-strip{display:flex;width:100%;clear:both;align-items:stretch;gap:10px}.pm-recent-strip__heading{display:flex;width:62px;min-height:260px;flex:0 0 62px;align-items:center;justify-content:center;gap:8px;padding:10px 7px;border:1px solid #f0dce2;border-bottom:5px solid #cf123d;border-radius:14px;background:linear-gradient(180deg,#fff5f7 0,#fff 62%,#fff8f5 100%);box-shadow:0 6px 18px rgba(65,26,39,.06);writing-mode:vertical-rl;transform:rotate(180deg)}.pm-recent-strip__icon{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:10px;background:linear-gradient(135deg,#b51231,#e94d62);box-shadow:0 6px 14px rgba(181,18,49,.22);color:#fff}.pm-recent-strip__heading strong,.pm-recent-strip__heading small{display:inline}.pm-recent-strip__heading strong{color:#30272a;font-size:15px;font-weight:900;line-height:1.1}.pm-recent-strip__heading small{color:#8c7b80;font-size:9px}.pm-recent-strip__viewport{min-width:0;flex:1;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-inline:contain}.pm-recent-strip__viewport::-webkit-scrollbar{display:none}.pm-recent-strip__track{display:flex;align-items:stretch;gap:14px;width:max-content;padding:2px 2px 10px}.pm-recent-strip__item{width:220px;flex:0 0 220px}.pm-recent-strip__item .product-thumb{height:100%;margin:0}.pm-recent-strip__item .description{display:none}@media(max-width:767px){.pm-recent-strip{gap:7px}.pm-recent-strip__heading{width:48px;min-height:220px;flex-basis:48px;padding:7px 5px}.pm-recent-strip__heading strong{font-size:12px}.pm-recent-strip__heading small{font-size:8px}.pm-recent-strip__icon{width:27px;height:27px;flex-basis:27px}.pm-recent-strip__item{width:170px;flex-basis:170px}}@media(prefers-reduced-motion:reduce){.pm-recent-strip__viewport{scroll-behavior:auto}}

/* v1620: Son gezilenler sepetin üstünde, kart yüksekliğinde ve elle kaydırılabilir */
.pm-recent-strip__heading{min-height:0}.pm-recent-strip__heading>span:last-child{display:flex;gap:7px}.pm-recent-strip__arrow{align-self:center;width:34px;height:58px;flex:0 0 34px;border:1px solid #efd9df;border-radius:12px;background:#fff;color:#bd1237;box-shadow:0 5px 15px rgba(68,26,39,.1);transition:background .18s ease,color .18s ease,transform .18s ease}.pm-recent-strip__arrow:hover,.pm-recent-strip__arrow:focus{background:#bd1237;color:#fff;transform:scale(1.04)}.pm-recent-strip__viewport{cursor:grab}.pm-recent-strip__viewport:active{cursor:grabbing}@media(max-width:767px){.pm-recent-strip__heading{min-height:0}.pm-recent-strip__arrow{width:28px;height:50px;flex-basis:28px}.pm-recent-strip__track{gap:9px}}

/* v1621: compact, readable two-line vertical heading */
.pm-recent-strip__heading{position:relative;align-self:flex-start;width:52px;height:176px;min-height:0;max-height:176px;flex:0 0 52px;padding:0;writing-mode:horizontal-tb;transform:none;overflow:hidden}.pm-recent-strip__heading .pm-recent-strip__icon{display:none}.pm-recent-strip__heading>span:last-child{position:absolute;left:50%;top:50%;display:flex;width:160px;transform:translate(-50%,-50%) rotate(-90deg);flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;white-space:nowrap}.pm-recent-strip__heading strong,.pm-recent-strip__heading small{display:block}.pm-recent-strip__heading strong{font-size:10px;line-height:1.15}.pm-recent-strip__heading small{font-size:7px;line-height:1.15}@media(max-width:767px){.pm-recent-strip__heading{width:44px;height:154px;max-height:154px;flex-basis:44px}.pm-recent-strip__heading>span:last-child{width:140px}.pm-recent-strip__heading strong{font-size:9px}.pm-recent-strip__heading small{font-size:6.5px}}

/* v1622: heading card always matches the product-card row height */
.pm-recent-strip__heading{align-self:stretch;height:auto;min-height:0;max-height:none}.pm-recent-strip__heading>span:last-child{width:160px}@media(max-width:767px){.pm-recent-strip__heading{height:auto;max-height:none}.pm-recent-strip__heading>span:last-child{width:140px}}

/* v1625: heading copy fills the full ticket height */
.pm-recent-strip__heading>span:last-child{align-items:center;gap:7px;text-align:center}.pm-recent-strip__heading strong{font-size:17px;line-height:1.08;letter-spacing:.15px}.pm-recent-strip__heading small{font-size:11px;line-height:1.1;letter-spacing:.1px}@media(max-width:767px){.pm-recent-strip__heading strong{font-size:13px}.pm-recent-strip__heading small{font-size:9px}.pm-recent-strip__heading>span:last-child{gap:5px}}

/* v1631: mobile hero actions stay in one compact, overflow-safe row */
@media(max-width:767px){
  .pm-home-hero>.pm-home-promo{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:1fr!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:9px 0 18px!important;
    overflow:hidden!important;
  }
  .pm-home-hero>.pm-home-promo .pm-home-promo-card,
  .pm-home-hero>.pm-home-promo .pm-home-promo-wheel{
    grid-column:auto!important;
    width:auto!important;
    min-width:0!important;
    min-height:98px!important;
    padding:9px 6px!important;
    border-radius:12px!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
  .pm-home-hero>.pm-home-promo .pm-home-promo-icon{
    width:30px!important;
    height:30px!important;
    flex:0 0 30px!important;
    border-radius:9px!important;
    font-size:14px!important;
  }
  .pm-home-hero>.pm-home-promo .pm-home-promo-copy{
    display:block!important;
    width:100%;
    min-width:0;
  }
  .pm-home-hero>.pm-home-promo .pm-home-promo-copy>small,
  .pm-home-hero>.pm-home-promo .pm-home-promo-copy>strong,
  .pm-home-hero>.pm-home-promo .pm-home-promo-copy>em{display:none!important}
  .pm-home-hero>.pm-home-promo .pm-home-promo-copy:before{
    content:attr(data-mobile-title);
    display:block;
    color:#fff;
    font-size:11px;
    font-weight:900;
    line-height:1.15;
    overflow-wrap:anywhere;
  }
}

@media(max-width:360px){
  .pm-home-hero>.pm-home-promo{gap:4px!important}
  .pm-home-hero>.pm-home-promo .pm-home-promo-card,
  .pm-home-hero>.pm-home-promo .pm-home-promo-wheel{min-height:92px!important;padding:7px 4px!important}
  .pm-home-hero>.pm-home-promo .pm-home-promo-copy:before{font-size:10px}
}

/* v1632: compact fixed mobile header and four-item bottom navigation */
.pm-mobile-search-button{display:none}
.pm-mobile-category-close,.pm-mobile-category-backdrop{display:none}
.pm-mobile-only-category-sidebar{display:none}

@media(max-width:767px){
  body.pm-marketplace{
    padding-top:58px!important;
    padding-bottom:calc(62px + env(safe-area-inset-bottom))!important;
  }
  .pm-utility-bar,.pm-benefit-strip,.pm-mobile-shortcuts{display:none!important}
  .pm-main-header{
    position:fixed!important;
    z-index:10020!important;
    top:0!important;
    right:0!important;
    left:0!important;
    height:58px!important;
    min-height:58px!important;
    margin:0!important;
    padding:0!important;
    border-bottom:1px solid #eadfe2!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 4px 16px rgba(48,25,32,.09)!important;
    backdrop-filter:blur(12px);
  }
  .pm-main-header>.container{height:58px!important;padding:0 12px!important}
  .pm-header-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 44px 48px!important;
    grid-template-rows:58px!important;
    align-items:center!important;
    gap:7px!important;
    height:58px!important;
  }
  .pm-logo{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    margin:0!important;
  }
  .pm-logo a{display:flex!important;align-items:center!important;height:50px!important}
  .pm-logo img{display:block!important;width:auto!important;max-width:122px!important;max-height:39px!important;object-fit:contain!important}
  .pm-search{display:none!important}
  .pm-mobile-search-button{
    display:flex!important;
    grid-column:2!important;
    grid-row:1!important;
    width:42px!important;
    height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #eadfe2!important;
    border-radius:13px!important;
    background:#fff7f9!important;
    color:#bd1237!important;
    font-size:18px!important;
    text-decoration:none!important;
  }
  .pm-mobile-search-button span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
  .pm-header-actions{
    display:block!important;
    grid-column:3!important;
    grid-row:1!important;
    min-width:0!important;
    margin:0!important;
  }
  .pm-header-actions>.pm-action-card{display:none!important}
  #cart.pm-cart-card{display:block!important;width:48px!important;margin:0!important}
  #cart.pm-cart-card .dropdown>.btn,
  #cart.pm-cart-card .dropdown>.btn.btn-dark{
    display:flex!important;
    width:46px!important;
    min-width:46px!important;
    height:42px!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    border-radius:13px!important;
    font-size:0!important;
  }
  #cart.pm-cart-card .dropdown>.btn i{width:auto!important;height:auto!important;margin:0!important;background:transparent!important;font-size:18px!important}
  #cart.pm-cart-card .dropdown>.btn span{display:none!important}
  .pm-contact-dock{display:none!important}
  body.pm-mobile-category-lock{overflow:hidden!important}
  .pm-site-layout>.pm-site-category-sidebar{
    position:fixed!important;
    z-index:10050!important;
    top:58px!important;
    bottom:calc(60px + env(safe-area-inset-bottom))!important;
    left:0!important;
    display:block!important;
    width:min(84vw,320px)!important;
    max-width:320px!important;
    height:auto!important;
    margin:0!important;
    padding:0 0 14px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border:0!important;
    border-radius:0 16px 16px 0!important;
    background:#fff!important;
    box-shadow:10px 0 28px rgba(39,20,27,.2)!important;
    transform:translateX(-110%)!important;
    visibility:hidden!important;
    transition:transform .22s ease,visibility .22s ease!important;
  }
  .pm-site-layout>.pm-site-category-sidebar.pm-mobile-category-open{
    transform:translateX(0)!important;
    visibility:visible!important;
  }
  .pm-site-category-sidebar .pm-category-title{
    position:sticky!important;
    z-index:2!important;
    top:0!important;
    display:flex!important;
    align-items:center!important;
    min-height:50px!important;
    padding:10px 12px!important;
    background:#bd1237!important;
    color:#fff!important;
  }
  .pm-mobile-category-close{
    display:grid!important;
    width:34px!important;
    height:34px!important;
    margin-left:auto!important;
    padding:0!important;
    place-items:center!important;
    border:0!important;
    border-radius:10px!important;
    background:rgba(255,255,255,.18)!important;
    color:#fff!important;
  }
  .pm-site-category-sidebar #menu>.navbar-toggler{display:none!important}
  .pm-site-category-sidebar #menu{margin:0!important;border-radius:0!important;background:#fff!important}
  .pm-mobile-category-backdrop{
    position:fixed!important;
    z-index:10040!important;
    top:58px!important;
    right:0!important;
    bottom:calc(60px + env(safe-area-inset-bottom))!important;
    left:0!important;
    display:none!important;
    width:100%!important;
    border:0!important;
    background:rgba(31,19,23,.42)!important;
  }
  .pm-mobile-category-backdrop.pm-mobile-category-backdrop-open{display:block!important}
  .pm-mobile-bottom{
    position:fixed!important;
    z-index:10030!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    height:calc(60px + env(safe-area-inset-bottom))!important;
    padding:0 5px env(safe-area-inset-bottom)!important;
    border-top:1px solid #eadfe2!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -5px 18px rgba(48,25,32,.1)!important;
    backdrop-filter:blur(12px);
  }
  .pm-mobile-bottom a,.pm-mobile-bottom button{
    display:flex!important;
    min-width:0!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:3px!important;
    border-radius:12px!important;
    color:#544a4d!important;
    font-size:10px!important;
    font-weight:800!important;
    line-height:1!important;
    text-decoration:none!important;
    border:0!important;
    background:transparent!important;
  }
  .pm-mobile-bottom a i,.pm-mobile-bottom button i{font-size:19px!important;line-height:1!important}
  .pm-mobile-bottom-whatsapp i{color:#159447!important}
  .pm-mobile-bottom-instagram i{color:#d52d71!important}
  .pm-mobile-bottom a:active,.pm-mobile-bottom button:active{background:#fff0f4!important;color:#bd1237!important}
  footer{margin-bottom:0!important}
}

@media(max-width:360px){
  .pm-main-header>.container{padding-right:9px!important;padding-left:9px!important}
  .pm-header-grid{grid-template-columns:minmax(0,1fr) 41px 45px!important;gap:5px!important}
  .pm-logo img{max-width:110px!important}
  .pm-mobile-search-button{width:39px!important;height:39px!important}
  #cart.pm-cart-card{width:45px!important}
  #cart.pm-cart-card .dropdown>.btn,#cart.pm-cart-card .dropdown>.btn.btn-dark{width:43px!important;min-width:43px!important;height:39px!important;min-height:39px!important}
  .pm-mobile-bottom a,.pm-mobile-bottom button{font-size:9px!important}
  .pm-mobile-bottom a i,.pm-mobile-bottom button i{font-size:18px!important}
}
