/*
Theme Name:  Aimonleather Industry
Theme URI:   https://aimonleather.com
Author:      Aimonleather Industry
Author URI:  https://aimonleather.com
Description: Pixel-perfect WordPress conversion of the Vipa Industries React app. 279 products, 4 categories, 25 sub-categories. Full security hardening, Schema.org/AEO structured data, Core Web Vitals optimized.
Version:     2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: aimon
Tags:        industrial, safety, e-commerce, product-catalog
*/

/* ============================================================
   DESIGN TOKENS  (matches React app exactly)
============================================================ */
:root {
  --navy:      #1a2f7a;
  --orange:    #f47b20;
  --orange2:   #f5a623;
  --green-wa:  #25D366;
  --bg:        #ffffff;
  --bg-alt:    #f7f7f7;
  --bg-gray:   #e9e9e9;
  --text:      #1e293b;    /* slate-800 */
  --muted:     #64748b;    /* slate-500 */
  --border:    #e2e8f0;    /* slate-200 */
  --topbar-bg: #f6f6f6;
  --footer-bg: #1a1a1a;
  --radius:    0.25rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
  --font:      'Inter', 'Segoe UI', system-ui, sans-serif;
  --transition: 0.2s ease;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 9999; font-size: 13px; border-radius: 0 0 4px 0; }
.skip-link:focus { top: 0; }

/* ============================================================
   TOP UTILITY BAR  (hidden on mobile – matches React)
============================================================ */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1rem;
  height: 36px; display: flex; align-items: center; justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 24px; }
.topbar-left a { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.topbar-left a:hover { color: var(--text); }
.topbar-left a.wa { color: #059669; }
.topbar-left a.wa:hover { color: #047857; }
.topbar-right { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.topbar-right a { color: var(--muted); display: flex; align-items: center; }
.topbar-right a:hover.fb  { color: #1877f2; }
.topbar-right a:hover.tw  { color: #0ea5e9; }
.topbar-right a:hover.ig  { color: #ec4899; }
.topbar-right a:hover.yt  { color: #dc2626; }
.topbar-right a:hover     { color: var(--navy); }

/* ============================================================
   MAIN HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1rem;
  height: 88px; display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo img {
    height: 72px;        /* bigger — fully visible */
    width: auto;
    max-width: 260px;
    display: block;
    object-fit: contain;
}
@media (max-width: 1024px) { .site-logo img { height: 62px; max-width: 220px; } }
@media (max-width: 768px)  { .site-logo img { height: 50px; max-width: 180px; } }

/* Desktop Nav */
.main-nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a { color: var(--navy); transition: color var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--orange); }

/* Mega-menu trigger */
.mega-trigger { position: relative; }
.mega-trigger > a { display: flex; align-items: center; gap: 4px; }
.mega-menu {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  width: 760px;
  z-index: 50;
}
.mega-menu-inner {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: 6px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu { display: block; }
.mega-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); margin-bottom: 10px; }
.mega-col h4 a { color: var(--navy); }
.mega-col ul li { margin-bottom: 6px; }
.mega-col ul li a { font-size: 12px; font-weight: 400; color: var(--muted); text-transform: none; letter-spacing: 0; }
.mega-col ul li a:hover { color: var(--orange); }

/* Header actions */
.header-actions { display: none; align-items: center; gap: 16px; color: var(--text); }
@media (min-width: 1024px) { .header-actions { display: flex; } }
.header-actions button { background: none; border: none; color: var(--text); display: flex; align-items: center; }
.header-actions button:hover { color: var(--orange); }

/* Mobile toggle */
.mobile-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px 1rem 16px;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--navy); }
.mobile-nav .mobile-subcats { display: flex; flex-direction: column; gap: 6px; padding-left: 12px; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.mobile-nav .mobile-subcats a { color: var(--muted); }

/* ============================================================
   HERO SLIDER
============================================================ */
.hero-slider { position: relative; overflow: hidden; background: #1e293b; }
.hero-track {
  position: relative;
  width: 100%;
  height: 520px;          /* explicit height - works on all browsers incl. XAMPP */
  max-height: 680px;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero-track { height: 600px; } }
@media (min-width: 1440px) { .hero-track { height: 680px; } }
@media (max-width: 600px)  { .hero-track { height: 260px; } }
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 30;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}
.slider-btn:hover { background: #fff; }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 30; display: flex; align-items: center; gap: 8px;
}
.slider-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 11px; font-weight: 700;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.slider-dot.active { background: var(--orange); color: #fff; }

/* ============================================================
   SECTION HEADINGS
============================================================ */
.section-heading { text-align: center; margin-bottom: 40px; }
.section-heading h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--text); }
.section-heading .underline-bar { width: 64px; height: 2px; background: #10b981; margin: 10px auto 0; }
.section-heading p { margin-top: 12px; font-size: 14px; color: var(--navy); }

/* ============================================================
   CATEGORY CARDS  (Home – round icons)
============================================================ */
.categories-section { padding: 64px 0; background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
.category-card { text-align: center; text-decoration: none; color: inherit; display: block; }
.category-card-img {
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--border);
  margin: 0 auto 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
@media (min-width: 768px) { .category-card-img { width: 160px; height: 160px; } }
.category-card:hover .category-card-img { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-card-img img { width: 100%; height: 100%; object-fit: cover; }
.category-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.category-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.category-card .discover { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange); }

/* ============================================================
   PRODUCT GRID
============================================================ */
.products-section { padding: 64px 0; }
.products-section.alt { background: var(--bg-alt); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .product-grid.lg5 { grid-template-columns: repeat(5, 1fr); } }

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card-img {
  position: relative;
  aspect-ratio: 3/4;
  background: #f8fafc;
  overflow: hidden;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-overlay {
  position: absolute; inset-x: 0; bottom: 0;
  background: rgba(26,47,122,0.9);
  color: #fff;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px;
  display: flex; justify-content: center; align-items: center; gap: 16px;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.product-card:hover .product-card-overlay { transform: translateY(0); }
.product-card-overlay a, .product-card-overlay span { color: #fff; }
.product-card-overlay a:hover, .product-card-overlay span:hover { color: var(--orange2); }
.product-card-body { padding: 12px; text-align: center; }
.product-card-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--orange); margin-bottom: 4px; }
.product-card-name { font-size: 13px; font-weight: 700; color: var(--text); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-card-name a { color: var(--text); }
.product-card-name a:hover { color: var(--orange); }
.product-card-code { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 2px; }

/* ============================================================
   PDF CATALOGUE BANNER
============================================================ */
.pdf-section { padding: 64px 0; background: var(--bg-alt); }
.pdf-banner { display: block; max-width: 1024px; margin: 0 auto; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pdf-banner:hover { box-shadow: var(--shadow-md); }
.pdf-banner img { width: 100%; }

/* ============================================================
   PAGE BANNER  (category / about / contact)
============================================================ */
.page-banner {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; color: var(--navy); }
.page-banner.dark { background: hsl(220,40%,15%); }
.page-banner.dark h1 { color: #fff; }
.page-banner.dark p { color: #cbd5e1; font-size: 1.1rem; margin-top: 8px; }
.page-breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.page-breadcrumb a { color: var(--muted); }
.page-breadcrumb a:hover { color: var(--navy); }
.page-breadcrumb .current { color: var(--orange2); font-weight: 500; }

/* ============================================================
   CATEGORY PAGE  (subcategory list)
============================================================ */
.category-page { max-width: 1280px; margin: 0 auto; padding: 48px 1rem; }
.refine-heading { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; color: var(--navy); letter-spacing: 0.05em; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 16px; }
.subcat-list { display: flex; flex-direction: column; gap: 12px; list-style: disc; padding-left: 20px; }
.subcat-list li::marker { color: var(--orange); }
.subcat-list li a { color: var(--navy); font-weight: 500; }
.subcat-list li a:hover { color: var(--orange); text-decoration: underline; }
.subcat-list li .count { font-size: 13px; color: var(--muted); margin-left: 8px; }
.orange-bar { width: 64px; height: 3px; background: var(--orange); margin-bottom: 24px; }

/* ============================================================
   SUBCATEGORY PAGE  (sidebar + grid)
============================================================ */
.subcat-page { max-width: 1280px; margin: 0 auto; padding: 48px 1rem; }
.subcat-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .subcat-layout { grid-template-columns: 240px 1fr; } }
.sidebar h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--navy); border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 14px; }
.sidebar ul { display: flex; flex-direction: column; gap: 8px; list-style: disc; padding-left: 18px; }
.sidebar ul li::marker { color: var(--orange); }
.sidebar ul li a { font-size: 13px; color: var(--navy); }
.sidebar ul li a:hover { color: var(--orange); text-decoration: underline; }
.product-count-label { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ============================================================
   SINGLE PRODUCT PAGE
============================================================ */
.product-page { max-width: 1280px; margin: 0 auto; padding: 24px 1rem 48px; }
.product-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .product-layout { grid-template-columns: 1fr 1fr; } }
.product-main-img { aspect-ratio: 1; background: #f8fafc; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.product-thumb {
  aspect-ratio: 1;
  background: #f8fafc;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--orange); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info-subcat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--orange); }
.product-info h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--text); margin-top: 8px; line-height: 1.2; }
.product-code { font-size: 13px; color: var(--muted); margin-top: 6px; }
.product-code span { font-family: monospace; font-weight: 600; color: var(--text); }
.product-stock { font-size: 13px; color: #16a34a; font-weight: 500; margin-top: 4px; }
.product-desc { margin-top: 24px; }
.product-desc h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.product-desc p { font-size: 14px; color: rgba(30,41,59,0.8); line-height: 1.7; }
.product-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn-wa { background: var(--green-wa); color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: 600; font-size: 14px; border: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-quote { border: 1px solid rgba(30,41,59,0.2); padding: 12px 24px; border-radius: 4px; font-weight: 600; font-size: 14px; color: var(--text); background: transparent; display: inline-flex; align-items: center; gap: 8px; }
.btn-quote:hover { background: #f8fafc; color: var(--text); }
.product-specs { margin-top: 32px; border-top: 1px solid var(--border); padding-top: 24px; }
.product-specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; font-size: 13px; }
.product-specs dt { color: var(--muted); }
.product-specs dd { font-weight: 500; }

/* ============================================================
   ALL PRODUCTS PAGE
============================================================ */
.all-products-page { max-width: 1280px; margin: 0 auto; padding: 48px 1rem; }
.all-products-page .cat-section { margin-bottom: 48px; }
.all-products-page .cat-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.all-products-page .cat-header h2 { font-size: 1.5rem; font-weight: 700; }
.all-products-page .cat-header a { color: var(--orange); font-weight: 600; font-size: 13px; }
.subcat-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .subcat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .subcat-tiles { grid-template-columns: repeat(5, 1fr); } }
.subcat-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  display: block;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.subcat-tile:hover { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.subcat-tile .tile-name { font-weight: 600; font-size: 13px; color: var(--text); }
.subcat-tile .tile-count { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   RELATED PRODUCTS SECTION
============================================================ */
.related-section { background: #f8fafc; padding: 48px 0; }
.related-section .container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.related-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-content { max-width: 768px; margin: 0 auto; padding: 48px 1rem; }
.about-content p { font-size: 1rem; color: var(--text); margin-bottom: 16px; line-height: 1.8; }
.about-content h2 { font-size: 1.5rem; font-weight: 700; margin-top: 32px; margin-bottom: 12px; }
.about-content ul { list-style: disc; padding-left: 20px; margin-bottom: 16px; }
.about-content ul li { margin-bottom: 8px; font-size: 14px; color: var(--text); line-height: 1.7; }
.about-content a { color: var(--orange); }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-page { max-width: 1024px; margin: 0 auto; padding: 48px 1rem; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .contact-page { grid-template-columns: 1fr 1fr; } }
.contact-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info p, .contact-info a { font-size: 14px; color: var(--muted); }
.contact-info a { color: var(--orange); font-weight: 500; }
.contact-info-block { margin-bottom: 24px; }
.btn-wa-lg { display: inline-block; background: var(--green-wa); color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: 600; margin-top: 8px; }
.btn-wa-lg:hover { background: #1ebe5b; color: #fff; }
.contact-form-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.cf-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px; }
.cf-group { margin-bottom: 16px; }
.cf-input, .cf-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color var(--transition);
}
.cf-input:focus, .cf-textarea:focus { outline: none; border-color: var(--navy); }
.cf-textarea { height: 120px; resize: vertical; }
.cf-submit { width: 100%; background: var(--orange); color: #fff; border: none; padding: 12px 24px; border-radius: 4px; font-size: 15px; font-weight: 600; transition: background var(--transition); }
.cf-submit:hover { background: #d9680f; }
.cf-msg { font-size: 13px; margin-top: 8px; padding: 8px 12px; border-radius: 4px; }
.cf-msg.ok  { background: #dcfce7; color: #166534; }
.cf-msg.err { background: #fee2e2; color: #991b1b; }

/* ============================================================
   SEARCH RESULTS
============================================================ */
.search-page { max-width: 1280px; margin: 0 auto; padding: 48px 1rem; }
.search-page h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.search-page .result-count { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.no-results { text-align: center; padding: 80px 20px; color: var(--muted); }
.no-results a { display: inline-block; margin-top: 16px; background: var(--orange); color: #fff; padding: 10px 24px; border-radius: 4px; font-weight: 600; }

/* ============================================================
   404 PAGE
============================================================ */
.not-found { text-align: center; padding: 100px 20px; }
.not-found h1 { font-size: 6rem; font-weight: 900; color: var(--navy); line-height: 1; }
.not-found h2 { font-size: 1.5rem; font-weight: 700; margin-top: 8px; }
.not-found p { color: var(--muted); margin-top: 8px; }
.not-found a { display: inline-block; margin-top: 24px; background: var(--orange); color: #fff; padding: 12px 32px; border-radius: 4px; font-weight: 600; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--footer-bg); color: #94a3b8; margin-top: 64px; }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 56px 1rem 40px; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    text-decoration: none;
}
.footer-logo img {
    height: 64px;           /* bigger in footer too */
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: brightness(0) invert(1);  /* white version for dark footer */
    opacity: 0.92;
}
.footer-about p { font-size: 13px; color: #94a3b8; line-height: 1.8; }
.footer-socials { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px;
  transition: background var(--transition);
}
.footer-socials a:hover.fb  { background: #1877f2; }
.footer-socials a:hover.tw  { background: #0ea5e9; }
.footer-socials a:hover.ig  { background: #ec4899; }
.footer-socials a:hover.yt  { background: #dc2626; }
.footer-socials a:hover     { background: var(--orange); }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: #94a3b8; }
.footer-col ul li a:hover { color: var(--orange2); }
.footer-contact li { display: flex; gap: 12px; font-size: 13px; color: #94a3b8; margin-bottom: 12px; }
.footer-contact li .icon { color: var(--orange2); flex-shrink: 0; margin-top: 2px; }
.footer-contact li a { color: #94a3b8; }
.footer-contact li a:hover { color: var(--orange2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 1rem; text-align: center; font-size: 12px; color: #64748b; }

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green-wa);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.65); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   PAGINATION
============================================================ */
.vipa-pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 32px; justify-content: center; }
.vipa-pagination a, .vipa-pagination span {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  color: var(--muted);
  padding: 0 8px;
}
.vipa-pagination a:hover { border-color: var(--navy); color: var(--navy); }
.vipa-pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   SEARCH FORM (header)
============================================================ */
#vipa-search-form { display: none; position: absolute; top: 100%; right: 0; width: 300px; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow-md); padding: 12px; z-index: 100; }
#vipa-search-form.open { display: block; }
#vipa-search-form input { width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 9px 12px; font-size: 14px; }
#vipa-search-form input:focus { outline: none; border-color: var(--navy); }

/* ============================================================
   RESPONSIVE TWEAKS
============================================================ */
@media (max-width: 767px) {
  .hero-track { aspect-ratio: 4/3; }
  .footer-grid { padding-top: 40px; }
  .product-page { padding: 16px 1rem 40px; }
}
@media print {
  .topbar, .site-header, .site-footer, .wa-float { display: none; }
}
