/**
 * Store Page Styles
 *
 * Styles for the main store page including product cards,
 * category navigation, and section layouts.
 */

/* Store Hero */
.store-hero {
  background: linear-gradient(180deg, #2c3e50 0%, #304659 100%);
  padding: 140px 4% 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.store-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.store-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 300;
  line-height: 1.1;
}

.store-hero .subtitle {
  color: var(--coral);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
}

.store-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category Navigation */
.store-nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
  padding: 1rem 0;
  position: sticky;
  top: 70px;
  z-index: 100;
}

.store-nav .container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.store-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.3s var(--ease-smooth);
}

.store-nav a:hover {
  background: var(--sage-muted);
  color: var(--navy);
}

.store-nav .btn-view-cart {
  background: #75A293;
  color: white;
  margin-left: auto;
}

.store-nav .btn-view-cart:hover {
  background: #5F8A7D;
  color: white;
}

/* Category Sections */
.store-category {
  padding: 5rem 4%;
}

.store-category:nth-child(even) {
  background: var(--cream);
}

.store-category:nth-child(odd) {
  background: var(--warm-white);
}

.store-category h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 2rem;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.product-image {
  background: linear-gradient(135deg, var(--sage-muted) 0%, #e8ede8 100%);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s var(--ease-smooth);
}

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

.product-image .product-icon {
  font-size: 3.5rem;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-badge {
  display: inline-block;
  background: var(--coral);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.product-badge.masterclass {
  background: var(--navy);
}

.product-badge.book {
  background: var(--sage);
}

.product-badge.program {
  background: var(--coral);
}

.product-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-card .product-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.product-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.btn-product {
  display: inline-block;
  background: #75A293;
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
}

.btn-product:hover {
  background: #5F8A7D;
  color: white;
  transform: translateY(-2px);
}

.btn-amazon {
  background: #FF9900;
  color: #111;
}

.btn-amazon:hover {
  background: #e68a00;
  color: #111;
}

/* Books Grid - smaller cards */
.books-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.books-grid .product-image {
  min-height: 200px;
  background: linear-gradient(135deg, #f5f0e8 0%, #ebe4d8 100%);
}

.books-grid .product-image img {
  height: 200px;
  object-fit: contain;
  padding: 1rem;
}

/* Planners Section */
.planners-section {
  background: var(--sage-muted);
  padding: 3rem;
  border-radius: 20px;
  margin-bottom: 4rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.planners-section h3 {
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.planners-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.planner-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.planner-images img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s var(--ease-smooth);
}

.planner-images img:hover {
  transform: scale(1.1);
}

.planner-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
}

.planner-price-note {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Summit Cards - uses standard white card styling */
.summit-card .product-image {
  min-height: 180px;
}

.summit-card .product-image img {
  height: 180px;
  object-fit: cover;
}

/* US Shipping Label */
.product-button-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.us-shipping-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.planners-section .us-shipping-label {
  display: block;
  margin-top: 0.75rem;
}

.section-subtitle {
  text-align: center;
  margin: 4rem 0 1rem;
  font-size: 1.75rem;
  color: var(--navy);
}

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

  .store-nav .container {
    gap: 0.5rem;
  }

  .store-nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ==========================================================================
   Masterclass Page Styles
   ========================================================================== */

/* Masterclass Hero */
.masterclass-hero {
  background: linear-gradient(180deg, #2c3e50 0%, #304659 100%);
  padding: 140px 4% 4rem;
  position: relative;
}

.masterclass-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  align-items: start;
}

.masterclass-hero__back {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.masterclass-hero__back:hover {
  color: white;
}

.masterclass-hero__title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.masterclass-hero__presenter {
  color: var(--coral);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.masterclass-hero__description {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Purchase Card */
.masterclass-purchase-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: sticky;
  top: 100px;
}

.masterclass-purchase-card__price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.masterclass-purchase-card__guarantee {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.masterclass-purchase-card__button {
  display: block;
  background: #75A293;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.masterclass-purchase-card__button:hover {
  background: #5F8A7D;
  transform: translateY(-2px);
  color: white;
}

.masterclass-purchase-card__cart-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: underline;
}

.masterclass-purchase-card__cart-link:hover {
  color: var(--navy);
}

/* What You'll Learn Section */
.masterclass-learn {
  padding: 5rem 4%;
  background: var(--warm-white);
}

.masterclass-learn__container {
  max-width: 800px;
  margin: 0 auto;
}

.masterclass-learn__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 2rem;
  text-align: center;
}

.masterclass-learn__list {
  list-style: none;
  padding: 0;
}

.masterclass-learn__list li {
  position: relative;
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid var(--sand);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--charcoal);
}

.masterclass-learn__list li:last-child {
  border-bottom: none;
}

.masterclass-learn__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Masterclass CTA Section */
.masterclass-cta {
  padding: 5rem 4%;
  background: var(--navy);
  text-align: center;
}

.masterclass-cta__container {
  max-width: 600px;
  margin: 0 auto;
}

.masterclass-cta__title {
  color: white;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.masterclass-cta__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.masterclass-cta__price {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.masterclass-cta__guarantee {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.masterclass-cta__button {
  display: inline-block;
  background: #75A293;
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.masterclass-cta__button:hover {
  background: #5F8A7D;
  transform: translateY(-2px);
  color: white;
}

/* Floating Purchase Bar */
.masterclass-floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.masterclass-floating-bar.visible {
  transform: translateY(0);
}

.masterclass-floating-bar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.masterclass-floating-bar__info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.masterclass-floating-bar__title {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

.masterclass-floating-bar__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.masterclass-floating-bar__button {
  background: #75A293;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.masterclass-floating-bar__button:hover {
  background: #5F8A7D;
  transform: translateY(-2px);
  color: white;
}

/* Responsive */
@media (max-width: 900px) {
  .masterclass-hero__container {
    grid-template-columns: 1fr;
  }

  .masterclass-purchase-card {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .masterclass-floating-bar__container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .masterclass-floating-bar__info {
    justify-content: center;
    gap: 1rem;
  }

  .masterclass-floating-bar__title {
    display: none;
  }
}
