/* SHINY-QY Atelier 4.0 | v1.2 - refined gallery and editorial product heading.
   Presentation-only changes; no products, media, order rules, or inquiry data are modified. */

/* Gallery shell: remove the solid brown frame and keep the site's warm-ivory canvas. */
.sqy-single-image:has(.sqy-fp-hero-gallery){
  display:block;
  min-height:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.sqy-fp-hero-gallery{width:100%;min-width:0}
.sqy-fp-hero-main{
  display:flex;
  align-items:center;
  justify-content:center;
  height:460px;
  min-height:0;
  padding:0;
  overflow:hidden;
  background:transparent;
  border:0;
  box-shadow:none;
  text-decoration:none;
}
.sqy-fp-hero-main img{
  display:block;
  width:100%;
  height:100%;
  padding:0;
  object-fit:contain;
  background:transparent;
  border:0;
  box-shadow:none;
}

/* Quiet thumbnail rail: only the active image carries a champagne-gold outline. */
.sqy-fp-thumb-row{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
  padding:12px 0 0;
}
.sqy-fp-thumb{
  display:block;
  min-width:0;
  aspect-ratio:1;
  padding:3px;
  background:#fffcf9;
  border:1px solid #e9dfd7;
  border-radius:2px;
  outline:0;
  box-shadow:none;
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.sqy-fp-thumb:hover{border-color:#c8b298}
.sqy-fp-thumb.is-active{
  border-color:#b99b76;
  box-shadow:inset 0 0 0 1px #b99b76;
}
.sqy-fp-thumb:focus-visible{
  outline:2px solid #7b5b39;
  outline-offset:3px;
}
.sqy-fp-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

/* Editorial typography: reduce oversize heading by ~30% on desktop. */
.sqy-single-grid:has(.sqy-fp-hero-gallery) .sqy-single-summary{padding-top:6px}
.sqy-single-grid:has(.sqy-fp-hero-gallery) .sqy-single-summary h1{
  font-family:Georgia,serif;
  font-size:clamp(36px,3.5vw,56px);
  font-weight:400;
  line-height:1.09;
  letter-spacing:-.037em;
  margin:13px 0 19px;
  overflow-wrap:break-word;
}

.sqy-detail-content .entry-content{max-width:none}
.sqy-fp-full{max-width:1100px;margin:0 auto;color:#3f3633}
.sqy-fp-full section{margin:0 0 65px}
.sqy-fp-full h2{font:400 clamp(29px,4vw,44px)/1.16 Georgia,serif;letter-spacing:-.025em;color:#36282b;margin:10px 0 20px}
.sqy-fp-full p{font-size:15px;line-height:1.85;color:#70625c;max-width:900px}
.sqy-fp-minihead{color:#825b55;font-size:11px;letter-spacing:.19em;font-weight:700}
.sqy-fp-highlights{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:27px}
.sqy-fp-highlights>div{display:flex;flex-direction:column;gap:7px;background:#f7f0e9;border:1px solid #e9ddd4;padding:22px}
.sqy-fp-highlights strong{font:400 30px Georgia,serif;color:#733e45}
.sqy-fp-highlights span{font-size:12px;color:#766864}
.sqy-fp-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #e6d8cd}
.sqy-fp-spec-row{display:flex;justify-content:space-between;gap:15px;align-items:baseline;border-bottom:1px solid #e6d8cd;padding:15px 20px 15px 0;font-size:13px}
.sqy-fp-spec-row span{color:#88736d}.sqy-fp-spec-row strong{text-align:right;color:#423334;font-weight:600;max-width:62%}
.sqy-fp-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.sqy-fp-tags span{padding:10px 16px;border:1px solid #d9c6bd;border-radius:32px;color:#634f49;font-size:12px}
.sqy-fp-order{background:#faf4ef;padding:32px;border:1px solid #e7d9d0}
.sqy-fp-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sqy-fp-option{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e7d9d0;padding:24px}
.sqy-fp-option>span{font-size:11px;letter-spacing:.12em;color:#806b66;font-weight:700}
.sqy-fp-option>strong{font:400 35px Georgia,serif;color:#703642}
.sqy-fp-option small{color:#8a7771;font-size:12px}
.sqy-fp-option a,.sqy-fp-sample a{display:inline-flex;align-self:flex-start;text-decoration:none;padding:11px 18px;background:#813f4a;color:white!important;font-size:12px;font-weight:700;margin-top:10px}
.sqy-fp-sample{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:1px solid #d8dbd0;margin-top:16px;padding:18px 20px}
.sqy-fp-sample span{color:#486946;font-weight:700}.sqy-fp-order .sqy-fp-fine{font-size:12px;margin:20px 0 0}
.sqy-fp-detail-pictures{display:flex;flex-direction:column;gap:0;align-items:center}
.sqy-fp-detail-pictures figure{margin:0;line-height:0;width:100%;max-width:1000px}
.sqy-fp-detail-pictures img{display:block;width:100%;height:auto;object-fit:contain}
.sqy-fp-admin-hint{background:#fff5d6;padding:20px;border-left:4px solid #ad8d35}
.sqy-fp-legal{margin:25px 0 50px;font-size:12px!important;color:#958984!important}
@media(max-width:720px){.sqy-fp-hero-main{min-height:300px}.sqy-fp-hero-main img{height:320px}.sqy-fp-thumb-row{grid-template-columns:repeat(3,minmax(0,1fr))}.sqy-fp-highlights{grid-template-columns:1fr}.sqy-fp-spec-grid,.sqy-fp-options{grid-template-columns:1fr}.sqy-fp-option{padding:18px}.sqy-fp-order{padding:18px}.sqy-fp-spec-row{padding-right:0}}

/* Device-specific gallery refinement (must remain after base mobile rules). */
@media (max-width:720px){
  .sqy-fp-hero-main{height:340px;min-height:0}
  .sqy-fp-hero-main img{height:100%}
  .sqy-fp-thumb-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sqy-single-grid:has(.sqy-fp-hero-gallery) .sqy-single-summary h1{
    font-size:clamp(34px,7vw,43px);
    line-height:1.11;
  }
}
@media (max-width:420px){
  .sqy-fp-hero-main{height:300px}
  .sqy-single-grid:has(.sqy-fp-hero-gallery) .sqy-single-summary h1{font-size:34px}
}
@media (prefers-reduced-motion:reduce){.sqy-fp-thumb{transition:none}}

/* v1.4 – B2B engineering-style table, aligned to Atelier's warm ivory palette. */
.sqy-fp-b2b{max-width:1100px;margin:0 auto 70px}
.sqy-fp-b2b .sqy-fp-b2b-section{margin:0 0 42px}
.sqy-fp-b2b h2{font:400 clamp(28px,3.4vw,40px)/1.18 Georgia,serif;color:#372a2b;margin:8px 0 19px}
.sqy-fp-datagrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-top:1px solid #e8d9d0;border-left:1px solid #e8d9d0;background:#fffefa}
.sqy-fp-datarow{display:grid;grid-template-columns:minmax(110px,43%) minmax(0,1fr);min-width:0;border-right:1px solid #e8d9d0;border-bottom:1px solid #e8d9d0;align-items:stretch}
.sqy-fp-datarow dt,.sqy-fp-datarow dd{font-size:13px;line-height:1.5;padding:15px 14px;margin:0;overflow-wrap:anywhere;word-break:normal}
.sqy-fp-datarow dt{background:#f8f2ed;color:#8a6761;font-weight:600}
.sqy-fp-datarow dd{color:#362c2b;font-weight:600}
.sqy-fp-b2b-footnote{font-size:12px!important;color:#80716e!important;margin:10px 0 0!important}
.sqy-fp-photos-unavailable{background:#faf4ef;border:1px solid #e8d9d0;padding:22px;font-size:13px}
.sqy-fp-detail-pictures:empty{display:none}
body.sqyml-rtl .sqy-fp-datarow{direction:rtl}
body.sqyml-rtl .sqy-fp-datarow dd{text-align:right}
@media(max-width:760px){.sqy-fp-datagrid{grid-template-columns:1fr}.sqy-fp-datarow dt,.sqy-fp-datarow dd{padding:12px}.sqy-fp-b2b{margin-bottom:50px}}

.sqy-single-summary .sqy-fp-quicklink{display:inline-block;margin:8px 0 16px;font-size:12px;letter-spacing:.02em;color:#825247;text-decoration:none;border-bottom:1px solid #bea08d;padding-bottom:4px;font-weight:650}
.sqy-single-summary .sqy-fp-quicklink:hover{color:#5b332c;border-color:#5b332c}
#sqy-spec-technical{scroll-margin-top:24px}
