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

:root {
  --primary: #7f007f;
  --primary-light: #7f717f;
  --bg: #f6f4ef;
  --footer-bg: #2d2d2d;
  --footer-text: #f6f4ef;
  --text: #333;
  --white: #fff;
  --black: #000;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===================== TOPBAR ===================== */
#topbar {
  background: var(--black);
  padding: 10px 0;
  font-size: 14px;
}

#topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#topbar a,
#topbar span {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#topbar a:hover {
  color: var(--primary-light);
}

/* ===================== HEADER / LOGO ===================== */
.header-section {
  background: var(--bg);
  padding: 30px 0 10px;
  text-align: center;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.logo-wrap img {
  height: 220px;
  width: auto;
}

/* ===================== NAVIGATION ===================== */
.main-nav {
  background: var(--bg);
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid #e0ddd5;
  border-bottom: 1px solid #e0ddd5;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
}

.main-nav li {
  position: relative;
}

.main-nav li a {
  display: block;
  padding: 10px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  transition: color 0.2s, background 0.2s;
}

.main-nav li a:hover,
.main-nav li.active a {
  color: var(--primary);
}

/* Dropdown */
.main-nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  flex-direction: column;
}

.main-nav li:hover > ul {
  display: flex;
}

.main-nav li ul li a {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
}

.main-nav li ul li a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  color: var(--text);
}

/* ===================== HERO SECTION ===================== */
.hero-section {
  text-align: center;
  padding: 50px 0 30px;
}

.hero-section .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #666;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 40px;
}

/* ===================== PRODUCTS GRID ===================== */
.products-section {
  padding: 0 0 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 15px;
  grid-auto-rows: 1fr;
}

.product-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.product-card .product-img {
  position: relative;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

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

.product-card .sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
}

.product-info {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  min-height: 24px;
}

.product-info h5 a {
  color: var(--text);
}

.product-info h5 a:hover {
  color: var(--primary);
}

.product-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
  max-height: 200px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.product-desc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--white));
}

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

.product-price .old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.product-price .current-price {
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

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

.buy-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
}

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

/* ===================== WHATSAPP BUTTON ===================== */
.whatsapp-section {
  padding: 30px 15px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.whatsapp-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #25D366;
  color: var(--white);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

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

/* ===================== NOTICE ===================== */
.notice-section {
  padding: 20px 15px;
  max-width: 1140px;
  margin: 0 auto;
}

.notice-section h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.5;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 40px;
}

.footer-col h4,
.footer-col p.title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--footer-text);
}

.footer-col a {
  color: var(--footer-text);
  font-size: 14px;
  line-height: 2;
  display: block;
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--footer-text);
}

.footer-col .logo-footer img {
  height: 140px;
  width: auto;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 20px;
  transition: opacity 0.2s;
}

.social-icons a:hover {
  opacity: 0.8;
}

.social-icons .tiktok { color: #fff; }
.social-icons .whatsapp { color: #25D366; }
.social-icons .youtube { color: #FF0000; }
.social-icons .instagram { color: #E1306C; }

.footer-sites a {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

/* Footer credits */
.footer-credits {
  border-top: 1px solid #444;
  padding: 24px 0;
  text-align: center;
}

.footer-credits .legal-warning {
  color: red;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-credits p {
  font-size: 13px;
  line-height: 1.7;
  color: #ccc;
}

.footer-credits small {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: #999;
}

.footer-credits hr {
  border: none;
  border-top: 1px solid #555;
  margin: 16px 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
  }

  .main-nav ul.active {
    display: flex;
  }

  .main-nav li ul {
    position: static;
    box-shadow: none;
  }

  .main-nav li ul li a {
    padding-left: 40px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .logo-wrap img {
    height: 160px;
  }

  .hero-section h2 {
    font-size: 24px;
  }

  .cert-row-2,
  .cert-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ==================== ABOUT CARDS ==================== */
.about-cards-section {
  padding: 40px 0;
}

.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card-link img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: opacity 0.3s;
}

.about-card-link:hover img {
  opacity: 0.85;
}

/* ==================== ABOUT TEXT ==================== */
.about-content-section {
  padding: 40px 0 60px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 24px;
}

.about-text h3 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 20px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.about-text ul {
  list-style: disc;
  margin: 15px 0 15px 30px;
}

.about-text ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.about-text hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

/* ==================== CERT GALLERY ==================== */
.cert-gallery-section {
  padding: 40px 0 60px;
}

.cert-row {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}

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

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

.cert-row img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ==================== MAP SECTION ==================== */
.map-section {
  width: 100%;
}

.map-section iframe {
  display: block;
  width: 100%;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: 40px 0 60px;
}

.contact-section h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 30px;
  text-align: center;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.contact-method {
  text-align: center;
}

.contact-icon {
  margin-bottom: 15px;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-method a {
  color: var(--primary);
  font-weight: 500;
}

.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-wrap h3 {
  text-align: center;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 13px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #5a005a;
}

/* ==================== RESPONSIVE - ABOUT & CONTACT ==================== */
@media (max-width: 768px) {
  .about-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.about-text ol {
  list-style: decimal;
  margin: 15px 0 15px 30px;
}

.about-text ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
