/* Kalles Clean — clean fashion storefront preset (original layout, not ThemeForest code). */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&display=swap");

body.theme-kalles-clean {
  --kc-ink: #1a1a1a;
  --kc-mute: #6b6b6b;
  --kc-paper: #f7f4f0;
  --kc-line: #e6e0d8;
  --kc-accent: #1a1a1a;
  background: var(--kc-paper);
  color: var(--kc-ink);
  font-family: "DM Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
body.theme-kalles-clean.page-bg::before { background: var(--kc-paper); }

body.theme-kalles-clean .co-header,
body.theme-kalles-clean #mobileBar {
  display: none !important;
}

body.theme-kalles-clean #storeApp .container {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
}
body.is-storefront.theme-kalles-clean #storeApp > .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
body.theme-kalles-clean #storeApp .crumb {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 16px 0 8px;
}

.kc-hero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: min(58vh, 520px);
  margin: 0 -20px 36px;
  background: #d9cfc4;
  display: grid;
  align-items: end;
}
.kc-hero-media {
  position: absolute;
  inset: 0;
}
.kc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
}
.kc-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 6vw, 64px);
  color: #fff;
  max-width: 36rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}
.kc-hero-eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.kc-hero-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.kc-hero-sub {
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.92;
  max-width: 28rem;
}
.kc-hero-cta {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.kc-hero-cta:hover { opacity: 0.92; }

.kc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
}
.kc-section-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
}
.kc-section-head span {
  font-size: 0.78rem;
  color: var(--kc-mute);
}

#storeProductGrid.preset-kalles-clean {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 14px;
  padding-bottom: 80px !important;
}
@media (min-width: 720px) {
  #storeProductGrid.preset-kalles-clean {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 20px;
  }
}
@media (min-width: 1100px) {
  #storeProductGrid.preset-kalles-clean {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.kc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.kc-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #efeae3;
  overflow: hidden;
  border-radius: 2px;
}
.kc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.kc-card:hover .kc-card-media img { transform: scale(1.04); }
.kc-card-body {
  padding: 12px 2px 0;
  display: grid;
  gap: 4px;
}
.kc-card-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.3;
}
.kc-card-price {
  margin: 0;
  font-size: 0.82rem;
  color: var(--kc-mute);
}

body.theme-kalles-clean.theme-pdp .pdp-page,
body.theme-kalles-clean .pdp-layout {
  font-family: "DM Sans", "PingFang TC", sans-serif;
}
body.theme-kalles-clean .pdp-gallery,
body.theme-kalles-clean .product-card-media {
  border-radius: 2px;
  background: #efeae3;
}
body.theme-kalles-clean .page-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.store-card.theme-preview-kalles-clean .store-card-media {
  background: #d9cfc4;
}
