﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');


/* Main container for the plan selection page */
.plan-selection-page {
  background-color: #f0f2f5; /* Light grey background like the screenshot */
  padding: 40px 15px;
  font-family: Arial, sans-serif;
}

  .plan-selection-page .page-title h1 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
  }

.plan-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Aligns cards to the top */
  gap: 30px; /* Space between cards */
  flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
}

.plan-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 320px;
  padding: 25px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

  .plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  /* Specific styling for the "Best Value" card */
  .plan-card.best-value {
    border: 2px solid #007bff; /* Blue border */
  }

.best-value-badge {
  background-color: #007bff;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 15px;
  position: absolute;
  top: -15px; /* Position it half-way above the card */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-name {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin: 10px 0;
}

.plan-price {
  margin: 15px 0;
  color: #333;
  font-weight: bold;
}

  .plan-price .price-symbol {
    font-size: 24px;
    vertical-align: super;
  }

  .plan-price .price-amount {
    font-size: 56px;
    line-height: 1;
  }

  .plan-price .price-term {
    display: block;
    font-size: 12px;
    color: #888;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 5px;
  }

.plan-slogan {
  font-size: 14px;
  color: #666;
  min-height: 30px; /* Ensures consistent alignment */
}

.plan-button-container {
  margin-bottom: 25px;
}

.btn-grow-now {
  display: inline-block;
  background-color: #28a745; /* Green button */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.plan-card.best-value .btn-grow-now {
  background-color: #007bff; /* Blue button for best value */
}

.btn-grow-now:hover {
  background-color: #218838; /* Darker green on hover */
  color: #fff;
}

.plan-card.best-value .btn-grow-now:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

.plan-features {
  text-align: left;
  color: #555;
}

  .plan-features .features-title {
    font-weight: bold;
    margin-bottom: 10px;
  }

  .plan-features ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
  }

    .plan-features ul li {
      margin-bottom: 8px;
      padding-left: 25px;
      position: relative;
      font-size: 14px;
    }

      /* Custom checkmark icon for the feature list */
      .plan-features ul li::before {
        content: '✔';
        color: #28a745; /* Green checkmark */
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
      }

/* Item Details CSS */

body {
  font-family: 'Inter', sans-serif;
}

.item-details-page .item-details-card {
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
}

/* --- 2. IMAGE GALLERY --- */
.item-gallery {
  flex: 0 0 300px;
}

  .item-gallery .main-image img {
    width: 100%;
    border-radius: 12px;
  }

  .item-gallery .thumbnail-strip {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }

    .item-gallery .thumbnail-strip img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      border: 2px solid transparent;
    }

      .item-gallery .thumbnail-strip img.active-thumb {
        border-color: #111827;
      }

/* --- 3. PRODUCT INFO (RIGHT SIDE) --- */
.item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 350px; /* Constrain width for a cleaner look */
}

  .item-info .product-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px 0;
  }

  .item-info .price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
  }

  .item-info .price-main {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
  }

    .item-info .price-main .currency {
      font-size: 24px;
      vertical-align: top;
    }

    .item-info .price-main .cents {
      font-size: 24px;
      vertical-align: top;
    }

  .item-info .covered-badge {
    font-size: 16px;
    font-weight: 600;
    color: #16a34a;
  }

    .item-info .covered-badge::after {
      content: '®';
      font-size: 10px;
      vertical-align: super;
    }

  /* --- 4. ATTRIBUTES & BUTTONS --- */
  /* Most custom styles are removed to let Bootstrap work */
  .item-info .attributes {
    margin-bottom: 1rem;
  }

  .item-info .add-to-cart-button-container {
    margin-bottom: 1rem;
  }

/* --- 5. UPSELL BOX --- */
.upsell-box {
  text-align: center;
  margin-top: 1.5rem;
}

  .upsell-box p {
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 0.75rem;
  }

/* --- 6. DESCRIPTION TABS --- */
.product-description-tabs {
  margin-top: 40px;
  width: 100%;
}

.tabs-nav {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background-color: #f3f4f6;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.tab-link {
  padding: 8px 20px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  color: #4b5563;
  border: none;
  background-color: transparent;
}

  .tab-link.active {
    background-color: #111827;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

.tab-content {
  display: none;
  padding: 16px 8px;
  color: #374151;
}

  .tab-content.active {
    display: block;
  }