
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #ff833e;
  --dark-orange: #db6f35;
  --dark: #171717;
  --grey: #777;
  --light: #f7f7f7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: #fff;
}

/* NAVIGATION */

.top-nav {
  min-height: 75px;
  padding: 15px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #171717;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand span {
  color: var(--orange);
}

.top-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-nav nav a {
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: 0.3s;
}

.top-nav nav a:hover {
  color: var(--orange);
}

.cart-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: 11px;
  margin-left: 4px;
}

/* MAIN PRODUCT LAYOUT */

.product-container {
  max-width: 1250px;
  margin: 55px auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 65px;
  align-items: start;
}

/* IMAGE SECTION */

.section-heading {
  margin-bottom: 25px;
}

.eyebrow {
  color: var(--dark-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-heading h1 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.section-heading p:last-child {
  color: var(--grey);
  font-size: 13px;
}

.calendar-image-container {
  width: 100%;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  overflow: hidden;
}

.calendar-image-container img {
  display: block;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  border-radius: 5px;
}

.image-caption {
  text-align: center;
  color: var(--grey);
  font-size: 12px;
  margin-top: 15px;
}

/* PURCHASE SECTION */

.purchase-section {
  padding: 15px 0;
}

.purchase-section h2 {
  font-size: 27px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.product-description {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 25px;
}

.price {
  font-size: 31px;
  font-weight: 800;
  color: var(--dark-orange);
}

.price-note {
  color: #999;
  font-size: 11px;
  margin: 3px 0 28px;
}

/* OPTIONS */

.option-group {
  margin-bottom: 22px;
}

.option-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 9px;
}

.option-group select,
.option-group input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}

.option-group select:focus,
.option-group input:focus {
  border-color: var(--orange);
}

.option-group small {
  display: block;
  color: #888;
  font-size: 10px;
  margin-top: 8px;
}

/* SUBTOTAL */

.order-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 10px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.order-summary strong {
  font-size: 19px;
  color: var(--dark-orange);
}

/* ADD TO CART */

.add-cart-button {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 25px;
  transition: 0.3s;
}

.add-cart-button:hover {
  background: var(--dark-orange);
  transform: translateY(-2px);
}

.cart-message {
  min-height: 22px;
  color: #218838;
  font-size: 12px;
  margin-top: 12px;
}

/* PRODUCT FEATURES */

.product-details {
  border-top: 1px solid #eee;
  margin-top: 25px;
  padding-top: 22px;
}

.product-details h3 {
  font-size: 15px;
  margin-bottom: 15px;
}

.product-details ul {
  list-style: none;
}

.product-details li {
  font-size: 12px;
  color: #666;
  margin-bottom: 11px;
}

.product-details li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  margin-right: 10px;
}

.back-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.back-link:hover {
  color: var(--dark-orange);
}

/* MOBILE */

@media (max-width: 850px) {
  .product-container {
    grid-template-columns: 1fr;
    gap: 35px;
    margin: 35px auto;
  }

  .calendar-image-container {
    min-height: 280px;
  }

  .calendar-image-container img {
    max-height: 500px;
  }

  .section-heading h1 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .top-nav {
    flex-direction: column;
    padding: 18px 15px;
  }

  .top-nav nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-nav nav a {
    font-size: 11px;
  }

  .product-container {
    padding: 0 18px;
    margin-top: 25px;
  }

  .calendar-image-container {
    padding: 10px;
    min-height: 220px;
  }

  .purchase-section h2 {
    font-size: 23px;
  }
}

.go-to-cart-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #db6f35;
  color: #fff;
  padding: 15px 20px;
  margin-top: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
}

.go-to-cart-button:hover {
  background: #b95320;
  transform: translateY(-2px);
}

.go-to-cart-button i {
  margin-right: 8px;
}
