@media (max-width: 720px){
  html,body{max-width:100%;overflow-x:hidden}
  body{-webkit-text-size-adjust:100%}
  .container{width:calc(100% - 24px)!important;max-width:none!important}

  /* Header and navigation */
  .site-header{backdrop-filter:blur(18px)}
  .header-inner{min-height:68px!important;gap:12px!important}
  .brand{min-width:0!important;flex:1 1 auto}
  .brand strong{font-size:22px!important;letter-spacing:.07em}
  .brand small{display:none!important}
  .nav-toggle{display:grid!important;place-items:center;width:44px;height:44px;margin-left:auto!important;padding:0;border:1px solid rgba(7,24,42,.12);font-size:25px;line-height:1;border-radius:0}
  .main-nav{top:68px!important;left:12px!important;right:12px!important;gap:0!important;padding:8px!important;max-height:calc(100vh - 84px);overflow:auto;border:1px solid var(--line);box-shadow:0 18px 50px rgba(7,24,42,.18)!important}
  .main-nav a{display:flex;width:100%;min-height:48px;align-items:center;padding:0 14px;border-bottom:1px solid rgba(222,216,202,.7);font-size:15px}
  .main-nav a:last-child{border-bottom:0}
  .header-cta{display:none!important}

  /* Hero */
  .hero{min-height:560px!important;background-position:64% center!important}
  .hero::before{background:linear-gradient(180deg,rgba(4,18,32,.76) 0%,rgba(4,18,32,.68) 48%,rgba(4,18,32,.44) 100%)!important}
  .hero-grid{min-height:560px!important}
  .hero-copy{width:100%!important;padding:48px 0 42px!important}
  .hero h1{font-size:38px!important;line-height:1.08!important;letter-spacing:-.02em}
  .hero-lead{margin-top:18px!important;font-size:17px!important;line-height:1.45!important}
  .hero-note{margin-top:14px!important;font-size:13px!important;line-height:1.55!important;color:#d6dde3!important}
  .hero-actions{margin-top:26px!important;gap:10px!important}
  .hero-actions .button{width:100%;min-height:52px}
  .trust-row{margin-top:28px!important;padding-top:14px!important;gap:0!important}
  .trust-row span{padding:8px 0!important;font-size:11px!important}

  /* General sections */
  .section{padding:54px 0!important}
  .section-heading{margin-bottom:24px!important;gap:12px!important}
  .section h2{font-size:34px!important;line-height:1.12!important}
  .split-heading{gap:14px!important}
  .category-grid,.benefit-grid,.material-grid,.interior-grid{grid-template-columns:1fr!important;gap:14px!important}
  .category-card{box-shadow:0 10px 28px rgba(7,24,42,.05)}
  .category-card:hover{transform:none}
  .product-visual{height:205px!important}
  .card-body{padding:20px!important}
  .card-body h3{font-size:22px!important}
  .card-body p{min-height:0!important;margin-bottom:14px!important}
  .benefit-grid{margin-top:28px!important}
  .benefit-grid article{padding:24px 0!important}
  .benefit-grid h3{font-size:22px!important;margin:12px 0 8px!important}
  .material-grid{margin-top:24px!important}
  .material-grid article{padding:24px!important}
  .material-grid h3{font-size:22px!important;margin:12px 0 6px!important}
  .scene{height:220px!important}

  /* CTA and footer */
  .cta{padding:48px 0!important}
  .cta-inner{gap:22px!important}
  .cta h2{font-size:34px!important;line-height:1.12!important}
  .cta .button{width:100%}
  .site-footer{padding:46px 0 20px!important}
  .footer-grid{gap:30px!important}
  .footer-grid h3{margin-bottom:10px!important}
  .legal-line{margin-top:30px!important;gap:8px!important;line-height:1.5}

  /* Catalog heads and tabs */
  .catalog-head{padding:34px 0 32px!important}
  .catalog-breadcrumb{margin-bottom:20px!important;font-size:12px!important;line-height:1.6!important;overflow-wrap:anywhere}
  .catalog-breadcrumb span{padding:0 5px!important}
  .catalog-head .eyebrow{margin-bottom:9px!important}
  .catalog-head h1{font-size:38px!important;line-height:1.06!important}
  .catalog-intro{margin-top:15px!important;font-size:14px!important;line-height:1.6!important}
  .catalog-tabs{grid-template-columns:1fr 1fr!important}
  .catalog-tab{min-height:58px;padding:12px!important;font-size:14px!important}
  .catalog-products{padding-top:42px!important;padding-bottom:48px!important}
  .catalog-section-heading{margin-bottom:22px!important;gap:10px!important}
  .catalog-section-heading h2{font-size:32px!important;line-height:1.1!important}
  .catalog-section-heading>p{font-size:13px!important;line-height:1.55!important}
  .product-grid-large{grid-template-columns:1fr!important;gap:18px!important}
  .product-card-large{min-width:0!important}
  .product-image-placeholder,.product-image-placeholder.product-image-real{height:300px!important;min-height:300px!important;padding:16px!important}
  .product-info{padding:22px 18px 24px!important}
  .product-info h3{font-size:27px!important;margin-bottom:10px!important}
  .product-info>p:not(.product-type){min-height:0!important;font-size:13px!important;line-height:1.65!important}
  .product-actions{margin-top:20px!important;padding-top:0!important;gap:10px!important;flex-direction:column!important;align-items:stretch!important}
  .product-actions .button{width:100%;min-height:50px}
  .product-more{display:block;padding:8px 0;text-align:center}

  /* Catalog photo galleries */
  .catalog-products .product-grid-large>.product-card-large .product-gallery{height:auto!important}
  .catalog-products .product-grid-large>.product-card-large .product-gallery-main{height:300px!important;min-height:300px!important;flex:0 0 300px!important;padding:10px!important}
  .catalog-products .product-grid-large>.product-card-large .product-gallery-thumbs{height:auto!important;min-height:76px!important;flex:0 0 auto!important;padding:8px 10px 10px!important;overflow-x:auto;justify-content:flex-start!important;-webkit-overflow-scrolling:touch}
  .gallery-thumb{width:62px!important;height:62px!important;min-width:62px!important;flex:0 0 62px!important}
  .gallery-thumb:hover{transform:none}

  /* Preserve every product photo's intrinsic proportions */
  .product-image-placeholder.product-image-real,
  .product-gallery-main,
  .final-product-main{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .product-image-placeholder.product-image-real img,
  .product-gallery-main img,
  .final-product-main img{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    aspect-ratio:auto!important;
    flex:none!important;
  }

  /* Final product pages */
  .product-final{padding:24px 0 48px!important}
  .product-final .catalog-breadcrumb{margin-bottom:18px!important}
  .final-product-grid{grid-template-columns:1fr!important;gap:26px!important}
  .final-product-gallery{height:auto!important;min-height:0!important;max-height:none!important}
  .final-product-main{height:min(88vw,430px)!important;min-height:320px!important;aspect-ratio:auto!important;padding:8px!important}
  .final-product-main img{transform:none!important}
  .final-product-thumbs{height:auto!important;min-height:78px!important;padding:8px 10px!important;justify-content:flex-start!important;gap:8px!important;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .final-product-info{height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;overflow:visible!important}
  .final-product-info .eyebrow{margin:0 0 10px!important}
  .final-product-info h1{margin:0 0 5px!important;font-size:36px!important;line-height:1.04!important}
  .final-product-info .final-finish{margin:0 0 18px!important;font-size:18px!important;line-height:1.35!important}
  .final-product-info .final-price{margin:0 0 18px!important;padding:0 0 16px!important;font-size:34px!important}
  .final-product-info .size-label{margin:0 0 9px!important}
  .size-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .size-option{min-height:48px;padding:10px 8px!important;font-size:12px!important}
  .custom-size-inline{margin-top:10px!important;padding:13px 14px!important;gap:6px!important}
  .custom-size-inline strong{font-size:15px!important}
  .custom-size-inline-copy small{font-size:11px!important}
  .production-time{margin:12px 0!important;padding:14px 15px!important}
  .production-time strong{font-size:16px!important}
  .production-time span{font-size:12px!important}
  .final-order-button{min-height:52px!important;margin-top:12px!important}

  .product-about{padding:48px 0!important}
  .product-about-grid{grid-template-columns:1fr!important;gap:20px!important}
  .product-about h2,.custom-size h2{font-size:32px!important;line-height:1.12!important}
  .about-copy p{font-size:14px!important;line-height:1.7!important}
  .custom-size{padding:42px 0!important}
  .custom-size-inner{grid-template-columns:1fr!important;gap:24px!important}
  .custom-size-inner>div:first-child{padding-left:16px!important}
  .custom-size-actions{max-width:none!important;width:100%!important}
  .custom-size-actions .button{width:100%}

  /* Lightbox on phones */
  .product-lightbox{padding:12px!important;align-items:center!important;background:rgba(5,15,25,.94)!important}
  .product-lightbox img{width:auto!important;height:auto!important;max-width:100%!important;max-height:84vh!important;object-fit:contain!important;aspect-ratio:auto!important;box-shadow:none!important}
  .product-lightbox-close{top:8px!important;right:12px!important;width:44px;height:44px;font-size:38px!important;background:rgba(5,15,25,.45)!important;z-index:2}

  /* Better touch behaviour */
  .button,.size-option,.gallery-thumb,.nav-toggle{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
  .product-image-link:hover img,.product-gallery-main:hover img,.final-product-main:hover img{transform:none!important}
}

@media (max-width: 480px){
  .container{width:calc(100% - 20px)!important}
  .header-inner{min-height:64px!important}
  .main-nav{top:64px!important;left:10px!important;right:10px!important}
  .brand strong{font-size:20px!important}
  .nav-toggle{width:42px;height:42px}

  .hero{min-height:530px!important;background-position:68% center!important}
  .hero-grid{min-height:530px!important}
  .hero-copy{padding:40px 0 34px!important}
  .hero h1{font-size:34px!important}
  .hero-lead{font-size:16px!important}

  .catalog-head h1{font-size:34px!important}
  .catalog-tabs{grid-template-columns:1fr!important}
  .catalog-tab{min-height:52px}
  .catalog-section-heading h2{font-size:29px!important}
  .product-info h3{font-size:25px!important}

  .product-image-placeholder,.product-image-placeholder.product-image-real{height:270px!important;min-height:270px!important}
  .catalog-products .product-grid-large>.product-card-large .product-gallery-main{height:270px!important;min-height:270px!important;flex-basis:270px!important}

  .final-product-main{height:min(90vw,390px)!important;min-height:290px!important;aspect-ratio:auto!important}
  .final-product-info h1{font-size:33px!important}
  .final-product-info .final-finish{font-size:17px!important}
  .final-product-info .final-price{font-size:32px!important}
  .size-options{grid-template-columns:1fr 1fr!important}
  .size-option{font-size:11px!important}
  .gallery-thumb{width:58px!important;height:58px!important;min-width:58px!important;flex-basis:58px!important}
  .product-about h2,.custom-size h2{font-size:30px!important}
}


/* Home search */
@media (max-width:720px){
  .home-search-section{margin-top:-18px!important;padding:0 0 12px!important}
  .home-search-card{
    grid-template-columns:1fr!important;
    gap:17px!important;
    padding:22px 18px 18px!important;
    box-shadow:0 14px 38px rgba(7,24,42,.14)!important;
  }
  .home-search-copy h2{font-size:28px!important}
  .home-search-copy>p:last-child{font-size:12px!important;line-height:1.5}
  .home-search-form{
    grid-template-columns:42px minmax(0,1fr)!important;
    min-height:56px!important;
  }
  .home-search-icon{width:42px!important}
  .home-search-input{height:54px!important;font-size:13px!important;padding-right:8px!important}
  .home-search-submit{
    grid-column:1/-1;
    min-height:48px!important;
    border-left:0!important;
    border-top:1px solid #D9C59A!important;
  }
  .home-search-results{
    top:111px!important;
    max-height:310px!important;
  }
  .home-search-hints{gap:9px 12px!important;margin-top:10px!important}
  .home-search-hints button{font-size:10px!important}
}
@media (max-width:480px){
  .home-search-card{padding:20px 15px 16px!important}
  .home-search-copy h2{font-size:26px!important}
  .home-search-input{font-size:12px!important}
}


/* iPhone 13 homepage contrast + compact catalog */
@media (max-width: 430px){

  /* HERO: stronger readability over photo */
  .hero{
    background-position:61% center!important;
  }
  .hero::before{
    background:
      linear-gradient(180deg,
        rgba(3,15,28,.90) 0%,
        rgba(3,15,28,.84) 38%,
        rgba(3,15,28,.77) 68%,
        rgba(3,15,28,.67) 100%
      )!important;
  }
  .hero h1,
  .hero-lead,
  .hero-note{
    text-shadow:0 2px 12px rgba(0,0,0,.36);
  }
  .hero h1{
    color:#fff!important;
  }
  .hero-lead{
    color:#f7f7f5!important;
  }
  .hero-note{
    color:#e2e7eb!important;
  }

  /* CATALOG: two compact product cards per row */
  .popular-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .popular-card{
    min-width:0!important;
    box-shadow:0 6px 16px rgba(7,24,42,.035)!important;
  }
  .popular-media{
    height:126px!important;
    min-height:126px!important;
    padding:8px!important;
  }
  .popular-body{
    min-height:138px!important;
    padding:11px 10px 10px!important;
  }
  .popular-kicker{
    height:auto!important;
    min-height:0!important;
    margin:0 0 6px!important;
    font-size:9px!important;
    font-weight:600!important;
    line-height:1.25!important;
    letter-spacing:.055em!important;
  }
  .popular-body h3{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    min-height:54px!important;
    max-height:54px!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1.13!important;
  }
  .popular-body>p{
    display:none!important;
  }
  .popular-foot{
    gap:4px!important;
    margin-top:auto!important;
    padding-top:9px!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  .popular-foot strong{
    margin-left:1px!important;
    font-size:15px!important;
    white-space:nowrap!important;
  }
  .popular-foot>span:last-child{
    display:none!important;
  }

  /* Directory cards also stay compact, two per row */
  .directory-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  .directory-card{
    min-height:158px!important;
    padding:13px 11px 12px!important;
  }
  .directory-card-top{
    height:auto!important;
    min-height:18px!important;
  }
  .directory-type{
    font-size:8px!important;
    font-weight:600!important;
    letter-spacing:.05em!important;
  }
  .directory-arrow{
    font-size:13px!important;
  }
  .directory-card h3{
    min-height:54px!important;
    max-height:54px!important;
    margin-top:8px!important;
    font-size:16px!important;
    line-height:1.13!important;
  }
  .directory-card p{
    display:none!important;
  }
  .directory-link{
    padding-top:8px!important;
    font-size:9px!important;
    font-weight:600!important;
  }

  /* Slightly tighter catalog section spacing on phone */
  .catalog-section{
    margin-bottom:38px!important;
  }
  .catalog-section-head{
    margin-bottom:14px!important;
  }
}


/* iPhone 13 homepage catalog cards */
@media (max-width:430px){
  .home-catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .home-product-card{
    min-width:0!important;
    box-shadow:0 6px 16px rgba(7,24,42,.035)!important;
  }
  .home-product-media{
    height:126px!important;
    min-height:126px!important;
    padding:8px!important;
  }
  .home-product-body{
    min-height:138px!important;
    padding:11px 10px 10px!important;
  }
  .home-product-kicker{
    height:auto!important;
    min-height:0!important;
    margin:0 0 6px!important;
    font-size:9px!important;
    font-weight:600!important;
    line-height:1.25!important;
    letter-spacing:.055em!important;
  }
  .home-product-body h3{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    min-height:54px!important;
    max-height:54px!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1.13!important;
  }
  .home-product-body>p{
    display:none!important;
  }
  .home-product-foot{
    gap:4px!important;
    margin-top:auto!important;
    padding-top:9px!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  .home-product-foot strong{
    margin-left:1px!important;
    font-size:15px!important;
    white-space:nowrap!important;
  }
  .home-product-foot>span:last-child{
    display:none!important;
  }

  .home-catalog-section{
    padding-top:42px!important;
  }
  .home-catalog-heading{
    margin-bottom:18px!important;
  }
  .home-catalog-heading h2{
    font-size:34px!important;
  }
  .home-catalog-lead{
    font-size:13px!important;
    line-height:1.5!important;
  }
  .home-catalog-open{
    min-height:46px!important;
    font-size:13px!important;
  }
}


/* iPhone product price row refinement */
@media (max-width:430px){
  .home-product-foot,
  .popular-foot{
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    width:100%!important;
    margin-top:auto!important;
    padding-top:10px!important;
    border-top:1px solid rgba(7,24,42,.10)!important;
    color:#8a7b63!important;
    font-family:"Manrope",Arial,sans-serif!important;
    font-size:10px!important;
    font-weight:500!important;
    line-height:1.2!important;
  }

  .home-product-foot>span:first-child,
  .popular-foot>span:first-child{
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    width:100%!important;
    gap:8px!important;
  }

  .home-product-foot strong,
  .popular-foot strong{
    margin-left:auto!important;
    color:var(--navy)!important;
    font-family:"PT Serif",serif!important;
    font-size:17px!important;
    font-weight:400!important;
    line-height:1!important;
    white-space:nowrap!important;
    letter-spacing:-.01em!important;
  }

  .home-product-foot>span:last-child,
  .popular-foot>span:last-child{
    display:none!important;
  }
}


/* iPhone catalog reset action */
@media (max-width:430px){
  .catalog-search-row{
    grid-template-columns:1fr!important;
  }
  .catalog-mobile-reset{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:50px!important;
    padding:0 18px!important;
    border:1px solid rgba(166,124,50,.55)!important;
    background:#fffaf0!important;
    color:var(--navy)!important;
    font-family:"Manrope",Arial,sans-serif!important;
    font-size:14px!important;
    font-weight:600!important;
    letter-spacing:.005em!important;
    cursor:pointer!important;
  }
  .catalog-mobile-reset[hidden]{
    display:none!important;
  }
}


/* Premium compact header search v3 */
@media (max-width:720px){
  .header-site-search{
    width:100%!important;
    padding:0!important;
  }

  .header-site-search .home-search-ui{
    width:100%!important;
  }

  .header-site-search .home-search-form{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 78px!important;
    align-items:center!important;
    gap:0!important;
    width:100%!important;
    min-height:54px!important;
    padding:4px!important;
    border:1px solid #d7d0c4!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 6px 18px rgba(7,24,42,.045)!important;
    overflow:visible!important;
  }

  .header-site-search .home-search-form:focus-within{
    border-color:#b89450!important;
    box-shadow:0 0 0 3px rgba(184,148,80,.10),0 7px 20px rgba(7,24,42,.05)!important;
  }

  .header-site-search .home-search-icon{
    display:grid!important;
    place-items:center!important;
    width:42px!important;
    height:46px!important;
    color:#9a773d!important;
  }

  .header-site-search .home-search-icon svg{
    width:19px!important;
    height:19px!important;
  }

  .header-site-search .home-search-input{
    grid-column:2!important;
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    padding:0 8px 0 0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#243444!important;
    font-size:16px!important;
    font-weight:400!important;
    line-height:46px!important;
  }

  .header-site-search .home-search-input::placeholder{
    color:#9ba1a7!important;
    opacity:1!important;
  }

  .header-site-search .home-search-submit{
    grid-column:3!important;
    grid-row:1!important;
    align-self:center!important;
    width:78px!important;
    min-width:78px!important;
    min-height:42px!important;
    height:42px!important;
    margin:0!important;
    padding:0 10px!important;
    border:0!important;
    border-radius:10px!important;
    background:#0d2742!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:600!important;
    line-height:1!important;
    box-shadow:none!important;
  }

  .header-site-search .home-search-submit:active{
    transform:translateY(1px)!important;
  }

  .header-site-search .home-search-results{
    top:60px!important;
    left:0!important;
    right:0!important;
    max-height:310px!important;
    border-radius:12px!important;
  }
}

@media (max-width:390px){
  .header-site-search .home-search-form{
    grid-template-columns:38px minmax(0,1fr) 70px!important;
    border-radius:12px!important;
  }
  .header-site-search .home-search-icon{
    width:38px!important;
  }
  .header-site-search .home-search-submit{
    width:70px!important;
    min-width:70px!important;
    padding:0 8px!important;
  }
}
