/* ===== Root Theme Vars ===== */
:root {
  --bg-light: #ffffff;
  --text-light: #212529;
  --bg-dark: #121212;
  --text-dark: #f8f9fa;
  --btn-color: #e63946; /* vibrant red accent */
  --btn-hover: #d62828;
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Inter', 'Segoe UI', sans-serif;
}

/* ===== Base Styles ===== */
body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--bg-light);
  color: var(--text-light);
  transition: background-color 0.3s, color 0.3s;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
}

a {
  color: var(--btn-color);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--btn-hover);
}

/* ===== Light / Dark Modes ===== */
body.dark-mode {
  background-color: var(--bg-dark) !important;
  color: var(--text-dark);
}
.dark-mode h1, .dark-mode h2, .dark-mode h3,
.dark-mode .section-title, .dark-mode .product-title {
  color: var(--text-dark) !important;
}
.dark-mode a { color: #f1f1f1; }
.dark-mode a:hover { color: var(--btn-color); }
.dark-mode .card, 
.dark-mode .product-slider-section, 
.dark-mode .dropdown-menu, .dark-mode .navbar {
  background-color: #1e1e1e !important;
}
.dark-mode .navbar-toggler {
  background-color: #9f9c9c !important;
}
.dark-mode .hero-section {
     background-color: rgba(0, 0, 0, 0.3)!important; /* Dark overlay */
}
.dark-mode .text-white, .dark-mode h5, .dark-mode h3, .dark-mode a, .dark-mode p, .dark-mode .text-muted, .dark-mode h4, .dark-mode label, .footer
{
    color: white !important;
}
.dark-mode .price-text
{
    color: rgb(248, 45, 45) !important;
}
.hero-section {
  position: relative;
  height: 100vh;
  background-image: url('/assets/images/banner.jpg'); /* Replace with your image path */
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.3); /* Dark overlay */
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

/* ===== Buttons ===== */
.styled-btn, .btn-primary {
  background-color: var(--btn-color);
  border-color: var(--btn-color);
  color: #fff;
}
.styled-btn:hover, .btn-primary:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
}

/* ===== Product Card Simple ===== */
.product-card-simple {
  border: none;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card-simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.dark-mode .product-card-simple {
  background: #2a2a2a;
}
.product-card-simple .card-img-top {
  height: 300px;
  object-fit: cover;
}
.product-card-simple .card-title {
  font-size: 1rem;
  font-weight: 600;
}
.price-text {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--btn-color);
}
.old-price-text {
  text-decoration: line-through;
  font-size: 0.85rem;
  color: #888;
}

/* ===== Slider Section ===== */
.product-slider-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}
.dark-mode .product-slider-section {
  background: #1e1e1e;
}
.carousel-control-prev, .carousel-control-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: rgba(0,0,0,0.5);
}

/* --- Floating Action Buttons --- */
.floating-action-bar {
    position: fixed;
    bottom: 70px;
    left: 20px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-action-bar .action-item {
    background-color: var(--btn-color, #198754);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    border: none;
    font-size: 1.2rem;
}

.floating-action-bar .action-item:hover {
    transform: scale(1.1);
}

.floating-action-bar .dropdown-menu {
    margin-bottom: 10px !important;
}

#goto-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: none;
    z-index: 1000;
}

    .whatsapp-icon {
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 40px; /* Slightly smaller for mobile */
        height: 40px;
        z-index: 999;
    }
/* ===== Responsive ===== */
@media (max-width: 992px) {
  .product-card-simple .card-img-top { height: 250px; }
}
@media (max-width: 768px) {
  body { font-size: 0.9rem; }
  .product-card-simple .card-img-top { height: 200px; }
}
@media (max-width: 576px) {
  .product-card-simple { width: 100%; }
  .product-card-simple .card-img-top { height: 180px; }
  .section-title { font-size: 1.4rem; }
    .floating-action-bar
    {
        display: none!important;
        visibility: hidden;
    }
  
    .whatsapp-icon {
        width: 35px; /* Slightly smaller for mobile */
        height: 35px;
        right: 20px;
        bottom: 20px;
    }



footer {
    padding-bottom: 100px;
}

}


/* --- Accessibility --- */
.btn:focus,
.nav-link:focus,
.action-item:focus {
    outline: 2px solid var(--btn-color, #198754);
    outline-offset: 2px;

}

.img-thumbnail
{
    width:150px;
}

.thumbnail-gallery {
    display: flex!important;
    flex-flow: row!important;
}

textarea {
      white-space: pre-line;
}