
/* =========================
   ZEE BEDDINGS AND MORE
   Luxury bedding website
========================= */

:root {
  --ivory: #F6F0E7;
  --beige: #D8C6AE;
  --espresso: #47392F;
  --white: #FFFFFF;
  --muted: #85786C;
  --border: #E5DCD0;
}

/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--white);
  color: var(--espresso);
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--beige);
  color: var(--espresso);
}

/* Announcement */

.announcement {
  background: var(--espresso);
  color: var(--white);
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  letter-spacing: 1.2px;
}

/* Header */

.header {
  min-height: 94px;
  padding: 18px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  line-height: 1.15;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  white-space: nowrap;
}

.logo span {
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  margin-top: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav a {
  font-size: 12px;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.65;
}

.nav .nav-contact {
  border: 1px solid var(--espresso);
  padding: 11px 19px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--espresso);
  font-size: 25px;
  cursor: pointer;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 15px 25px;
  font-size: 11px;
  letter-spacing: 0.4px;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.button-dark {
  background: var(--espresso);
  color: var(--white);
  border: 1px solid var(--espresso);
}

.button-dark:hover {
  background: #665448;
}

.button-outline {
  border: 1px solid var(--espresso);
  margin-top: 15px;
}

.button-outline:hover {
  background: var(--espresso);
  color: var(--white);
}

.button-light {
  background: var(--ivory);
  color: var(--espresso);
}

.button-light:hover {
  background: var(--white);
}

.text-link {
  font-size: 12px;
  border-bottom: 1px solid var(--beige);
  padding-bottom: 4px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 570px;
  background: var(--ivory);
}

.hero-copy {
  padding: 75px 10% 75px 13%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact h2 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  line-height: 1.17;
}

.hero h1 {
  font-size: clamp(40px, 4.5vw, 65px);
  max-width: 500px;
}

.hero h1 em {
  display: block;
  font-weight: 400;
  color: var(--muted);
}

.hero-description {
  font-size: 13px;
  color: var(--muted);
  max-width: 370px;
  margin-top: 23px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.hero-image {
  min-height: 570px;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
}

.hero-image:hover img {
  transform: scale(1.025);
}

.image-note {
  position: absolute;
  right: 25px;
  bottom: 25px;
  background: var(--white);
  padding: 18px 24px;
}

.image-note span {
  font-size: 9px;
  letter-spacing: 2px;
}

.image-note p {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  margin-top: 4px;
}

/* Benefits */

.benefits {
  padding: 28px 7%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.benefits div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 10px;
}

.benefits div + div {
  border-left: 1px solid var(--border);
}

.benefits span {
  font-size: 10px;
  color: var(--muted);
}

.benefits p {
  font-size: 11px;
}

/* General sections */

.section {
  padding: 100px 7%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  font-size: clamp(32px, 3.5vw, 46px);
}

.section-heading > p {
  max-width: 300px;
  font-size: 12px;
  color: var(--muted);
}

/* Products */

.shop {
  background: var(--white);
}

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

.product-card {
  min-width: 0;
}

.product-image {
  display: block;
  aspect-ratio: 0.88;
  overflow: hidden;
  background: var(--ivory);
}

.product-image img {
  transition: transform 0.5s ease;
}

.product-image:hover img {
  transform: scale(1.04);
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-top: 18px;
}

.product-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 400;
}

.product-info p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}

.price {
  font-size: 12px;
  white-space: nowrap;
  padding-top: 4px;
}

.product-link {
  display: inline-block;
  margin-top: 17px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}

.product-link:hover {
  border-color: var(--espresso);
}

.demo-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 11px;
}

/* About */

.about {
  background: var(--ivory);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 9%;
}

.about-image {
  height: 470px;
  overflow: hidden;
}

.about-copy {
  max-width: 440px;
}

.about-copy .eyebrow {
  margin-bottom: 18px;
}

.about-copy h2 {
  margin-bottom: 23px;
}

.about-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

/* Contact */

.contact {
  text-align: center;
  background: var(--espresso);
  color: var(--white);
  padding-top: 90px;
  padding-bottom: 90px;
}

.contact .eyebrow {
  color: var(--beige);
}

.contact h2 {
  max-width: 650px;
  margin: 0 auto;
}

.contact > p:not(.eyebrow, .contact-note) {
  max-width: 460px;
  margin: 22px auto 28px;
  color: #E4DCD4;
  font-size: 13px;
}

.contact-note {
  margin-top: 18px;
  color: #D4C5B7;
  font-size: 10px;
}

/* Footer */

.footer {
  padding: 35px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.footer .logo {
  font-size: 20px;
}

.footer > p {
  font-size: 11px;
  color: var(--muted);
}

/* Mobile */

@media (max-width: 900px) {
  .header {
    padding-left: 5%;
    padding-right: 5%;
  }

  .nav {
    gap: 18px;
  }

  .hero-copy {
    padding: 55px 8%;
  }

  .hero h1 {
    font-size: 43px;
  }

  .section {
    padding: 75px 5%;
  }

  .product-grid {
    gap: 16px;
  }

  .product-info {
    flex-direction: column;
    gap: 4px;
  }

  .about {
    gap: 6%;
  }
}

@media (max-width: 650px) {
  .announcement {
    font-size: 10px;
  }

  .header {
    min-height: 76px;
    position: relative;
  }

  .logo {
    font-size: 22px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: var(--white);
    padding: 22px 6% 28px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .nav.active {
    display: flex;
  }

  .nav .nav-contact {
    text-align: center;
  }

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

  .hero-copy {
    padding: 60px 7%;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .hero-image {
    min-height: 350px;
  }

  .benefits {
    grid-template-columns: 1fr;
    padding: 14px 7%;
  }

  .benefits div {
    justify-content: flex-start;
    padding: 13px 0;
  }

  .benefits div + div {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .section {
    padding: 65px 6%;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-heading > p {
    margin-top: 15px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .product-image {
    aspect-ratio: 1 / 0.9;
  }

  .product-info {
    flex-direction: row;
    align-items: flex-start;
  }

  .product-info h3 {
    font-size: 19px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-image {
    height: 340px;
  }

  .contact {
    padding: 65px 7%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 30px 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Bedding sizes panel */

.sizes-panel {
  background: var(--ivory);
  text-align: center;
  padding: 45px 25px;
  margin-bottom: 45px;
}

.sizes-panel .eyebrow {
  margin-bottom: 12px;
}

.sizes-panel h3 {
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
}

.sizes-description {
  max-width: 490px;
  margin: 14px auto 25px;
  color: var(--muted);
  font-size: 13px;
}

.size-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.size-list span {
  border: 1px solid var(--beige);
  background: var(--white);
  min-width: 100px;
  padding: 12px 18px;
  font-size: 12px;
}

.sizes-note {
  margin-top: 16px;
  font-size: 10px;
  color: var(--muted);
}
.duvet-select {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--espresso);
  font: inherit;
  cursor: pointer;
}

.duvet-select:focus {
  outline: 2px solid var(--beige);
  outline-offset: 2px;
}
/* Fixes for the product duvet selector */
.product-info {
  display: block;
}

.product-info > div {
  width: 100%;
}

.product-info label {
  display: block;
  margin-top: 14px;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--muted);
}

.duvet-select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--espresso);
  font: inherit;
}

.product-link {
  display: inline-block;
  margin-top: 14px;
}

.product-image img,
.about-image img,
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image {
  overflow: hidden;
}

.product-card {
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 700px) {
  .nav-links {
    gap: 14px;
  }

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

  .hero {
    gap: 28px;
  }
}

/* Ordering information */
.ordering-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 850px;
  margin: 36px auto;
  text-align: left;
}

.ordering-details h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 14px;
}

.ordering-details p {
  margin-bottom: 12px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .ordering-details {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Mobile header fix */
@media (max-width: 700px) {
  .nav {
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding: 16px 20px;
    background: #F6F0E7;
  }

  .nav .logo {
    display: block;
    color: #47392F;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 24px;
  }

  .nav .logo span {
    display: block;
    color: #85786C;
    font-family: "DM Sans", sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: block;
    color: #47392F;
    background: transparent;
    border: none;
    font-size: 25px;
    cursor: pointer;
    padding: 6px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-top: 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    color: #47392F;
    text-decoration: none;
  }
}
.product-image {
  display: none;
}
/* Improve spacing between website sections */
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Keep the main content comfortably spaced */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Give the hero/home section more breathing room */
.hero {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Add space between the collection heading and products */
.product-grid {
  margin-top: 35px;
  gap: 28px;
}

/* Separate product details */
.product-info {
  padding: 20px;
}

/* Improve spacing on smaller screens */
@media (max-width: 768px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .product-grid {
    gap: 20px;
  }
}

/* ==================================
   ZEE BEDDINGS — SECTION SPACING
   ================================== */

/* Give each main section more breathing room */
section {
  padding-top: 90px;
  padding-bottom: 90px;
}

/* Add extra space around the homepage hero */
.hero {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* Keep collection products from feeling crowded */
.product-grid {
  row-gap: 35px;
}

/* Give the footer some separation from the content */
.footer {
  margin-top: 30px;
}

/* Comfortable spacing on mobile screens */
@media (max-width: 768px) {
  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .product-grid {
    row-gap: 24px;
  }
}

/* Subtle interactions for Zee Beddings */
html {
  scroll-behavior: smooth;
}

button,
.button-dark,
.whatsapp-order {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.button-dark:hover,
.whatsapp-order:hover {
  opacity: 0.88;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Zee Beddings customer trust section */
.trust-section {
  padding: 80px 5%;
  background-color: var(--ivory, #F6F0E7);
  color: var(--espresso, #47392F);
  text-align: center;
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.trust-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted, #85786C);
  margin-bottom: 14px;
}

.trust-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0 0 18px;
}

.trust-intro {
  max-width: 600px;
  margin: 0 auto 42px;
  line-height: 1.8;
}

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

.trust-item {
  padding: 24px 16px;
  border: 1px solid var(--border, #E5DCD0);
  border-radius: 8px;
  background: var(--white, #FFFFFF);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ivory, #F6F0E7);
  font-size: 1.25rem;
}

.trust-item h3 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 10px;
}

.trust-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  color: var(--muted, #85786C);
}

@media (max-width: 800px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .trust-section {
    padding: 60px 5%;
  }
}

@media (max-width: 420px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
