* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #0b0c10;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.10);
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --brand: #d4af37;
  --brand-2: #f2d06b;
  --shadow: 0 14px 40px rgba(0,0,0,0.10);
  --shadow-soft: 0 8px 20px rgba(0,0,0,0.08);
  --radius: 16px;
}

html{ scroll-behavior: smooth; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: radial-gradient(1200px 700px at 20% 0%, rgba(212,175,55,0.14), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(37,211,102,0.12), transparent 55%),
              #f6f7fb;
  color: var(--text);
  line-height: 1.5;
}
img{ max-width: 100%; display: block; }

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  background:#111;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  z-index:999999;
}
.skip-link:focus{ left:10px; outline:2px solid var(--brand); }

header{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(17, 17, 17, 0.95);
  border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}
.nav-container{
  max-width: 1400px;
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 16px 24px;
}
.logo{
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.contact-btn{
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  font-size: 1.05rem;
}
.contact-btn:hover{ 
  background: rgba(255,255,255,0.18); 
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.contact-btn:focus-visible{ outline: 2px solid var(--primary); outline-offset: 2px; }

.hero {
  min-height: 65vh;
  background:
    radial-gradient(1000px 500px at 30% 15%, rgba(243, 156, 18, 0.45), transparent 60%),
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=2400&q=80');
  background-size: cover;
  background-position: center;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  padding: 60px 20px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-light), transparent);
}
.hero-content{
  width:100%;
  max-width: 900px;
  padding: 20px;
  position: relative;
  z-index: 1;
}
.hero h1{
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p{
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 30px;
}

.search-wrapper { 
  position: relative; 
  margin: 0 auto 30px; 
  max-width: 600px; 
}
#search-input{
  width: 100%;
  padding: 18px 24px 18px 56px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.2);
  font-size: 1.05rem;
  outline: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}
#search-input::placeholder{ color: rgba(255,255,255,0.75); }
#search-input:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 6px rgba(243, 156, 18, 0.2);
  background: rgba(255,255,255,0.2);
}
.search-icon { 
  position: absolute; 
  left: 22px; 
  top: 50%; 
  transform: translateY(-50%); 
  color: rgba(255,255,255,0.8); 
  font-size: 1.2rem;
}

.hero-cta{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
}
.primary-cta, .secondary-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration:none;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: none;
}
.primary-cta{
  color: #1e272e;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4);
}
.primary-cta:hover{ 
  filter: brightness(1.05); 
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(243, 156, 18, 0.5);
}
.secondary-cta{
  color:#fff;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,0.2);
}
.secondary-cta:hover{ 
  background: rgba(255,255,255,0.22); 
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.container { max-width: 1400px; margin: 30px auto; padding: 0 24px; }
.controls { margin-bottom: 30px; }
.categories { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.cat-btn{
  padding: 12px 20px;
  border: 2px solid rgba(0,0,0,0.08);
  background: var(--white);
  cursor: pointer;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: var(--text-muted);
}
.brand-btn { border-color: var(--primary); color: var(--text-dark); }
.cat-btn.active, .cat-btn:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.cat-btn:focus-visible{ outline: 2px solid var(--primary); outline-offset: 2px; }

.result-count{
  text-align:center;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}

/* --- Premium Global Styles --- */
:root{
  --primary: #f39c12;
  --primary-dark: #e67e22;
  --secondary: #007bff;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebea5;
  --text-dark: #1e272e;
  --text-muted: #636e72;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
  gap: 24px; 
  max-width: 1400px;
  margin: 0 auto;
}

.card{
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.card:hover { 
  transform: translateY(-6px); 
  box-shadow: 0 12px 40px rgba(0,0,0,0.15); 
}

.card-image-container {
  width: 100%;
  height: 280px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.5s ease;
  padding: 20px;
}

.card:hover img {
  transform: scale(1.05);
}

/* Share Button */
.share-btn {
  position: absolute; 
  top: 16px; 
  right: 16px;
  background: var(--white); 
  color: var(--text-dark);
  width: 44px; 
  height: 44px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  cursor: pointer; 
  z-index: 10; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.share-btn:hover { 
  background: var(--primary); 
  color: var(--white); 
  transform: scale(1.1); 
}

.card-info { 
  padding: 20px 24px 24px; 
}

.category-tag {
  display:inline-block;
  font-size: 0.95rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.card h3 { 
  margin: 0 0 12px; 
  font-size: 1.3rem; 
  cursor:pointer; 
  line-height: 1.3; 
  color: var(--text-dark);
  font-weight: 700;
}

.desc { 
  font-size: 0.95rem; 
  color: var(--text-muted); 
  margin-bottom: 16px; 
  min-height: 48px;
  line-height: 1.5;
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.price-section { 
  margin-bottom: 18px; 
}

.current-price { 
  font-size: 1.7rem; 
  font-weight: 900; 
  color: var(--text-dark); 
}

.original-price { 
  font-size: 1rem; 
  color: var(--text-muted); 
  text-decoration: line-through; 
  margin-left: 8px;
}

.discount-text { 
  font-size: 1rem; 
  color: var(--whatsapp); 
  font-weight: 800; 
}

/* --- Action Buttons --- */
.action-buttons { 
  display: flex; 
  gap: 12px; 
}

.btn { 
  flex: 1;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none; 
  font-weight: 800;
  border-radius: 18px;
  font-size: 1.05rem; 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.btn-call { 
  background: var(--secondary); 
  color: var(--white); 
}

.btn-call:hover { 
  background: #0056b3; 
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.35);
}

.btn-whatsapp { 
  background: var(--whatsapp); 
  color: var(--white); 
}

.btn-whatsapp:hover { 
  background: var(--whatsapp-dark); 
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .grid { 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 18px; 
    padding: 0 12px;
  }
  
  .card-image-container {
    height: 240px;
  }
  
  .card img {
    padding: 16px;
  }
  
  .card-info { 
    padding: 16px 18px 20px; 
  }
  
  .action-buttons { 
    flex-direction: row;
    gap: 10px; 
  }
}

@media (max-width: 480px) {
  .grid { 
    grid-template-columns: 1fr; 
  }
  
  .card h3 { 
    font-size: 1.15rem; 
  }
  
  .current-price { 
    font-size: 1.5rem; 
  }
  
  .btn {
    padding: 12px 14px;
    font-size: 1rem;
  }
}

/* --- PRODUCT PHOTO GALLERY (POPUP) --- */
.gallery-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.gallery-nav {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-weight: bold;
}
.gallery-nav:hover { background: #111; color: #D4AF37; border-color: #111; }
.thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px;
    flex: 1;
}
.thumb {
    width: 56px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid transparent;
    cursor: pointer;
    background: #f3f3f3;
    flex: 0 0 auto;
}
.thumb.active { border-color: #D4AF37; }

.map-container{
  padding: 60px 24px;
  margin-top: 60px;
  background: var(--white);
  border-top: 1px solid #eee;
}
.map-inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.map-inner h2{
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-weight: 800;
}
.map-inner p{ 
  color: var(--text-muted); 
  margin-bottom: 24px; 
  font-weight: 600; 
  font-size: 1.1rem;
}
.map-frame{
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid #eee;
}
.map-frame iframe{ width: 100%; height: 420px; }
.map-actions{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.site-footer{
  background: #0f1115;
  color: rgba(255,255,255,0.85);
  padding: 50px 24px 30px;
}
.footer-inner{
  max-width: 1400px;
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-logo{ 
  font-weight: 900; 
  color: var(--primary); 
  letter-spacing: 1.5px;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.footer-sub{ 
  color: rgba(255,255,255,0.7); 
  font-weight: 600; 
}
.footer-links{ 
  display:flex; 
  gap: 16px; 
  flex-wrap: wrap; 
}
.footer-links a{
  color: rgba(255,255,255,0.9);
  text-decoration:none;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.footer-links a:hover{ 
  background: rgba(255,255,255,0.15); 
  transform: translateY(-2px);
}
.footer-copy{
  text-align:center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .nav-container { padding: 14px 16px; }
  .logo { font-size: 1.15rem; }
  .contact-btn { padding: 10px 16px; font-size: 0.95rem; }
  
  .hero { padding: 50px 12px; min-height: 60vh; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .search-wrapper { max-width: 100%; }
  .primary-cta, .secondary-cta { padding: 14px 22px; font-size: 0.95rem; }
  
  .container { padding: 0 16px; }
  .categories { gap: 8px; }
  .cat-btn { padding: 10px 16px; font-size: 0.85rem; }
  
  .map-container { padding: 40px 16px; }
  .site-footer { padding: 40px 16px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
