@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0f172a;        /* Deep Slate / Dark Blue */
  --primary-hover: #1e293b;  /* Lighter Slate Hover */
  --primary-light: #f1f5f9;  /* Soft grey/slate background */
  --accent: #e63946;         /* Crimson Red */
  --accent-hover: #c1121f;   /* Darker Crimson */
  --accent2: #1d3557;        /* Secondary Navy Blue */
  --gold: #f4a261;           /* Warm Gold/Amber */
  --dark: #0f172a;           /* Dark Slate */
  --light: #f8fafc;          /* Off-white */
  --white: #ffffff;
  --text: #1e293b;           /* Slate 800 */
  --text-muted: #64748b;     /* Slate 500 */
  --border: #e2e8f0;         /* Slate 200 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font: 'DM Sans', sans-serif;
  --font-heading: 'Bebas Neue', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 1.5px;
  font-weight: normal;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--primary);
  line-height: 1;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text small, .logo small {
  display: block;
  font-family: var(--font);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
  padding: 0 1rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-usp-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-usp-badges .badge {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
}

.hero-usp-badges .badge.gold {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
  border: none;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  cursor: pointer;
}

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

.hero-btn.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-color: var(--accent-hover);
}

.hero-btn.outline-btn {
  background-color: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white);
}

.hero-btn.outline-btn:hover {
  background-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.4);
}

/* Main Container */
main {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 750;
  color: var(--dark);
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Category Filter Bar */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background-color: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

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

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background-color: #f1f5f9;
  transition: var(--transition);
}

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

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.product-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

.product-price span {
  font-size: 0.85rem;
  font-weight: 500;
}

.product-btn {
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

/* Product Detail Page */
.detail-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: #f1f5f9;
}

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

.detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.detail-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.option-group {
  margin-bottom: 1.5rem;
}

.option-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.option-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--light);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.option-select:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.detail-pricing {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-row.total {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-bottom: 0;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #25d366;
  color: var(--white);
  text-decoration: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.2);
  border: none;
  cursor: pointer;
  width: 100%;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Admin Dashboard CSS */
.admin-container {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

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

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

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

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

/* Admin Login Card */
.login-card {
  max-width: 400px;
  margin: 5rem auto;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  text-align: center;
}

.login-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.login-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

/* Products Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}

.admin-table th {
  font-weight: 700;
  background-color: var(--light);
  color: var(--dark);
}

.admin-table tbody tr:hover {
  background-color: rgba(248, 250, 252, 0.6);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.modal-header h3 {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Options Editor in Modal */
.option-editor-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: var(--light);
}

.values-container {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.value-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Markup Modal */
.markup-percentage {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: var(--primary);
  margin: 1rem 0;
}

/* Toast Message */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-left: 4px solid var(--primary);
}

.toast.error {
  border-left: 4px solid #ef4444;
}

/* Footer styling */
footer {
  background-color: var(--dark);
  color: var(--border);
  padding: 3rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-column h4 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-column p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* ==========================================
   MATBAAPRO INTEGRATIONS CSS
   ========================================== */

/* TOPBAR */
.topbar {
  background-color: var(--primary);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tb-left {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.tb-left a {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}
.tb-left a:hover {
  color: var(--accent);
}
.tb-right {
  display: flex;
  gap: 1rem;
}
.tb-right a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}
.tb-right a:hover {
  color: var(--accent);
}

/* SEARCH IN HEADER */
.search-wrapper {
  flex: 1;
  max-width: 420px;
  position: relative;
  margin: 0 1.5rem;
}
.search-wrapper input {
  width: 100%;
  padding: 0.6rem 2.8rem 0.6rem 1rem;
  border: 2px solid var(--border);
  border-radius: 9999px;
  font-family: var(--font);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}
.search-wrapper input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}
.search-wrapper button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--accent);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
}
.search-wrapper button:hover {
  background-color: var(--accent-hover);
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}
.search-results.open {
  display: block;
}
.search-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.search-item:last-child {
  border-bottom: none;
}
.search-item:hover {
  background-color: var(--primary-light);
}
.search-item-ico {
  font-size: 1.25rem;
  flex-shrink: 0;
}
.search-item-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}
.search-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.search-empty {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* PROMO CAMPAIGN STRIP */
.promo-strip {
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.promo-strip a {
  color: var(--white);
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.stat-box:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* QUICK CATEGORY BUTTONS */
.quick-cats-section {
  background: var(--white);
  padding: 2rem 2rem;
  border-bottom: 1px solid var(--border);
}
.quick-cats-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.quick-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
}
.quick-cat-card {
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
}
.quick-cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.15);
  background: var(--white);
}
.quick-cat-card .ico {
  font-size: 1.75rem;
}

/* CARD INNER TAB SWITCH SYSTEM */
.card-tabs {
  display: flex;
  gap: 4px;
  margin: 0.75rem 0;
  flex-wrap: wrap;
}
.card-tab-btn {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}
.card-tab-btn.active, .card-tab-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.card-tab-panel {
  display: none;
}
.card-tab-panel.active {
  display: block;
}

/* PRICING TABULAR LAYOUT */
.price-table {
  background: var(--light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}
.price-table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--primary);
  padding: 6px 12px;
}
.price-table-header span {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.price-table-row:last-child {
  border-bottom: none;
}
.price-table-row:hover {
  background: #fff5f5;
}
.price-table-row .qty {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dark);
}
.price-table-row .unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.price-table-row .total {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
}

/* ORDER STEPS SECTION */
.steps-section {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 2rem;
}
.steps-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3rem;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 1;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 auto 1rem auto;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 2px var(--accent);
}
.step-item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.step-item p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background: var(--light);
  padding: 4rem 2rem;
}
.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.testimonial-card::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.08;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}
.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.author-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}
.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CONTACT CTA BOXES */
.contact-cta-section {
  background: linear-gradient(135deg, #fff1f2 0%, #f8fafc 100%);
  padding: 4rem 2rem;
}
.contact-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.contact-cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}
.contact-cta-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-cta-card.wa-card {
  border-color: #dcfce7;
}
.contact-cta-card.wa-card:hover {
  border-color: #22c55e;
  background: #f0fdf4;
}
.contact-cta-card .icon {
  font-size: 2.5rem;
}
.contact-cta-card strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.contact-cta-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Media Query Adaptations */
@media(max-width: 1024px) {
  .hero-grid-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }
  .hero-content h1 {
    font-size: 3rem;
    text-align: center;
  }
  .hero-content p {
    text-align: center;
  }
  .hero-usp-badges, .hero-cta-buttons {
    justify-content: center;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-grid::before {
    display: none;
  }
}

@media(max-width: 768px) {
  .topbar {
    display: none !important;
  }
  .nav-container {
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    align-items: center !important;
  }
  .nav-menu {
    gap: 1rem !important;
    justify-content: center !important;
    padding-left: 0 !important;
    width: 100% !important;
  }
  .nav-link {
    padding: 0.35rem 0.60rem !important;
    font-size: 0.9rem !important;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-cta-buttons {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    gap: 1rem !important;
  }
  .hero-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 0.85rem 1.5rem !important;
  }
  .hide-on-mobile {
    display: none !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .search-wrapper {
    display: none; /* Hide header search on mobile */
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-cta-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile padding & spacing adjustments to prevent horizontal overflow */
  main {
    padding: 1.5rem 1rem !important;
  }
  
  .detail-container {
    padding: 1.25rem 1rem !important;
    gap: 1.5rem !important;
    border-radius: var(--radius-md) !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  .detail-img {
    height: 250px !important;
  }
  
  .detail-pricing {
    padding: 1.25rem 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
  
  .pricing-row.total {
    font-size: 1.2rem !important;
  }
  
  .customer-info-section {
    padding: 1rem !important;
  }
}
