/* ============================================ */
/* CSS INI KHUSUS UNTUK HALAMAN TOKO (STORE)    */
/* TIDAK AKAN MENGGANGGU DASHBOARD ADMIN        */
/* ============================================ */

body {
  font-family: 'Inter', sans-serif;
}

/* Sembunyikan scrollbar untuk pengalaman mobile murni */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Animasi Bottom Sheet */
.slide-up {
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}
.slide-down {
  transform: translateY(100%);
  transition: transform 0.3s ease-in;
}

/* Line clamp utility */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Transisi smooth untuk semua elemen (HANYA untuk store mode) */
.store-mode * {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Efek hover untuk kartu produk */
.product-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* ===== TAMPILAN MOBILE (DEFAULT) ===== */
.container-responsive {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Grid default mobile 2 kolom */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Hero slider container */
.hero-slider-container {
  position: relative;
  overflow: hidden;
}

/* ===== TAMPILAN TABLET (min-width: 768px) ===== */
@media (min-width: 768px) {
  .store-mode > div:first-child {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: 2rem auto;
    border-radius: 1.5rem;
    overflow: hidden;
    max-width: 1280px;
  }
  
  body {
    background-color: #f3f4f6;
    padding: 0;
  }
  
  .container-responsive {
    max-width: 768px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  }
  
  header .max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .hero-slider-container {
    margin: 1rem;
    border-radius: 1.5rem;
  }
  
  main .max-w-7xl {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .menu-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .motor-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .fixed.bottom-14 {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 28rem;
    width: 90%;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  }
  
  .product-detail-sticky {
    position: fixed !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28rem !important;
    max-width: 90% !important;
    border-radius: 1rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15) !important;
  }
  
  .booking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 0.875rem;
  }
  
  .product-title {
    font-size: 0.875rem;
  }
  
  .product-price {
    font-size: 0.875rem;
  }
}

/* ===== TAMPILAN DESKTOP (min-width: 1024px) ===== */
@media (min-width: 1024px) {
  .container-responsive {
    max-width: 1024px;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .product-detail-sticky {
    width: 32rem !important;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-spacing {
    margin-bottom: 2rem;
  }
}

/* ===== TAMPILAN DESKTOP LARGE (min-width: 1280px) ===== */
@media (min-width: 1280px) {
  .container-responsive {
    max-width: 1280px;
  }
  
  .product-grid-large {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
  
  .hero-slider-container {
    padding: 2rem;
  }
}

/* ===== KOMPONEN KHUSUS ===== */
.btn-primary {
  background-color: #dc2626;
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: #b91c1c;
  transform: scale(0.98);
}

.product-card-shadow {
  transition: all 0.3s ease;
}

.product-card-shadow:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
}

.discount-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: #dc2626;
  color: white;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ef4444;
}

@media (max-width: 767px) {
  ::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-size: 1000px 100%;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

svg {
  max-width: 100%;
  height: auto;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.floating-btn {
  position: fixed;
  bottom: 6rem;
  right: 1rem;
  z-index: 30;
  background-color: #dc2626;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.floating-btn:hover {
  background-color: #b91c1c;
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .floating-btn {
    bottom: 2rem;
    right: 2rem;
  }
}

@media (min-width: 768px) {
  .products-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.accordion-header {
  cursor: pointer;
  transition: all 0.2s ease;
}

.accordion-header:hover {
  background-color: #f9fafb;
}

.accordion-content {
  transition: all 0.3s ease;
  overflow: hidden;
}

.toast-notification {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background-color: #1f2937;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  max-width: 20rem;
  width: 90%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .toast-notification {
    max-width: 24rem;
    font-size: 0.875rem;
  }
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 28rem;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  padding: 0.625rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
}

.cart-badge {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  background-color: #dc2626;
  color: white;
  font-size: 0.5625rem;
  font-weight: 700;
  border-radius: 9999px;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  ring: 2px solid #ef4444;
  ring-offset: 2px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

a {
  text-decoration: none;
}

.price-original {
  text-decoration: line-through;
  font-size: 0.75rem;
  color: #9ca3af;
}

.price-discount {
  font-size: 0.875rem;
  font-weight: 800;
  color: #dc2626;
}

@media (min-width: 768px) {
  .price-discount {
    font-size: 1rem;
  }
}

.variant-option {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
  cursor: pointer;
}

.variant-option.selected {
  background-color: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

.variant-option:hover:not(.selected) {
  background-color: #f9fafb;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f9fafb;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

.quantity-btn {
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #6b7280;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  background-color: #e5e7eb;
}

.quantity-value {
  font-size: 0.875rem;
  font-weight: 700;
  width: 2rem;
  text-align: center;
}

.footer-link {
  color: #9ca3af;
  transition: color 0.2s ease;
  font-size: 0.75rem;
}

.footer-link:hover {
  color: white;
}

@media (min-width: 768px) {
  .footer-link {
    font-size: 0.8125rem;
  }
}

.image-container {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .recommendation-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.price-range {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.modal-slide-up {
  animation: slideInUp 0.3s ease-out;
}

.cursor-pointer {
  cursor: pointer;
}

.transition-smooth {
  transition: all 0.2s ease-in-out;
}

.shadow-custom {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.shadow-custom-hover:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ===== TAMPILAN SINGLE PRODUK UNTUK PC ===== */
@media (min-width: 768px) {
  .product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .product-detail-main {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  }
  
  .product-detail-sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
  }
  
  .transaction-summary-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
  }
  
  .summary-header {
    font-size: 1.125rem;
    font-weight: 800;
    color: #1f2937;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
    margin-bottom: 1rem;
  }
  
  .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .summary-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
  }
  
  .summary-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
  }
  
  .summary-price-original {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
  }
  
  .summary-price-discount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc2626;
  }
  
  .summary-button {
    width: 100%;
    padding: 0.875rem;
    background-color: #dc2626;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .summary-button:hover {
    background-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  
  .summary-button-secondary {
    width: 100%;
    padding: 0.875rem;
    background-color: white;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    margin-top: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .summary-button-secondary:hover {
    background-color: #f9fafb;
    border-color: #dc2626;
    color: #dc2626;
  }
  
  .action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .check-stock-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
    font-size: 0.8125rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
  }
  
  .check-stock-btn:hover {
    background-color: #e5e7eb;
    color: #dc2626;
  }
  
  .quantity-selector-sidebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f9fafb;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid #e5e7eb;
  }
  
  .product-gallery {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
  }
  
  .product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 80px;
  }
  
  .thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .thumbnail-item.active {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px #fee2e2;
  }
  
  .thumbnail-item:hover {
    border-color: #9ca3af;
  }
  
  .product-main-image {
    flex: 1;
    background: #f9fafb;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem;
  }
  
  .product-price-info {
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .product-title-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .price-large {
    font-size: 2rem;
    font-weight: 800;
    color: #dc2626;
  }
  
  .price-original-large {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.75rem;
  }
  
  .discount-badge-large {
    background-color: #fee2e2;
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    margin-left: 0.75rem;
  }
  
  .product-tabs {
    padding: 1.5rem;
  }
  
  .tabs-header {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
    margin-bottom: 1.5rem;
  }
  
  .tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
  }
  
  .tab-btn.active {
    color: #dc2626;
  }
  
  .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dc2626;
  }
  
  .tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
  }
  
  .tab-content.active {
    display: block;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
  }
  
  .tag-item {
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    transition: all 0.2s ease;
  }
  
  .tag-item:hover {
    background-color: #fee2e2;
    color: #dc2626;
  }
  
  .recommendations-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1.5rem;
  }
  
  .recommendations-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
  }
  
  .recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .variant-section {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .variant-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }
  
  .variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .variant-option-pc {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .variant-option-pc:hover {
    border-color: #dc2626;
    color: #dc2626;
  }
  
  .variant-option-pc.selected {
    border-color: #dc2626;
    background-color: #fee2e2;
    color: #dc2626;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-detail-layout {
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .recommendations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-main-image {
    min-height: 300px;
  }
  
  .product-title-large {
    font-size: 1.25rem;
  }
  
  .price-large {
    font-size: 1.5rem;
  }
}

@media (min-width: 1440px) {
  .product-detail-layout {
    max-width: 1400px;
    gap: 2.5rem;
  }
  
  .product-detail-sidebar {
    width: 420px;
  }
}

.advantages-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advantages-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}

.advantages-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

.part-number {
  background-color: #f3f4f6;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: monospace;
  font-size: 0.875rem;
  color: #1f2937;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem;
  }
  
  .products-sidebar {
    background: white;
    border-radius: 1rem;
    padding: 1.25rem;
    position: sticky;
    top: 5rem;
    height: fit-content;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  
  .sidebar-header {
    font-size: 0.875rem;
    font-weight: 800;
    color: #1f2937;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .filter-group {
    margin-bottom: 1.5rem;
  }
  
  .filter-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }
  
  .filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #4b5563;
    cursor: pointer;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
  }
  
  .filter-option:hover {
    color: #dc2626;
  }
  
  .filter-option input {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
    accent-color: #dc2626;
  }
  
  .price-range-container {
    padding: 0.5rem 0;
  }
  
  .price-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
  }
  
  .price-slider {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 4px;
    position: relative;
    margin: 1rem 0;
  }
  
  .price-slider-fill {
    position: absolute;
    height: 100%;
    background: #dc2626;
    border-radius: 4px;
    left: 0%;
    right: 0%;
  }
  
  .price-inputs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .price-input {
    flex: 1;
  }
  
  .price-input label {
    font-size: 0.625rem;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.25rem;
  }
  
  .price-input input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
  }
  
  .filter-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
  }
  
  .btn-filter-apply {
    flex: 1;
    padding: 0.625rem;
    background: #dc2626;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .btn-filter-apply:hover {
    background: #b91c1c;
  }
  
  .btn-filter-reset {
    flex: 1;
    padding: 0.625rem;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .btn-filter-reset:hover {
    background: #e5e7eb;
  }
  
  .products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .products-count {
    font-size: 0.875rem;
    color: #6b7280;
  }
  
  .products-count span {
    font-weight: 700;
    color: #1f2937;
  }
  
  .sorting-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .sorting-select label {
    font-size: 0.75rem;
    color: #6b7280;
  }
  
  .sorting-select select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem;
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .product-card-pc {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    cursor: pointer;
  }
  
  .product-card-pc:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border-color: #fee2e2;
  }
  
  .product-image-pc {
    aspect-ratio: 1 / 1;
    background: #f9fafb;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .discount-badge-pc {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #dc2626;
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    z-index: 1;
  }
  
  .product-info-pc {
    padding: 1rem;
  }
  
  .product-brand-pc {
    font-size: 0.625rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
  }
  
  .product-name-pc {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.25rem;
  }
  
  .product-price-pc {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }
  
  .price-current-pc {
    font-size: 1rem;
    font-weight: 800;
    color: #dc2626;
  }
  
  .price-original-pc {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-decoration: line-through;
  }
  
  .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
  }
  
  .pagination-item {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .pagination-item:hover {
    background: #f3f4f6;
    color: #dc2626;
  }
  
  .pagination-item.active {
    background: #dc2626;
    color: white;
  }
  
  .brand-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .brand-item:hover {
    color: #dc2626;
  }
  
  .brand-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .products-layout {
    grid-template-columns: 240px 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1280px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .products-layout {
    max-width: 1400px;
  }
}

.product-detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  
  .product-thumbnails {
    display: none;
  }
  
  .transaction-summary-card {
    position: static;
    margin-top: 24px;
  }
  
  .recommendations-grid {
    gap: 16px;
  }
}

.products-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
  
  .products-sidebar {
    position: static;
    margin-bottom: 24px;
  }
}