/* Aşiyan V27 — clean search icon, sale action icon, refined collection rail */

/* Header: icon-only search to prevent inherited text/icon collisions */
.storefront-v27 .v25-header-actions>.v27-action-search,
.storefront-v27 .v24-header-actions>.v27-action-search{
  flex:0 0 44px!important;
  width:44px!important;
  min-width:44px!important;
  height:44px!important;
  padding:0!important;
  border-radius:50%!important;
  gap:0!important;
  overflow:visible!important;
}
.storefront-v27 .v27-action-search span{display:none!important}
.storefront-v27 .v27-action-search .v24-inline-icon{
  display:block!important;
  width:21px!important;
  height:21px!important;
  margin:0!important;
  flex:0 0 21px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

/* Discount entry lives with the account actions, not beside the logo */
.storefront-v27 .nav-entry-sale{display:none!important}
.storefront-v27 .v27-action-sale{
  position:relative!important;
  background:linear-gradient(145deg,#a12b56 0%,#741638 100%)!important;
  border-color:rgba(255,215,227,.52)!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(111,18,52,.28)!important;
}
.storefront-v27 .v27-action-sale:before{
  content:"%";
  position:absolute;
  top:-7px;
  right:-5px;
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border:2px solid #fff;
  border-radius:50%;
  background:#f4d9a9;
  color:#531126;
  font-size:9px;
  font-weight:900;
  line-height:1;
}
.storefront-v27 .v27-action-sale .v24-inline-icon{width:20px!important;height:20px!important}
.storefront-v27 .v27-action-sale:hover{
  color:#fff!important;
  background:linear-gradient(145deg,#c14470 0%,#831943 100%)!important;
  border-color:#f4d9a9!important;
  transform:translateY(-1px)!important;
}
.storefront-v27 .store-header.v10-fixed .v27-action-sale,
.storefront-v27 .store-header.is-scrolled .v27-action-sale,
.storefront-v27 .store-header.mega-open .v27-action-sale,
.storefront-v27.is-inner-page .v27-action-sale{
  background:linear-gradient(145deg,#a12b56 0%,#741638 100%)!important;
  color:#fff!important;
  border-color:rgba(117,22,56,.18)!important;
}

/* Desktop collection rail: editorial layout instead of three plain rows */
@media(min-width:992px){
  .storefront-v27 .v24-hero-content{
    grid-template-columns:72px minmax(500px,1fr) minmax(360px,410px)!important;
    gap:34px!important;
  }
  .storefront-v27 .v24-product-panel{
    width:100%!important;
    max-width:410px!important;
    padding:0!important;
    align-self:center!important;
  }
  .storefront-v27 .v24-product-panel-head{
    min-height:58px;
    margin:0 0 12px!important;
    padding:0 10px 0 18px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:999px;
    background:rgba(36,8,18,.36);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  .storefront-v27 .v24-product-panel-head>span{
    display:inline-flex;
    align-items:center;
    gap:10px;
    font-size:10px!important;
    font-weight:800!important;
    letter-spacing:.22em!important;
  }
  .storefront-v27 .v24-product-panel-head>span:before{
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#e1b676;
    box-shadow:0 0 0 6px rgba(225,182,118,.09);
  }
  .storefront-v27 .v24-panel-controls{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }
  .storefront-v27 .v24-panel-controls b{
    display:grid!important;
    place-items:center!important;
    min-width:34px!important;
    height:34px!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.07)!important;
    font-size:9px!important;
  }
  .storefront-v27 .v24-panel-controls button{
    width:40px!important;
    height:40px!important;
    border-color:rgba(255,255,255,.18)!important;
    background:rgba(255,255,255,.07)!important;
  }
  .storefront-v27 .v24-product-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .storefront-v27 .v24-product-card{
    min-width:0!important;
    min-height:230px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:24px!important;
    background:linear-gradient(180deg,rgba(47,11,23,.72),rgba(30,6,14,.86))!important;
    border:1px solid rgba(255,255,255,.11)!important;
    box-shadow:0 24px 55px rgba(9,3,6,.2)!important;
  }
  .storefront-v27 .v24-product-card:first-child{
    grid-column:1/-1!important;
    min-height:170px!important;
    display:grid!important;
    grid-template-columns:145px minmax(0,1fr)!important;
    align-items:stretch!important;
    background:linear-gradient(135deg,#fffaf7 0%,#f3e8e3 100%)!important;
    border-color:rgba(255,255,255,.7)!important;
  }
  .storefront-v27 .v24-product-image{
    width:100%!important;
    min-width:0!important;
    height:126px!important;
    border-radius:0!important;
    overflow:hidden!important;
    background:#eadfda!important;
  }
  .storefront-v27 .v24-product-card:first-child .v24-product-image{height:100%!important;min-height:170px!important}
  .storefront-v27 .v24-product-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center top!important;
  }
  .storefront-v27 .v24-product-info{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    align-items:flex-start!important;
    gap:8px!important;
    min-height:104px!important;
    padding:16px 16px 18px!important;
  }
  .storefront-v27 .v24-product-card:first-child .v24-product-info{
    justify-content:center!important;
    min-height:170px!important;
    padding:22px 24px!important;
  }
  .storefront-v27 .v24-product-info strong{
    max-width:100%!important;
    font-size:13px!important;
    line-height:1.4!important;
    letter-spacing:.015em!important;
  }
  .storefront-v27 .v24-product-card:first-child .v24-product-info strong{font-size:17px!important;color:#37232a!important}
  .storefront-v27 .v24-product-info b{font-size:16px!important}
  .storefront-v27 .v24-product-card:first-child .v24-product-info b{font-size:20px!important;color:#6f1738!important}
  .storefront-v27 .v24-product-info small{
    margin-top:auto!important;
    color:#d6c2c9!important;
  }
  .storefront-v27 .v24-product-card:first-child .v24-product-info small{color:#5c424b!important}
  .storefront-v27 .v24-product-card:hover{transform:translateY(-4px)!important}
}

/* Tablet: keep compact rail, mobile: remove it completely */
@media(max-width:1180px) and (min-width:992px){
  .storefront-v27 .v24-hero-content{grid-template-columns:54px minmax(420px,1fr) 310px!important;gap:20px!important}
  .storefront-v27 .v24-product-card{min-height:205px!important}
  .storefront-v27 .v24-product-card:first-child{grid-template-columns:118px minmax(0,1fr)!important;min-height:150px!important}
  .storefront-v27 .v24-product-card:first-child .v24-product-image,
  .storefront-v27 .v24-product-card:first-child .v24-product-info{min-height:150px!important}
}
@media(max-width:991px){
  .storefront-v27 .v24-product-panel{display:none!important}
  .storefront-v27 .v24-hero-content{
    grid-template-columns:42px minmax(0,1fr)!important;
    padding-bottom:34px!important;
  }
  .storefront-v27 .v24-hero-stage{min-height:650px!important;height:650px!important}
}
@media(max-width:767px){
  .storefront-v27 .v24-product-panel{display:none!important}
  .storefront-v27 .v24-hero-stage{min-height:590px!important;height:590px!important}
  .storefront-v27 .v24-hero-content{
    grid-template-columns:28px minmax(0,1fr)!important;
    width:calc(100% - 22px)!important;
    padding-top:90px!important;
    padding-bottom:28px!important;
  }
  .storefront-v27 .v24-hero-counter{padding-top:12px!important}
  .storefront-v27 .v24-hero-counter i{min-height:150px!important}
  .storefront-v27 .v24-hero-copy{align-self:end!important;padding-bottom:18px!important}
  .storefront-v27 .v24-hero-copy h1{font-size:clamp(44px,14vw,62px)!important}
  .storefront-v27 .v25-hero-media picture,
  .storefront-v27 .v25-hero-media>video{inset:70px 0 0!important}
  .storefront-v27 .v25-hero-media picture img,
  .storefront-v27 .v25-hero-media>video{object-position:56% top!important}
}
