/* ============================================
   Qoolai Islamic Art - E-Commerce CSS
   Inspired by Shopee.co.id
   ============================================ */

/* ----------------------------------------
   1. CSS Custom Properties
   ---------------------------------------- */
:root {
  --primary-orange: #EE4D2D;
  --primary-dark: #D0011B;
  --primary-light: #FF6633;
  --bg-default: #efeff4;
  --white: #ffffff;
  --text-dark: #222222;
  --text-gray: #757575;
  --text-light: #929292;
  --border-color: #e0e0e0;
  --success: #26aa99;
  --warning: #f5a623;
  --danger: #ee4d2d;
  --info: #007bff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-round: 50%;
  --transition: all 0.25s ease;
  --header-height: 140px;
  --admin-sidebar-width: 240px;
}

/* ----------------------------------------
   2. Reset & Base
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-default);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-orange);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

::selection {
  background-color: var(--primary-orange);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-default);
}

::-webkit-scrollbar-thumb {
  background: #c0c0c0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* ----------------------------------------
   3. Container & Grid System
   ---------------------------------------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

.container-fluid {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -7.5px;
  margin-right: -7.5px;
}

.row > [class*="col-"] {
  padding-left: 7.5px;
  padding-right: 7.5px;
}

.col-1 { width: 8.333333%; }
.col-2 { width: 16.666667%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333333%; }
.col-5 { width: 41.666667%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333333%; }
.col-8 { width: 66.666667%; }
.col-9 { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.product-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

/* ----------------------------------------
   4. Header
   ---------------------------------------- */
.header {
  position: relative;
  z-index: 1000;
}

.header-top {
  background-color: var(--text-dark);
  padding: 6px 0;
  font-size: 12px;
  color: #ccc;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: #ccc;
  padding: 0 10px;
  font-size: 12px;
  transition: var(--transition);
}

.header-top a:hover {
  color: var(--white);
}

.header-top-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-top-right .divider {
  width: 1px;
  height: 12px;
  background-color: #555;
  margin: 0 2px;
}

/* Top Bar */
.top-bar {
  background-color: #2a2a2a;
  color: #b2b2b2;
  font-size: 12px;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
}

.top-bar-left strong {
  color: var(--white);
}

.top-bar-welcome {
  color: #999;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-right a {
  color: #b2b2b2;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar-right a:hover {
  color: var(--white);
}

/* User Dropdown */
.user-dropdown {
  position: relative;
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 1001;
  padding: 6px 0;
}

.user-dropdown:hover .user-dropdown-menu {
  display: block;
}

.user-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.15s;
}

.user-dropdown-menu a:hover {
  background-color: #f5f5f5;
  color: var(--primary-orange);
}

.header-main {
  background-color: var(--primary-orange);
  padding: 15px 0;
  position: relative;
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.header-logo-text span {
  color: #ffd700;
}

.header-search {
  flex: 1;
  max-width: 600px;
  position: relative;
}

.header-search-form {
  display: flex;
  background-color: var(--white);
  border-radius: 2px;
  overflow: hidden;
  height: 40px;
}

.header-search-input {
  flex: 1;
  border: none;
  padding: 0 15px;
  font-size: 14px;
  color: var(--text-dark);
  min-width: 0;
}

.header-search-input::placeholder {
  color: var(--text-light);
}

.header-search-btn {
  background-color: var(--primary-orange);
  color: var(--white);
  border: none;
  padding: 0 20px;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-btn:hover {
  background-color: var(--primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  font-size: 11px;
  gap: 2px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  padding: 5px;
}

.header-action-item:hover {
  opacity: 0.85;
}

.header-action-item i {
  font-size: 22px;
}

.header-action-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--white);
  color: var(--primary-orange);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.header-category {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
}

.header-category .container {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-category .container::-webkit-scrollbar {
  display: none;
}

.header-category-item {
  padding: 10px 15px;
  font-size: 13px;
  color: var(--text-gray);
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.header-category-item:hover,
.header-category-item.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
}

.header-category-item i {
  margin-right: 5px;
}

/* Sticky Header */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-sticky .header-main {
  padding: 10px 0;
}

.header-sticky .header-category {
  display: none;
}

/* Mobile Header */
.header-mobile-toggle {
  display: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* ----------------------------------------
   5. Breadcrumb
   ---------------------------------------- */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-gray);
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--text-gray);
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary-orange);
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--text-light);
  font-size: 11px;
}

.breadcrumb-item.active {
  color: var(--text-dark);
  font-weight: 500;
}

/* ----------------------------------------
   6. Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.4;
  user-select: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--text-gray);
  color: var(--white);
  border-color: var(--text-gray);
}

.btn-secondary:hover {
  background-color: #555;
  border-color: #555;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.btn-outline:hover {
  background-color: var(--primary-orange);
  color: var(--white);
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--text-gray);
  border-color: var(--border-color);
}

.btn-outline-secondary:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
}

.btn-danger {
  background-color: var(--danger);
  color: var(--white);
  border-color: var(--danger);
}

.btn-danger:hover {
  background-color: #cc3300;
  border-color: #cc3300;
}

.btn-success {
  background-color: var(--success);
  color: var(--white);
  border-color: var(--success);
}

.btn-success:hover {
  background-color: #1e8c83;
  border-color: #1e8c83;
}

.btn-info {
  background-color: var(--info);
  color: var(--white);
  border-color: var(--info);
}

.btn-info:hover {
  background-color: #0069d9;
  border-color: #0069d9;
}

.btn-warning {
  background-color: var(--warning);
  color: var(--white);
  border-color: var(--warning);
}

.btn-warning:hover {
  background-color: #e09520;
  border-color: #e09520;
}

.btn-sm {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 2px;
}

.btn-lg {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-round);
}

.btn-icon i {
  font-size: 16px;
}

.btn-icon.btn-sm {
  width: 28px;
  height: 28px;
}

.btn-icon.btn-lg {
  width: 48px;
  height: 48px;
}

.btn-group {
  display: inline-flex;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 3px 0 0 3px;
}

.btn-group .btn:last-child {
  border-radius: 0 3px 3px 0;
}

.btn-group .btn + .btn {
  margin-left: -1px;
}

/* ----------------------------------------
   7. Forms
   ---------------------------------------- */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  display: block;
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  transition: var(--transition);
  line-height: 1.4;
}

.form-control:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 1px var(--primary-orange);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #f5f5f5;
  opacity: 0.7;
  cursor: not-allowed;
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 1px var(--danger);
}

.form-control.is-valid {
  border-color: var(--success);
}

.form-control-sm {
  height: 32px;
  padding: 4px 10px;
  font-size: 12px;
}

.form-control-lg {
  height: 48px;
  padding: 12px 16px;
  font-size: 16px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23757575' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

textarea.form-control {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.form-text {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-light);
}

.form-error {
  margin-top: 4px;
  font-size: 12px;
  color: var(--danger);
}

/* File Upload */
.form-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  background-color: #fafafa;
  cursor: pointer;
  transition: var(--transition);
}

.form-upload:hover {
  border-color: var(--primary-orange);
  background-color: #fff5f2;
}

.form-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-upload i {
  font-size: 36px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.form-upload p {
  color: var(--text-gray);
  font-size: 13px;
}

.form-upload .upload-hint {
  color: var(--text-light);
  font-size: 12px;
  margin-top: 5px;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-round);
}

.form-check-input:checked {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.form-check-input:checked::after {
  content: '';
  display: block;
}

.form-check-input[type="checkbox"]:checked::after {
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.form-check-input[type="radio"]:checked::after {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  background-color: var(--white);
}

.form-check-label {
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.form-check-inline {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
}

/* Input Group */
.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .form-control {
  border-radius: 0;
}

.input-group .form-control:first-child {
  border-radius: 3px 0 0 3px;
}

.input-group .form-control:last-child {
  border-radius: 0 3px 3px 0;
}

.input-group-addon {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background-color: #f5f5f5;
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-gray);
  white-space: nowrap;
}

.input-group-btn {
  display: flex;
  align-items: center;
}

.input-group-btn .btn {
  border-radius: 0;
}

/* Search with icon inside */
.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 14px;
}

.search-input-wrapper .form-control {
  padding-left: 36px;
}

/* ----------------------------------------
   8. Product Cards
   ---------------------------------------- */
.product-card {
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background-color: #f8f8f8;
}

.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-card-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
}

.product-card-badge.badge-flash-sale {
  background: linear-gradient(90deg, #ff4444, #ff6633);
}

.product-card-badge.badge-new {
  background-color: var(--success);
}

.product-card-badge.badge-hot {
  background-color: #e91e63;
}

.product-card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.product-card:hover .product-card-actions {
  transform: translateY(0);
}

.product-card-action-btn {
  padding: 8px 15px;
  background-color: var(--white);
  color: var(--text-gray);
  font-size: 12px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-action-btn:first-child {
  border-radius: 3px 0 0 0;
}

.product-card-action-btn:last-child {
  border-radius: 0 3px 0 0;
}

.product-card-action-btn:hover {
  background-color: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}

.product-card-info {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
  min-height: 36px;
}

.product-card-title:hover {
  color: var(--primary-orange);
}

.product-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.product-card-price-current {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-orange);
}

.product-card-price-original {
  font-size: 12px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-card-discount {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary-orange);
  padding: 1px 4px;
  border-radius: 2px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  margin-top: auto;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.product-card-rating .star {
  color: var(--warning);
  font-size: 12px;
}

.product-card-rating .star.empty {
  color: #ddd;
}

.product-card-sold {
  font-size: 12px;
  color: var(--text-light);
}

.product-card-location {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}

.product-card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-round);
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 3;
  transition: var(--transition);
  cursor: pointer;
}

.product-card-wishlist:hover,
.product-card-wishlist.active {
  background-color: var(--primary-orange);
  color: var(--white);
}

/* Product list view */
.product-list-card {
  display: flex;
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 10px;
}

.product-list-card:hover {
  box-shadow: var(--shadow-md);
}

.product-list-card-image {
  width: 180px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f8f8f8;
}

.product-list-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-list-card-info {
  padding: 15px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ----------------------------------------
   9. Category Cards
   ---------------------------------------- */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px 10px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-card-image {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-round);
  overflow: hidden;
  margin-bottom: 12px;
  border: 3px solid transparent;
  transition: var(--transition);
}

.category-card:hover .category-card-image {
  border-color: var(--primary-orange);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.category-card:hover .category-card-title {
  color: var(--primary-orange);
}

/* Category strip horizontal */
.category-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip-item {
  flex-shrink: 0;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-gray);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.category-strip-item:hover,
.category-strip-item.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
  background-color: #fff5f2;
}

.category-strip-item i {
  font-size: 24px;
}

.category-strip-item img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  object-fit: cover;
}

/* ----------------------------------------
   10. Product Detail / Gallery
   ---------------------------------------- */
.product-detail {
  background-color: var(--white);
  border-radius: 3px;
  padding: 25px;
  margin-bottom: 20px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
}

.product-gallery {
  position: sticky;
  top: 20px;
  align-self: start;
}

.product-gallery-main {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
  overflow: hidden;
  background-color: #f8f8f8;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-gallery-main:hover img {
  transform: scale(1.5);
  cursor: crosshair;
}

.product-gallery-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.product-gallery-thumb {
  width: 62px;
  height: 62px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--primary-orange);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.product-gallery-nav:hover {
  background-color: var(--primary-orange);
}

.product-gallery-nav.prev {
  left: 10px;
}

.product-gallery-nav.next {
  right: 10px;
}

.product-gallery-wrapper {
  position: relative;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.product-info-rating-score {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--warning);
}

.product-info-rating-count {
  color: var(--text-gray);
  font-size: 13px;
}

.product-info-sold {
  color: var(--text-gray);
  font-size: 13px;
}

.product-info-price-box {
  background-color: #fafafa;
  padding: 15px 20px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.product-info-price-original {
  font-size: 16px;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-info-price-current {
  font-size: 30px;
  font-weight: 500;
  color: var(--primary-orange);
}

.product-info-discount {
  display: inline-block;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
}

.product-info-options {
  margin-bottom: 20px;
}

.product-option-group {
  margin-bottom: 15px;
}

.product-option-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.product-option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-option-value {
  padding: 6px 15px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.product-option-value:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.product-option-value.active {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background-color: #fff5f2;
}

.product-option-value.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.product-quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.product-quantity-label {
  font-size: 14px;
  color: var(--text-gray);
  margin-right: 15px;
  min-width: 80px;
}

.product-quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
}

.product-quantity-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-gray);
  background-color: #fafafa;
  transition: var(--transition);
  cursor: pointer;
}

.product-quantity-btn:hover {
  background-color: #f0f0f0;
}

.product-quantity-input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
}

.product-info-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.product-info-buttons .btn {
  flex: 1;
  padding: 12px 20px;
}

.product-info-policy {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
}

.product-policy-item i {
  color: var(--text-light);
  margin-top: 2px;
}

.product-description {
  background-color: var(--white);
  border-radius: 3px;
  padding: 25px;
  margin-bottom: 20px;
}

.product-description-title {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
  color: var(--text-dark);
}

/* Mobile Add to Cart Bar */
.product-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
  z-index: 999;
  border-top: 1px solid var(--border-color);
}

.product-mobile-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-mobile-bar .btn {
  flex: 1;
}

/* ----------------------------------------
   11. Cart
   ---------------------------------------- */
.cart-page {
  padding: 20px 0;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  background-color: var(--white);
  border-radius: 3px;
}

.cart-empty i {
  font-size: 80px;
  color: var(--border-color);
  margin-bottom: 20px;
}

.cart-empty h3 {
  color: var(--text-gray);
  font-weight: 400;
  margin-bottom: 15px;
}

.cart-table {
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 20px;
}

.cart-table-header {
  display: grid;
  grid-template-columns: 40px 1fr 2fr 1fr 1fr 1fr 50px;
  align-items: center;
  padding: 12px 15px;
  background-color: #fafafa;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-gray);
}

.cart-table-item {
  display: grid;
  grid-template-columns: 40px 1fr 2fr 1fr 1fr 1fr 50px;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #f5f5f5;
  transition: var(--transition);
}

.cart-table-item:hover {
  background-color: #fafafa;
}

.cart-item-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name {
  font-size: 14px;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-variant {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
}

.cart-item-price {
  font-size: 14px;
  color: var(--text-dark);
}

.cart-item-quantity {
  display: flex;
  align-items: center;
}

.cart-item-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-orange);
}

.cart-item-remove {
  color: var(--text-light);
  font-size: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-summary {
  background-color: var(--white);
  border-radius: 3px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.cart-summary-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-summary-total {
  font-size: 18px;
}

.cart-summary-total-label {
  color: var(--text-gray);
}

.cart-summary-total-price {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 24px;
  margin-left: 10px;
}

/* Cart Sidebar */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.cart-sidebar {
  background-color: var(--white);
  border-radius: 3px;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.cart-sidebar-title {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.cart-sidebar-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--text-gray);
}

.cart-sidebar-row.total {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
  margin-top: 15px;
}

.cart-sidebar-row.total .price {
  color: var(--primary-orange);
  font-size: 20px;
}

.cart-sidebar-voucher {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.cart-sidebar-voucher input {
  flex: 1;
}

/* ----------------------------------------
   12. Checkout
   ---------------------------------------- */
.checkout-page {
  padding: 20px 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: start;
}

.checkout-section {
  background-color: var(--white);
  border-radius: 3px;
  padding: 20px 25px;
  margin-bottom: 15px;
}

.checkout-section-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-section-title i {
  color: var(--primary-orange);
}

.checkout-address-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-address-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.checkout-address-card:hover {
  border-color: var(--primary-orange);
}

.checkout-address-card.active {
  border-color: var(--primary-orange);
  background-color: #fff5f2;
}

.checkout-address-card input[type="radio"] {
  margin-top: 3px;
}

.checkout-address-info {
  flex: 1;
}

.checkout-address-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.checkout-address-detail {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
}

.checkout-address-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.checkout-address-actions a {
  font-size: 12px;
  color: var(--info);
}

/* Shipping Options */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.shipping-option:hover {
  border-color: var(--primary-orange);
}

.shipping-option.active {
  border-color: var(--primary-orange);
  background-color: #fff5f2;
}

.shipping-option-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--primary-orange);
}

.shipping-option-info {
  flex: 1;
}

.shipping-option-name {
  font-size: 14px;
  font-weight: 500;
}

.shipping-option-eta {
  font-size: 12px;
  color: var(--text-gray);
}

.shipping-option-price {
  font-weight: 600;
  color: var(--primary-orange);
  white-space: nowrap;
}

/* Payment Methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.payment-method-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-card:hover {
  border-color: var(--primary-orange);
}

.payment-method-card.active {
  border-color: var(--primary-orange);
  background-color: #fff5f2;
}

.payment-method-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.payment-method-name {
  font-size: 14px;
  font-weight: 500;
}

.payment-method-desc {
  font-size: 12px;
  color: var(--text-gray);
}

/* Checkout Sidebar */
.checkout-sidebar {
  position: sticky;
  top: 20px;
}

.checkout-order-summary {
  background-color: var(--white);
  border-radius: 3px;
  padding: 20px;
}

.checkout-order-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.checkout-order-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.checkout-order-item-image {
  width: 50px;
  height: 50px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.checkout-order-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-order-item-info {
  flex: 1;
  font-size: 13px;
}

.checkout-order-item-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.checkout-order-item-qty {
  color: var(--text-gray);
  font-size: 12px;
}

.checkout-order-item-price {
  font-weight: 500;
  white-space: nowrap;
}

/* ----------------------------------------
   13. Orders
   ---------------------------------------- */
.orders-page {
  padding: 20px 0;
}

.orders-tabs {
  display: flex;
  background-color: var(--white);
  border-radius: 3px;
  margin-bottom: 15px;
  overflow-x: auto;
}

.orders-tab {
  padding: 15px 25px;
  font-size: 14px;
  color: var(--text-gray);
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.orders-tab:hover {
  color: var(--primary-orange);
}

.orders-tab.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
  font-weight: 600;
}

.order-card {
  background-color: var(--white);
  border-radius: 3px;
  margin-bottom: 12px;
  overflow: hidden;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background-color: #fafafa;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}

.order-card-shop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.order-card-shop i {
  color: var(--primary-orange);
}

.order-card-items {
  padding: 15px 20px;
}

.order-card-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.order-card-item + .order-card-item {
  border-top: 1px solid #f5f5f5;
}

.order-card-item-image {
  width: 60px;
  height: 60px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.order-card-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-card-item-info {
  flex: 1;
}

.order-card-item-name {
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.order-card-item-variant {
  font-size: 12px;
  color: var(--text-gray);
}

.order-card-item-price {
  text-align: right;
}

.order-card-item-qty {
  font-size: 12px;
  color: var(--text-gray);
}

.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #f5f5f5;
}

.order-card-total {
  font-size: 14px;
  color: var(--text-gray);
}

.order-card-total strong {
  color: var(--primary-orange);
  font-size: 18px;
  margin-left: 10px;
}

.order-card-actions {
  display: flex;
  gap: 8px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  white-space: nowrap;
}

.badge-primary {
  background-color: rgba(238, 77, 45, 0.1);
  color: var(--primary-orange);
}

.badge-secondary {
  background-color: rgba(117, 117, 117, 0.1);
  color: var(--text-gray);
}

.badge-success {
  background-color: rgba(38, 170, 153, 0.1);
  color: var(--success);
}

.badge-warning {
  background-color: rgba(245, 166, 35, 0.1);
  color: var(--warning);
}

.badge-danger {
  background-color: rgba(238, 77, 45, 0.1);
  color: var(--danger);
}

.badge-info {
  background-color: rgba(0, 123, 255, 0.1);
  color: var(--info);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  margin-right: 6px;
  display: inline-block;
}

.badge-dot.badge-success { background-color: var(--success); }
.badge-dot.badge-warning { background-color: var(--warning); }
.badge-dot.badge-danger { background-color: var(--danger); }
.badge-dot.badge-info { background-color: var(--info); }

/* ----------------------------------------
   14. Auth (Login / Register)
   ---------------------------------------- */
.auth-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
  background-color: #f5f5f5;
}

.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-card {
  width: 100%;
  background-color: var(--white);
  border-radius: 4px;
  padding: 30px 35px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}

.auth-header {
  text-align: center;
  margin-bottom: 25px;
}

.auth-logo {
  display: block;
  text-decoration: none;
}

.auth-logo h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-orange);
  margin: 0 0 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

.auth-form {
  width: 100%;
}

.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.auth-form .form-control {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.auth-form .form-control:focus {
  outline: none;
  border-color: var(--primary-orange);
}

.auth-form .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-form .input-group .form-control {
  padding-right: 40px;
}

.input-group-btn {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 40px;
  background: none;
  border: none;
  border-left: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 16px;
}

.input-group-btn:hover {
  color: var(--text-dark);
}

.auth-form .btn-block {
  width: 100%;
  height: 44px;
  margin-top: 8px;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-gray);
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.auth-footer a {
  color: var(--primary-orange);
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ----------------------------------------
   15. Footer
   ---------------------------------------- */
.site-footer {
  background-color: #2a2a2a;
  color: #b2b2b2;
  padding: 30px 0 0;
  margin-top: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 30px;
  padding-bottom: 25px;
}

.footer-col-title {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.6;
  color: #999;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #b2b2b2;
  font-size: 13px;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b2b2b2;
  transition: all 0.2s;
  text-decoration: none;
}

.footer-social-icon:hover {
  background-color: var(--primary-orange);
  color: var(--white);
}

.footer-payment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-payment-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 10px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}

.footer-payment-badge.ship {
  background-color: rgba(255, 255, 255, 0.08);
}

.footer-payment-name {
  font-size: 12px;
  color: #999;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: #777;
}

/* ----------------------------------------
   Header Logo
   ---------------------------------------- */
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* ----------------------------------------
   16. Utilities
   ---------------------------------------- */

/* Text */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary-orange); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }
.text-gray { color: var(--text-gray); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }
.text-dark { color: var(--text-dark); }
.text-underline { text-decoration: underline; }
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-nowrap { white-space: nowrap; }
.text-break { word-wrap: break-word; }
.text-sm { font-size: 12px; }
.text-base { font-size: 14px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* Margin */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 15px; }
.mb-3 { margin-bottom: 25px; }
.mb-4 { margin-bottom: 40px; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 15px; }
.mt-3 { margin-top: 25px; }
.mt-4 { margin-top: 40px; }
.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 8px; }
.ml-2 { margin-left: 15px; }
.ml-3 { margin-left: 25px; }
.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 8px; }
.mr-2 { margin-right: 15px; }
.mr-3 { margin-right: 25px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-1 { margin-left: 8px; margin-right: 8px; }
.mx-2 { margin-left: 15px; margin-right: 15px; }
.my-1 { margin-top: 8px; margin-bottom: 8px; }
.my-2 { margin-top: 15px; margin-bottom: 15px; }

/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 15px; }
.p-3 { padding: 25px; }
.p-4 { padding: 40px; }
.px-1 { padding-left: 8px; padding-right: 8px; }
.px-2 { padding-left: 15px; padding-right: 15px; }
.px-3 { padding-left: 25px; padding-right: 25px; }
.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 15px; padding-bottom: 15px; }
.py-3 { padding-top: 25px; padding-bottom: 25px; }
.pt-1 { padding-top: 8px; }
.pt-2 { padding-top: 15px; }
.pt-3 { padding-top: 25px; }
.pb-1 { padding-bottom: 8px; }
.pb-2 { padding-bottom: 15px; }
.pb-3 { padding-bottom: 25px; }

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: flex-start; }
.flex-end { display: flex; align-items: flex-end; }
.flex-col { display: flex; flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow-1 { flex-grow: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.align-center { align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 15px; }
.gap-3 { gap: 25px; }
.gap-sm { gap: 5px; }
.gap-lg { gap: 20px; }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline-flex { display: inline-flex; }

/* Card */
.card {
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
}

.card-body {
  padding: 20px;
}

.card-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

.card-footer {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

/* Alert */
.alert {
  padding: 12px 20px;
  border-radius: 3px;
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background-color: #e8f6f3;
  color: var(--success);
  border: 1px solid rgba(38, 170, 153, 0.3);
}

.alert-danger {
  background-color: #fde8e4;
  color: var(--danger);
  border: 1px solid rgba(238, 77, 45, 0.3);
}

.alert-warning {
  background-color: #fef5e7;
  color: #c08500;
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.alert-info {
  background-color: #e8f4fd;
  color: var(--info);
  border: 1px solid rgba(0, 123, 255, 0.3);
}

.alert i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Divider */
.divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 15px 0;
}

/* Hidden/Visible */
.visible { visibility: visible; }
.invisible { visibility: hidden; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.min-h-100 { min-height: 100vh; }

/* Rounded */
.rounded { border-radius: 3px; }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-round); }

/* Border */
.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-left { border-left: 1px solid var(--border-color); }
.border-right { border-right: 1px solid var(--border-color); }
.border-0 { border: none; }

/* Shadow */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Section spacing */
.section {
  margin-bottom: 30px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-orange);
  margin-top: 5px;
  border-radius: 2px;
}

.section-link {
  font-size: 13px;
  color: var(--text-gray);
}

.section-link:hover {
  color: var(--primary-orange);
}

/* ----------------------------------------
   17. Rating Stars
   ---------------------------------------- */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rating-star {
  color: var(--warning);
  font-size: 14px;
}

.rating-star.empty {
  color: #ddd;
}

.rating-star.half {
  position: relative;
  color: #ddd;
}

.rating-star.half::before {
  content: '\f005';
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: var(--warning);
}

.rating-score {
  font-size: 14px;
  font-weight: 600;
  color: var(--warning);
  margin-left: 5px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.rating-bar-label {
  width: 50px;
  font-size: 13px;
  color: var(--text-gray);
  white-space: nowrap;
}

.rating-bar-track {
  flex: 1;
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background-color: var(--warning);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.rating-bar-count {
  width: 30px;
  font-size: 12px;
  color: var(--text-gray);
  text-align: right;
}

/* ----------------------------------------
   18. Empty State
   ---------------------------------------- */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background-color: var(--white);
  border-radius: 3px;
}

.empty-state-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-round);
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-state-icon i {
  font-size: 40px;
  color: var(--border-color);
}

.empty-state-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.empty-state-text {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  max-width: 400px;
}

.empty-state .btn {
  margin-top: 10px;
}

/* ----------------------------------------
   19. Modal
   ---------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background-color: var(--white);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 16px;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-gray);
  transition: var(--transition);
  cursor: pointer;
}

.modal-close:hover {
  background-color: #f5f5f5;
  color: var(--text-dark);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.modal-lg {
  max-width: 700px;
}

.modal-sm {
  max-width: 380px;
}

.modal-fullscreen {
  max-width: 95vw;
  max-height: 95vh;
}

/* ----------------------------------------
   20. Loading Spinner
   ---------------------------------------- */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.spinner-overlay.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary-orange);
  border-radius: var(--radius-round);
  animation: spin 0.8s linear infinite;
}

.spinner-sm {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.spinner-lg {
  width: 60px;
  height: 60px;
  border-width: 4px;
}

.spinner-white {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-dots {
  display: inline-flex;
  gap: 4px;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background-color: var(--primary-orange);
  animation: dotPulse 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  border-radius: 3px;
}

.skeleton-text-sm {
  height: 10px;
  width: 60%;
}

.skeleton-img {
  width: 100%;
  padding-top: 100%;
  border-radius: 3px;
}

.skeleton-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
}

/* ----------------------------------------
   21. Toast Notification
   ---------------------------------------- */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  animation: toastSlideIn 0.3s ease-out;
  position: relative;
  overflow: hidden;
  min-width: 280px;
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.toast-success::before { background-color: var(--success); }
.toast-danger::before { background-color: var(--danger); }
.toast-warning::before { background-color: var(--warning); }
.toast-info::before { background-color: var(--info); }

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.toast-success .toast-icon { background-color: rgba(38, 170, 153, 0.1); color: var(--success); }
.toast-danger .toast-icon { background-color: rgba(238, 77, 45, 0.1); color: var(--danger); }
.toast-warning .toast-icon { background-color: rgba(245, 166, 35, 0.1); color: var(--warning); }
.toast-info .toast-icon { background-color: rgba(0, 123, 255, 0.1); color: var(--info); }

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.4;
}

.toast-close {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

.toast-close:hover {
  background-color: #f5f5f5;
  color: var(--text-dark);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: var(--primary-orange);
  animation: toastProgress 3s linear forwards;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@keyframes toastProgress {
  from { width: 100%; }
  to { width: 0%; }
}

.toast.removing {
  animation: toastSlideOut 0.3s ease-in forwards;
}

/* ----------------------------------------
   22. Admin Sidebar
   ---------------------------------------- */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: var(--admin-sidebar-width);
  background-color: #1a1a2e;
  color: #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 1000;
  transition: var(--transition);
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-sidebar-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.admin-sidebar-logo span {
  color: var(--primary-orange);
}

.admin-sidebar-nav {
  padding: 15px 0;
}

.admin-sidebar-section {
  padding: 0 15px;
  margin-bottom: 10px;
}

.admin-sidebar-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
  padding: 10px 10px 5px;
  font-weight: 600;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #b2b2b2;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-bottom: 2px;
}

.admin-sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.admin-sidebar-link.active {
  background-color: var(--primary-orange);
  color: var(--white);
}

.admin-sidebar-link i {
  width: 20px;
  text-align: center;
  font-size: 16px;
}

.admin-sidebar-link .badge {
  margin-left: auto;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 2px 8px;
  font-size: 10px;
}

.admin-main {
  flex: 1;
  margin-left: var(--admin-sidebar-width);
  padding: 25px;
  background-color: var(--bg-default);
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-topbar-title {
  font-size: 18px;
  font-weight: 600;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.admin-topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  overflow: hidden;
  background-color: var(--primary-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.admin-topbar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.admin-stat-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.admin-stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.admin-stat-card-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.admin-stat-card-icon.orange { background-color: #fff3f0; color: var(--primary-orange); }
.admin-stat-card-icon.green { background-color: #e8f6f3; color: var(--success); }
.admin-stat-card-icon.blue { background-color: #e8f4fd; color: var(--info); }
.admin-stat-card-icon.yellow { background-color: #fef5e7; color: var(--warning); }

.admin-stat-card-info {
  flex: 1;
}

.admin-stat-card-label {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.admin-stat-card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.admin-stat-card-change {
  font-size: 12px;
  margin-top: 4px;
}

.admin-stat-card-change.up { color: var(--success); }
.admin-stat-card-change.down { color: var(--danger); }

/* ----------------------------------------
   23. Tables (Admin)
   ---------------------------------------- */
.table-container {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
}

.table-title {
  font-size: 16px;
  font-weight: 600;
}

.table-actions {
  display: flex;
  gap: 10px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background-color: #fafafa;
}

.data-table th {
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-gray);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 12px 15px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid #f5f5f5;
  vertical-align: middle;
}

.data-table tbody tr {
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background-color: #fafafa;
}

.data-table-striped tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.data-table-striped tbody tr:nth-child(even):hover {
  background-color: #f5f5f5;
}

.table-product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-product-image {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.table-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.table-product-info {
  flex: 1;
  min-width: 0;
}

.table-product-name {
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.table-product-id {
  font-size: 12px;
  color: var(--text-light);
}

.table-actions-cell {
  display: flex;
  gap: 5px;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.table-pagination-info {
  font-size: 13px;
  color: var(--text-gray);
}

.table-pagination-btns {
  display: flex;
  gap: 5px;
}

.table-page-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-gray);
  transition: var(--transition);
  cursor: pointer;
}

.table-page-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.table-page-btn.active {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: var(--white);
}

.table-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----------------------------------------
   24. Animations
   ---------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

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

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideLeft {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.animate-fadeIn { animation: fadeIn 0.3s ease-out; }
.animate-slideUp { animation: slideUp 0.3s ease-out; }
.animate-slideDown { animation: slideDown 0.3s ease-out; }
.animate-slideLeft { animation: slideLeft 0.3s ease-out; }
.animate-slideRight { animation: slideRight 0.3s ease-out; }
.animate-scaleIn { animation: scaleIn 0.3s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-shake { animation: shake 0.3s ease-out; }

.transition { transition: var(--transition); }
.transition-fast { transition: all 0.15s ease; }
.transition-slow { transition: all 0.5s ease; }

/* Hover Transforms */
.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: transform 0.25s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
}

.hover-shadow {
  transition: box-shadow 0.25s ease;
}

.hover-shadow:hover {
  box-shadow: var(--shadow-lg);
}

.hover-border:hover {
  border-color: var(--primary-orange) !important;
}

/* ----------------------------------------
   25. Flash Sale / Countdown
   ---------------------------------------- */
.flash-sale {
  background-color: var(--white);
  border-radius: 3px;
  padding: 20px;
  margin-bottom: 20px;
}

.flash-sale-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.flash-sale-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-orange);
}

.flash-sale-countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.flash-sale-countdown-block {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

.flash-sale-countdown-separator {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 16px;
}

.flash-sale-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.flash-sale-progress-bar {
  flex: 1;
  height: 20px;
  background-color: #ffe0d6;
  border-radius: 10px;
  overflow: hidden;
}

.flash-sale-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-light));
  border-radius: 10px;
  position: relative;
}

.flash-sale-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.flash-sale-progress-text {
  font-size: 12px;
  color: var(--primary-orange);
  font-weight: 600;
  white-space: nowrap;
}

/* ----------------------------------------
   26. Voucher / Coupon
   ---------------------------------------- */
.voucher-card {
  display: flex;
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.voucher-card-left {
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  position: relative;
  background-color: var(--primary-orange);
  color: var(--white);
}

.voucher-card-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 16px;
  height: 100%;
  background: radial-gradient(circle at 0 50%, transparent 8px, var(--white) 8px);
}

.voucher-card-discount {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.voucher-card-type {
  font-size: 11px;
  margin-top: 4px;
}

.voucher-card-right {
  flex: 1;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.voucher-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.voucher-card-desc {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.voucher-card-expiry {
  font-size: 11px;
  color: var(--text-light);
}

.voucher-card-action {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 15px;
}

/* ----------------------------------------
   27. Tabs
   ---------------------------------------- */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-item {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-gray);
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
}

.tab-item:hover {
  color: var(--primary-orange);
}

.tab-item.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
  font-weight: 600;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

/* ----------------------------------------
   28. Pagination
   ---------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 25px;
}

.pagination-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-size: 14px;
  color: var(--text-gray);
  transition: var(--transition);
  cursor: pointer;
  background-color: var(--white);
}

.pagination-btn:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.pagination-btn.active {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: var(--white);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ----------------------------------------
   29. Dropdown
   ---------------------------------------- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  z-index: 1000;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: var(--transition);
}

.dropdown.show .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
  color: var(--primary-orange);
}

.dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--text-gray);
}

.dropdown-item:hover i {
  color: var(--primary-orange);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 8px 0;
}

.dropdown-header {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ----------------------------------------
   30. Tooltip
   ---------------------------------------- */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background-color: var(--text-dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-dark);
}

/* ----------------------------------------
   31. Progress Bar
   ---------------------------------------- */
.progress {
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-bar-primary { background-color: var(--primary-orange); }
.progress-bar-success { background-color: var(--success); }
.progress-bar-warning { background-color: var(--warning); }
.progress-bar-danger { background-color: var(--danger); }
.progress-bar-info { background-color: var(--info); }

/* ----------------------------------------
   32. Avatar
   ---------------------------------------- */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  overflow: hidden;
  background-color: var(--primary-orange);
  color: var(--white);
  font-weight: 600;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-sm {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.avatar-md {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.avatar-lg {
  width: 60px;
  height: 60px;
  font-size: 20px;
}

.avatar-xl {
  width: 80px;
  height: 80px;
  font-size: 28px;
}

/* ----------------------------------------
   33. Chip / Tag
   ---------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background-color: #f0f0f0;
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-gray);
  transition: var(--transition);
}

.chip-primary {
  background-color: rgba(238, 77, 45, 0.1);
  color: var(--primary-orange);
}

.chip-success {
  background-color: rgba(38, 170, 153, 0.1);
  color: var(--success);
}

.chip-close {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.chip-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------
   34. Step / Timeline
   ---------------------------------------- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-light);
  background-color: var(--white);
  z-index: 2;
  transition: var(--transition);
}

.step.active .step-icon {
  border-color: var(--primary-orange);
  background-color: var(--primary-orange);
  color: var(--white);
}

.step.completed .step-icon {
  border-color: var(--success);
  background-color: var(--success);
  color: var(--white);
}

.step-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-gray);
  text-align: center;
}

.step.active .step-label {
  color: var(--primary-orange);
  font-weight: 600;
}

.step.completed .step-label {
  color: var(--success);
}

.step + .step::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.step.active + .step::before {
  background: linear-gradient(90deg, var(--primary-orange), var(--border-color));
}

.step.completed + .step::before {
  background-color: var(--success);
}

/* ----------------------------------------
   35. Quantity Control (Standalone)
   ---------------------------------------- */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 3px;
}

.qty-control-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-gray);
  transition: var(--transition);
  cursor: pointer;
}

.qty-control-btn:hover {
  background-color: #f5f5f5;
  color: var(--text-dark);
}

.qty-control-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-control-input {
  width: 50px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
}

/* ----------------------------------------
   36. Price Display
   ---------------------------------------- */
.price {
  color: var(--primary-orange);
  font-weight: 600;
}

.price-lg {
  font-size: 20px;
}

.price-xl {
  font-size: 28px;
}

.price-original {
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: 400;
}

.price-original-lg {
  font-size: 16px;
}

.price-discount {
  display: inline-block;
  background-color: rgba(238, 77, 45, 0.1);
  color: var(--primary-orange);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
}

/* ----------------------------------------
   37. Shop Card
   ---------------------------------------- */
.shop-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--white);
  border-radius: 3px;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.shop-card:hover {
  box-shadow: var(--shadow-md);
}

.shop-card-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  overflow: hidden;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.shop-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card-info {
  flex: 1;
}

.shop-card-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.shop-card-stats {
  font-size: 12px;
  color: var(--text-gray);
  display: flex;
  gap: 15px;
}

/* ----------------------------------------
   38. Review Card
   ---------------------------------------- */
.review-card {
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
}

.review-card:last-child {
  border-bottom: none;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card-user {
  font-size: 14px;
  font-weight: 500;
}

.review-card-date {
  font-size: 12px;
  color: var(--text-light);
}

.review-card-variant {
  font-size: 12px;
  color: var(--text-gray);
  padding: 3px 8px;
  background-color: #f5f5f5;
  border-radius: 3px;
  margin-left: 10px;
}

.review-card-content {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 10px;
}

.review-card-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-card-image {
  width: 80px;
  height: 80px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.review-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------
   39. Contact / Chat Widget
   ---------------------------------------- */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
}

.chat-widget-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-round);
  background-color: var(--primary-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(238, 77, 45, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.chat-widget-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(238, 77, 45, 0.5);
}

.chat-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 450px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.active {
  display: flex;
  animation: scaleIn 0.2s ease-out;
}

.chat-window-header {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-window-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.chat-message.received {
  background-color: #f0f0f0;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message.sent {
  background-color: var(--primary-orange);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-window-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-color);
}

.chat-window-input input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 14px;
}

/* ----------------------------------------
   40. Back to Top Button
   ---------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-round);
  background-color: var(--primary-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(238, 77, 45, 0.3);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(238, 77, 45, 0.4);
}

/* ----------------------------------------
   41. Image Zoom Modal
   ---------------------------------------- */
.zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.zoom-modal.active {
  display: flex;
}

.zoom-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.zoom-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.zoom-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ----------------------------------------
   42. Responsive - Tablet (768px)
   ---------------------------------------- */
@media (max-width: 768px) {
  html {
    font-size: 13px;
  }

  .header-main .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-logo {
    order: 1;
  }

  .header-mobile-toggle {
    display: block;
    order: 2;
  }

  .header-actions {
    order: 3;
    margin-left: auto;
  }

  .header-search {
    order: 4;
    width: 100%;
    max-width: none;
  }

  .header-top {
    display: none;
  }

  .header-sticky .header-category {
    display: none;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    position: static;
  }

  .cart-table-header,
  .cart-table-item {
    grid-template-columns: 30px 1fr;
    gap: 10px;
  }

  .cart-table-header > *:nth-child(n+3),
  .cart-table-item > *:nth-child(n+3) {
    display: none;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
    order: -1;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-table {
    font-size: 13px;
  }

  .data-table th,
  .data-table td {
    padding: 10px;
  }

  .flash-sale-header {
    flex-wrap: wrap;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .product-mobile-bar {
    display: block;
  }

  .steps {
    flex-direction: column;
    gap: 15px;
  }

  .step {
    flex-direction: row;
    gap: 12px;
  }

  .step + .step::before {
    display: none;
  }

  .chat-window {
    width: 300px;
    height: 400px;
    right: -10px;
  }
}

/* ----------------------------------------
   43. Responsive - Mobile (480px)
   ---------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-grid-3 {
    grid-template-columns: 1fr;
  }

  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .category-card-image {
    width: 70px;
    height: 70px;
  }

  .product-card-info {
    padding: 8px;
  }

  .product-card-price-current {
    font-size: 14px;
  }

  .product-card-title {
    font-size: 12px;
    min-height: 30px;
  }

  .auth-card {
    padding: 25px 20px;
    border-radius: var(--radius-sm);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    text-align: center;
  }

  .admin-stat-cards {
    grid-template-columns: 1fr;
  }

  .modal {
    margin: 10px;
    max-height: 80vh;
  }

  .product-gallery-thumbnails {
    gap: 5px;
  }

  .product-gallery-thumb {
    width: 50px;
    height: 50px;
  }

  .cart-summary {
    flex-direction: column;
    gap: 10px;
  }

  .cart-summary-left {
    flex-direction: column;
    text-align: center;
  }

  .voucher-card {
    flex-direction: column;
  }

  .voucher-card-left {
    width: 100%;
    padding: 10px;
    flex-direction: row;
    gap: 10px;
  }

  .voucher-card-left::after {
    display: none;
  }

  .shop-card {
    flex-direction: column;
    text-align: center;
  }

  .shop-card-stats {
    justify-content: center;
  }

  .toast-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    min-width: auto;
  }

  .review-card-images {
    gap: 5px;
  }

  .review-card-image {
    width: 60px;
    height: 60px;
  }

  .pagination {
    gap: 3px;
  }

  .pagination-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .header-search-btn {
    padding: 0 14px;
  }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.1rem; }
}

/* ----------------------------------------
   44. Print Styles
   ---------------------------------------- */
@media print {
  .header,
  .footer,
  .admin-sidebar,
  .chat-widget,
  .back-to-top,
  .btn,
  .header-category,
  .product-mobile-bar {
    display: none !important;
  }

  body {
    background-color: var(--white);
    color: #000;
  }

  .container {
    max-width: 100%;
  }

  a {
    text-decoration: underline;
  }
}

/* ----------------------------------------
   45. Accessibility
   ---------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 20px;
  background-color: var(--primary-orange);
  color: var(--white);
  z-index: 10000;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Dark mode hint (optional class) */
.dark-mode {
  --bg-default: #121212;
  --white: #1e1e1e;
  --text-dark: #e0e0e0;
  --text-gray: #aaa;
  --text-light: #777;
  --border-color: #333;
}

/* ----------------------------------------
   46. Notification Badge
   ---------------------------------------- */
.notification-badge {
  position: relative;
}

.notification-badge::after {
  content: attr(data-count);
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  background-color: var(--danger);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ----------------------------------------
   47. Countdown Timer
   ---------------------------------------- */
.countdown {
  display: flex;
  align-items: center;
  gap: 4px;
}

.countdown-block {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
  line-height: 1;
}

.countdown-separator {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-orange);
}

/* ----------------------------------------
   48. Shipping Info Widget
   ---------------------------------------- */
.shipping-info {
  background-color: #fafafa;
  border-radius: 3px;
  padding: 15px;
  margin-top: 15px;
}

.shipping-info-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.shipping-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
}

.shipping-info-row i {
  color: var(--text-light);
  width: 20px;
  text-align: center;
  margin-top: 2px;
}

.shipping-info-row-label {
  color: var(--text-gray);
  min-width: 80px;
}

.shipping-info-row-value {
  color: var(--text-dark);
}

/* ----------------------------------------
   49. Sticky Add-to-Cart Bar
   ---------------------------------------- */
.sticky-addcart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 998;
  padding: 10px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-addcart-bar.visible {
  transform: translateY(0);
}

.sticky-addcart-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.sticky-addcart-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-addcart-image {
  width: 45px;
  height: 45px;
  border-radius: 3px;
  overflow: hidden;
}

.sticky-addcart-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sticky-addcart-price {
  color: var(--primary-orange);
  font-size: 18px;
  font-weight: 600;
}

.sticky-addcart-actions {
  display: flex;
  gap: 10px;
}

/* ----------------------------------------
   50. Misc / Extras
   ---------------------------------------- */
.page-header {
  background-color: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.page-title {
  font-size: 22px;
  font-weight: 600;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  margin-top: 4px;
}

.section-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}

.section-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.link-orange {
  color: var(--primary-orange);
}

.link-orange:hover {
  text-decoration: underline;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wrapper-shadow {
  box-shadow: var(--shadow-sm);
  border-radius: 3px;
}

.mb-footer {
  margin-bottom: 0;
}

.no-data {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-gray);
  font-size: 14px;
}

.strip-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.strip-line::before,
.strip-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.strip-line i {
  color: var(--primary-orange);
  font-size: 14px;
}

/* Horizontal Scroll Container */
.scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-container > * {
  flex-shrink: 0;
}

/* Grid of badges/labels */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Price range display */
.price-range {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-orange);
  font-weight: 500;
}

.price-range-separator {
  color: var(--text-gray);
}

/* Product label / tag on image */
.product-labels {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
}

.product-label {
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  color: var(--white);
}

.product-label.label-cod {
  background-color: var(--info);
}

.product-label.label-mall {
  background-color: var(--primary-orange);
}

.product-label.label-liked {
  background-color: #e91e63;
}

/* Admin sidebar overlay for mobile */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.admin-sidebar-overlay.active {
  display: block;
}

/* Swiper-like carousel controls */
.carousel-wrapper {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background-color: rgba(0, 0, 0, 0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background-color: var(--primary-orange);
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

/* Horizontal product scroll */
.product-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 5px;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

.product-scroll > .product-card {
  min-width: 200px;
  max-width: 200px;
  scroll-snap-align: start;
}

/* Filter sidebar (shop/search) */
.filter-sidebar {
  position: sticky;
  top: 20px;
}

.filter-section {
  background-color: var(--white);
  border-radius: 3px;
  padding: 15px;
  margin-bottom: 10px;
}

.filter-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-option:hover {
  color: var(--primary-orange);
}

.filter-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-price-inputs input {
  width: 80px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  padding: 0 8px;
  font-size: 13px;
  text-align: center;
}

/* Search results info */
.search-results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  color: var(--text-gray);
}

.search-results-count strong {
  color: var(--text-dark);
}

.search-sort-options {
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-sort-option {
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-gray);
  border: 1px solid var(--border-color);
  border-radius: 3px;
  transition: var(--transition);
  cursor: pointer;
}

.search-sort-option:hover,
.search-sort-option.active {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
  background-color: #fff5f2;
}

/* ============================================
   SHOPEE-STYLE COMPONENTS
   ============================================ */

/* ----------------------------------------
   Hero Section - Banner Carousel
   ---------------------------------------- */
.hero-section {
  background-color: var(--white);
  padding: 15px 0 0;
}

.hero-wrapper {
  display: flex;
  gap: 0;
  height: 260px;
}

.hero-sidebar {
  width: 210px;
  flex-shrink: 0;
  background-color: rgba(0,0,0,0.08);
  border-radius: 0 0 0 3px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 15px;
  font-size: 13px;
  color: var(--text-dark);
  transition: background 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-sidebar-item:hover {
  background-color: rgba(255,255,255,0.25);
  color: var(--primary-orange);
}

.hero-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 0 3px 3px 0;
}

.hero-slides {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-content {
  color: var(--white);
  max-width: 50%;
}

.hero-slide-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.hero-slide-content p {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.9;
  color: var(--white);
}

.btn-white {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--white);
  color: var(--primary-orange);
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  transition: var(--transition);
}

.btn-white:hover {
  background-color: #f0f0f0;
  color: var(--primary-orange);
}

.hero-slide-image {
  max-width: 180px;
  max-height: 180px;
}

.hero-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 50px;
  background-color: rgba(0,0,0,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  z-index: 3;
}

.hero-arrow:hover {
  background-color: rgba(0,0,0,0.5);
}

.hero-prev { left: 0; border-radius: 0 3px 3px 0; }
.hero-next { right: 0; border-radius: 3px 0 0 3px; }

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 20px;
  height: 3px;
  background-color: rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  width: 30px;
  background-color: var(--white);
}

/* ----------------------------------------
   Category Strip Section
   ---------------------------------------- */
.category-strip-section {
  background-color: var(--white);
  padding: 15px 0;
  border-top: 1px solid #f0f0f0;
}

.category-strip-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-strip-scroll::-webkit-scrollbar {
  display: none;
}

.category-strip-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  min-width: 85px;
  transition: var(--transition);
  border-radius: 3px;
}

.category-strip-card:hover {
  background-color: #fef0eb;
}

.category-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fef0eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-strip-emoji {
  font-size: 20px;
}

.category-strip-name {
  font-size: 11px;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  max-width: 80px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----------------------------------------
   Flash Sale / Product Scroll Section
   ---------------------------------------- */
.section-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.section-title-shopee {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-orange);
  position: relative;
  padding-left: 12px;
}

.section-title-shopee::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background-color: var(--primary-orange);
  border-radius: 2px;
}

.section-view-all {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--primary-orange);
  font-weight: 500;
}

.section-view-all:hover {
  text-decoration: underline;
}

.product-scroll-wrapper {
  position: relative;
}

.product-scroll-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 5px 0;
}

.product-scroll-track::-webkit-scrollbar {
  display: none;
}

.product-scroll-card {
  flex-shrink: 0;
  width: 188px;
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: block;
}

.product-scroll-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.product-scroll-img {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}

.product-scroll-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 0 0 0 4px;
}

.product-scroll-info {
  padding: 10px;
}

.product-scroll-price {
  margin-bottom: 4px;
}

.price-val {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-orange);
}

.product-scroll-name {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  margin-bottom: 4px;
}

.product-scroll-meta {
  font-size: 11px;
  color: var(--text-light);
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 60px;
  background-color: rgba(0,0,0,0.25);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s;
}

.scroll-arrow:hover {
  background-color: rgba(0,0,0,0.5);
}

.scroll-left { left: 0; border-radius: 0 3px 3px 0; }
.scroll-right { right: 0; border-radius: 3px 0 0 3px; }

/* ----------------------------------------
   Product Grid - Shopee Style
   ---------------------------------------- */
.product-grid-shopee {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.product-card-shopee {
  background-color: var(--white);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: block;
}

.product-card-shopee:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.product-card-shopee-img {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
}

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

.product-card-shopee:hover .product-card-shopee-img img {
  transform: scale(1.03);
}

.product-card-shopee-info {
  padding: 10px;
}

.product-card-shopee-name {
  font-size: 12px;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
  margin-bottom: 6px;
}

.product-card-shopee-price {
  margin-bottom: 6px;
}

.price-shopee {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-orange);
}

.product-card-shopee-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-light);
}

.product-card-shopee-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-light);
}

.star-on {
  color: #ffc53d;
  font-size: 12px;
}

.product-card-shopee-sold {
  font-size: 11px;
  color: var(--text-light);
}

.recom-header {
  background-color: var(--primary-orange);
  border-radius: 3px 3px 0 0;
  padding: 12px 15px;
  margin-bottom: 0;
}

.recom-header .section-title-shopee {
  color: var(--white);
}

.recom-header .section-title-shopee::before {
  background-color: var(--white);
}

.recom-section {
  background-color: var(--white);
  padding-top: 0;
}

.recom-section .product-grid-shopee {
  border-top: none;
}

/* ----------------------------------------
   Product Detail - Shopee Style
   ---------------------------------------- */
.breadcrumb-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.breadcrumb-shopee {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: var(--text-light);
  gap: 6px;
}

.breadcrumb-shopee a {
  color: var(--text-gray);
}

.breadcrumb-shopee a:hover {
  color: var(--primary-orange);
}

.bc-sep {
  color: var(--text-light);
}

.bc-current {
  color: var(--text-dark);
}

.pd-main {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 30px;
  padding: 20px 0;
  background-color: var(--white);
  margin-top: 0;
  padding-left: 15px;
  padding-right: 15px;
}

/* Product Detail Gallery */
.pd-gallery {
  position: sticky;
  top: 80px;
  align-self: start;
}

.pd-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  background-color: #f8f8f8;
  margin-bottom: 10px;
  cursor: crosshair;
}

.pd-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.pd-gallery-main:hover .pd-main-img {
  transform: scale(1.6);
}

.pd-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-color: rgba(0,0,0,0.25);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
}

.pd-gallery-main:hover .pd-gallery-arrow {
  opacity: 1;
}

.pd-gallery-arrow:hover {
  background-color: rgba(0,0,0,0.5);
}

.pd-arrow-left { left: 8px; border-radius: 0 3px 3px 0; }
.pd-arrow-right { right: 8px; border-radius: 3px 0 0 3px; }

.pd-img-counter {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0,0,0,0.55);
  color: var(--white);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
}

.pd-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.pd-thumb {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border: 2px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}

.pd-thumb:hover,
.pd-thumb.active {
  border-color: var(--primary-orange);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Detail Info */
.pd-info {
  padding-right: 15px;
}

.pd-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 15px;
  font-size: 13px;
}

.pd-rating-score {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffc53d;
  font-weight: 600;
}

.pd-rating-score span:last-child {
  color: var(--primary-orange);
}

.pd-rating-sep {
  color: var(--border-color);
}

.pd-review-count,
.pd-sold-count {
  color: var(--text-gray);
}

.pd-price-box {
  background-color: #fafafa;
  padding: 15px 20px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.pd-price-current {
  font-size: 30px;
  font-weight: 500;
  color: var(--primary-orange);
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.pd-price-original {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
}

.pd-discount-tag {
  display: inline-block;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.pd-options {
  margin-bottom: 20px;
}

.pd-option-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.pd-option-row:last-child {
  border-bottom: none;
}

.pd-option-label {
  font-size: 14px;
  color: var(--text-light);
  min-width: 80px;
  flex-shrink: 0;
}

.pd-option-value {
  font-size: 14px;
  color: var(--text-dark);
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.pd-qty-controls {
  display: flex;
  border: 1px solid var(--border-color);
}

.pd-qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-gray);
  background-color: #fafafa;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.pd-qty-btn:hover {
  background-color: #f0f0f0;
}

.pd-qty-input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.pd-qty-stock {
  font-size: 12px;
  color: var(--text-light);
}

.pd-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.pd-btn-cart {
  background-color: var(--white);
  color: var(--primary-orange);
  border-color: var(--primary-orange);
  flex: 1;
}

.pd-btn-cart:hover {
  background-color: #fff5f2;
}

.pd-btn-buy {
  background-color: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
  flex: 1;
}

.pd-btn-buy:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.pd-policies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.pd-policy-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
}

.pd-policy-item svg {
  color: var(--text-light);
  flex-shrink: 0;
}

/* Product Detail Tabs */
.pd-tabs {
  background-color: var(--white);
  border-radius: 3px;
  margin-top: 15px;
}

.pd-tabs-header {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.pd-tab-btn {
  padding: 14px 25px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

.pd-tab-btn:hover {
  color: var(--primary-orange);
}

.pd-tab-btn.active {
  color: var(--primary-orange);
  border-bottom-color: var(--primary-orange);
  font-weight: 600;
}

.pd-tab-content {
  display: none;
  padding: 20px;
}

.pd-tab-content.active {
  display: block;
}

.pd-desc-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
}

.pd-info-table {
  width: 100%;
}

.pd-info-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
  vertical-align: top;
}

.pd-info-table td:first-child {
  width: 150px;
  color: var(--text-gray);
  background-color: #fafafa;
}

/* Mobile Sticky Bar */
.pd-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  padding: 10px 15px;
  z-index: 999;
  border-top: 1px solid var(--border-color);
  gap: 8px;
}

.pd-btn-mobile {
  padding: 10px 16px !important;
}

.pd-btn-mobile-full {
  flex: 1;
}

/* ----------------------------------------
   Responsive - Shopee Components
   ---------------------------------------- */
@media (max-width: 1200px) {
  .product-grid-shopee {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column;
    height: auto;
  }

  .hero-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    border-radius: 3px;
    display: none;
  }

  .hero-carousel {
    border-radius: 3px;
    height: 200px;
  }

  .product-grid-shopee {
    grid-template-columns: repeat(3, 1fr);
  }

  .pd-main {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 15px;
  }

  .pd-gallery {
    position: static;
  }

  .pd-mobile-bar {
    display: flex;
  }

  .pd-actions {
    display: none;
  }

  .pd-policies {
    display: none;
  }
}

@media (max-width: 768px) {
  .product-grid-shopee {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-slide-content h2 {
    font-size: 18px;
  }

  .hero-slide-image {
    max-width: 120px;
    max-height: 120px;
  }

  .hero-slide {
    padding: 0 30px;
  }

  .pd-title {
    font-size: 16px;
  }

  .pd-price-current {
    font-size: 24px;
  }

  .pd-tabs-header {
    overflow-x: auto;
  }

  .pd-tab-btn {
    white-space: nowrap;
    padding: 12px 15px;
    font-size: 13px;
  }

  .pd-mobile-bar {
    display: flex;
  }

  .pd-actions {
    display: none;
  }
}

@media (max-width: 576px) {
  .product-grid-shopee {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .product-card-shopee-info {
    padding: 8px;
  }

  .price-shopee {
    font-size: 14px;
  }

  .hero-slide {
    height: 180px;
  }

  .hero-arrow {
    display: none;
  }

  .pd-gallery-main {
    aspect-ratio: 1;
  }

  .pd-gallery-arrow {
    display: flex;
  }

  .pd-main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pd-price-box {
    padding: 12px 15px;
  }

  .pd-qty-row {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* End of stylesheet */
