@import url('../variables.css');

body{
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Use viewport height to ensure full page height */
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    max-width: 100%;
}

*::-webkit-scrollbar{
  display: none;
}

html{
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
}

/* Apply box-sizing globally */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Main content wrapper - add this to your main container */
main {
  flex: 1 0 auto; /* Allow this to grow and push footer down */
}

/* Container styles */
.container-fluid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  overflow-x: hidden; /* Prevent container overflow */
  box-sizing: border-box;
}

/* === Product View Page Styles (Mobile First) === */

/* Breadcrumb Navigation */
.breadcrumb-container {
  background-color: var(--light-bg);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: #999;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--secondary-color);
}

.breadcrumb .active {
  color: #777;
}

/* Product Details Section */
.product-details {
  padding: 30px 15px 60px;
  background-color: #fff;
}

.product-details-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

/* Product Gallery */
.product-gallery {
  flex: 1;
  max-width: 100%;
}

.product-main-image {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  background-color: #f8f9fa;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  color: #fff;
}

.product-badge-sale {
  background-color: #e74c3c;
}

.product-badge-new {
  background-color: #2ecc71;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail {
  width: calc(25% - 8px);
  height: 70px;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border-color);
  opacity: 0.7;
  transition: var(--transition);
}

.thumbnail:hover, .thumbnail.active {
  opacity: 1;
  border-color: var(--secondary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info {
  flex: 1;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 15px;
}

.product-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
  line-height: 1.3;
  flex: 1;
}

.product-title-row .product-detail-wishlist {
  margin: 0;
  flex-shrink: 0;
}

.product-id-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.product-id-tag code {
  font-size: 13px;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.product-id-tag .copy-product-id {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 2px 4px;
}

.product-id-tag .copy-product-id:hover {
  color: var(--secondary-color);
}

.back-to-store {
  display: inline-flex;
  margin-top: 12px;
  align-self: flex-start;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.product-rating {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  font-size: 14px;
}

.product-rating span {
  margin-left: 8px;
  color: #777;
}

.product-category-tag {
  font-size: 14px;
  color: #666;
}

.product-category-tag a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: var(--transition);
}

.product-category-tag a:hover {
  color: var(--secondary-color);
}

.product-price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

.current-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
}

.product-description {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #555;
}

.product-features {
  margin-bottom: 30px;
}

.product-features h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

.product-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.product-features li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 14px;
  margin-top: 4px;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.purchase-notice {
  margin: 0 0 8px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.purchase-notice i {
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.9;
}

.purchase-notice--login {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: var(--text-color, #e8e8e8);
}

.purchase-notice--owned {
  background: rgba(40, 167, 69, 0.12);
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: var(--text-color, #e8e8e8);
}

.purchase-notice--warning {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: var(--text-color, #e8e8e8);
}

.product-actions .btn {
  height: 48px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
}

/* Add to Cart Button */
.btn-primary.add-to-cart {
  background-color: var(--secondary-color);
  color: var(--dark-bg);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  padding: 0 25px;
  height: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(195, 155, 85, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary.add-to-cart i {
  margin-right: 10px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-primary.add-to-cart:hover {
  background-color: #d3ad6a; /* Slightly lighter gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(195, 155, 85, 0.35);
}

.btn-primary.add-to-cart:hover i {
  transform: scale(1.15);
}

.btn-primary.add-to-cart:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(195, 155, 85, 0.3);
}

/* Add shine effect */
.btn-primary.add-to-cart:after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary.add-to-cart:hover:after {
  opacity: 1;
}

/* Back to Store Button */
.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  padding: 0 25px;
  height: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-secondary i {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(45, 46, 46, 0.2);
}

.btn-secondary:hover i {
  transform: translateX(-3px);
}

.btn-secondary:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(45, 46, 46, 0.15);
}

/* Product Tabs */
.product-tabs {
  margin-bottom: 50px;
}

.tabs-nav {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  font-weight: 500;
  color: #777;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--secondary-color);
}

.tab-content {
  display: none;
  padding: 10px 0 30px;
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
}

.tab-content h4 {
  font-size: 16px;
  margin: 25px 0 10px;
  color: var(--primary-color);
  font-weight: 600;
}

.tab-content p {
  margin: 0 0 15px;
  color: #555;
}

.tab-content ul {
  margin: 0 0 20px;
  padding-left: 18px;
}

.tab-content li {
  margin-bottom: 8px;
}

/* Specifications Tab */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.specs-table th, .specs-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.specs-table th {
  width: 30%;
  font-weight: 600;
  color: var(--primary-color);
  background-color: #f5f5f5;
}

/* Requirements Tab */
.requirements-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.requirement-group {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid var(--border-color);
}

.requirement-group h4 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--primary-color);
}

.requirement-group ul {
  margin: 0;
  padding-left: 20px;
}

.requirement-note {
  padding: 15px;
  background-color: #f8f8f8;
  border-left: 4px solid var(--secondary-color);
  margin-top: 20px;
}

.requirement-note p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* Reviews Tab */
.reviews-summary {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.rating-overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.rating-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.rating-stars {
  color: var(--secondary-color);
  font-size: 20px;
  margin-bottom: 5px;
}

.rating-count {
  color: #777;
  font-size: 14px;
}

.rating-breakdown {
  flex: 1;
}

.rating-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rating-label {
  width: 60px;
  font-size: 14px;
  color: #555;
}

.rating-bar {
  flex: 1;
  height: 8px;
  background-color: #e1e1e1;
  border-radius: 4px;
  margin: 0 10px;
  overflow: hidden;
}

.rating-fill {
  height: 100%;
  background-color: var(--secondary-color);
  border-radius: 4px;
}

.rating-percent {
  width: 40px;
  font-size: 14px;
  color: #555;
  text-align: right;
}

.review-list {
  margin-bottom: 30px;
}

.review-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-content {
  flex: 1;
}

.review-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.review-name {
  font-weight: 600;
  color: var(--primary-color);
}

.review-rating {
  color: var(--secondary-color);
  font-size: 14px;
}

.review-date {
  color: #999;
  font-size: 12px;
  margin-left: auto;
}

.review-text p {
  margin: 0;
  line-height: 1.6;
}

.show-more-container {
  text-align: center;
}

/* Related Products */
.related-products {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.related-products h2 {
  font-size: 22px;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-align: center;
  font-weight: 600;
}

.related-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.related-product-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: #fff;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.related-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.related-product-image {
  height: 160px;
  overflow: hidden;
}

.related-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.related-product-info {
  padding: 15px;
  text-align: center;
}

.related-product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--primary-color);
}

.related-product-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.related-product-info .btn {
  width: 100%;
}

/* Product Not Found */
.product-not-found {
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.not-found-icon {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}

.product-not-found h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.product-not-found p {
  margin-bottom: 25px;
  color: #777;
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: -100px;
  right: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  padding: 15px;
  transition: all 0.3s ease;
  z-index: 10050;
  width: calc(100% - 40px);
  max-width: 320px;
  opacity: 0;
  border: 1px solid var(--border-color);
  pointer-events: none;
}

.cart-notification.active {
  bottom: 20px;
  opacity: 1;
  pointer-events: auto;
}

.cart-notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.cart-notification-content i {
  color: #2ecc71;
  font-size: 20px;
}

.cart-notification-content span {
  font-weight: 500;
}

.cart-notification-actions {
  display: flex;
  gap: 10px;
}

.cart-notification-actions .btn {
  flex: 1;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

/* === Small Tablets === */
@media (min-width: 576px) {
  .product-main-image {
    height: 350px;
  }
  
  .thumbnail {
    height: 80px;
  }
  
  .product-features li {
    width: 100%;
  }
  
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* === Medium Tablets === */
@media (min-width: 768px) {
  .product-details {
    padding: 40px 20px 70px;
  }
  
  .product-main-image {
    height: 400px;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .current-price {
    font-size: 30px;
  }
  
  .product-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .product-actions .btn {
    flex: 1 1 auto;
    height: 50px !important;
  }

  .back-to-store {
    width: 100%;
    justify-content: center;
  }
  
  .btn-secondary, .btn-primary.add-to-cart {
    height: 50px !important; /* Ensure both buttons have exactly the same height */
    line-height: 46px; /* Adjust line height to account for border */
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box; /* Make sure padding and border are included in height */
  }
  
  .product-features li {
    width: 50%;
    float: left;
  }
  
  .product-features::after {
    content: "";
    display: table;
    clear: both;
  }
  
  .review-item {
    padding: 25px 0;
  }
  
  /* Fix for pack selection box placement on desktop */
  .product-options {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
  }
  
  /* Make specific option groups fixed width */
  .option-group:not(.pack-selection) {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
    max-width: 300px;
  }
  
  /* Full width for pack selection container */
  .option-group.pack-selection {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
    order: 3; /* Place pack selection at the bottom */
  }
  
  /* Make color and quantity option groups appear side by side */
  .option-group:nth-child(1),
  .option-group:nth-child(2) {
    display: inline-flex;
    margin-right: 20px;
  }
}

/* === Large Tablets/Small Desktops === */
@media (min-width: 992px) {
  .product-details-container {
    flex-direction: row;
    gap: 40px;
  }
  
  .product-gallery {
    width: 45%;
  }
  
  .product-info {
    width: 55%;
  }
  
  .product-main-image {
    height: 450px;
  }
  
  .product-features li {
    width: 50%;
    float: left;
  }
  
  .product-features::after {
    content: "";
    display: table;
    clear: both;
  }
  
  .review-item {
    padding: 25px 0;
  }
  
  .pack-items-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .pack-selection-footer {
    grid-column: 1 / -1;
  }
}

/* === Desktops and Larger === */
@media (min-width: 1200px) {
  .product-details {
    padding: 50px 20px 80px;
  }
  
  .product-gallery {
    width: 40%;
  }
  
  .product-info {
    width: 60%;
  }
  
  .product-main-image {
    height: 500px;
  }
  
  .thumbnail {
    height: 90px;
  }
  
  .product-title {
    font-size: 32px;
  }
  
  .tabs-nav {
    justify-content: center;
  }
  
  .tab-btn {
    padding: 15px 25px;
    font-size: 16px;
  }
}

/* Product Options Styling */
.product-options {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-group label {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 14px;
}

/* Custom Select Styling */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  color: var(--text-color);
  transition: var(--transition);
}

.custom-select select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(195, 155, 85, 0.15);
}

.custom-select select option:disabled {
  color: #999;
  background-color: #f5f5f5;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--primary-color);
  transition: var(--transition);
}

.custom-select select:focus + .select-arrow {
  color: var(--secondary-color);
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  max-width: 140px;
}

.quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.quantity-btn.minus {
  border-radius: 6px 0 0 6px;
}

.quantity-btn.plus {
  border-radius: 0 6px 6px 0;
}

.quantity-btn:hover {
  background-color: var(--secondary-color);
  color: var(--dark-bg);
}

.quantity-btn:active {
  transform: scale(0.95);
}

#product-quantity {
  width: 60px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-left: 0;
  border-right: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
}

#product-quantity::-webkit-inner-spin-button, 
#product-quantity::-webkit-outer-spin-button { 
  -webkit-appearance: none;
  margin: 0;
}

#product-quantity {
  -moz-appearance: textfield;
}

/* Enhance the Add to Cart button to show selected options */
.btn-primary.add-to-cart {
  margin-top: 10px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .product-options {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .option-group {
    flex: 1;
    min-width: 200px;
  }
}

/* Focused button states */
.btn-primary.add-to-cart:focus,
.btn-secondary:focus {
  outline: none;
}

.btn-primary.add-to-cart:focus {
  box-shadow: 0 0 0 3px rgba(195, 155, 85, 0.3), 0 4px 10px rgba(195, 155, 85, 0.25);
}

.btn-secondary:focus {
  box-shadow: 0 0 0 3px rgba(45, 46, 46, 0.2);
}

/* Button transitions */
.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Override previous conflicting styles */
.product-actions .btn {
  box-sizing: border-box;
}

/* Fix alignment for Back to Store and Add to Cart buttons */
.btn-secondary {
  /* Fix padding to account for the 2px border */
  padding: 0 25px;
  line-height: 46px; /* 50px height - 2px top border - 2px bottom border */
  box-sizing: border-box;
  margin: 0;
}

.btn-primary.add-to-cart {
  padding: 0 25px;
  line-height: 50px; /* Full 50px height since there's no border */
  box-sizing: border-box;
  margin: 0;
}

@media (min-width: 768px) {
  .product-actions {
    align-items: stretch;
    gap: 15px;
  }
  
  /* Set both buttons to flex containers with centered content */
  .product-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    box-sizing: border-box;
    margin: 0;
  }
  
  /* Force the same computed height for both buttons */
  .btn-secondary, 
  .btn-primary.add-to-cart {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
  }
  
  /* Adjust line height for proper vertical centering with the icon */
  .btn-secondary i,
  .btn-primary.add-to-cart i {
    line-height: 1;
  }
}

/* Pack Selection Styling */
.pack-selection {
  margin-top: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  background-color: #f9f9f9;
}

.pack-items-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.pack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 6px;
  background-color: #fff;
  border: 1px solid #eee;
  transition: var(--transition);
}

.pack-item:hover {
  background-color: #f5f5f5;
  border-color: var(--border-color);
}

.pack-item-checkbox {
  display: flex;
  align-items: center;
  flex: 1;
}

.pack-item-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pack-item-checkbox input[type="checkbox"]:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.pack-item-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  color: #fff;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.item-name {
  font-weight: 500;
  color: var(--text-color);
}

.item-price {
  color: var(--primary-color);
  font-weight: 600;
}

.pack-item-info {
  margin-left: 10px;
  position: relative;
}

.item-info-icon {
  color: var(--accent-blue);
  cursor: pointer;
}

.item-tooltip {
  position: absolute;
  top: -5px;
  right: 25px;
  width: 200px;
  padding: 8px 10px;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-size: 12px;
  color: #666;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.item-info-icon:hover + .item-tooltip {
  opacity: 1;
  visibility: visible;
}

.pack-selection-footer {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
}

.pack-discount-note {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #28a745;
}

.pack-discount-note i {
  margin-right: 5px;
}