/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #FFFFFF;
  --color-pale: #F4F8FA;
  --color-sky: #7FA7C4;
  --color-sky-dark: #5E8AAE;
  --color-navy: #16233F;
  --color-navy-light: #1E2E52;
  --color-text: #23262B;
  --color-text-muted: #767C85;
  --color-border: #E4E8EC;
  --color-placeholder: #000000;
  --font-base: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px;
}

.section-header {
  margin-bottom: 32px;
  text-align: center;
}

.section-header h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 1px;
}

.link-more {
  font-size: 13px;
  color: var(--color-text-muted);
  display: inline-block;
}

/* ===== Image Placeholder (pure black) ===== */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A8F96;
  font-size: 12px;
  overflow: hidden;
}

.img-placeholder::before {
  content: attr(data-label);
}

/* ===== Announcement Bar ===== */
.announcement-bar {
  background: var(--color-sky);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: 1px;
}

/* ===== Header ===== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--color-navy);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 46% 54%;
  background: var(--color-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  font-size: 20px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  margin: 0 auto;
}

.header-icons {
  display: flex;
  gap: 18px;
}

.icon-btn {
  font-size: 16px;
  color: var(--color-text);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: clamp(440px, 32vw, 620px);
  overflow: hidden;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-text {
  position: absolute;
  left: 60px;
  bottom: 60px;
  max-width: 460px;
  color: #fff;
}

.hero-eyebrow {
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.hero-subtitle {
  font-size: 14px;
  margin-bottom: 28px;
}

/* ===== Buttons ===== */
.btn {
  padding: 14px 32px;
  font-size: 13px;
  letter-spacing: 2px;
  border-radius: 2px;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn-navy {
  background: var(--color-navy);
  color: #fff;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* ===== Category Strip ===== */
.category-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--color-border);
}

.category-card {
  position: relative;
  height: 260px;
  display: block;
  overflow: hidden;
}

.category-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-card .img-placeholder {
  height: 100%;
}

.category-card-text {
  position: absolute;
  top: 24px;
  left: 24px;
  color: #fff;
}

.category-card-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card-text p {
  font-size: 12px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.category-card-text .link-more {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  gap: 24px;
}

.product-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-media {
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-pale);
}

.product-grid-4 .product-media {
  aspect-ratio: 453 / 512;
}

.product-grid-6 .product-media {
  aspect-ratio: 4 / 5;
}

.product-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-media .img-placeholder {
  aspect-ratio: 3 / 4;
  height: auto;
}

.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.product-price {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.swatches {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-block;
}

.swatch-cream { background: #F1E9DE; }
.swatch-tan { background: #C9A876; }
.swatch-blue { background: var(--color-sky); }
.swatch-white { background: #FFFFFF; }
.swatch-coral { background: #E08B7D; }

/* ===== Lookbook ===== */
.lookbook {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.lookbook-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}

.lookbook-image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.lookbook-list {
  display: flex;
  flex-direction: column;
}

.lookbook-heading {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 20px;
}

.lookbook-items {
  flex: 1;
}

.lookbook-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.lookbook-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 8px;
  object-fit: cover;
  object-position: center top;
}

.lookbook-item-info {
  flex: 1;
}

.lookbook-item-name {
  font-size: 13px;
}

.lookbook-item-price {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-right: 12px;
}

.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: inline-block;
  flex-shrink: 0;
}

.radio-dot-active {
  background: var(--color-sky);
  border-color: var(--color-sky);
}

/* ===== Category Round Grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.category-round .circle {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 12px;
  border-radius: 6px;
}

.category-round-name {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.category-round .link-more {
  font-size: 12px;
}

/* ===== Craft Banner ===== */
.craft-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: center;
}

.craft-text h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 16px;
}

.craft-text p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.craft-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.craft-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* ===== Features ===== */
.features {
  background: var(--color-pale);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.feature-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===== Reviews ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.review-thumb {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 6px;
  font-size: 9px;
}

.review-body {
  flex: 1;
  min-width: 0;
}

.stars {
  color: #C9A24B;
  font-size: 13px;
  margin-bottom: 8px;
}

.review-text {
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.review-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

/* ===== Newsletter ===== */
.newsletter {
  background: var(--color-pale);
  padding: 48px 40px;
}

.newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.newsletter-text p {
  font-size: 13px;
  color: var(--color-text-muted);
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  padding: 14px 18px;
  border: 1px solid var(--color-border);
  min-width: 280px;
  font-size: 13px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-navy);
  color: #C7CEDA;
  padding: 56px 40px 24px;
}

.footer-columns {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 13px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-badge {
  font-size: 12px;
  border: 1px solid var(--color-navy-light);
  padding: 8px 12px;
  border-radius: 4px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  border-top: 1px solid var(--color-navy-light);
  padding-top: 20px;
  color: #8892A6;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-grid-4,
  .product-grid-6,
  .category-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .review-grid,
  .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lookbook,
  .craft-banner {
    grid-template-columns: minmax(0, 1fr);
  }
  .lookbook-visual {
    aspect-ratio: 512 / 315;
    min-height: 0;
  }
  .lookbook-image {
    min-height: 0;
  }
  .footer-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 14px 20px;
    gap: 14px;
  }
  .brand {
    margin-right: auto;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .brand-name {
    font-size: 16px;
    letter-spacing: 1px;
  }
  .header-icons {
    gap: 12px;
  }
  .hero {
    height: min(120vw, 520px);
  }
  .hero-image {
    object-position: 58% center;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-text {
    bottom: 36px;
  }
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .category-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-card {
    height: 240px;
  }
  .product-grid-4,
  .product-grid-6,
  .category-grid,
  .gallery-grid,
  .review-grid,
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-card {
    flex-direction: column;
  }
  .section {
    padding: 40px 20px;
  }
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .newsletter-form input {
    min-width: 0;
    flex: 1;
  }
  .newsletter {
    padding: 40px 20px;
  }
  .newsletter-form {
    width: 100%;
  }
  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-text {
    left: 24px;
    right: 24px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .brand-name {
    display: none;
  }

  .product-grid-4,
  .product-grid-6,
  .category-grid,
  .gallery-grid {
    gap: 16px 12px;
  }

  .product-name,
  .product-price {
    font-size: 13px;
  }

  .lookbook {
    gap: 24px;
  }

  .craft-images {
    gap: 10px;
  }

  .newsletter-form {
    flex-direction: column;
  }
}
