/* General Body Transition */
body { transition: background 0.3s, color 0.3s; }

/* Light Theme */
body.light-mode { background: #f8f9fa; color: #212529; }
body.light-mode .navbar,
body.light-mode footer { background: #ffffff; color: #212529; }
body.light-mode .product-card { background: #ffffff; color: #212529; }

/* Dark Theme */
body.dark-mode { background: #121212; color: #f1f1f1; }
body.dark-mode .navbar,
body.dark-mode footer { background: #1e1e1e; color: #f1f1f1; }
body.dark-mode .product-card {
  background: #1e1e1e; color: #f1f1f1; border: 1px solid #333;
}
body.dark-mode .nav-link,
body.dark-mode footer a { color: #f1f1f1 !important; }

/* Product Card */
.product-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, background 0.3s, color 0.3s;
  height: 100%;
}
.product-card:hover { transform: translateY(-5px); }

/* Footer */
footer { margin-top: 50px; padding: 40px 0; }
footer h5 { font-weight: bold; margin-bottom: 15px; }
footer a {
  display: block; color: inherit; text-decoration: none;
  margin: 5px 0; transition: color 0.2s;
}
footer a:hover { color: #0d6efd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; padding-top: 15px; }

/* Responsive Grid */
@media (max-width: 767px) { .col-6 { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 768px) { .col-md-2 { flex: 0 0 20%; max-width: 20%; } }
/* Body Themes */
body { transition: background 0.3s, color 0.3s; }

body.light-mode { background: #f8f9fa; color: #212529; }
body.light-mode .navbar,
body.light-mode footer { background: #ffffff; color: #212529; }
body.light-mode .product-card { background: #ffffff; color: #212529; }

body.dark-mode { background: #121212; color: #f1f1f1; }
body.dark-mode .navbar,
body.dark-mode footer { background: #1e1e1e; color: #f1f1f1; }
body.dark-mode .product-card {
    background: #1e1e1e; color: #f1f1f1; border: 1px solid #333;
}
body.dark-mode .nav-link,
body.dark-mode footer a { color: #f1f1f1 !important; }

/* Navbar */
.navbar { transition: background 0.3s, color 0.3s; }

/* Product Card */
.product-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, background 0.3s, color 0.3s;
    height: 100%;
}
.product-card:hover { transform: translateY(-5px); }

/* Product Image */
.product-image { border-radius: 12px; box-shadow: 0 6px 15px rgba(0,0,0,0.15); }

/* Price & Buttons */
.price-tag { font-size: 1.5rem; font-weight: 700; }
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    transition: transform 0.2s;
}
.whatsapp-btn:hover { transform: scale(1.05); color: #fff; }

/* Footer */
footer { margin-top: 50px; padding: 40px 0; }
footer h5 { font-weight: bold; margin-bottom: 15px; }
footer a {
    display: block;
    color: inherit;
    text-decoration: none;
    margin: 5px 0;
    transition: color 0.2s;
}
footer a:hover { color: #0d6efd; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; padding-top: 15px; }

/* Links */
a { text-decoration:none; }

/* Responsive Grid */
@media (max-width: 767px) {
    .col-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
    .col-md-2 { flex: 0 0 20%; max-width: 20%; }
}
/* Footer */
footer {
    margin-top: 50px;
    padding: 40px 0;
    background: inherit; /* uses theme color */
    color: inherit; /* uses theme color */
}

footer h5 {
    font-weight: bold;
    margin-bottom: 15px;
}

footer a {
    display: block;
    color: inherit;
    text-decoration: none;
    margin: 5px 0;
    transition: color 0.2s;
}

footer a:hover {
    color: #0d6efd;
}

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

/* Dark mode specific */
body.dark-mode footer {
    background: #1e1e1e;
    color: #f1f1f1;
}

body.dark-mode footer a {
    color: #f1f1f1 !important;
}
/* WhatsApp Buy Now Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: none;
    color: #fff !important;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff !important;
}

.whatsapp-btn:active {
    transform: scale(0.98);
}