/* Product Detail Page Enhancements - Priority 1 */

/* Base Product Detail Styles */
.container {
  max-width: 1400px;
}

.breadcrumb {
  background: transparent;
  padding: 12px 0;
  margin-bottom: 20px;
}

.breadcrumb-item {
  font-size: 14px;
}

.breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #2563eb;
}

.breadcrumb-item.active {
  color: #0f172a;
}

.product-header {
  margin-bottom: 24px;
}

.product-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

/* Product Meta Info */
.product-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f1f5f9;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.meta-badge i {
  font-size: 12px;
  color: #2563eb;
}

.product-meta .badge {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.current-price {
  font-size: 32px;
  font-weight: 800;
  color: #2563eb;
}

.negotiable-badge {
  padding: 6px 12px;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.product-description {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-description h5 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-description h5 i {
  color: #2563eb;
}

.description-text {
  color: #475569;
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

/* Product Layout */
.product-detail-container {
  padding: 40px 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-right {
  position: sticky;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
  
  .product-right {
    position: relative;
    top: 0;
  }
}

/* Gallery Section */
.gallery-section {
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Description Section */
.description-section {
  background: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.description-section h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.description-section h2 i {
  color: #2563eb;
}

.description-content {
  color: #475569;
  line-height: 1.8;
  font-size: 15px;
}

/* Specs Section */
.specs-section {
  background: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.specs-section h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-section h2 i {
  color: #2563eb;
}

/* Product Header & Info */
.product-header {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.product-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Specifications Section */
.specifications-section {
  background: white;
  padding: 28px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.specifications-section h5 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.specifications-section h5 i {
  color: #2563eb;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  background: #f8fafc;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.spec-item:hover {
  background: #eff6ff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.spec-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 15px;
  color: #0f172a;
  font-weight: 700;
}

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

/* Seller Card - Matching Frontend Design */
.seller-info-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.seller-info-card h4 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seller-info-card h4 i {
  color: #2563eb;
}

.seller-profile-header {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
  align-items: flex-start;
}

.seller-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #e2e8f0;
  flex-shrink: 0;
}

.seller-name-section {
  flex: 1;
}

.seller-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  color: #10b981;
  font-size: 16px;
}

.seller-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.seller-rating i {
  color: #f59e0b;
  font-size: 14px;
}

.seller-rating span {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
}

.seller-member {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.seller-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
}

.stat-value {
  font-size: 20px;
  font-weight: 900;
  color: #2563eb;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: block;
}

.btn-view-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.btn-view-profile:hover {
  background: #2563eb;
  color: white;
}

.btn-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: white;
  color: #ef4444;
  border: 2px solid #ef4444;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.btn-report:hover {
  background: #ef4444;
  color: white;
}

.seller-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seller-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  font-size: 15px;
}

.seller-item i {
  width: 20px;
  color: #2563eb;
}

.quantity-selector {
  margin-bottom: 20px;
}

.quantity-selector label {
  font-weight: 700;
  color: #0f172a;
  font-size: 14px;
  display: block;
  margin-bottom: 12px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  width: fit-content;
  overflow: hidden;
}

.quantity-minus,
.quantity-plus {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #2563eb;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.quantity-minus:hover,
.quantity-plus:hover {
  background: #2563eb;
  color: white;
}

.quantity-minus:active,
.quantity-plus:active {
  transform: scale(0.95);
}

.quantity-input {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 2px solid #e2e8f0;
  border-right: 2px solid #e2e8f0;
  background: white;
  padding: 0;
  height: 44px;
  font-weight: 800;
  color: #0f172a;
  font-size: 16px;
  outline: none;
}

.quantity-input:focus {
  background: #eff6ff;
}

/* Enhanced Action Buttons */
.action-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.action-buttons .btn {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
}

.btn-add-to-cart {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: none !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.btn-contact {
  font-weight: 700;
  padding: 16px !important;
  border-radius: 10px;
  background: #10b981;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: all 0.3s ease;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  background: #059669;
}

.btn-outline-primary {
  border: 2px solid #2563eb !important;
  color: #2563eb !important;
  background: white !important;
  font-weight: 700;
  padding: 16px !important;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #2563eb !important;
  color: white !important;
  transform: translateY(-1px);
}

.btn-outline-danger {
  border: 2px solid #e2e8f0 !important;
  transition: all 0.3s ease;
  border-radius: 10px;
  background: white !important;
  color: #ef4444 !important;
}

.btn-outline-danger:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: white !important;
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border: 2px solid #e2e8f0 !important;
  color: #64748b !important;
  background: white !important;
  transition: all 0.3s ease;
  border-radius: 10px;
}

.btn-outline-secondary:hover {
  background: #64748b !important;
  border-color: #64748b !important;
  color: white !important;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-danger {
  border: 2px solid #ef4444;
  color: #ef4444;
  background: transparent;
}

.btn-outline-danger:hover {
  background: #ef4444;
  color: white;
}

.btn-outline-secondary {
  border: 2px solid #e2e8f0;
  color: #64748b;
  background: transparent;
}

.btn-outline-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-success {
  background: #10b981;
  border: none;
  color: white;
}

.btn-success:hover {
  background: #059669;
}

/* Main Gallery Buttons */
.main-image {
  position: relative;
}

.btn-favorite,
.btn-share {
  position: absolute;
  top: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.btn-favorite {
  left: 16px;
}

.btn-share {
  left: 70px;
}

.btn-favorite i {
  color: #ef4444;
  font-size: 20px;
}

.btn-share i {
  color: #2563eb;
  font-size: 18px;
}

.btn-favorite:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.btn-favorite:hover i {
  color: white;
}

.btn-share:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.btn-share:hover i {
  color: white;
}

/* Related Products */
.related-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

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

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

.btn-favorite-small {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.related-card:hover .btn-favorite-small {
  opacity: 1;
  transform: translateY(0);
}

.btn-favorite-small i {
  color: #ef4444;
  font-size: 16px;
}

.btn-favorite-small:hover {
  background: #ef4444;
  transform: scale(1.1) translateY(0);
}

.btn-favorite-small:hover i {
  color: white;
}

/* Safety Tips Box */
.safety-tips-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid #2563eb;
  border-radius: 12px;
  padding: 20px;
}

.safety-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2563eb;
  font-size: 16px;
  margin-bottom: 12px;
}

.safety-header i {
  font-size: 24px;
}

.safety-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #0f172a;
  font-size: 14px;
}

.safety-list li i {
  color: #10b981;
  font-size: 16px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
  display: block;
  width: 100%;
  height: 100%;
}

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

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  overflow: hidden;
  background: #f8fafc;
}

.product-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f59e0b;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 10;
}

.product-card-body {
  padding: 16px;
}

.product-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-card-price {
  font-size: 20px;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 12px;
}

.product-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #64748b;
}

.product-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Enhanced Image Gallery with Zoom */
.product-gallery-enhanced {
  position: relative;
  margin-bottom: 30px;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
}

.main-image-container.zoomed {
  cursor: zoom-out;
}

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

.main-image-container:hover .main-image:not(.zoomed) {
  transform: scale(1.05);
}

.main-image.zoomed {
  transform: scale(2);
  cursor: move;
}

.zoom-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-image-container:hover .zoom-indicator {
  opacity: 1;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.gallery-nav-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  color: #2563eb;
  font-size: 20px;
}

.gallery-nav-btn:hover {
  background: #2563eb;
  color: white;
  transform: scale(1.1);
}

.gallery-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  margin-top: 16px;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
}

.thumbnail-item {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.thumbnail-item:hover {
  border-color: #93c5fd;
}

.thumbnail-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullscreen-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* Lightbox for Fullscreen */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Sticky Add to Cart */
.sticky-cart-bar {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 16px 0;
  z-index: 999;
  transition: bottom 0.3s ease;
}

.sticky-cart-bar.visible {
  bottom: 0;
}

.sticky-cart-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-product-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.sticky-product-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.sticky-product-price {
  font-size: 20px;
  font-weight: 800;
  color: #2563eb;
}

.sticky-cart-actions {
  display: flex;
  gap: 12px;
}

.btn-add-to-cart-sticky {
  padding: 14px 32px;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-add-to-cart-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Delivery & Return Info */
.delivery-return-section {
  background: #f8fafc;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.info-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}

.info-tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.info-tab.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.info-tab:hover:not(.active) {
  color: #0f172a;
}

.info-content {
  display: none;
}

.info-content.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delivery-options {
  display: grid;
  gap: 16px;
}

.delivery-option {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.delivery-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 20px;
  flex-shrink: 0;
}

.delivery-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.delivery-details p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.return-policy {
  display: grid;
  gap: 16px;
}

.policy-item {
  display: flex;
  align-items: start;
  gap: 12px;
}

.policy-check {
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.policy-text {
  font-size: 15px;
  color: #0f172a;
  line-height: 1.6;
}

/* Similar Products Grid */
.similar-products-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e2e8f0;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
}

.similar-product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  height: 100%;
  display: block;
}

.similar-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: #2563eb;
}

.similar-product-image {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  overflow: hidden;
  background: #f8fafc;
}

.similar-product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.similar-product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.similar-product-body {
  padding: 20px;
}

.similar-product-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.similar-product-price {
  font-size: 22px;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 12px;
}

.similar-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item i {
  font-size: 12px;
}

@media (max-width: 768px) {
  .similar-products-section {
    margin-top: 40px;
    padding-top: 30px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .similar-product-body {
    padding: 16px;
  }
  
  .similar-product-title {
    font-size: 15px;
  }
  
  .similar-product-price {
    font-size: 20px;
  }
}

/* Recently Viewed */
.recently-viewed-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}

/* Mobile Swipeable Gallery */
@media (max-width: 768px) {
  .main-image-container {
    height: 350px;
    touch-action: pan-y;
  }

  .gallery-nav {
    display: none;
  }

  .swipe-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    pointer-events: none;
  }

  .swipe-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
  }

  .swipe-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
  }

  .sticky-cart-bar {
    padding: 12px 0;
  }

  .sticky-product-info {
    gap: 12px;
  }

  .sticky-product-image {
    width: 50px;
    height: 50px;
  }

  .sticky-product-details h4 {
    font-size: 14px;
  }

  .sticky-product-price {
    font-size: 16px;
  }

  .btn-add-to-cart-sticky {
    padding: 12px 24px;
    font-size: 14px;
  }

  .info-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .info-tab {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  .carousel-item {
    flex: 0 0 48% !important;
    max-width: 48% !important;
  }

  .delivery-option {
    padding: 12px;
  }

  .delivery-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .main-image-container {
    height: 280px;
    border-radius: 12px;
  }

  .carousel-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .sticky-cart-content {
    flex-direction: column;
    gap: 12px;
  }

  .sticky-product-info,
  .sticky-cart-actions {
    width: 100%;
  }

  .btn-add-to-cart-sticky {
    width: 100%;
    justify-content: center;
  }
}
