/* /style_product.css - White Theme (max-width 1600) */

:root{
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --line: #e5e7eb;

  --text: #111827;
  --muted: #4b5563;
  --muted-2: #6b7280;

  --primary: #1e3a8a;
  --primary-soft: #2563eb;

  --radius: 14px;
  --radius-sm: 10px;

  --shadow-sm: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);

  --max: 1600px;
  --g: 22px;
}

/* Base */
*{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Hero */
.product__hero{
  clear: both;
  padding: 42px 0 46px;
  border-bottom: 1px solid var(--line);
}

.product__eyebrow{
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.product__title{
  font-size: clamp(32px, 3vw, 44px);
  margin: 0;
  font-weight: 750;
  margin-bottom:12px;
}

.product__subtitle{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* Badges */
.product__badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.badge{
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--text);
}

/* Hero Gallery (3 -> 2 -> 1) */
.hero-gallery{
  margin-top: 22px;
}

.hero-gallery__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--g);
}

.hero-gallery__item{
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.hero-gallery__item img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.hero-gallery__note{
  margin: 10px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

/* Body / Sections */
.product__body{
  padding: 52px 0 60px;
}

.section{
  padding: 40px 0;
}

.section + .section{
  border-top: 1px solid var(--line);
}

.section__head{
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section__title{
  font-size: 22px;
  margin: 0;
}

.section__desc{
  margin: 0;
  color: var(--muted);
  max-width: 1100px;
}

/* Grid */
.grid{
  display: grid;
  gap: var(--g);
}

.grid--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Card */
.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.card__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 650;
}

.card__text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Pills */
.pill-grid{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill{
  padding: 10px 14px;
  background: var(--panel-soft);
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--line);
  color: var(--text);
}

/* Accent Section */
.section--accent{
  background: var(--panel-soft);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.checklist{
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li{
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
}

/* Footer */
.product__footer{
  padding: 34px 0 60px;
  border-top: 1px solid var(--line);
}

.footnote{
  margin: 0;
  font-size: 13px;
  color: var(--muted-2);
}

/* Responsive: 3 -> 2 -> 1 */
@media (max-width: 1100px){
  .hero-gallery__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-gallery__item img{
    height: 300px;
  }
}

@media (max-width: 720px){
  .container{
    width: min(var(--max), calc(100% - 28px));
  }
  .hero-gallery__grid{
    grid-template-columns: 1fr;
  }
  .hero-gallery__item img{
    height: 260px;
  }
  .grid--2{
    grid-template-columns: 1fr;
  }
}
