/* =========================
   SS COLLECTION LUXURY SHOE STORE
   BLACK / WHITE / GOLD
========================= */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --white: #f8f7f4;
  --gold: #c5a46d;
  --grey: #999999;
  --line: #292929;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ANNOUNCEMENT */

.announcement {
  background: var(--gold);
  color: #111;
  text-align: center;
  padding: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* HEADER */

.header {
  height: 85px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
  background: var(--black);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 29px;
  letter-spacing: 5px;
  font-weight: 600;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 38px;
}

.nav a {
  color: #c6c6c6;
  font-size: 11px;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--gold);
}

.cart-button {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 11px 18px;
  font-size: 10px;
  letter-spacing: 2px;
}

.cart-button span {
  color: var(--gold);
  margin-left: 8px;
}

.menu-button {
  display: none;
  color: white;
  background: none;
  border: none;
  font-size: 25px;
}

/* HERO */

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 65px 7%;
  gap: 45px;
}

.hero-content {
  padding: 20px 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 4px;
  margin-bottom: 25px;
  font-weight: 600;
}

.hero h1,
.story h2,
.contact h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(45px, 6vw, 78px);
  line-height: 1.08;
}

.hero-description {
  color: var(--grey);
  line-height: 1.9;
  font-size: 13px;
  max-width: 350px;
  margin: 28px 0;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  background: var(--gold);
  color: #111;
  padding: 17px 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.gold-button:hover {
  background: #dfc18b;
  transform: translateY(-3px);
}

.hero-number {
  color: #777;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 65px;
}

.hero-image {
  height: 450px;
  overflow: hidden;
  background: #1c1c1c;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.hero-image:hover img {
  transform: scale(1.04);
}

/* BRAND STRIP */

.brand-strip {
  min-height: 85px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 20px;
}

/* COLLECTION */

.section {
  padding: 110px 7%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 400;
}

.section-heading h2 span {
  color: var(--gold);
}

.section-heading > p {
  color: var(--grey);
  font-size: 12px;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  min-width: 0;
}

.product-image {
  height: 340px;
  background: #181818;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.product-card:hover .product-image img {
  transform: scale(1.07);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold);
  color: #111;
  font-size: 9px;
  padding: 8px 12px;
  letter-spacing: 1px;
}

.product-info {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 19px;
}

.product-info p {
  color: var(--grey);
  font-size: 12px;
  margin-top: 7px;
}

.product-price {
  color: var(--gold);
  font-size: 13px;
  white-space: nowrap;
}

.add-button {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1px solid #444;
  color: white;
  font-size: 10px;
  letter-spacing: 2px;
  transition: 0.3s;
}

.add-button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

/* STORY */

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: var(--dark);
}

.story-image {
  height: 460px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content h2 {
  font-size: 58px;
}

.story-content > p:not(.eyebrow) {
  color: var(--grey);
  line-height: 2;
  font-size: 13px;
  max-width: 390px;
  margin: 25px 0;
}

.text-link {
  display: inline-block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold);
}

/* CONTACT */

.contact {
  text-align: center;
}

.contact h2 {
  font-size: 60px;
}

.contact > p:not(.eyebrow) {
  color: var(--grey);
  margin: 25px 0;
  font-size: 13px;
}

.contact .gold-button {
  margin-top: 10px;
}

/* FOOTER */

.footer {
  padding: 55px 7%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer > p {
  color: var(--grey);
  font-size: 9px;
  letter-spacing: 2px;
}

.copyright {
  text-align: right;
}

/* CART DRAWER */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 19;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  z-index: 20;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 100%);
  background: #151515;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.cart-heading h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

.cart-heading button {
  background: none;
  color: white;
  border: none;
  font-size: 20px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.empty-cart {
  color: var(--grey);
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h4 {
  font-weight: 500;
  font-size: 13px;
}

.cart-item p {
  color: var(--gold);
  font-size: 12px;
  margin-top: 7px;
}

.remove-item {
  background: none;
  border: none;
  color: #aaa;
  font-size: 11px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.cart-note {
  color: var(--grey);
  font-size: 10px;
  margin-bottom: 20px;
}

.checkout-button {
  background: var(--gold);
  border: none;
  padding: 17px;
  width: 100%;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

  .header {
    height: 72px;
    padding: 0 5%;
  }

  .logo {
    font-size: 23px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    gap: 0;
    padding: 10px 6%;
    border-bottom: 1px solid var(--line);
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 6%;
    gap: 35px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-image {
    height: 350px;
  }

  .hero-number {
    margin-top: 35px;
  }

  .brand-strip {
    font-size: 8px;
  }

  .section {
    padding: 75px 6%;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .section-heading > p {
    margin-top: 15px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .product-image {
    height: 220px;
  }

  .product-info {
    display: block;
  }

  .product-info h3 {
    font-size: 17px;
  }

  .product-price {
    display: block;
    margin-top: 10px;
  }

  .story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-image {
    height: 330px;
  }

  .story-content h2,
  .contact h2 {
    font-size: 47px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    height: 300px;
  }

  .cart-button {
    padding: 9px 11px;
  }
}