/*
Theme Name: 하루득템 민트
Theme URI: https://demo.blanding.kr/
Author: Codex
Description: 신선식품과 생활용품 특가몰을 위한 반응형 원페이지 워드프레스 테마입니다.
Version: 1.0.1
Text Domain: harudeuktem-mint
*/

:root {
  --ink: #102d29;
  --muted: #6c817d;
  --mint: #18a88f;
  --deep: #087765;
  --pale: #eaf8f3;
  --lemon: #efff74;
  --cream: #fbfaf5;
  --line: #dfeae6;
  --sale: #ff5b4d;
  --white: #fff;
  --wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: -.03em;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
.site-wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.utility { height: 38px; border-bottom: 1px solid #edf2ef; color: #71827f; font-size: 12px; }
.utility .site-wrap { height: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.header-main { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; font-size: 30px; font-weight: 900; letter-spacing: -.07em; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px 14px 14px 5px; display: grid; place-items: center;
  background: var(--mint); color: var(--lemon); font-size: 20px; font-weight: 950; transform: rotate(-4deg);
  box-shadow: 0 8px 18px rgba(18, 162, 138, .22);
}
.brand .custom-logo { display: block; width: auto; max-height: 48px; }
.search-form {
  width: min(610px, 50%); height: 54px; border: 2px solid var(--mint); border-radius: 18px;
  display: flex; align-items: center; padding: 0 8px 0 20px; box-shadow: 0 6px 20px rgba(19, 150, 127, .08);
}
.search-field { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-field::placeholder { color: #92a39f; }
.search-submit {
  flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 13px;
  background: var(--mint); color: var(--white); cursor: pointer; font-size: 18px; font-weight: 900;
}
.header-actions { display: flex; gap: 22px; flex: 0 0 auto; }
.header-action { text-align: center; font-size: 11px; color: #506662; }
.header-action strong { width: 34px; height: 30px; display: grid; place-items: center; margin: 0 auto 4px; font-size: 21px; font-weight: 500; }
.nav-bar { height: 56px; border-top: 1px solid #eef3f1; border-bottom: 1px solid #dce8e4; background: var(--white); }
.nav-inner { height: 100%; display: flex; align-items: center; gap: 34px; font-size: 15px; font-weight: 800; }
.all-menu { align-self: stretch; min-width: 154px; padding: 0 20px; display: flex; align-items: center; gap: 12px; background: var(--mint); color: var(--white); }
.all-menu span { font-size: 21px; }
.nav-link.hot { color: var(--sale); }
.nav-note { margin-left: auto; color: var(--deep); font-size: 13px; background: var(--pale); padding: 8px 13px; border-radius: 999px; }
.mobile-nav-toggle { display: none; }

.hero-area { padding: 26px 0 0; background: linear-gradient(180deg, #f3fbf7 0%, #fff 100%); }
.hero {
  position: relative; min-height: 374px; border-radius: 30px; overflow: hidden; display: grid; grid-template-columns: 54% 46%;
  background: linear-gradient(125deg, #0a846f 0%, #1eb89a 57%, #c7f4c9 100%); box-shadow: 0 18px 50px rgba(9, 107, 90, .15);
}
.hero-copy { position: relative; z-index: 3; padding: 52px 16px 44px 64px; color: var(--white); }
.eyebrow { display: inline-flex; padding: 8px 13px; border-radius: 999px; color: var(--deep); background: var(--lemon); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.hero h1 { margin: 18px 0 13px; font-size: clamp(38px, 3.2vw, 52px); line-height: 1.14; letter-spacing: -.065em; }
.hero p { margin: 0; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.65; }
.hero-cta { display: inline-flex; margin-top: 24px; align-items: center; gap: 16px; padding: 14px 19px; border-radius: 13px; background: var(--white); color: var(--deep); font-size: 14px; font-weight: 900; }
.hero-visual { position: relative; min-height: 374px; }
.hero-image { position: absolute; inset: 27px 31px 0 0; border-radius: 180px 28px 0 0; overflow: hidden; box-shadow: 0 12px 34px rgba(2, 64, 54, .18); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; display: block; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,132,111,.18), transparent 45%); }
.price-seal { position: absolute; z-index: 3; left: -20px; bottom: 31px; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--lemon); color: var(--ink); transform: rotate(-7deg); box-shadow: 0 11px 26px rgba(5,84,69,.2); font-weight: 800; font-size: 13px; }
.price-seal strong { display: block; font-size: 30px; letter-spacing: -.07em; }
.hero-dots { position: absolute; z-index: 4; left: 64px; bottom: 21px; display: flex; gap: 7px; }
.hero-dots i { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.42); }
.hero-dots i:first-child { width: 25px; background: var(--white); }

.quick-grid { padding: 35px 15px 31px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 17px; }
.quick-item { text-align: center; font-size: 14px; font-weight: 800; }
.quick-circle { width: 92px; height: 92px; margin: 0 auto 12px; border-radius: 50%; overflow: hidden; background: var(--pale); border: 1px solid #d9ede6; }
.quick-circle { display: block; flex: 0 0 92px; }
.quick-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quick-item:nth-child(even) .quick-circle { background: #fff7db; border-color: #f3eac1; }
.quick-item.new .quick-circle { display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 28px; }
.quick-item small { display: block; margin-top: 4px; color: var(--mint); font-size: 10px; letter-spacing: .03em; }
.promo-strip { min-height: 84px; padding: 0 37px; border-radius: 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; overflow: hidden; position: relative; background: linear-gradient(100deg, #edfbdc 0%, #faffd9 70%, #e5f8d3 100%); border: 1px solid #dcecb7; }
.promo-strip::after { content: ""; position: absolute; right: 148px; top: -45px; width: 150px; height: 150px; border-radius: 50%; border: 28px solid rgba(24,168,143,.08); }
.promo-text { position: relative; z-index: 1; display: flex; align-items: center; gap: 25px; }
.promo-text b { font-size: 21px; }
.promo-text span { color: #61736b; font-size: 14px; }
.coupon { position: relative; z-index: 1; padding: 13px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 800; }

.deal-section { padding: 48px 0 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.section-title h2 { margin: 0; font-size: 31px; letter-spacing: -.06em; }
.section-title p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.timer { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.timer strong { color: var(--sale); font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { min-width: 0; }
.product-photo { height: 236px; border-radius: 20px; position: relative; overflow: hidden; background: #edf4f1; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.product-card:hover .product-photo img { transform: scale(1.04); }
.discount-tag { position: absolute; left: 13px; top: 13px; padding: 8px 10px; border-radius: 9px; background: var(--sale); color: var(--white); font-weight: 900; font-size: 13px; }
.heart { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #31534d; font-size: 18px; }
.product-meta { padding: 15px 3px 0; }
.maker { color: var(--mint); font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.product-name { margin: 7px 0 10px; min-height: 43px; font-size: 16px; line-height: 1.38; font-weight: 700; }
.price-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.rate { color: var(--sale); font-size: 20px; font-weight: 900; }
.price { font-size: 20px; font-weight: 900; }
.old-price { color: #a4afac; text-decoration: line-through; font-size: 12px; }
.delivery { display: inline-block; margin-top: 9px; padding: 4px 6px; border: 1px solid #dbe6e2; border-radius: 5px; color: #67817b; font-size: 10px; }

.theme-band { padding: 55px 0 60px; background: var(--cream); }
.theme-card { height: 320px; display: grid; grid-template-columns: 43% 57%; border-radius: 28px; overflow: hidden; background: #10342f; color: var(--white); box-shadow: 0 18px 45px rgba(24,45,40,.12); }
.theme-copy { padding: 49px 53px; position: relative; }
.theme-copy::before { content: ""; position: absolute; width: 145px; height: 145px; border-radius: 50%; background: rgba(239,255,116,.07); right: 25px; bottom: -55px; }
.theme-label { color: var(--lemon); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.theme-copy h2 { margin: 15px 0 13px; font-size: 35px; line-height: 1.25; }
.theme-copy p { margin: 0; color: #b9cbc7; font-size: 14px; line-height: 1.7; }
.theme-link { display: inline-flex; margin-top: 24px; border-bottom: 1px solid var(--white); padding-bottom: 5px; font-size: 13px; font-weight: 800; }
.theme-image { position: relative; }
.theme-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10342f 0%, transparent 32%); }
.site-footer { padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { color: var(--ink); font-size: 20px; font-weight: 900; }

.content-shell { padding: 72px 0; }
.content-shell h1 { font-size: 36px; }
.post-list { display: grid; gap: 20px; }
.post-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }

/* Product detail */
.product-page { padding: 24px 0 72px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0 28px; color: var(--muted); font-size: 13px; }
.breadcrumb span { color: #a2afac; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: 64px; align-items: start; }
.gallery-main { aspect-ratio: 1 / .82; border-radius: 26px; overflow: hidden; background: var(--pale); }
.gallery-main img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumb { padding: 0; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 14px; background: var(--pale); cursor: pointer; }
.gallery-thumb.is-active { border-color: var(--mint); }
.gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-kicker { color: var(--mint); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.product-summary h1 { margin: 10px 0 12px; font-size: clamp(30px, 2.6vw, 42px); line-height: 1.24; letter-spacing: -.055em; }
.review-line { display: flex; align-items: center; gap: 9px; padding-bottom: 23px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.stars { color: #f6aa1c; letter-spacing: .08em; }
.summary-price { padding: 24px 0 20px; }
.summary-price .old-price { display: block; margin-bottom: 7px; font-size: 14px; }
.summary-price-row { display: flex; align-items: baseline; gap: 12px; }
.summary-price-row .rate { font-size: 31px; }
.summary-price-row .price { font-size: 34px; }
.product-benefit { margin: 0 0 24px; padding: 18px 20px; border-radius: 16px; background: var(--pale); color: #45615b; font-size: 14px; line-height: 1.75; }
.product-benefit b { color: var(--deep); }
.purchase-form { display: grid; gap: 14px; }
.field-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.product-select { width: 100%; height: 52px; padding: 0 15px; border: 1px solid #cadbd5; border-radius: 13px; color: var(--ink); background: var(--white); }
.quantity-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quantity-control { display: grid; grid-template-columns: 38px 46px 38px; height: 38px; border: 1px solid #cadbd5; border-radius: 10px; overflow: hidden; }
.quantity-control button { border: 0; background: var(--pale); color: var(--deep); cursor: pointer; font-size: 20px; }
.quantity-control input { min-width: 0; width: 100%; border: 0; text-align: center; color: var(--ink); font-weight: 800; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.total-row span { color: var(--muted); font-size: 14px; }
.total-row strong { color: var(--deep); font-size: 28px; }
.purchase-actions { display: grid; grid-template-columns: 1fr 1.65fr; gap: 12px; }
.purchase-button { min-height: 58px; border: 1px solid var(--mint); border-radius: 15px; background: var(--white); color: var(--deep); cursor: pointer; font-weight: 900; font-size: 16px; }
.purchase-button.primary { border-color: var(--deep); background: var(--deep); color: var(--white); }
.shipping-box { margin-top: 20px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.shipping-box div { display: flex; gap: 18px; }
.shipping-box b { min-width: 72px; color: var(--ink); }
.product-tabs { margin-top: 72px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.product-tabs a { padding: 20px; text-align: center; color: var(--muted); font-weight: 800; }
.product-tabs a:first-child { color: var(--deep); border-bottom: 3px solid var(--mint); }
.detail-content { max-width: 980px; margin: 64px auto 0; text-align: center; }
.detail-content .detail-eyebrow { color: var(--mint); font-size: 12px; font-weight: 900; letter-spacing: .15em; }
.detail-content h2 { margin: 14px 0 12px; font-size: clamp(31px, 3.2vw, 46px); letter-spacing: -.06em; }
.detail-content > p { margin: 0 auto 34px; max-width: 620px; color: var(--muted); line-height: 1.8; }
.detail-hero-image { min-height: 480px; border-radius: 28px; overflow: hidden; position: relative; }
.detail-hero-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.detail-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; text-align: left; }
.detail-point { padding: 26px; border-radius: 18px; background: var(--cream); }
.detail-point strong { display: block; margin-bottom: 9px; color: var(--deep); font-size: 19px; }
.detail-point span { color: var(--muted); font-size: 13px; line-height: 1.65; }

@media (max-width: 1100px) {
  .header-actions { display: none; }
  .search-form { width: min(650px, 66%); }
  .nav-inner { gap: 24px; }
  .nav-link:nth-of-type(5), .nav-link:nth-of-type(6) { display: none; }
  .hero { grid-template-columns: 52% 48%; }
  .hero-copy { padding-left: 44px; }
  .quick-circle { width: 78px; height: 78px; }
  .product-photo { height: 205px; }
}

@media (max-width: 760px) {
  .site-wrap { width: min(100% - 32px, var(--wrap)); }
  .utility { display: none; }
  .header-main { min-height: 82px; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
  .brand { font-size: 24px; }
  .brand-mark { width: 38px; height: 38px; font-size: 17px; }
  .search-form { width: 100%; height: 48px; order: 3; }
  .nav-bar { height: auto; }
  .nav-inner { flex-wrap: wrap; gap: 0; }
  .all-menu { min-width: 0; height: 52px; flex: 1; }
  .mobile-nav-toggle { width: 52px; height: 52px; display: block; border: 0; background: var(--ink); color: var(--white); font-size: 20px; cursor: pointer; }
  .nav-link, .nav-note { display: none; width: 100%; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--white); }
  .nav-inner.is-open .nav-link, .nav-inner.is-open .nav-note { display: block; }
  .hero-area { padding-top: 18px; }
  .hero { grid-template-columns: 1fr; min-height: auto; border-radius: 24px; }
  .hero-copy { padding: 34px 28px 30px; }
  .hero h1 { font-size: 39px; }
  .hero p { font-size: 15px; }
  .hero-visual { min-height: 250px; }
  .hero-image { inset: 0 18px 0 18px; border-radius: 120px 22px 0 0; }
  .price-seal { width: 92px; height: 92px; left: 8px; bottom: 18px; }
  .price-seal strong { font-size: 24px; }
  .hero-dots { display: none; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); padding-inline: 0; gap: 22px 8px; }
  .quick-circle { width: 66px; height: 66px; }
  .quick-item { font-size: 12px; }
  .promo-strip { min-height: 0; padding: 22px; grid-template-columns: 1fr; }
  .promo-text { display: block; }
  .promo-text b, .promo-text span { display: block; }
  .promo-text b { font-size: 19px; margin-bottom: 7px; }
  .coupon { justify-self: start; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-title h2 { font-size: 27px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .product-photo { height: 47vw; max-height: 230px; border-radius: 16px; }
  .product-name { font-size: 14px; }
  .rate, .price { font-size: 18px; }
  .theme-card { height: auto; grid-template-columns: 1fr; }
  .theme-copy { padding: 38px 30px; }
  .theme-copy h2 { font-size: 30px; }
  .theme-image { height: 240px; }
  .theme-image::after { background: linear-gradient(180deg, #10342f 0%, transparent 32%); }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .product-page { padding-top: 12px; }
  .product-detail { grid-template-columns: 1fr; gap: 34px; }
  .gallery-main { border-radius: 20px; }
  .product-summary h1 { font-size: 32px; }
  .purchase-actions { grid-template-columns: 1fr; }
  .product-tabs { margin-top: 52px; }
  .product-tabs a { padding: 16px 8px; font-size: 13px; }
  .detail-content { margin-top: 48px; }
  .detail-hero-image { min-height: 330px; border-radius: 20px; }
  .detail-points { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .site-wrap { width: min(100% - 24px, var(--wrap)); }
  .hero h1 { font-size: 34px; }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .product-photo { height: 78vw; max-height: 340px; }
}
