/* HYM Fashion responsive hardening — 28.10.2026 */
html,body,#wrapper{width:100%;max-width:100%;min-width:0}
html,body{overflow-x:hidden}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
#wrapper,main,header,footer,section{min-width:0}
img,video,iframe,svg{max-width:100%}
input,select,textarea,button{max-width:100%}

@media (max-width:767px){
  :root{--hym-mobile-gutter:16px}
  /* iOS Safari 16px altindaki form alanlarina odaklaninca sayfayi otomatik
     yakinlastirir. Tum mobil kontroller 16px tutularak goruntunun buyuyup
     oyle kalmasi engellenir. */
  input,select,textarea{font-size:16px!important}
  .container,.container-full,.container-full2,.container-full3,.container-full4{
    width:100%!important;max-width:100%!important;padding-left:var(--hym-mobile-gutter)!important;padding-right:var(--hym-mobile-gutter)!important
  }
  .row{min-width:0;margin-left:-8px;margin-right:-8px}
  .row>*{min-width:0;padding-left:8px;padding-right:8px}

  /* Header */
  .hym-store-main>.container{
    min-height:58px;padding-top:7px!important;padding-bottom:7px!important;
    grid-template-columns:44px minmax(0,1fr) 88px;column-gap:8px;row-gap:7px
  }
  .hym-store-menu-button{width:44px;height:44px;font-size:19px}
  .hym-store-logo{min-width:0;justify-self:start!important;overflow:hidden}
  .hym-store-logo strong{font-size:28px!important;line-height:1;white-space:nowrap}
  .hym-store-actions{width:88px!important;display:flex!important;justify-self:end;justify-content:flex-end;gap:0;overflow:visible}
  .hym-store-actions>a{min-width:44px!important;min-height:44px!important}
  .hym-store-action-icon{width:44px;height:44px;font-size:19px}
  .hym-store-action-icon b{top:-2px;right:-4px;min-width:15px;height:15px;font-size:9px;line-height:15px}
  .hym-store-search{height:42px!important;border-radius:9px;grid-column:1/-1}
  .hym-store-search input{width:100%;font-size:16px!important;padding:0 13px!important}
  .hym-store-search button{flex:0 0 42px;width:42px!important;font-size:17px!important}
  .hym-store-categories{height:45px!important}
  .hym-store-categories .container{padding-right:0!important}
  .hym-store-categories nav{width:100%;max-width:100%;gap:0;justify-content:flex-start;overscroll-behavior-inline:contain}
  .hym-store-categories a{padding:12px 10px!important;font-size:10px!important}
  .hym-store-categories .hym-store-all{padding-left:0!important;gap:7px}
  .hym-store-categories .hym-store-all i{font-size:15px!important}

  /* Shop/category pages */
  .hym-template .page-title,.hym-template .page-title.hym-shop-title{padding:42px 0!important}
  .hym-shop-title .content h1{font-size:44px!important;line-height:1!important;overflow-wrap:anywhere}
  .hym-shop-title .content p{margin-top:14px;font-size:14px;line-height:1.5}
  .hym-shop-title .hym-section-label{margin-bottom:12px;font-size:9px}
  .hym-category-nav{max-width:100%;overflow:hidden}
  .hym-category-nav .container{padding-right:0!important}
  .hym-category-nav-scroll{gap:4px;padding:10px 0}
  .hym-category-nav a{padding:7px 12px;font-size:11px}
  .hym-shop-section{padding-top:26px!important;padding-bottom:64px!important}
  .hym-template .tf-shop-control{top:6px;display:grid!important;grid-template-columns:auto minmax(124px,160px)!important;min-width:0;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:12px;overflow:hidden}
  .tf-shop-control .tf-control-layout{display:none!important}
  .tf-shop-control .tf-control-filter,.tf-shop-control .tf-control-sorting{min-width:0;width:auto}
  .tf-shop-control .tf-control-sorting{grid-column:2;justify-self:stretch!important}
  .tf-shop-control .tf-control-sorting form,.tf-shop-control .tf-dropdown-sort{width:100%;min-width:0!important}
  .hym-template .tf-btn-filter{min-height:36px;padding-top:7px;padding-bottom:7px;font-size:11px}
  .hym-template .tf-dropdown-sort{min-height:36px;padding-top:7px;padding-bottom:7px;font-size:16px!important}
  .tf-grid-layout.wrapper-shop{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:30px 10px!important}
  .hym-product-card,.hym-product-card .card-product-wrapper,.hym-product-card .card-product-info{min-width:0}
  .hym-product-card{width:100%;max-width:100%;transform:none!important}
  .hym-product-card .card-product-wrapper{width:100%;max-width:100%;aspect-ratio:4/5;border-radius:13px!important;overflow:hidden;contain:layout paint;transform:none!important}
  .hym-product-card .product-img{display:block;width:100%;height:100%;aspect-ratio:auto;overflow:hidden;touch-action:pan-y;transform:none!important}
  .hym-product-card .product-img img,.hym-product-card:hover .product-img img,.hym-product-card .card-product-wrapper:hover .product-img .img-product{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:center;opacity:1!important;transform:none!important;scale:none!important;transition:none!important}
  .hym-product-card .img-hover{display:none!important}
  .hym-product-card .card-product-info{padding:11px 3px 0!important}
  .hym-product-card .title{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px!important;line-height:1.4}
  .hym-product-card .price,.hym-product-card .old-price{font-size:11px!important}
  .hym-product-card .old-price{display:block;margin:3px 0 0!important}
  .hym-product-category{font-size:8px!important;letter-spacing:.08em}
  .hym-card-badge{top:8px!important;left:8px!important;padding:5px 7px!important;font-size:8px!important}
  .hym-product-card .list-product-btn{top:7px;right:7px}
  .hym-product-card .list-btn-main{right:7px!important;bottom:7px!important;left:7px!important}
  .hym-product-card .btn-main-product{min-height:29px;font-size:8px}
  .hym-load-more-wrap{margin-top:42px}

  /* Product detail */
  .hym-template .tf-breadcrumb{overflow:hidden}
  .hym-template .tf-breadcrumb-wrap{min-width:0;overflow-x:auto;white-space:nowrap}
  .hym-template.hym-product-reference .tf-main-product{padding-top:28px}
  .hym-template.hym-product-reference .tf-main-product .row{row-gap:30px}
  .hym-template.hym-product-reference .tf-product-media-wrap,
  .hym-template.hym-product-reference .tf-product-info-wrap{width:100%;max-width:100%;min-width:0}
  .hym-template.hym-product-reference .tf-product-media-main,
  .hym-template.hym-product-reference .tf-product-media-main .item{border-radius:16px}
  .hym-template.hym-product-reference .tf-product-media-thumbs{width:100%!important;height:82px!important;min-height:82px!important;max-height:82px!important;overflow:hidden}
  .hym-template.hym-product-reference .tf-product-media-thumbs .swiper-slide{width:64px!important;height:80px!important;flex:0 0 64px}
  .hym-template.hym-product-reference .tf-product-media-thumbs .swiper-slide .item{width:64px;height:80px}
  .hym-template.hym-product-reference .tf-product-info-name h1.name{font-size:29px!important;line-height:1.12!important;overflow-wrap:anywhere}
  .hym-template.hym-product-reference .tf-product-info-price{flex-wrap:wrap}
  .hym-template.hym-product-reference .hym-product-color-list{gap:7px}
  .hym-template.hym-product-reference .hym-product-color-option{min-height:40px;padding-right:11px}
  .hym-template.hym-product-reference .tf-product-info-by-btn{display:grid;grid-template-columns:1fr;gap:9px}
  .hym-template.hym-product-reference .tf-product-info-by-btn>*{width:100%}
  .tf-sticky-btn-atc{max-width:100vw;overflow:hidden}

  /* Cart, checkout, account and forms */
  .hym-template .page-head{padding:42px 0}
  .hym-template .page-head h1{font-size:40px!important;line-height:1.02;overflow-wrap:anywhere}
  .section,.section-sm,.flat-spacing{max-width:100%;padding-top:52px;padding-bottom:52px}
  .checkout-grid,.contact-grid,.product-detail{grid-template-columns:minmax(0,1fr)!important;gap:28px!important}
  .panel{min-width:0;padding:22px!important}
  .panel h2{font-size:24px!important}
  .form-grid{grid-template-columns:minmax(0,1fr)!important}
  .payment-choice{display:flex!important;align-items:flex-start;gap:9px}
  .summary-line{gap:12px}.summary-line span:first-child{min-width:0;overflow-wrap:anywhere}
  .cart-table{display:block;max-width:100%;overflow:hidden}
  .cart-product{align-items:flex-start;gap:12px}.cart-product img{flex:0 0 70px;width:70px;height:88px}
  .hym-account-order,.hym-account-nav,.hym-auth-panel{max-width:100%;min-width:0}
  .hym-account-order-head{padding:17px!important;gap:10px!important}
  .hym-account-order-body{padding:16px!important;grid-template-columns:1fr!important}
  .hym-request-row{grid-template-columns:minmax(0,1fr);gap:7px}

  /* Content, blog and FAQ */
  .hym-content-hero,.hym-guide-page{padding:58px 0 44px!important}
  .hym-content-hero h1,.hym-guide-page h1{font-size:44px!important;line-height:.98;overflow-wrap:anywhere}
  .hym-content-hero p,.hym-article header p{font-size:16px}
  .hym-article header{padding:58px 0 30px}
  .hym-article header h1{font-size:42px!important;overflow-wrap:anywhere}
  .hym-article>figure{margin:25px 16px!important}
  .hym-article>figure img{border-radius:16px}
  .hym-article-body{padding:0 16px!important;font-size:16px}
  .hym-template.hym-reference-content .main-content-page>.container>.row{display:block}
  .hym-template.hym-reference-content .blog-sidebar{margin-top:40px}
  .hym-faq-group{gap:12px!important;padding:24px 0}
  .hym-faq .accordion-button{font-size:16px!important;line-height:1.4}

  /* Footer, drawers and overlays */
  .hym-footer-news{gap:28px!important;padding:44px 0!important}
  .hym-footer-news h2{font-size:38px!important}
  .hym-newsletter-form input[type=email]{min-width:0;font-size:15px}
  .hym-footer-brand{display:block!important;padding:28px 0!important}
  .hym-footer-contact{justify-items:start!important;margin-top:20px}
  .hym-footer-social{margin-top:18px}
  .hym-footer-bottom{display:flex!important;align-items:flex-start!important;flex-direction:column!important;gap:14px!important}
  .hym-footer-bottom>div{width:100%;display:flex!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:12px 18px!important}
  .canvas-mb,.canvas-filter{width:min(88vw,360px)!important;max-width:100%}
  .hym-cart-modal .modal-dialog{width:100%!important;max-width:100%!important}
  .hym-newsletter-popup,.hym-quickview,.hym-cookie-panel{padding:10px!important}
  .hym-newsletter-dialog,.hym-quickview-dialog{width:100%!important;max-width:100%!important;border-radius:20px!important}
  .hym-popup-image img,.hym-newsletter-dialog>img{height:190px!important;min-height:0!important}
  .hym-popup-content,.hym-newsletter-copy,.hym-quickview-copy{padding:28px 20px!important}
  .hym-popup-content h2,.hym-newsletter-copy h2,.hym-quickview-copy h2{font-size:31px!important}
  .hym-cookie-banner{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:none!important;padding:16px!important;border-radius:17px!important}
  .hym-cookie-banner p{max-width:100%!important;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
  .hym-cookie-banner>div{width:100%;min-width:0;display:flex!important;flex-wrap:wrap!important;gap:7px!important}
  .hym-cookie-banner button{min-width:0!important;width:auto!important;flex:1 1 calc(50% - 4px)!important;padding:10px 8px!important;font-size:12px!important}
  .hym-cookie-banner button:last-child{flex-basis:100%!important}
  .hym-cookie-panel>div{max-height:calc(100svh - 20px);overflow:auto;padding:34px 20px!important;border-radius:20px}
  .hym-whatsapp{right:12px!important;bottom:12px!important;width:46px!important;height:46px!important}
}

/* Final mobile visual corrections */
@media(max-width:767px){
  .hym-newsletter-popup{padding:10px!important;align-items:center!important}
  .hym-newsletter-dialog{width:min(100%,390px)!important;max-height:calc(100dvh - 20px)!important;border-radius:24px!important}
  .hym-popup-image{height:220px!important;min-height:220px!important;overflow:hidden!important}
  .hym-popup-image img,.hym-newsletter-dialog>img{width:100%!important;height:220px!important;min-height:220px!important;object-fit:cover!important;object-position:center top!important}
  .hym-popup-content{padding:27px 20px 23px!important}
  .hym-popup-content h2{margin:12px 0 13px!important;font-size:30px!important;line-height:.98!important}
  .hym-popup-content>p{margin-bottom:18px!important;font-size:12px!important;line-height:1.5!important}
  .hym-popup-content input[type=email]{min-height:48px!important;margin-bottom:10px!important}
  .hym-popup-content label{margin-bottom:13px!important;font-size:10px!important}
  .hym-popup-content .tf-btn{min-height:46px!important}
  .hym-popup-social{margin-top:15px!important}

  .hym-full-campaign{aspect-ratio:4/5!important;min-height:500px!important}
  .hym-full-campaign picture,.hym-full-campaign picture img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
  .hym-full-campaign picture img{object-fit:cover!important;object-position:center center!important}
  .hym-full-campaign-copy{left:20px!important;right:20px!important;bottom:24px!important}
  .hym-full-campaign-copy h2{max-width:290px;margin:10px 0 18px!important;font-size:40px!important;line-height:.96!important}

  .hym-advantage-bar{display:block!important;height:46px!important;background:linear-gradient(90deg,#97152d 0%,#c32642 50%,#97152d 100%)!important;box-shadow:0 3px 12px rgba(128,12,34,.24)!important}
  .hym-advantage-bar .container{height:46px!important;padding:0 12px!important}
  .hym-advantage-message{gap:10px!important;font-size:10px!important;letter-spacing:.005em!important}
  .hym-advantage-message:before{content:"✦";font-size:12px;color:#ffd9df;animation:hymPromoSpark 1.8s ease-in-out infinite}
  .hym-advantage-message strong{font-weight:650!important}.hym-advantage-message strong b{font-size:14px!important}
  .hym-advantage-message>a{padding:5px 0;font-weight:700!important;text-underline-offset:4px!important}
}

@media (max-width:374px){
  :root{--hym-mobile-gutter:12px}
  .hym-store-logo strong{font-size:25px!important}
  .hym-store-actions>a{min-width:29px!important}
  .hym-shop-title .content h1{font-size:39px!important}
  .tf-grid-layout.wrapper-shop{gap:26px 8px!important}
  .hym-product-card .title{font-size:11px!important}
  .hym-template.hym-product-reference .tf-product-info-name h1.name{font-size:27px!important}
}
