/* UĞUR CERAMIC — MOBILE PRODUCT LAYOUT FORCE OVERRIDE */
@media screen and (max-width: 768px){
  #homeCategoryCollections .home-category-collapse{display:block!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;padding:4px 2px 12px!important;}
  #homeCategoryCollections .home-category-products{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:stretch!important;gap:10px!important;width:max-content!important;min-width:100%!important;}
  #homeCategoryCollections .home-category-products>.product-card{box-sizing:border-box!important;flex:0 0 165px!important;width:165px!important;min-width:165px!important;max-width:165px!important;margin:0!important;padding:0!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important;}
  #homeCategoryCollections .product-card .premium-product-image{display:block!important;width:100%!important;height:165px!important;min-height:165px!important;max-height:165px!important;overflow:hidden!important;margin:0!important;padding:0!important;background:#f4f1ea!important;border-radius:0!important;}
  #homeCategoryCollections .product-card .premium-product-image img,#homeCategoryCollections .product-card img{display:block!important;width:100%!important;height:165px!important;min-height:165px!important;max-height:165px!important;object-fit:contain!important;margin:0!important;border-radius:0!important;}
  #homeCategoryCollections .product-card .premium-product-body{box-sizing:border-box!important;padding:10px!important;}
  #homeCategoryCollections .product-card h3{font-size:12px!important;line-height:1.2!important;margin:0 0 6px!important;min-height:43px!important;max-height:43px!important;overflow:hidden!important;}
  #homeCategoryCollections .product-card .premium-product-meta,#homeCategoryCollections .product-card p{font-size:9px!important;line-height:1.3!important;margin:2px 0!important;}
  #homeCategoryCollections .product-card .premium-product-price,#homeCategoryCollections .product-card .price{font-size:14px!important;line-height:1.2!important;margin:7px 0!important;}
  #homeCategoryCollections .product-card .product-buttons,#homeCategoryCollections .product-card .premium-product-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;}
  #homeCategoryCollections .product-card .btn,#homeCategoryCollections .product-card button:not(.favorite-toggle):not(.compare-toggle){min-width:0!important;min-height:32px!important;padding:6px 3px!important;font-size:8px!important;line-height:1.15!important;border-radius:6px!important;}
  #homeCategoryCollections .favorite-toggle,#homeCategoryCollections .compare-toggle{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;padding:0!important;border-radius:50%!important;}
}
@media screen and (max-width:380px){#homeCategoryCollections .home-category-products>.product-card{flex-basis:155px!important;width:155px!important;min-width:155px!important;max-width:155px!important}#homeCategoryCollections .product-card .premium-product-image,#homeCategoryCollections .product-card .premium-product-image img,#homeCategoryCollections .product-card img{height:155px!important;min-height:155px!important;max-height:155px!important}}


/* MOBILE FULL PAGE WIDTH FIX — HERO + FOOTER + PAGE EDGES */
@media screen and (max-width:768px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
  }
  body>*{
    max-width:100vw!important;
  }
  .container{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Hero always fills the mobile viewport */
  #premiumHeroSlider,
  .premium-hero-slider,
  .premium-hero-slider .hero-slides,
  .premium-hero-slider .hero-slide,
  .premium-hero-slider .hero-fallback{
    width:100vw!important;
    max-width:100vw!important;
    min-width:100vw!important;
    margin-left:0!important;
    margin-right:0!important;
    left:0!important;
    right:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .premium-hero-slider{
    min-height:520px!important;
    height:clamp(520px,72vh,680px)!important;
  }
  .premium-hero-slider .hero-slides,
  .premium-hero-slider .hero-slide{
    height:100%!important;
    min-height:100%!important;
  }
  .premium-hero-slider .hero-media,
  .premium-hero-slider .hero-image,
  .premium-hero-slider .hero-video{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }
  .premium-hero-slider .hero-slide-content{
    position:relative!important;
    z-index:3!important;
    width:calc(100% - 32px)!important;
    max-width:620px!important;
    margin:0 auto!important;
    padding:32px 10px!important;
    box-sizing:border-box!important;
  }
  .premium-hero-slider .hero-slide-content h1{
    font-size:clamp(31px,10vw,48px)!important;
    line-height:1.05!important;
    overflow-wrap:anywhere!important;
  }
  .premium-hero-slider .hero-slide-content h2{
    font-size:clamp(18px,5.4vw,27px)!important;
    line-height:1.2!important;
  }
  .premium-hero-slider .hero-slide-content p{
    font-size:14px!important;
    line-height:1.55!important;
  }

  /* Sections and page ending use the complete viewport width */
  main,
  section,
  .products,
  .about,
  .gallery,
  .reviews,
  .premium-brands-section,
  .premium-projects-section,
  .premium-stats-section,
  footer,
  .premium-footer{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  /* Footer must not inherit desktop 4-column clipping */
  footer.premium-footer,
  .premium-footer{
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    overflow:hidden!important;
  }
  .premium-footer .container,
  .premium-footer-grid{
    width:calc(100% - 28px)!important;
    max-width:none!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }
  .premium-footer-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  .premium-footer iframe{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:230px!important;
    border:0!important;
  }
  .premium-footer-bottom{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding-left:16px!important;
    padding-right:16px!important;
    text-align:center!important;
  }

  /* Horizontal product scrolling stays local and cannot widen the page */
  #homeCategoryCollections,
  .home-category-collections,
  .home-category-collection,
  .home-category-collapse{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  #homeCategoryCollections .home-category-collapse{
    overflow-x:auto!important;
    overscroll-behavior-x:contain!important;
  }
}
