@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #dc3545;
  text-decoration: none;
}

.menu-icon {
  font-size: 28px;
  cursor: pointer;  color: #333;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  z-index: 1000;
  text-decoration: none;
  font-size: 32px;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Carousel */
.carousel {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  border-radius: 12px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
}

.carousel-item img {
  width: 100%;  height: 100%;
  object-fit: cover;
}

/* Product Grid */
.products-section {
  margin: 32px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f8f9fa;
}

.product-info {
  padding: 12px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;  color: #212529;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 8px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #666;
}

.stars {
  color: #ffc107;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #dc3545;
  color: #fff;
  width: 100%;
}

.btn-primary:hover {  background: #c82333;
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: #333;
  border: 1px solid #dee2e6;
  width: 100%;
}

.btn-secondary:hover {
  background: #f8f9fa;
}

.btn-load-more {
  display: block;
  margin: 32px auto;
  max-width: 300px;
}

/* Footer */
.footer {
  background: #212529;
  color: #fff;
  padding: 32px 0;
  margin-top: 48px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #dc3545;
}

.footer-contact {
  margin: 16px 0;
  font-size: 16px;
}

.footer-copyright {
  font-size: 14px;
  color: #adb5bd;
}

/* Product Detail */
.product-detail {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.product-detail-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  position: relative;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.thumbnail {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumbnail:hover {
  border-color: #dc3545;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.size-btn {
  padding: 8px 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.size-btn.active {
  background: #dc3545;
  color: #fff;
  border-color: #dc3545;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}
.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #f8f9fa;
}

.qty-value {
  font-size: 18px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,.form-textarea:focus {
  outline: none;
  border-color: #dc3545;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Order Summary */
.order-summary {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.order-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.order-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.order-item-details {
  flex: 1;
}

.order-item-name {
  font-weight: 600;
  margin-bottom: 4px;}

.order-item-info {
  font-size: 14px;
  color: #666;
}

.order-totals {
  border-top: 2px solid #dee2e6;
  padding-top: 16px;
  margin-top: 16px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.order-total {
  font-size: 18px;
  font-weight: 700;
  color: #dc3545;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-option:hover {
  border-color: #dc3545;
  background: #fff5f5;
}

.radio-option.selected {  border-color: #dc3545;
  background: #fff5f5;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.radio-content {
  flex: 1;
}

.radio-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.radio-subtitle {
  font-size: 14px;
  color: #666;
}

/* Reviews */
.reviews-section {
  margin-top: 32px;
}

.review-card {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-name {
  font-weight: 600;
}

.review-rating {
  color: #ffc107;
}
.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.review-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.review-image:hover {
  transform: scale(1.05);
}

.btn-load-reviews {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 24px;
  background: #fff;
  border: 2px solid #dc3545;
  color: #dc3545;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
}

.btn-load-reviews:hover {
  background: #dc3545;
  color: #fff;
}

/* Invoice */
.invoice-header {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.invoice-status {
  display: inline-block;  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-processing {
  background: #d1ecf1;
  color: #0c5460;
}

.invoice-section {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #212529;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-label {
  color: #666;
  font-size: 14px;
}

.info-value {
  font-weight: 600;
  text-align: right;
}

/* Bank Info */.bank-info {
  background: #f8f9fa;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #dc3545;
}

.bank-logo {
  font-size: 24px;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 8px;
}

.bank-detail {
  font-size: 14px;
  margin: 4px 0;
}

/* Success Message */
.success-message {
  background: #d4edda;
  color: #155724;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #28a745;
  font-weight: 600;
}

/* Related Products */
.related-products {
  margin-top: 48px;
}

.related-products h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel {
    height: 180px;
  }
  
  .main-image {
    height: 300px;  }
  
  .product-detail {
    padding: 16px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}