:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --text-color: #2b2d42;
    --text-light: #8d99ae;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #f5f7fa;
}

a {
    text-decoration: none;
    color: inherit;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    max-height: 700px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    perspective: 1000px;
    margin: 0 auto;
}

.slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateX(100%);
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 1;
}

.slide.next {
    transform: translateX(100%);
}

.slide.prev {
    transform: translateX(-100%);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 100%);
    z-index: 1;
}

.slide:nth-child(1) {
    background: linear-gradient(135deg, #2251ee 0%, #5e98fc 100%);
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #2251ee 0%, #5e98fc 100%);
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, #2251ee 0%, #5e98fc 100%);
}

.content {
    flex: 1;
    max-width: 50%;
    padding: 2rem;
    z-index: 2;
    transform: translateZ(50px);
}

.badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.slide-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.slide-title strong {
    color: var(--light-color);
    font-weight: 700;
}

.slide-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--primary-color);
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn i {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.slide-indicators {
    display: flex;
    gap: 0.8rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.indicator.active::after {
    transform: scale(1);
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.slide-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
    transform: translateZ(50px);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2%;
    transform: translateY(-50%);
    z-index: 10;
}

.control-btn {
    background-color: rgba(255, 255, 255, 0.25);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    opacity: 1;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) translateZ(50px);
    }
    50% {
        transform: translateY(-20px) translateZ(50px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateZ(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateZ(50px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.scale-in {
    animation: scaleIn 0.8s ease-out both;
}

.product-slider-section {
    padding: 60px 40px;
    background-color: #f9f9f9;
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.slider-controls {
    display: flex;
    gap: 10px;
}

.product-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.product-image {
    max-width: 80%;
    max-height: 80%;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.quick-view {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px;
    font-size: 14px;
    transition: bottom 0.3s ease;
    cursor: pointer;
}

.product-card:hover .quick-view {
    bottom: 0;
}

.product-title {
    font-weight: 600;
    margin: 10px 0;
    color: #333;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rating {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rating i {
    color: #ff9529;
    font-size: 14px;
}

.rating-count {
    color: #888;
    font-size: 12px;
}

.price {
    margin: 15px 0;
    font-size: 18px;
}

.sale-price {
    font-weight: bold;
    color: #e60023;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    margin-left: 5px;
    font-size: 14px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.cart-btn {
    width: 100%;
}

.action-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.action-btn:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.cart-btn {
    background: #e60023;
    color: white;
    border: none;
}

.cart-btn:hover {
    background: #c5001e;
}

.secondary-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.secondary-actions .action-btn {
    padding: 8px 12px;
}

.badge {
    position: absolute;
    top: 1px;
    background: #e60023;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: bold;
    z-index: 2;
}

.swiper-button-next, 
.swiper-button-prev {
    position: relative;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: #333;
    top: auto;
    margin-top: 0;
}

.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .product-slider-section {
        padding: 40px 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .product-title {
        white-space: normal;
    }
    
    .actions {
        flex-direction: row;
    }
    
    .cart-btn {
        flex-grow: 1;
    }
    
    .secondary-actions {
        display: none;
    }
}

.smart-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #b30000 0%, #8a0000 100%); /* gradient red */
  color: white;
  padding: 100px 10%;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -10px 30px rgba(0,0,0,0.1);
}

.smart-content {
  max-width: 600px;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.smart-content h2 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.smart-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin: 1rem 0;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.smart-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.shop-btn {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  border: 2px solid white;
  border-radius: 40px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.shop-btn:hover {
  background: white;
  color: #b30000;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.shop-btn:active {
  transform: translateY(0);
}

.smart-images {
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease-out;
}

.smart-images img {
  max-height: 380px;
  transition: all 0.5s ease;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.headphones {
  position: absolute;
  top: -50px;
  left: -80px;
  animation: float 6s ease-in-out infinite;
}

.smartphone {
  transform: rotate(-10deg);
  margin-left: 60px;
  animation: float 4s ease-in-out infinite 1s;
}

/* Background decorative elements */
.smart-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -50%;
  right: -10%;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-20px) rotate(-12deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .smart-section {
    padding: 80px 5%;
  flex-direction: column;
    text-align: center;
  }
  
  .smart-images {
    margin-top: 60px;
  }
  
  .smart-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .smart-content h1 {
    font-size: 3rem;
  }
  
  .smart-images img {
    max-height: 280px;
  }
  
  .headphones {
    left: -40px;
  }
}

.featured-offers {
  max-width: 1250px;
  margin: 0 auto;
  margin-top: 20px;
}

.featured-offers h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.featured-offers p {
  text-align: center;
  font-size: 16px;
  color: #64748b;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.featured-product-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.featured-product-large, .featured-product-small {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-product-large:hover, .featured-product-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
}

.featured-product-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.featured-price {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
}

.featured-price del {
  color: #94a3b8;
  margin-right: 8px;
  font-weight: 500;
}

.featured-price ins {
  text-decoration: none;
  color: #ef4444;
}

.featured-product-image {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  height: 180px;
}

.featured-product-large .featured-product-image {
    height: 240px;
}

.featured-product-image img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.featured-countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.featured-countdown div {
  text-align: center;
}

.featured-countdown span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 56px;
}

.featured-countdown-label {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
  font-weight: 500;
}

.featured-btn-shop {
  display: block;
  text-align: center;
  background: #3b82f6;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto;
  transition: background 0.2s ease;
}

.featured-btn-shop:hover {
  background: #2563eb;
}

.featured-product-small {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.featured-product-small:last-child {
  margin-bottom: 0;
}

.featured-product-small img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.featured-product-info {
  flex: 1;
}

.featured-end-in {
  background: #3b82f6;
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}

.featured-specs {
  font-size: 14px;
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
}

.featured-specs li {
  color: #475569;
  margin-bottom: 6px;
  display: flex;
}

.featured-specs li strong {
  color: #1e293b;
  font-weight: 600;
  min-width: 110px;
  display: inline-block;
}

.featured-discount-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ef4444;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.featured-product-large {
  position: relative;
}

@media (max-width: 768px) {
  .featured-product-grid {
    grid-template-columns: 1fr;
  }

  .featured-product-small {
    flex-direction: column;
    text-align: center;
  }

  .featured-product-info {
    text-align: center;
  }

  .featured-specs li {
    justify-content: center;
  }
  
  .featured-product-title {
    text-align: center;
  }
}