
/* ========================================
   MORROW — COASTAL BLUE
   Modern Lifestyle E-commerce Template
======================================== */

:root {
  --ice: #EFF5F7;
  --powder: #A9C7D8;
  --ocean: #39758A;
  --navy: #183C50;
  --white: #FFFFFF;
  --ink: #26343B;
  --muted: #71828A;
  --line: #DCE6EA;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.container {
  width: min(1180px, 90%);
  margin: 0 auto;
}

.eyebrow {
  display: block;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
}

/* ANNOUNCEMENT BAR */

.announcement-bar {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 9px 15px;
  font-size: 13px;
  letter-spacing: 0.7px;
}

/* HEADER */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--navy);
  line-height: 1;
}

.logo span {
  color: var(--ocean);
}

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

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s ease;
}

.main-nav a:hover,
.header-actions button:hover {
  color: var(--ocean);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions button {
  border: none;
  background: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.bag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy);
  margin-left: 4px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
}

/* HERO */

.hero {
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ice);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(239,245,247,0.98) 0%, rgba(239,245,247,0.88) 38%, rgba(239,245,247,0.12) 100%),
    url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=2000&q=90");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 35px;
  padding-bottom: 55px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 88px);
  line-height: 1.08;
  font-weight: 500;
  color: var(--navy);
  margin: 22px 0;
  max-width: 650px;
}

.hero h1 em,
.section-heading h2 em,
.editorial-content h2 em,
.about-content h2 em,
.newsletter-content h2 em,
.contact-inner h2 em {
  color: var(--ocean);
  font-weight: 400;
}

.hero-content > p {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.9;
  color: #52656F;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 0 29px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  background: var(--ocean);
  transform: translateY(-2px);
}

.hero-caption {
  position: absolute;
  right: 5%;
  bottom: 25px;
  z-index: 2;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

/* INTRO STRIP */

.intro-strip {
  background: var(--navy);
  color: var(--white);
  padding: 22px 0;
}

.intro-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.intro-strip-inner span:not(.strip-dot) {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.strip-dot {
  color: var(--powder);
  font-size: 17px;
}

/* SECTION HEADINGS */

.categories-section,
.shop-section {
  padding: 105px 0;
}

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

.section-heading h2,
.about-content h2 {
  font-family: var(--serif);
  font-size: clamp(39px, 5vw, 57px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--navy);
  margin-top: 13px;
}

.section-heading > p {
  max-width: 340px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  padding-bottom: 7px;
}

/* CATEGORIES */

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

.category-card {
  display: block;
  overflow: hidden;
}

.category-image {
  height: 390px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-card:hover .category-image {
  transform: scale(1.04);
}

.category-fashion {
  background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=900&q=85");
}

.category-accessories {
  background-image: url("https://images.unsplash.com/photo-1548036328-c9fa89d128fa?auto=format&fit=crop&w=900&q=85");
}

.category-lifestyle {
  background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=900&q=85");
}

.category-info {
  padding: 19px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.category-info h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  color: var(--navy);
}

.category-info span {
  color: var(--ocean);
  font-size: 12px;
  font-weight: 700;
}

/* SHOP SECTION */

.shop-section {
  background: var(--ice);
}

.shop-heading {
  margin-bottom: 35px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.filter-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 17px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.filter-button:hover,
.filter-button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.product-search input {
  width: 215px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--white);
  outline: none;
  color: var(--navy);
  font-size: 13px;
}

.product-search input:focus {
  border-color: var(--ocean);
}

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

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

.product-image {
  position: relative;
  height: 390px;
  background-color: #DCE8EC;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.product-one {
  background-image: url("https://images.unsplash.com/photo-1598033129183-c4f50c736f10?auto=format&fit=crop&w=900&q=85");
}

.product-two {
  background-image: url("https://images.unsplash.com/photo-1584917865442-de89df76afd3?auto=format&fit=crop&w=900&q=85");
}

.product-three {
  background-image: url("https://images.unsplash.com/photo-1578500494198-246f612d3b3d?auto=format&fit=crop&w=900&q=85");
}

.product-four {
  background-image: url("https://images.unsplash.com/photo-1551488831-00ddcb6c6bd3?auto=format&fit=crop&w=900&q=85");
}

.product-five {
  background-image: url("https://images.unsplash.com/photo-1511499767150-a48a237f0083?auto=format&fit=crop&w=900&q=85");
}

.product-six {
  background-image: url("https://images.unsplash.com/photo-1603006905003-be475563bc59?auto=format&fit=crop&w=900&q=85");
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  background: var(--white);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.quick-add {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 25px;
  line-height: 1;
  transition: all 0.25s ease;
}

.quick-add:hover {
  background: var(--navy);
  color: var(--white);
  transform: rotate(90deg);
}

.product-info {
  padding-top: 17px;
}

.product-category {
  color: var(--ocean);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.product-info h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  margin: 5px 0;
}

.product-price {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.product-price del {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  margin-left: 7px;
}

.product-message {
  min-height: 25px;
  color: var(--ocean);
  font-size: 13px;
  margin-top: 20px;
}

.shop-bottom {
  text-align: center;
  margin-top: 35px;
}

.button-outline {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

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

/* EDITORIAL FEATURE */

.editorial-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 590px;
  background: var(--navy);
}

.editorial-image {
  background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1300&q=90");
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.editorial-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 75px 12%;
  color: var(--white);
}

.editorial-content .eyebrow {
  color: var(--powder);
}

.editorial-content h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.12;
  margin: 23px 0;
}

.editorial-content h2 em {
  color: var(--powder);
}

.editorial-content p {
  max-width: 390px;
  color: #D7E4E9;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

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

.button-light:hover {
  background: var(--powder);
  transform: translateY(-2px);
}

/* ABOUT */

.about-section {
  padding: 115px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 95px;
}

.about-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.about-image {
  width: 100%;
  height: 430px;
  background-image: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1000&q=85");
  background-size: cover;
  background-position: center;
}

.about-caption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.about-content h2 {
  margin: 20px 0 25px;
}

.about-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 18px;
  max-width: 500px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
  color: var(--ocean);
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid var(--powder);
  padding-bottom: 7px;
}

/* NEWSLETTER */

.newsletter-section {
  background: var(--ice);
  padding: 95px 0;
  text-align: center;
}

.newsletter-content h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 57px);
  font-weight: 500;
  color: var(--navy);
  margin: 14px 0;
}

.newsletter-content h2 em {
  color: var(--ocean);
}

.newsletter-content > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  width: min(500px, 100%);
  margin: 0 auto;
  border-bottom: 1px solid var(--navy);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 15px 5px;
  color: var(--navy);
  font-size: 14px;
}

.newsletter-form button {
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
}

.newsletter-form button:hover {
  color: var(--ocean);
}

.newsletter-message {
  margin-top: 15px;
  color: var(--ocean);
  font-size: 13px;
}

/* CONTACT */

.contact-section {
  padding: 90px 0;
  background: var(--white);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-inner h2 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(48px, 5vw, 65px);
  line-height: 1.15;
  font-weight: 500;
  margin-top: 15px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  max-width: 370px;
}

.contact-details p {
  color: var(--muted);
  font-size: 15px;
}

.contact-details a {
  color: var(--ocean);
  font-size: 20px;
  font-weight: 600;
}

.contact-details span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.2px;
}

/* FOOTER */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 65px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 55px;
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand .logo span {
  color: var(--powder);
}

.footer-brand p {
  color: #C4D6DF;
  font-size: 13px;
  margin-top: 17px;
  max-width: 240px;
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-links > span,
.footer-social > span {
  color: var(--powder);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 7px;
}

.footer-links a,
.footer-social a {
  color: #DCE7EC;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--powder);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.footer-bottom p {
  color: #C4D6DF;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* BAG NOTICE */

.bag-notice {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 15px 22px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.bag-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */

@media (max-width: 1000px) {

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .header-inner {
    gap: 18px;
  }

  .hero {
    min-height: 590px;
  }

  .category-image {
    height: 310px;
  }

  .product-image {
    height: 320px;
  }

  .about-grid {
    gap: 55px;
  }

  .footer-main {
    gap: 25px;
  }
}

/* MOBILE */

@media (max-width: 700px) {

  .container {
    width: 90%;
  }

  .announcement-bar {
    font-size: 11px;
    padding: 8px 10px;
  }

  .header-inner {
    min-height: 75px;
    gap: 12px;
  }

  .logo {
    font-size: 27px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 25px;
    padding: 5px 0;
  }

  .menu-toggle span {
    width: 23px;
    height: 2px;
    background: var(--navy);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 20px 5%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

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

  .main-nav a {
    font-size: 15px;
  }

  .header-actions {
    gap: 13px;
  }

  .header-actions button {
    font-size: 12px;
  }

  .bag-count {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .hero {
    min-height: 610px;
    align-items: flex-end;
  }

  .hero-image {
    background-image:
      linear-gradient(0deg, rgba(239,245,247,0.98) 0%, rgba(239,245,247,0.88) 42%, rgba(239,245,247,0.05) 100%),
      url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=1100&q=85");
    background-position: center top;
  }

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

  .hero h1 {
    font-size: 49px;
    margin: 14px 0;
  }

  .hero-content > p {
    font-size: 15px;
    max-width: 360px;
    margin-bottom: 22px;
  }

  .hero-caption {
    display: none;
  }

  .button {
    min-height: 49px;
    padding: 0 21px;
    font-size: 12px;
  }

  .intro-strip {
    padding: 18px 0;
  }

  .intro-strip-inner {
    justify-content: center;
    gap: 10px 15px;
  }

  .intro-strip-inner span:not(.strip-dot) {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .categories-section,
  .shop-section {
    padding: 75px 0;
  }

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

  .section-heading h2,
  .about-content h2 {
    font-size: 40px;
  }

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

  .category-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .category-image {
    height: 390px;
  }

  .category-info h3 {
    font-size: 24px;
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .filter-buttons {
    gap: 8px;
  }

  .filter-button {
    padding: 9px 12px;
    font-size: 11px;
  }

  .product-search,
  .product-search input {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 13px;
  }

  .product-image {
    height: 250px;
  }

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

  .product-category {
    font-size: 9px;
  }

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

  .product-badge {
    top: 9px;
    left: 9px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .quick-add {
    width: 35px;
    height: 35px;
    right: 9px;
    bottom: 9px;
    font-size: 21px;
  }

  .editorial-section {
    grid-template-columns: 1fr;
  }

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

  .editorial-content {
    padding: 65px 7%;
  }

  .editorial-content h2 {
    font-size: 55px;
  }

  .about-section {
    padding: 80px 0;
  }

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

  .about-image {
    height: 350px;
  }

  .about-content h2 {
    font-size: 39px;
  }

  .about-content > p {
    font-size: 14px;
  }

  .newsletter-section {
    padding: 75px 0;
  }

  .newsletter-content h2 {
    font-size: 43px;
  }

  .newsletter-content > p {
    font-size: 14px;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    font-size: 12px;
  }

  .contact-section {
    padding: 75px 0;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }

  .contact-inner h2 {
    font-size: 52px;
  }

  .contact-details a {
    font-size: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 25px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-bottom p {
    font-size: 10px;
  }

  .bag-notice {
    right: 15px;
    bottom: 15px;
    left: 15px;
    text-align: center;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {

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

  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding-top: 260px;
  }

  .product-image {
    height: 205px;
  }

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

  .category-image {
    height: 310px;
  }

  .editorial-content h2 {
    font-size: 48px;
  }

  .contact-inner h2 {
    font-size: 46px;
  }
}
