@import url('https://fonts.googleapis.com/css2?family=Bowlby+One+SC&display=swap');

/* Global reset and layout fixes */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #DCCBB0;
  font-family: 'Bowlby One SC', sans-serif;
  color: #1F1C1A;
}

/* Header & Logo */
header {
  text-align: center;
  padding: 80px 20px 0;
  background-color: #DCCBB0;
}

.logo {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 30px;
}

/* Navigation Wrapper (for control if needed) */
.nav-wrapper {
  width: 100%;
}

/* Navigation Bar */
nav {
  background: #DCCBB0;
  transition: background 0.3s ease;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  left: 0;
  right: 0;
}

nav:hover {
  background: #8C3A1C; /* Burnt orange on hover */
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 10px 0;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

nav a {
  color: #1F1C1A;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

nav:hover a {
  color: #DCCBB0;
}

nav a:hover {
  background: #DCCBB0;
  color: #1F1C1A;
}

/* Hero Section */
.hero {
  background: #8C3A1C;
  color: #DCCBB0;
  text-align: center;
  padding: 80px 20px;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 24px;
  margin-top: 0;
}

/* Shop Button */
button {
  background: #DCCBB0;
  color: #1F1C1A;
  font-size: 20px;
  font-weight: 900;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  margin-top: 24px;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Products Grid */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 50px 20px;
  gap: 40px;
  background: #F1E6D4;
}

.product img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #1F1C1A;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  background: #F1E6D4;
  color: #1F1C1A;
  font-size: 18px;
}

#size-select {
  font-size: 18px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 2px solid #1F1C1A;
  background-color: #fff;
  color: #1F1C1A;
  max-width: 220px;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 16px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100%;
  background: #F3E3C3;
  color: #1F1C1A;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  z-index: 999;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-content {
  padding: 24px;
  overflow-y: auto;
  height: 100%;
}

.close-cart {
  background: transparent;
  border: none;
  font-size: 24px;
  float: right;
  cursor: pointer;
  margin-bottom: 20px;
}

.cart-summary {
  margin-top: 20px;
  font-size: 18px;
}

.checkout-btn {
  background: #8C3A1C;
  color: #F3E3C3;
  border: none;
  padding: 14px 20px;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
}

/* products page go back button */
.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 30px 40px 0;
  width: 44px;
  height: 44px;
  background: #F3E3C3;
  color: #1F1C1A;
  text-decoration: none;
  border: 2px solid #1F1C1A;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}

.back-btn:hover {
  background: #8C3A1C;
  color: #F3E3C3;
}

.back-btn svg {
  display: block;
}




