/* ============================================================
   JMB Ferragens - Premium Hardware Store CSS
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary: #FF6B00;
  --primary-dark: #E55A00;
  --secondary: #1A1A2E;
  --accent: #FFD700;
  --success: #28A745;
  --danger: #DC3545;
  --warning: #FFC107;
  --info: #17A2B8;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #F8F9FA;
  --bg-dark: #ECECEC;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --border-dark: #CCCCCC;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --transition: all 0.3s ease;
  --font: 'Inter', sans-serif;
  --header-height: 70px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font);
  font-size: 1rem;
}

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

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

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

section { padding: 60px 0; }

/* ============================================================
   LAYOUT - CONTAINER & GRID
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

[class*="col-"] {
  padding: 0 12px;
}

.col-1  { flex: 0 0 8.333%; max-width: 8.333%; }
.col-2  { flex: 0 0 16.667%; max-width: 16.667%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.667%; max-width: 41.667%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.667%; max-width: 91.667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.d-flex { display: flex; }
.d-none { display: none; }
.d-block { display: block; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.w-100 { width: 100%; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

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

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

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

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

.btn-secondary:hover {
  background: #2a2a4e;
  border-color: #2a2a4e;
  color: var(--white);
}

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

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

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

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

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

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

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

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

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1eb356;
  border-color: #1eb356;
  color: var(--white);
}

.btn-icon {
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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

.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.form-error {
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 4px;
}

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

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header-top {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  padding: 6px 0;
}

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

.header-top a {
  color: rgba(255, 255, 255, 0.8);
}

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

.header-top-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

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

.header-main {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.header-main .container {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.logo {
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}

.logo span {
  color: var(--secondary);
}

.logo img {
  height: 44px;
  width: auto;
}

/* Search Bar */
.search-bar {
  flex: 1;
  position: relative;
  max-width: 560px;
}

.search-bar form {
  display: flex;
  border: 2px solid var(--primary);
  border-radius: 50px;
  overflow: hidden;
  background: var(--white);
}

.search-bar input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--text);
}

.search-bar select {
  border: none;
  border-right: 1px solid var(--border);
  padding: 0 12px;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  outline: none;
  display: none;
}

.search-bar button[type="submit"] {
  padding: 0 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.search-bar button[type="submit"]:hover {
  background: var(--primary-dark);
}

/* Autocomplete Dropdown */
.search-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  z-index: 200;
  max-height: 380px;
  overflow-y: auto;
  display: none;
}

.search-autocomplete.active {
  display: block;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.autocomplete-item:hover {
  background: var(--bg);
}

.autocomplete-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.autocomplete-item-info { flex: 1; }

.autocomplete-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.autocomplete-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.autocomplete-category {
  padding: 8px 16px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
  text-decoration: none;
}

.header-action-btn:hover {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.06);
}

.header-action-btn .icon {
  font-size: 1.4rem;
  line-height: 1;
}

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

/* Navigation */
.nav-bar {
  background: var(--secondary);
  position: relative;
}

.nav-bar .container {
  display: flex;
  align-items: stretch;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform 0.2s;
}

.nav-item:hover .arrow {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 720px;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: none;
  z-index: 500;
  border-top: 3px solid var(--primary);
}

.nav-item:hover .mega-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mega-menu-section h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.mega-menu-section a {
  display: block;
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--text);
  transition: var(--transition);
}

.mega-menu-section a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* Simple Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 500;
  border-top: 3px solid var(--primary);
  overflow: hidden;
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
  padding-left: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  transition: left 0.3s ease;
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav-header {
  background: var(--secondary);
  color: var(--white);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav-body { padding: 16px 0; }

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.mobile-nav-link:hover {
  background: var(--bg);
  color: var(--primary);
}

.mobile-nav-submenu {
  background: var(--bg);
  display: none;
}

.mobile-nav-submenu.open {
  display: block;
}

.mobile-nav-submenu a {
  display: block;
  padding: 10px 32px;
  color: var(--text-light);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
}

.mobile-overlay.active {
  display: block;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  margin-bottom: 24px;
}

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

.breadcrumb-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

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

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumb-separator {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ============================================================
   HERO BANNER / SLIDER
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
}

.hero-slider {
  position: relative;
  height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  padding: 0 60px;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.3) 60%, transparent 100%);
  z-index: -1;
}

.hero-content {
  max-width: 550px;
  color: var(--white);
  z-index: 2;
}

.hero-eyebrow {
  background: var(--primary);
  color: var(--white);
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: var(--primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ============================================================
   BANNER STRIPS
   ============================================================ */
.banner-strip {
  background: var(--primary);
  color: var(--white);
  padding: 14px 0;
}

.banner-strip .container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.banner-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.banner-strip-item .icon {
  font-size: 1.4rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 1.9rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.section-title-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.section-title-line h2 {
  font-size: 1.5rem;
  white-space: nowrap;
}

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

.section-title-line::before {
  background: var(--primary);
  max-width: 50px;
  flex: none;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.15);
  transform: translateY(-4px);
  color: var(--primary);
}

.category-card-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.3s;
}

.category-card:hover .category-card-icon {
  transform: scale(1.15);
}

.category-card-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 12px;
  border-radius: var(--radius);
}

.category-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.category-card-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.12);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}

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

.product-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-promo {
  background: var(--danger);
  color: var(--white);
}

.badge-novo {
  background: var(--success);
  color: var(--white);
}

.badge-mais-vendido {
  background: var(--accent);
  color: var(--secondary);
}

.badge-destaque {
  background: var(--primary);
  color: var(--white);
}

.badge-esgotado {
  background: var(--text-muted);
  color: var(--white);
}

.product-card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 2;
}

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

.product-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-brand {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-name a {
  color: inherit;
}

.product-card-name a:hover {
  color: var(--primary);
}

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

.stars {
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-card-price {
  margin-bottom: 12px;
}

.price-old {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}

.price-current {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.price-installment {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.price-discount {
  display: inline-block;
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

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

.product-card-actions .btn-primary {
  flex: 1;
  font-size: 0.83rem;
  padding: 8px 12px;
}

.product-card-actions .btn-whatsapp {
  padding: 8px 10px;
  font-size: 1rem;
}

/* ============================================================
   PRODUCT LIST VIEW
   ============================================================ */
.product-list-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
  padding: 20px;
  transition: var(--transition);
  margin-bottom: 16px;
}

.product-list-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.product-list-image {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-list-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.product-list-body {
  flex: 1;
}

.product-list-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-width: 180px;
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.filter-sidebar {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.filter-header {
  padding: 16px 20px;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.filter-clear-all {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  text-decoration: underline;
}

.filter-clear-all:hover {
  color: var(--white);
}

.filter-section {
  border-bottom: 1px solid var(--border);
}

.filter-section-title {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.2s;
}

.filter-section-title:hover {
  background: var(--bg);
}

.filter-section-title .arrow {
  transition: transform 0.2s;
  font-size: 0.7rem;
}

.filter-section-title.collapsed .arrow {
  transform: rotate(-90deg);
}

.filter-section-body {
  padding: 8px 20px 16px;
}

.filter-section-body.hidden {
  display: none;
}

.filter-price-range {
  padding: 8px 0;
}

.price-range-input {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.price-range-input input {
  flex: 1;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  outline: none;
}

.price-range-input input:focus {
  border-color: var(--primary);
}

.price-range-slider {
  width: 100%;
  accent-color: var(--primary);
  margin-top: 10px;
}

.filter-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.filter-color-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: var(--transition);
}

.filter-color-dot.active,
.filter-color-dot:hover {
  border-color: var(--primary);
  transform: scale(1.15);
}

.filter-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}

.filter-tag {
  padding: 4px 12px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Mobile filter toggle */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}

/* Shop Toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.shop-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-results-count {
  font-size: 0.88rem;
  color: var(--text-light);
}

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-sort select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  outline: none;
  color: var(--text);
}

.view-toggles {
  display: flex;
  gap: 4px;
}

.view-toggle-btn {
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 1rem;
}

.view-toggle-btn.active,
.view-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,107,0,0.05);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.product-main-image {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
  transition: transform 0.3s;
}

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

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-thumbnail {
  width: 72px;
  height: 72px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
  flex-shrink: 0;
}

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

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

/* Product Info */
.product-info {}

.product-info-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.product-info-brand a {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.product-sku {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-info-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 14px;
}

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

.product-info-rating .stars { font-size: 1.1rem; }

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

.product-info-price .price-old {
  font-size: 1rem;
  margin-bottom: 4px;
}

.product-info-price .price-current {
  font-size: 2rem;
  margin-bottom: 6px;
}

.product-info-price .price-installment {
  font-size: 0.9rem;
}

.product-pix-price {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--success);
  font-weight: 600;
}

.product-pix-price span {
  font-size: 1.1rem;
  font-weight: 800;
}

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

.qty-label {
  font-weight: 600;
  font-size: 0.9rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-btn {
  width: 38px;
  height: 42px;
  background: var(--bg);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.2s;
}

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

.qty-input {
  width: 56px;
  height: 42px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}

.product-buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.product-buy-actions .btn-primary {
  padding: 14px;
  font-size: 1rem;
}

.product-buy-actions .btn-whatsapp {
  padding: 12px;
  font-size: 0.95rem;
}

.product-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.product-extra-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.product-extra-item .icon {
  font-size: 1.2rem;
  color: var(--success);
}

/* Product Tabs */
.product-tabs {
  margin-top: 48px;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-light);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--transition);
}

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

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
  padding: 28px 0;
}

.tab-pane.active {
  display: block;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr:nth-child(even) {
  background: var(--bg);
}

.specs-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--secondary);
  width: 35%;
  background: rgba(26,26,46,0.03);
}

/* ============================================================
   STAR RATING
   ============================================================ */
.star-rating {
  display: inline-flex;
  gap: 2px;
  direction: rtl;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 1.5rem;
  color: var(--border);
  cursor: pointer;
  transition: color 0.15s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--accent);
}

/* Review Cards */
.review-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 8px;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.cart-items {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.cart-header h3 { font-size: 1.1rem; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item:last-child {
  border-bottom: none;
}

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

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
}

.cart-item-sku {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cart-item-price {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cart-item-unit {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cart-item-total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

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

.cart-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s;
}

.cart-remove:hover {
  transform: scale(1.2);
}

/* Cart Summary */
.cart-summary {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.cart-summary h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px solid var(--border);
}

.coupon-form {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-form input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  outline: none;
}

.coupon-form input:focus {
  border-color: var(--primary);
}

.shipping-calc {
  margin-bottom: 20px;
}

.shipping-calc-label {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.shipping-calc form {
  display: flex;
  gap: 8px;
}

.shipping-calc input {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  outline: none;
}

/* ============================================================
   QUOTE / ORÇAMENTO FORM
   ============================================================ */
.quote-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}

.quote-section h2 {
  margin-bottom: 8px;
}

.quote-section .subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
}

.quote-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.quote-items-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
}

.quote-items-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.quote-items-table tr:hover td {
  background: var(--bg);
}

.add-quote-item {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: flex-end;
}

/* ============================================================
   LOYALTY / FIDELIDADE
   ============================================================ */
.loyalty-card {
  background: linear-gradient(135deg, var(--secondary) 0%, #2a2a6e 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.loyalty-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255,215,0,0.1);
  border-radius: 50%;
}

.loyalty-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: 20px;
  width: 100px;
  height: 100px;
  background: rgba(255,215,0,0.08);
  border-radius: 50%;
}

.loyalty-points {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.loyalty-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.loyalty-progress {
  background: rgba(255,255,255,0.15);
  border-radius: 50px;
  height: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.loyalty-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 50px;
  transition: width 0.8s ease;
}

.loyalty-progress-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.cashback-display {
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cashback-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th {
  background: var(--secondary);
  color: var(--white);
  padding: 16px;
  text-align: center;
  min-width: 200px;
}

.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table tr:nth-child(even) td {
  background: var(--bg);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(26,26,46,0.03);
}

.comparison-check {
  color: var(--success);
  font-size: 1.1rem;
}

.comparison-cross {
  color: var(--danger);
  font-size: 1.1rem;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 0;
  flex-wrap: wrap;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.page-link:hover,
.page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

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

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

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

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

.modal-header h3 {
  font-size: 1.15rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--danger);
  color: var(--white);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.modal-lg { max-width: 860px; }
.modal-sm { max-width: 420px; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 4px solid var(--primary);
  animation: slideInRight 0.4s ease;
  transition: all 0.3s;
}

.toast.removing {
  animation: slideOutRight 0.3s ease forwards;
}

.toast-success { border-left-color: var(--success); }
.toast-danger { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }
.toast-info { border-left-color: var(--info); }

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

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

.toast-body { flex: 1; }

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
  color: var(--text);
}

.toast-text {
  font-size: 0.83rem;
  color: var(--text-light);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s;
}

.toast-close:hover { color: var(--text); }

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

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

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: var(--transition);
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-float-tooltip {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 36px rgba(37, 211, 102, 0.7); }
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.6s infinite;
  border-radius: var(--radius);
}

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

.skeleton-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-image {
  height: 200px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.6s infinite;
}

.skeleton-body {
  padding: 14px 16px;
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.6s infinite;
}

.skeleton-line-short { width: 60%; }
.skeleton-line-medium { width: 80%; }
.skeleton-line-tall { height: 24px; }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--secondary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

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

.admin-nav {
  padding: 16px 0;
  flex: 1;
}

.admin-nav-section {
  padding: 8px 20px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--white);
  background: rgba(255, 107, 0, 0.2);
  border-left: 3px solid var(--primary);
}

.admin-nav-link .icon {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
}

.admin-main {
  background: var(--bg);
  padding: 28px;
  overflow-x: auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.admin-topbar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
}

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

/* Stat Cards */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.stat-card.green::before { background: var(--success); }
.stat-card.blue::before { background: var(--info); }
.stat-card.yellow::before { background: var(--warning); }
.stat-card.red::before { background: var(--danger); }

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,107,0,0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-card.green .stat-card-icon { background: rgba(40,167,69,0.1); color: var(--success); }
.stat-card.blue .stat-card-icon { background: rgba(23,162,184,0.1); color: var(--info); }
.stat-card.yellow .stat-card-icon { background: rgba(255,193,7,0.1); color: var(--warning); }
.stat-card.red .stat-card-icon { background: rgba(220,53,69,0.1); color: var(--danger); }

.stat-card-info {}

.stat-card-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.stat-card-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-card-change {
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

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

/* Admin Cards */
.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  overflow: hidden;
}

.admin-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-card-header h3 {
  font-size: 1rem;
}

.admin-card-body {
  padding: 24px;
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table thead th {
  background: var(--bg);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.data-table thead th:hover {
  color: var(--primary);
}

.data-table thead th.sort-asc::after { content: ' ↑'; }
.data-table thead th.sort-desc::after { content: ' ↓'; }

.data-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: rgba(255, 107, 0, 0.03);
}

.data-table .product-img-sm {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  object-fit: contain;
  padding: 3px;
}

.data-table .actions-cell {
  display: flex;
  gap: 6px;
  align-items: center;
}

.table-search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  margin-bottom: 4px;
}

.table-search-row input {
  max-width: 280px;
}

/* Status badges for admin */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-pendente { background: rgba(255,193,7,0.15); color: #856404; }
.status-confirmado { background: rgba(23,162,184,0.15); color: #0c6878; }
.status-processando { background: rgba(255,107,0,0.15); color: var(--primary); }
.status-enviado { background: rgba(102,16,242,0.15); color: #6610f2; }
.status-entregue { background: rgba(40,167,69,0.15); color: #155724; }
.status-cancelado { background: rgba(220,53,69,0.15); color: #842029; }
.status-ativo { background: rgba(40,167,69,0.15); color: #155724; }
.status-inativo { background: rgba(220,53,69,0.15); color: #842029; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-logo span { color: var(--primary); }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.65);
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

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

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item .icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icon {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

.footer-seals {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-seal {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger  { color: var(--danger) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-white   { color: var(--white) !important; }
.bg-primary   { background: var(--primary) !important; }
.bg-secondary { background: var(--secondary) !important; }
.bg-success   { background: var(--success) !important; }
.bg-white     { background: var(--white) !important; }
.fw-bold      { font-weight: 700 !important; }
.fw-semibold  { font-weight: 600 !important; }
.rounded      { border-radius: var(--radius) !important; }
.rounded-lg   { border-radius: var(--radius-lg) !important; }
.rounded-full { border-radius: 50% !important; }
.shadow       { box-shadow: var(--shadow) !important; }
.border       { border: 1.5px solid var(--border) !important; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  border-left: 4px solid transparent;
}

.alert-success {
  background: rgba(40,167,69,0.1);
  border-left-color: var(--success);
  color: #155724;
}

.alert-danger {
  background: rgba(220,53,69,0.1);
  border-left-color: var(--danger);
  color: #842029;
}

.alert-warning {
  background: rgba(255,193,7,0.1);
  border-left-color: var(--warning);
  color: #664d03;
}

.alert-info {
  background: rgba(23,162,184,0.1);
  border-left-color: var(--info);
  color: #0c6878;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  display: block;
}

.empty-state h3 {
  color: var(--text-light);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

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

/* ============================================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .product-detail {
    gap: 32px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-slider {
    height: 380px;
  }
}

/* ============================================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }

  section { padding: 36px 0; }

  .container { padding: 0 14px; }

  /* Header */
  .header-top { display: none; }

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

  .logo { font-size: 1.3rem; }

  .search-bar {
    order: 3;
    max-width: 100%;
    flex: none;
    width: 100%;
  }

  .header-main .container {
    flex-wrap: wrap;
    padding: 10px 14px;
    height: auto;
  }

  .header-main {
    height: auto;
  }

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

  .hamburger {
    display: flex;
  }

  /* Nav */
  .nav-bar { display: none; }

  /* Hero */
  .hero-slider { height: 260px; }

  .hero-slide { padding: 0 20px; }

  .hero-title { font-size: 1.5rem; }

  .hero-subtitle { font-size: 0.9rem; display: none; }

  .hero-eyebrow { font-size: 0.72rem; }

  .slider-arrow { width: 36px; height: 36px; font-size: 1rem; }

  .hero-actions .btn:nth-child(2) { display: none; }

  /* Banner strip */
  .banner-strip .container {
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }

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

  .category-card {
    padding: 16px 10px;
  }

  .category-card-icon { font-size: 2rem; }
  .category-card-name { font-size: 0.8rem; }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card-body { padding: 10px 12px; }
  .product-card-name { font-size: 0.85rem; }
  .price-current { font-size: 1.15rem; }

  .product-card-actions {
    flex-direction: column;
    gap: 6px;
  }

  .product-card-actions .btn-whatsapp {
    display: none;
  }

  /* Shop Layout */
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    z-index: 2000;
    border-radius: 0;
    overflow-y: auto;
  }

  .filter-sidebar.mobile-open {
    display: block;
  }

  .filter-toggle-btn {
    display: flex;
  }

  /* Product Detail */
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-gallery {
    position: static;
  }

  .product-info-title { font-size: 1.3rem; }

  .product-buy-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    flex-direction: row;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    margin: 0;
  }

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

  .cart-summary { position: static; }

  .cart-item {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart-item-actions {
    width: 100%;
    justify-content: space-between;
  }

  /* Admin */
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: -260px;
    z-index: 2000;
    transition: left 0.3s;
    height: 100vh;
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-main { padding: 16px; }

  .admin-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card { padding: 16px; }
  .stat-card-value { font-size: 1.4rem; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer { padding: 36px 0 0; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Grid */
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }

  /* Misc */
  .section-header h2 { font-size: 1.4rem; }
  .hero-title { font-size: 1.5rem; }

  .modal { max-width: calc(100vw - 32px); }

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

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .product-list-item {
    flex-direction: column;
  }

  .product-list-image {
    width: 100%;
    height: 200px;
  }

  .product-list-actions {
    flex-direction: row;
    min-width: 0;
  }

  .tab-nav {
    gap: 0;
  }

  .tab-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .quote-section {
    padding: 24px 16px;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 16px;
  }

  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .loyalty-card {
    padding: 20px;
  }

  .loyalty-points { font-size: 2.2rem; }

  /* Breadcrumb */
  .breadcrumb-list {
    font-size: 0.8rem;
  }

  /* Data table mobile scroll */
  .data-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-link {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-slider { height: 220px; }

  .hero-content { max-width: 100%; }

  .hero-title { font-size: 1.3rem; }

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

  .product-card-image { aspect-ratio: 1; }

  .price-current { font-size: 1.05rem; }

  .product-card-body { padding: 8px 10px; }

  .header-action-btn span.label { display: none; }
}
