
/* ================================== GENERAL ============================== */

body {
    font-family: "Muli", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding-top: 0;                   /* remove fixed padding */
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #222;
}
h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
h2 {
    font-size: 28px;
}
p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
/* ================= HEADER ================= */
header{
position:fixed;
top:0;
left:0;
width:100%;
background:#fff;
z-index:9999;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.header-top1 {
    background: #f8f9fa;
    padding: 8px 15px;
    border-bottom: 1px solid #e0e0e0;
}
.header-top1 marquee a {
    color: #b02a2a; /* better contrast */
    font-weight: 600;
    text-decoration: none;
    margin-right: 20px;
}
.header-top1 marquee a:hover {
    text-decoration: underline;
}

/* ================= NAVBAR ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Segoe UI', sans-serif;
}
/* ===== NAVBAR FIX ===== */
.navbar{
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
}

.navbar-nav{
display:flex;
gap:15px;
list-style:none;
}

.nav-item{
    display:inline-block;
}
.nav-link{
    text-decoration:none;
    font-size:16px;
    color:#333;
    font-weight:500;
    padding:8px 10px;
}

.nav-link:hover{
    color:#007bff;
}
@media (max-width:991px){
.navbar-nav{
     margin-top:10px;
}
.navbar-nav .nav-item{
margin:5px 0;
}
}

/* ================= SEARCH ================= */

.search-bar {
  display: flex;
  align-items: center;
  margin-top:10px;/* equal to header height */
  position: relative;
  z-index: 5;
}
.search-bar select,
.search-bar input {
    padding: 10px;
    border: 1px solid #aaa; /* improved contrast */
    border-radius: 4px;
    font-size: 14px;
}
.search-bar button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.search-bar button:hover {
    background-color: #0056b3;
}
/* ======= Breaking News Marquee ======= */
.header-top1 {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}
.header-top1 marquee a {
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
    margin-right: 20px;
}
.header-top1 marquee a:hover {
    text-decoration: underline;
}

/* ================= PRODUCTS ================= */
.popular-deals {
    background-color: #f9f9f9;
}
.popular-deals .section-title h1 {
    font-weight: 700;
    font-size: 2.8rem;
    color: #222;
}
.popular-deals .product-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.popular-deals .product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.popular-deals .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.popular-deals .product-image-wrapper {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 5px;
}
.popular-deals .product-img {
    object-fit: contain;
    display: block;
    margin: auto;
    width: 100%;
    height: 150px;
    padding: 10px; 
}
.popular-deals .card-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
}
.popular-deals .card-title {
    font-weight: 600;
    height:70px;
    font-size: 15px;
    color: #222;
    margin: 0;
    text-align: center;
    word-wrap: break-word;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .popular-deals .section-title h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .popular-deals .section-title h1 {
    font-size: 1.8rem;
  }
  
}
.img-fluid{
    width  : 250px;
    height : 250px;
}
.w-full{
    width  : 150px;
    padding:5px;
}
/* Section heading */
.section-heading {
    font-weight: 700;
    color: #222;
    font-size: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-title {
        font-size: 0.95rem;
        min-height: auto;
    }
    .section-heading {
        font-size: 1.5rem;
    }
}
.section-padding-top-heading {
    padding: 60px 0;
    background-color: #f9f9f9;
}
.item-sub-category li {
    list-style: none;
    margin-bottom: 5px;
}
.banner-box img {
    width: 100%;
    object-fit: cover;
}
/*///////////////////////////////////////////////////*/
/* ==== CATEGORY CARD MODERN (Soft Grey Theme) ==== */
.category-card-modern {
  transition: all 0.35s ease;
  border: 1px solid #f1f1f1;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.category-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #e5e5e5;
  background: linear-gradient(180deg, #f9f9f9 0%, #f2f2f2 100%);
}

.category-card-modern .icon-bg {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #f4f4f4 0%, #e9e9e9 100%);
  transition: background 0.3s ease, transform 0.3s ease;
  border: 1px solid #e1e1e1;
}

.category-card-modern:hover .icon-bg {
  background: linear-gradient(135deg, #e8e8e8 0%, #dcdcdc 100%);
  transform: scale(1.08);
}

.category-card-modern img {
  transition: transform 0.3s ease;
}

.category-card-modern:hover img {
  transform: scale(1.1);
}

.category-card-modern .explore-text {
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
}

.category-card-modern:hover .explore-text {
  opacity: 1;
  transform: translateY(0);
}


/* ================= CATEGORY BOX ================= */
.category-box-layout2 {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.07);
    transition: 0.3s ease;
}
.category-box-layout2:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}
.category-box-layout2 img {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    width: 70px;
    height: 70px;
    object-fit: cover;
}
.category-box-layout2 h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.category-title {
  min-height: 40px;
   font-size: medium;
  text-align: center;
}
.category-icon {
  width: 70px;
  height: 70px;
  overflow: hidden;
}
.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.item-sub-category {
    padding-left: 0;
    margin-top: 14px;
    list-style: none;
}
.item-sub-category a {
    font-size: 12px;
    color: #333; /* improved */
    text-decoration: none;
    transition: color 0.2s ease;
}
.item-sub-category a:hover {
    color: #007bff;
}
/* View All link aligned right */
.category-box-layout2 .text-end {
    margin-top: 10px;
}
/* Fix inner alignment */
.category-box-layout2 .d-flex.align-items-center {
    gap: 4px;
}
  .form-section-title {
      font-weight: 600;
      color: #0d6efd;
      margin-bottom: 1rem;
      border-bottom: 1px solid #dee2e6;
      padding-bottom: 0.5rem;
    }
    .form-control, .form-select {
      border-radius: 0.4rem;
    }
    .sidebar .list-group-item.active {
      background-color: #0d6efd;
      border-color: #0d6efd;
      color: #fff;
    }

/* Button */
.container-1 button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.container-1 button:hover {
    background-color: #0056b3;
}
/* Success & Error Messages */
.success, .error {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 14px;
}
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* General Styles */
.login-page {
display:flex;
align-items:center;
justify-content:center;
min-height:100vh;
background:#f4f6fb;
}
.login-card {
width:380px;
background:#fff;
padding:30px;
border-radius:10px;
box-shadow:0 8px 25px rgba(0,0,0,0.1);
}
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f4f4f4;
}
/* Register Link */
.container-1 p {
    margin-top: 15px;
    font-size: 14px;
}
.container-1 a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
.container-1 a:hover {
    text-decoration: underline;
}
/* Responsive Fixes */
@media (max-width: 768px) {
    .category-box-layout2 {
        padding: 15px;
    }
    .popular-deals .card-body {
        padding: 10px;
    }
    .header-top1 marquee a {
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    header {
        padding: 10px 0;
    }
    .search-bar select,
    .search-bar input {
        width: 100%;
    }
    .search-bar button {
        width: 100%;
    }
}
/* ================= BREADCRUMB ================= */
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    color: #333;
    overflow-x: auto;
    white-space: nowrap;
}
.breadcrumb a {
    color: #212529;
    text-decoration: underline;
    font-weight: 500;
    flex-shrink: 0;
}
.breadcrumb a:hover {
    color: #0056b3;
}
.breadcrumb .separator {
    color: #444;                  /* improved contrast */
}
.breadcrumb .current {
    color: #111;
    font-weight: 600;
}
/* =============== Product Page Layout =============== */
.product-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}
/* Top section: gallery, info, seller */
.product-main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
/* Left: Product Images */
.product-gallery {
    flex: 1 1 300px;
    max-width: 300px;
    position: sticky;
    top: 120px;
    height: fit-content;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}
.main-product-image {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}
.thumbnail-slider {
    margin-top: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
}
.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease;
}
.thumbnail.active {
    border: 2px solid #3498db;
}
/* Center: Product Info */
.product-info {
    flex: 2 1 500px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}
.product-info h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
}
.product-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.product-info th,
.product-info td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    text-align: left;
    font-size: 15px;
}
.product-info th {
    width: 140px;
    color: #555;
    font-weight: 600;
}
/* Right: Seller Info */
.business-info {
    flex: 1 1 260px;
    max-width: 260px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    top: auto;
    height: fit-content;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    font-size: 15px;
}

/* Bottom: Description Section */
.product-description-section {
    background: #fff;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    font-size: 15px;
    line-height: 1.6;
}
.product-description-section table {
    width: 100%;
    border-collapse: collapse;
}
.product-description-section th,
.product-description-section td {
    padding: 12px 18px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.product-description-section th {
    width: 130px;
    font-weight: 600;
    color: #444;
    font-size: 15px;
}
.seller-card {
  transition: all 0.3s ease;
}
.seller-card:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}
.seller-card h5 {
  font-size: 1.25rem;
}
.seller-card ul li i {
  font-size: 1rem;
  vertical-align: middle;
}
.seller-header{
border-radius:12px;
}

.seller-logo{
width:110px;
height:110px;
object-fit:contain;
border:1px solid #eee;
border-radius:10px;
padding:10px;
background:#fff;
}

.contact-link{
display:inline-block;
background:#f8f9fa;
padding:6px 12px;
border-radius:6px;
text-decoration:none;
font-weight:600;
color:#0d6efd;
}

.social-btn{
width:36px;
height:36px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
border:1px solid #eee;
background:#f8f9fa;
color:#333;
text-decoration:none;
}

.social-btn:hover{
background:#e9ecef;
}
.business-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    gap: 16px;
    height: 100%;
    transition: 0.25s ease;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Logo */
.businesslogo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.businesslogo img {
    max-width: 45px;
    max-height: 45px;
    object-fit: contain;
}

/* Content */
.business-content h6 {
    margin-bottom: 4px;
    font-weight: 600;
}

.business-content h6 a {
    color: #0d6efd;
    text-decoration: none;
}

.business-content h6 a:hover {
    text-decoration: underline;
}

.business-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 2px;
}

.business-deals {
    font-size: 13px;
    color: #444;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .product-main {
        flex-direction: column;
    }
    .product-gallery,
    .product-info,
    .business-info {
        max-width: 100%;
        position: static;
    }
    .product-description-section {
        padding: 20px;
    }
}
/* Thumbnail active border */
.img-thumbnail:hover,
.img-thumbnail.active {
  border: 2px solid #007bff;
  cursor: pointer;
}

/* Sticky seller details */
@media (min-width: 768px) {
  .position-sticky {
    position: sticky !important;
  }
}


/* ================= PAGINATION ================= */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.pagination li {
    margin: 0 5px;
}
.pagination a {
    display: block;
    padding: 10px 15px;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}
.pagination a:hover,
.pagination .active a {
    background-color: #007bff;
    color: #fff;
}

/* ================= ACCESSIBILITY FIXES ================= */
a:focus, button:focus, input:focus, select:focus {
    outline: 3px solid #0056b3;
    outline-offset: 2px;
}
a, button {
    min-width: 44px;
    min-height: 44px;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #007bff;
    color: #fff;
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 10px;
}
/* ================= FOOTER ================= */

footer {
    background-color: #111;           /* darker for better contrast */
    color: #f1f1f1;                   /* brighter text */
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}
footer p{
     color: #fff;    
}
/* Make links highly visible */
footer a {
    color: #ffffff;                     /* pure white links */
    text-decoration: underline;         /* ensure distinction */
    font-weight: 600;
}
footer a:hover,
footer a:focus {
    color: #ffdd00;                     /* bright yellow hover for contrast */
    outline: none;
}
/* Email highlight */
footer .contact-email {
    color: #ffdd00;                     /* yellow email for contrast */
    font-weight: bold;
}
/* Social links spacing */
footer .social-links a {
    margin: 0 8px;
    display: inline-block;
}









