/*
Theme Name: HoneyCan Preview
Theme URI: https://example.com/honeycan
Author: HoneyCan
Author URI: https://example.com
Description: A lightweight visual WordPress theme for HoneyCan's overseas square scarf landing page.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: honeycan
*/

:root {
  --ink: #181715;
  --muted: #6b625b;
  --paper: #fffaf1;
  --white: #fffdf8;
  --clay: #c86f5d;
  --lime: #e0ee82;
  --blue: #91c4d2;
  --pink: #f1b6c6;
  --mint: #c9dfce;
  --butter: #fff3a7;
  --line: rgba(24, 23, 21, 0.14);
  --shadow: 0 28px 90px rgba(24, 23, 21, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 243, 167, 0.42), transparent 620px),
    radial-gradient(circle at 95% 8%, rgba(241, 182, 198, 0.28), transparent 330px),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 36px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.84);
  backdrop-filter: blur(18px);
}

.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 31;
  display: block;
  min-height: 36px;
  border-bottom: 1px solid rgba(24, 23, 21, 0.18);
  background: var(--lime);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 36px;
  text-align: center;
}

.brand,
.footer-brand {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a,
.product-line a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.product-line a:hover {
  color: var(--clay);
}

.header-action,
.button,
.signup-form button,
.menu-toggle {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
}

.header-action {
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 0 16px;
}

.mobile-menu {
  position: sticky;
  top: 119px;
  z-index: 29;
  display: grid;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.mobile-menu a {
  padding: 16px 18px;
  background: rgba(251, 247, 240, 0.96);
  font-weight: 900;
}

.mobile-menu[hidden] {
  display: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 119px);
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px);
}

.hero-panel {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 56px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1 {
  max-width: 790px;
  font-size: clamp(3.8rem, 7vw, 7.4rem);
  line-height: 0.88;
}

h2 {
  max-width: 940px;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.9;
}

h3 {
  font-size: 2rem;
  line-height: 0.95;
}

.hero-panel p:not(.eyebrow),
.intro-copy p,
.feature-copy p,
.pin-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-panel p:not(.eyebrow) {
  max-width: 510px;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  border: 1px solid var(--ink);
  padding: 0 22px;
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.light {
  background: rgba(255, 253, 248, 0.64);
}

.hero-image-wrap {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--pink);
  box-shadow: var(--shadow);
}

.image-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  padding: 0;
  text-align: inherit;
}

.image-button:focus-visible,
.filter-button:focus-visible,
.favorite-button:focus-visible,
.modal-close:focus-visible,
.back-to-top:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.hero-image-button {
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: 50% 28%;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  max-width: 260px;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(14px);
}

.hero-note span,
.product-kicker {
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.collection-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: var(--white);
}

.collection-rail a {
  display: grid;
  min-height: 92px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  line-height: 1;
  text-align: center;
  transition: background 160ms ease, color 160ms ease;
}

.collection-rail a:nth-child(1) {
  background: rgba(241, 182, 198, 0.28);
}

.collection-rail a:nth-child(2) {
  background: rgba(201, 223, 206, 0.52);
}

.collection-rail a:nth-child(3) {
  background: rgba(255, 243, 167, 0.7);
}

.collection-rail a:hover {
  background: var(--ink);
  color: var(--white);
}

.marquee span {
  flex: 1 0 auto;
  min-width: 220px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(66px, 9vw, 130px) clamp(18px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: center;
}

.intro-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
  align-items: end;
}

.intro-media .image-button:first-child img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 42%;
}

.intro-media .image-button:last-child img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 44%;
  transform: translateY(44px);
}

.intro-copy p {
  max-width: 590px;
}

.section-heading {
  margin-bottom: 40px;
}

.shop-note {
  max-width: 540px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.74);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0 16px;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.product-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(24, 23, 21, 0.18);
  background: rgba(255, 253, 248, 0.88);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  box-shadow: 0 18px 52px rgba(24, 23, 21, 0.11);
  transform: translateY(-2px);
}

.product-card.is-hidden {
  display: none;
}

.product-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 38px;
  border: 1px solid rgba(24, 23, 21, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 0 12px;
  backdrop-filter: blur(12px);
}

.favorite-button.is-active {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--white);
}

.product-card img,
.wear-grid img,
.feature-gallery img,
.intro-media img {
  width: 100%;
  background: var(--mint);
}

.product-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
}

.product-card.large img {
  aspect-ratio: 4 / 5;
  object-position: 50% 50%;
}

.product-info {
  display: grid;
  gap: 11px;
  padding: 18px;
}

.product-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  font-weight: 900;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.product-actions a,
.product-actions button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 12px;
}

.product-actions a {
  background: var(--ink);
  color: var(--white);
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  background: var(--white);
}

.feature-copy p {
  max-width: 620px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.spec-grid span,
.pin-tags span {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 16px;
  font-weight: 900;
}

.feature-gallery {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
  align-items: center;
}

.feature-gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 36%;
}

.feature-gallery .image-button:last-child img {
  aspect-ratio: 3 / 4;
  object-position: 50% 44%;
}

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

.wear-grid article {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.wear-grid img {
  aspect-ratio: 3 / 4;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: 50% 36%;
}

.wear-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.pinterest-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  background: linear-gradient(90deg, rgba(241, 182, 198, 0.22), rgba(145, 196, 210, 0.22));
}

.pin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: start;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(290px, 520px);
  gap: 30px;
  align-items: end;
  padding: 38px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 253, 248, 0.66);
}

.signup-form {
  display: grid;
  gap: 10px;
}

.signup-form label {
  color: rgba(255, 253, 248, 0.78);
  font-weight: 900;
}

.signup-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.signup-form input {
  min-width: 0;
  min-height: 48px;
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  font: inherit;
  padding: 0 16px;
}

.signup-form input.is-invalid {
  border-color: var(--clay);
  background: rgba(200, 111, 93, 0.16);
}

.signup-form input::placeholder {
  color: rgba(255, 253, 248, 0.5);
}

.signup-form button {
  border: 0;
  background: var(--clay);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  padding: 0 18px;
}

.signup-success {
  margin: 0;
  color: var(--white) !important;
  font-weight: 900;
}

.form-status {
  min-height: 1.4em;
  margin: 0 !important;
  color: rgba(255, 253, 248, 0.78) !important;
  font-size: 0.92rem !important;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 26px;
  background: rgba(24, 23, 21, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-modal img {
  max-height: min(78vh, 920px);
  width: min(760px, 92vw);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.image-modal p {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.modal-close {
  justify-self: end;
  width: min(760px, 92vw);
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: right;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  opacity: 0;
  padding: 0 16px;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  transform: translateY(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-action {
    display: none;
  }

  .hero,
  .intro-section,
  .feature-section,
  .pinterest-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel,
  .hero-image,
  .hero-image-wrap {
    min-height: 500px;
  }

  .wear-grid {
    grid-template-columns: 1fr;
  }

  .collection-rail {
    grid-template-columns: 1fr;
  }

  .collection-rail a {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand,
  .footer-brand {
    font-size: 1.65rem;
  }

  .header-action {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-image,
  .hero-image-wrap {
    min-height: 430px;
  }

  .hero-note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .intro-media,
  .product-grid,
  .spec-grid,
  .feature-gallery,
  .signup-form div {
    grid-template-columns: 1fr;
  }

  .intro-media img:last-child {
    transform: none;
  }

  .intro-media .image-button:last-child img {
    transform: none;
  }

  .product-card.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .section {
    padding-block: 58px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }
}
