/* ============================================
   PRODUCT PAGE STYLES
   ============================================ */

/* Product Section */
.ss-product-section {
  padding: 60px 0;
}

.ss-product-section .col-xl-3 {
  margin-bottom: 30px;
}

.ss-product-section .col-lg-4 {
  margin-bottom: 30px;
}

.ss-product-section .col-sm-6 {
  margin-bottom: 30px;
}

/* Responsive - Tablet */
@media (max-width: 1199px) {
  .ss-product-section {
    padding: 50px 0;
  }
  
  .ss-product-section .col-lg-4 {
    margin-bottom: 25px;
  }
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .ss-product-section {
    padding: 40px 0;
  }
  
  .ss-product-section .col-lg-4,
  .ss-product-section .col-sm-6 {
    margin-bottom: 24px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .ss-product-section {
    padding: 30px 0;
  }
  
  .ss-product-section .col-sm-6 {
    margin-bottom: 20px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .ss-product-section {
    padding: 20px 0;
  }
  
  .ss-product-section .col-sm-6 {
    margin-bottom: 20px;
  }
}
/* Product Card */
.ss-product-card-product {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}

.ss-product-card-product:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Product Image */
.ss-product-card-img-top {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 3/4;
}

.ss-product-hover-zoom-in {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ss-product-hover-zoom-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ss-product-card-product:hover .ss-product-hover-zoom-in img {
  transform: scale(1.1);
}

/* Flash/Badge */
.ss-product-product-flash {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.ss-product-product-flash span {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  animation: pulse-badge 2s infinite;
  letter-spacing: 1px;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Card Body */
.ss-product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f8 100%);
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .ss-product-card-body {
    padding: 20px;
    gap: 10px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .ss-product-card-body {
    padding: 16px;
    gap: 8px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .ss-product-card-body {
    padding: 16px;
    gap: 8px;
  }
}

/* Price Styling */
.ss-product-text-body-emphasis {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ss-product-text-body-emphasis del {
  color: #a0a0a0;
  font-size: 15px;
  font-weight: 400;
  text-decoration: line-through;
  opacity: 0.8;
  letter-spacing: 1px;
}

.ss-product-text-body-emphasis ins {
  color: #2d3436;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* Responsive - Tablet */
@media (max-width: 1199px) {
  .ss-product-text-body-emphasis del {
    font-size: 14px;
  }
  
  .ss-product-text-body-emphasis ins {
    font-size: 18px;
  }
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .ss-product-text-body-emphasis del {
    font-size: 13px;
  }
  
  .ss-product-text-body-emphasis ins {
    font-size: 17px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .ss-product-text-body-emphasis {
    gap: 8px;
  }
  
  .ss-product-text-body-emphasis del {
    font-size: 12px;
  }
  
  .ss-product-text-body-emphasis ins {
    font-size: 16px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .ss-product-text-body-emphasis del {
    font-size: 14px;
  }
  
  .ss-product-text-body-emphasis ins {
    font-size: 18px;
  }
}

/* Product Title */
.ss-product-product-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 1px;
}

.ss-product-product-title a {
  color: #2d3436;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.ss-product-product-title a:hover {
  color: #e17055;
}

/* Responsive - Tablet */
@media (max-width: 1199px) {
  .ss-product-product-title {
    font-size: 17px;
  }
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .ss-product-product-title {
    font-size: 16px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .ss-product-product-title {
    font-size: 15px;
    line-height: 1.3;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .ss-product-product-title {
    font-size: 18px;
  }
}

/* Hover Overlay Effect */
.ss-product-card-img-top::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ss-product-card-product:hover .ss-product-card-img-top::after {
  opacity: 1;
}

/* Quick Action Button (appears on hover) */
.quick-view-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #ffffff;
  color: #2d3436;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 30px;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
}

.quick-view-btn:hover {
  background: #2d3436;
  color: #ffffff;
  text-decoration:none;
}

/* Right Arrow Icon Animation */
.quick-view-icon {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease, margin-left 0.3s ease;
  font-size: 13px;
}

.quick-view-btn:hover .quick-view-icon {
  transform: translateX(4px);
  margin-left: 12px;
}

.ss-product-card-product:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .quick-view-btn {
    font-size: 13px;
    padding: 10px 20px;
    bottom: 16px;
  }
  
  .quick-view-icon {
    font-size: 12px;
    margin-left: 6px;
  }
  
  .quick-view-btn:hover .quick-view-icon {
    margin-left: 10px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .quick-view-btn {
    font-size: 12px;
    padding: 9px 16px;
    bottom: 12px;
  }
  
  .quick-view-icon {
    font-size: 11px;
    margin-left: 5px;
  }
  
  .quick-view-btn:hover .quick-view-icon {
    margin-left: 8px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .quick-view-btn {
    font-size: 11px;
    padding: 8px 14px;
    bottom: 10px;
  }
  
  .quick-view-icon {
    font-size: 10px;
    margin-left: 4px;
  }
  
  .quick-view-btn:hover .quick-view-icon {
    margin-left: 6px;
  }
}

/* Buy Now Section */
.buy-now-section {
  padding-top: 16px;
  border-top: 1px solid #b7b7b7;
}

.buy-now-text {
  font-size: 15px;
  color: #666;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .buy-now-section {
    padding-top: 12px;
  }
  
  .buy-now-text {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .buy-now-section {
    padding-top: 10px;
  }
  
  .buy-now-text {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .buy-now-section {
    padding-top: 8px;
  }
  
  .buy-now-text {
    font-size: 15px;
    margin-bottom: 15px;
  }
}

.platform-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.platform-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.platform-btn:hover {
  border-color: #2d3436;
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.platform-btn img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

/* Responsive - Small Tablet */
@media (max-width: 991px) {
  .platform-buttons {
    gap: 8px;
  }
  
  .platform-btn {
    padding: 8px 6px;
  }
  
  .platform-btn img {
    height: 16px;
  }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
  .platform-buttons {
    gap: 6px;
  }
  
  .platform-btn {
    padding: 8px 5px;
    border-radius: 6px;
  }
  
  .platform-btn img {
    height: 14px;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
  .platform-buttons {
    gap: 5px;
  }
  
  .platform-btn {
    padding: 10px 5px;
  }
  
  .platform-btn img {
    height: 18px;
  }
}

/* Pagination Styles */
.pagination-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #a9a9a9;
}

.pagination-section.hidden {
  display: none;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

#page-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#pageNumbers{
    display: flex;
  gap: 12px;
}
.pagination-btn {
  min-width: 44px;
  height: 44px;
  letter-spacing: 1px;
  padding: 10px 14px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #2d3436;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pagination-btn:hover:not(:disabled) {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.pagination-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}

.pagination-info {
  font-size: 15px;
  color: #636e72;
  font-weight: 500;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Responsive - Tablet (1200px and below) */
@media (max-width: 1199px) {
  .pagination-section {
    margin-top: 60px;
    padding: 40px 20px;
    gap: 18px;
  }

  .pagination-btn {
    min-width: 42px;
    height: 42px;
    padding: 9px 12px;
    font-size: 13px;
  }

  #page-buttons {
    gap: 10px;
  }
  
  .pagination-info {
    font-size: 14px;
  }
}

/* Responsive - Small Tablet (992px and below) */
@media (max-width: 991px) {
  .pagination-section {
    margin-top: 55px;
    padding: 35px 15px;
    gap: 16px;
  }

  .pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  #page-buttons {
    gap: 8px;
  }
  
  .pagination-info {
    font-size: 13px;
  }
}

/* Responsive - Mobile (768px and below) */
@media (max-width: 767px) {
  .pagination-section {
    gap: 16px;
    margin-top: 45px;
    padding: 25px 12px;
  }

  .pagination-wrapper {
    gap: 8px;
  }

  .pagination-btn {
    min-width: 38px;
    height: 38px;
    font-size: 12px;
    padding: 6px 10px;
  }

  #page-buttons {
    gap: 6px;
  }

  .pagination-info {
    font-size: 12px;
  }
}

/* Responsive - Small Mobile (576px and below) */
@media (max-width: 575px) {
  .pagination-section {
    gap: 12px;
    margin-top: 35px;
    padding: 20px 10px;
  }

  .pagination-wrapper {
    gap: 6px;
  }

  .pagination-btn {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    padding: 5px 8px;
    border-radius: 8px;
  }

  #page-buttons {
    gap: 5px;
  }

  .pagination-info {
    font-size: 14px;
  }
}