/* polish.css — 2026-09-24 版面修正（最後載入，覆蓋 style.css 疊加規則） */
html,body{overflow-x:hidden}
body{font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",system-ui,sans-serif;line-height:1.7;-webkit-font-smoothing:antialiased}
.full-logo-header{display:flex;justify-content:center;align-items:center;padding:10px 16px !important;box-sizing:border-box}
.full-logo-header a{display:block;width:auto !important}
.full-logo-img{width:auto !important;max-width:100% !important;height:auto !important;max-height:160px !important;object-fit:contain;margin:0 auto !important}
.content h2{font-size:clamp(1.5rem,3vw,2.1rem);letter-spacing:.02em}
.box{border-radius:14px !important;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.box:hover{transform:translateY(-4px);box-shadow:0 12px 30px -10px rgba(0,255,231,.35)}
.box img{aspect-ratio:4/3;object-fit:cover}
.box_bot{padding:14px 12px 16px !important;font-weight:500;line-height:1.5}
.btn,.link1{border-radius:10px !important;padding:12px 28px !important;display:inline-block;font-weight:500}
.btn:hover,.link1:hover{border-color:transparent !important}
.ban_img{border-radius:12px}
.carousel-item img{border-radius:10px}
:focus-visible{outline:2px solid #00ffe7;outline-offset:3px}
@media (prefers-reduced-motion:reduce){*{animation:none !important;transition:none !important}}

/* 手機：漢堡選單預設收合、點擊展開 */
@media (max-width:768px){
  .navbar{flex-wrap:wrap;align-items:center;justify-content:space-between;padding:8px 16px;background:#1a1a1a !important;position:sticky;top:0;z-index:1000;box-shadow:0 4px 14px rgba(0,0,0,.4)}
  .navbar::before{content:"玩美工";font-weight:700;font-size:1.05rem;letter-spacing:.08em;color:#fff}
  .hamburger{display:inline-flex !important;align-items:center;justify-content:center;width:44px;height:44px;font-size:24px;line-height:1;color:#fff;background:transparent;border:1px solid #444;border-radius:10px;cursor:pointer;padding:0;margin:0}
  .navbar .navbar-menu{display:none !important;flex-basis:100%;margin-top:6px}
  .navbar.open .navbar-menu{display:block !important}
  .navbar-menu a{border-bottom:1px solid #333 !important;padding:13px 0 !important;font-size:1rem}
  .navbar-menu a:hover{border-radius:0}
  .full-logo-header{max-height:none !important}
  .full-logo-img{max-height:96px !important}
  #slippry img{margin:0 !important}
  .service-row{display:grid !important;grid-template-columns:1fr 1fr;gap:14px;padding:0 16px;box-sizing:border-box}
  .service-row .grid_2{width:auto !important;margin:0 !important;float:none !important;padding:0 !important}
  .box{padding:0 !important;margin:0 !important}
  .box img{margin:0 !important}
  .box_bot{font-size:.9rem}
  .carousel-prev{left:4px !important}.carousel-next{right:4px !important}
}
/* 服務卡：取消 equalheights 撐出的空白 */
.service-row .box .maxheight{height:auto !important;min-height:0 !important;display:flex;flex-direction:column}
.service-row .box{height:100%}
.service-row .box .box_bot{flex:1;display:flex;align-items:center;justify-content:center}
.text1{color:#c9c9c9 !important;max-width:70ch;margin-inline:auto !important}
.icon.fa-thumbs-up{width:64px !important;height:64px !important;line-height:64px !important;border-radius:50% !important;margin:0 auto 12px !important;font-size:28px !important;display:block;text-align:center;padding:0 !important;float:none !important}
.extra_wrapper p{font-style:normal}
@media (max-width:768px){
  .sy-box{overflow:hidden;max-width:100%}
  .sy-slides-wrap{min-height:180px}
}
.service-row .grid_2,.service-row .box{height:auto !important;min-height:0 !important}
.service-row .box .maxheight{padding-bottom:4px}
body{margin:0 !important}
.sy-box,.sy-slides-wrap,.sy-slides-crop,.sy-list,.sy-slide,#slippry li{margin:0 !important;padding:0 !important;left:0 !important;max-width:100% !important;box-sizing:border-box}
.service-row .box{padding:12px 12px 6px !important;display:flex !important;flex-direction:column}
.service-row .box img{height:auto !important;margin:0 0 4px !important;max-width:100% !important}
.service-row .box .box_bot{position:static !important;padding:10px 6px 8px !important;min-height:3.2em}
