/* syle.css */
/* --- 1. RESET & VARIABLES --- */
:root {
  --primary: #006400; /* Islamic Green */
  --danger: #e74c3c; /* Red for alerts */
  --primary-dark: #004d00;
  --accent: #d4af37; /* Gold */
  --text-dark: #222222;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border: #e1e1e1;
  --font-head: "Amiri", serif;
  --font-body: "Poppins", sans-serif;
  --font-sig: "Playfair Display", serif;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilities */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-danger {
  background: var(--danger);
  color: var(--white);
}
.btn-danger:hover {
  background: #c0392b;
}
.btn-white {
  background: var(--white);
  color: var(--text-dark);
}
.btn-white:hover {
  background: #f0f0f0;
}
.btn-outline-dark {
  border-color: var(--text-dark);
  color: var(--text-dark);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--white);
}
.btn-block {
  width: 100%;
  text-align: center;
}
.center {
  text-align: center;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
}

/* --- 2. FLOATING SIDEBAR --- */
.social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.social-btn {
  display: flex;
  align-items: center;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background: #333;
  color: white;
  transition: 0.3s;
  padding: 0 15px;
  font-size: 1.2rem;
}
.social-btn i {
  min-width: 20px;
  text-align: center;
}
.social-btn span {
  margin-left: 15px;
  white-space: nowrap;
  opacity: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.social-btn:hover {
  width: 160px;
}
.social-btn:hover span {
  opacity: 1;
}
.whatsapp {
  background: #25d366;
}
.facebook {
  background: #3b5998;
}
.email {
  background: #d44638;
}
.phone {
  background: #333;
}

/* --- 3. NOTIFICATION & TOP BAR --- */
.notification-bar {
  background: var(--accent);
  color: #000;
  overflow: hidden;
  height: 35px;
  line-height: 35px;
}
.ticker-wrap {
  display: flex;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  padding: 0 30px;
  font-size: 0.9rem;
}
@keyframes ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.top-bar {
  background: #1a1a1a;
  color: #ccc;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid #333;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-left a,
.top-left span {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.top-left i {
  color: var(--accent);
}
.divider {
  color: #444;
}
.user-links a {
  margin-left: 15px;
  font-weight: 500;
}
.user-links a:hover {
  color: var(--accent);
}

/* --- 4. MAIN HEADER --- */
.main-header {
  padding: 20px 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* ============================= */
/*        BRAND LOGO STYLE       */
/* ============================= */

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

/* Logo Image */
.logo-icon {
  display: flex;
  align-items: center;
}

.logo-icon img {
  height: 65px; /* Main size */
  width: auto;
  object-fit: contain;
  display: block;
  transition: 0.3s ease;
}

/* Slight hover effect */
.brand-logo:hover .logo-icon img {
  transform: scale(1.05);
}

/* Logo Text */
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text h1 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.logo-text p {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-top: 3px;
  text-transform: uppercase;
}

.logo-text:hover {
  transform: scale(1.05);
}

/* ============================= */
/*        RESPONSIVE LOGO        */
/* ============================= */

@media (max-width: 992px) {
  .logo-icon img {
    height: 55px;
  }

  .logo-text h1 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .logo-icon img {
    height: 45px;
  }

  .logo-text {
    display: none; /* Hide text on very small screens */
  }
}

/* Search Bar */
.search-wrapper {
  flex: 1;
  max-width: 600px;
  position: relative;
}
.search-form {
  display: flex;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  height: 45px;
  transition: 0.3s;
}
.search-form:focus-within {
  border-color: var(--primary);
}
.search-category {
  background: #f5f5f5;
  border-right: 1px solid var(--border);
}
.search-category select {
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 15px;
  color: var(--text-light);
  outline: none;
  cursor: pointer;
}
#global-search {
  flex: 1;
  border: none;
  padding: 0 15px;
  outline: none;
  font-size: 0.95rem;
}
#search-btn {
  width: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  display: none;
  z-index: 1001;
  box-shadow: var(--shadow);
  max-height: 300px;
  overflow-y: auto;
}

/* Icons */
.header-icons {
  display: flex;
  gap: 25px;
  align-items: center;
}
.icon-item {
  text-align: center;
  cursor: pointer;
  position: relative;
  color: var(--text-dark);
}
.icon-item i {
  font-size: 1.4rem;
  margin-bottom: 2px;
  transition: 0.3s;
}
.icon-item:hover i {
  color: var(--primary);
}
.icon-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}
.badge {
  position: absolute;
  top: -5px;
  right: 0;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-trigger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- 5. NAVIGATION --- */
.main-navbar {
  background: var(--primary);
  color: var(--white);
}
.nav-links {
  display: flex;
  justify-content: center;
  position: relative;
}
.nav-links > li > a {
  display: block;
  padding: 15px 18px;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  background: rgba(0, 0, 0, 0.1);
  color: var(--accent);
}
.nav-links .nav-cta {
  background: var(--accent);
  color: #111 !important;
  border-radius: 6px;
  padding: 10px 16px !important;
  margin: 8px 0;
  font-weight: 700;
}
.nav-links .nav-cta:hover {
  background: #f4c74d;
  color: #111 !important;
}

/* Mega Menu & Dropdown */
.has-mega {
  position: relative;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  background: var(--white);
  color: var(--text-dark);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 900;
  border-top: 3px solid var(--accent);
}
.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}
.mega-column h4 {
  color: var(--primary);
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.mega-column a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: #555;
}
.mega-column a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.featured-img img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}
.featured-img p {
  font-weight: bold;
  color: var(--accent);
  font-size: 0.9rem;
  text-align: center;
}

.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  background: white;
  color: var(--text-dark);
  box-shadow: var(--shadow);
  display: none;
  z-index: 900;
}
.has-dropdown:hover .dropdown {
  display: block;
}
.dropdown li a {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}
.dropdown li a:hover {
  background: #f9f9f9;
  color: var(--primary);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: white;
  z-index: 2000;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  overflow-y: auto;
}
.mobile-menu-overlay.active {
  left: 0;
}
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1999;
}
.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-header {
  background: var(--primary);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-mobile {
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-links li a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  color: var(--text-dark);
  font-weight: 500;
}
.mobile-btn {
  padding: 20px;
}
.mobile-btn a {
  display: block;
  background: var(--primary);
  color: white !important;
  text-align: center;
  border-radius: 4px;
}

/* --- 6. HERO CAROUSEL --- */
.hero-carousel {
  height: 500px;
  position: relative;
  background: #000;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: 0.8s;
}
.carousel-slide.active {
  opacity: 1;
}
.slide-content {
  margin-left: 10%;
  max-width: 600px;
  color: white;
  animation: slideUp 1s ease;
}
.slide-label {
  background: var(--accent);
  color: black;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 3px;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.slide-content h1 {
  font-size: 3.5rem;
  margin: 15px 0;
  line-height: 1.1;
}
.slide-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}
.slide-btns {
  display: flex;
  gap: 15px;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  font-size: 1.2rem;
}
.slider-arrow:hover {
  background: var(--accent);
  color: black;
  border-color: var(--accent);
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- 7. FEATURES --- */
.features-area {
  padding: 50px 0;
  background: var(--bg-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.feature-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e1e1e1;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.f-icon {
  font-size: 2rem;
  color: var(--primary);
}
.f-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.f-text p {
  font-size: 0.8rem;
  color: #777;
  margin: 0;
}

/* --- 8. OWNER SECTION --- */
.owner-section {
  padding: 80px 0;
  background: #fffaf0;
}
.owner-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.owner-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}
.img-frame {
  position: relative;
  border: 10px solid white;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.img-frame img {
  width: 350px;
  height: auto;
}
.img-caption {
  position: absolute;
  bottom: 20px;
  left: -30px;
  background: var(--primary);
  color: white;
  padding: 15px 30px;
  box-shadow: var(--shadow);
}
.owner-content {
  flex: 1.5;
  min-width: 300px;
}
.section-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.title-divider {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 30px;
}
.greeting {
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: #333;
  margin-bottom: 20px;
}
.owner-content p {
  margin-bottom: 15px;
  color: #555;
  text-align: justify;
}
.signature-area {
  margin-top: 30px;
}
.signature-font {
  font-family: var(--font-sig);
  font-size: 2.5rem;
  color: var(--primary);
  transform: rotate(-5deg);
  margin: 5px 0;
}
.designation {
  font-weight: bold;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
}

/* --- 9. STATS SECTION --- */
.stats-section {
  padding: 60px 0;
  background: var(--primary);
  color: white;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.stat-item i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* --- 10. DEAL OF DAY --- */
.deal-section {
  padding: 60px 0;
  background: #fff;
}
.deal-wrapper {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.deal-content {
  flex: 1;
  min-width: 300px;
}
.deal-tag {
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 3px;
}
.deal-content h2 {
  font-size: 2rem;
  margin: 15px 0;
}
.wholesale-points {
  margin: 18px 0 25px;
  padding-left: 18px;
}
.wholesale-points li {
  margin-bottom: 8px;
  color: #555;
}
.price-box {
  font-size: 1.5rem;
  margin: 20px 0;
}
.old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}
.new-price {
  color: var(--primary);
  font-weight: bold;
}
.timer {
  display: flex;
  gap: 15px;
  margin: 25px 0;
}
.time-box {
  background: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  min-width: 70px;
  text-align: center;
  font-size: 0.8rem;
}
.time-box span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
}
.deal-image {
  flex: 1;
  text-align: center;
}
.deal-image img {
  max-height: 350px;
  margin: 0 auto;
  border-radius: 10px;
}

/* --- 11. CATEGORIES --- */
.categories-area {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.divider-center {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 10px auto;
}
.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: #777;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.cat-item {
  display: block;
  position: relative;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.cat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.cat-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  transition: 0.3s;
}
.cat-item:hover img {
  transform: scale(1.1);
}
.cat-item:hover .cat-overlay {
  background: rgba(0, 100, 0, 0.7);
}

/* --- 12. PRODUCTS --- */
.products-area {
  padding: 60px 0;
  background: var(--bg-light);
}
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.tabs {
  display: flex;
  gap: 10px;
}
.tab-btn {
  padding: 8px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
}
/* =========================
   3D PRODUCT CARD
========================= */

.product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;

  /* 3D base shadow */

  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.08);
}

/* HOVER 3D EFFECT */

.product-card:hover {
  transform: translateY(-12px) scale(1.02);

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.18),
    0 8px 25px rgba(0, 0, 0, 0.12);
}

/* IMAGE AREA */

.p-img {
  height: 260px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* IMAGE ZOOM */

.p-img img {
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

/* QUICK VIEW BUTTON */

.quick-view-btn {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 38px;
  height: 38px;

  border-radius: 50%;
  border: none;

  background: white;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

  transition: all 0.3s ease;
}

.quick-view-btn:hover {
  background: #006400;
  color: #fff;
}

/* DETAILS */

.p-details {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* CATEGORY */

.p-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

/* TITLE */

.p-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  min-height: 42px;
}

/* META */

.p-meta {
  font-size: 12px;
  color: #777;
}

.p-meta span {
  display: block;
}

/* PRICE */

.p-price {
  font-size: 20px;
  font-weight: 700;
  color: #006400;
  margin-top: 5px;
}

/* BUTTON */

.product-card .btn {
  border-radius: 8px;
  font-size: 14px;
  padding: 10px;
  margin-top: 10px;

  transition: all 0.25s ease;
}

.product-card .btn:hover {
  transform: scale(1.04);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.view-more-btn {
  text-align: center;
  margin-top: 40px;
}

/* --- 13. FAQ SECTION --- */
.faq-section {
  padding: 60px 0;
  background: white;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}
.faq-question {
  padding: 15px;
  background: #f9f9f9;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}
.faq-question:hover {
  background: #f0f0f0;
}
.faq-answer {
  padding: 15px;
  display: none;
  color: #555;
  background: white;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item.active .faq-question {
  background: var(--primary);
  color: white;
}

/* --- 14. BLOG SECTION --- */
.blog-section {
  padding: 60px 0;
  background: #f4f4f4;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-img {
  height: 200px;
  position: relative;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent);
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}
.blog-content {
  padding: 20px;
}
.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.blog-content p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}
.read-more i {
  margin-left: 5px;
  transition: 0.3s;
}
.read-more:hover i {
  margin-left: 10px;
}

.testimonials-section .testimonial-card {
  border-top: 4px solid var(--primary);
}
.testimonial-meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

/* --- 15. CONTACT & MAP --- */
.contact-section {
  padding: 60px 0;
  background: white;
}
.contact-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.contact-info-box {
  flex: 1;
  background: var(--primary);
  color: white;
  padding: 40px;
  border-radius: 8px;
  min-width: 300px;
}
.info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.info-item i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 5px;
}
.info-item h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.map-container {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}
.contact-form {
  flex: 1.5;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #eee;
  min-width: 300px;
}
.contact-form h3 {
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.track-order-section {
  background: #f6f9f7;
}
.track-order-box {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e8ece9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.track-order-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.track-order-form input {
  flex: 1;
  min-width: 240px;
  border: 1px solid #d9dfdc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
}
.track-order-form input:focus {
  border-color: var(--primary);
}

.bulk-cta {
  padding: 55px 0;
  background: linear-gradient(135deg, #0f5e1f, #003b15);
}
.bulk-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.bulk-cta h2 {
  color: #fff;
  margin: 0;
  font-size: 2rem;
}

/* --- 16. PARTNERS --- */
.partners-section {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid #eee;
}
.partners-section h3 {
  margin-bottom: 20px;
  color: #999;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px;
}
.partner-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: #ccc;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: var(--font-head);
}
.partner-logos span:hover {
  color: var(--primary);
  cursor: pointer;
}

/* --- 17. FOOTER --- */
.main-footer {
  background: #111;
  color: #aaa;
  padding-top: 70px;
  font-size: 0.9rem;
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  border-bottom: 1px solid #222;
  padding-bottom: 50px;
}
.footer-logo h2 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.footer-logo span {
  color: var(--primary);
  font-weight: 300;
}
.footer-desc {
  margin-bottom: 20px;
  line-height: 1.7;
}
.footer-social a {
  width: 35px;
  height: 35px;
  background: #222;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
}
.footer-social a:hover {
  background: var(--primary);
}
.footer-widget h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  display: block;
  transition: 0.3s;
}
.footer-links a:hover {
  padding-left: 5px;
  color: var(--primary);
}
.contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.contact-list i {
  color: var(--accent);
  margin-top: 5px;
}

/* --- 18. MODALS & SIDEBARS --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
}
.modal-box {
  background: white;
  width: 400px;
  padding: 30px;
  border-radius: 8px;
  position: relative;
  animation: fadeIn 0.3s;
}
.newsletter-box {
  text-align: center;
}
.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}
.modal-header {
  text-align: center;
  margin-bottom: 25px;
}
.input-group {
  position: relative;
  margin-bottom: 15px;
}
.input-group i {
  position: absolute;
  top: 12px;
  left: 15px;
  color: #888;
}
.input-group input {
  width: 100%;
  padding: 10px 10px 10px 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}
.form-footer {
  margin-top: 15px;
  text-align: center;
  font-size: 0.85rem;
}
.form-footer a {
  color: var(--primary);
  font-weight: 600;
}

/* Product Modal */
.product-modal-box {
  background: white;
  width: 800px;
  max-width: 90%;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-body-content {
  display: flex;
  gap: 30px;
  padding: 30px;
}
.modal-img {
  flex: 1;
}
.modal-img img {
  width: 100%;
  border-radius: 5px;
}
.modal-details {
  flex: 1;
}

/* Cart Sidebar */
.cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
}
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -110%;
  width: min(350px, 100%);
  height: 100%;
  background: white;
  z-index: 2001;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open {
  right: 0;
}
.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.tax-info {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-bottom: 15px;
}
.cart-item-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.cart-item-row img {
  width: 50px;
  height: 65px;
  object-fit: cover;
}
.cart-remove {
  color: #d9534f;
  font-size: 0.8rem;
  cursor: pointer;
}

#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-trigger {
    display: block;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .search-wrapper {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
  }
  .owner-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .owner-content p {
    text-align: left;
  }
  .mega-menu {
    width: 100%;
    left: 0;
    transform: none;
    position: static;
    display: none;
  }

  .modal-body-content {
    flex-direction: column;
  }
  .contact-wrapper {
    flex-direction: column;
  }
  .deal-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }
  .deal-content {
    width: 100%;
  }
  .timer {
    justify-content: center;
  }
  .social-sidebar {
    display: none;
  } /* Hide on mobile to save space */
}

/* Bottom Section */
.premium-footer {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #cbd5e1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* margin-top: 50px; */
  padding-top: 15px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 14px;
  color: #94a3b8;
}

/* =========================
        RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .premium-footer {
    padding: 60px 0 20px;
  }

  .footer-grid {
    gap: 35px;
  }
}

.dev-logo {
  height: 22px;
  /* small size */
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Hover effect */
.dev-logo-link:hover .dev-logo {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px #00bcd4);
}

#checkout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#checkout-modal .modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;
}
#checkout-modal .modal-content input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #f9f9f9;
  transition: all 0.25s ease;
  outline: none;
}

/* Focus effect */

#checkout-modal .modal-content input:focus {
  border-color: #006400;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.08);
}

/* Placeholder styling */

#checkout-modal .modal-content input::placeholder {
  color: #999;
  font-size: 14px;
}
/* Checkout Title */

#checkout-modal h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: #006400; /* brand green */
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 0.5px;
}

/* Decorative underline */

#checkout-modal h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d4af37; /* gold accent */
  margin: 8px auto 0;
  border-radius: 2px;
}
.orders-table thead th {
  background-color: #1f2937 !important;
  color: white !important;
}

/* SEARCH DROPDOWN */

.search-results-dropdown {
  position: absolute;
  background: #fff;
  width: 100%;
  max-height: 350px;
  overflow: auto;
  border: 1px solid #ddd;
  display: none;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* SEARCH ITEM */

.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: 0.2s;
}

.search-item:hover,
.search-item.active {
  background: #f3f4f6;
}

/* IMAGE */

.search-img {
  width: 45px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}

/* TITLE */

.search-title {
  font-weight: 600;
  color: #222;
}

/* CATEGORY */

.search-item .search-category {
  font-size: 12px;
  color: #777;
}

/* HIGHLIGHT */

mark {
  background: #ffe58a;
  padding: 0 2px;
}

.p-meta {
  font-size: 13px;
  color: #666;
  margin: 6px 0;
}

.p-meta span {
  display: block;
}

.modal-meta {
  margin: 10px 0;
  color: #444;
}

.modal-meta p {
  margin: 4px 0;
}

.modal-category {
  text-transform: uppercase;
  font-size: 12px;
  color: #888;
}

.modal-title {
  font-family: "Amiri";
  color: #006400;
  margin: 10px 0;
}

.modal-price {
  color: #d4af37;
}

/* ---------------------------------
   RESPONSIVE HARDENING
---------------------------------- */

.top-left {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.user-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 15px;
}

.user-links a {
  margin-left: 0;
}

.tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.contact-info-box,
.contact-form {
  min-width: 0;
}

.modal-box {
  width: min(400px, 92vw);
  max-width: 92vw;
}

.blog-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

@media (max-width: 1200px) {
  .nav-links > li > a {
    padding: 14px 12px;
    font-size: 0.88rem;
  }

  .mega-menu {
    width: min(800px, calc(100vw - 40px));
  }
}

@media (max-width: 992px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .top-right {
    width: 100%;
  }

  .user-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .notification-bar {
    height: auto;
    line-height: 1.4;
    padding: 7px 0;
  }

  .ticker-item {
    font-size: 0.82rem;
    padding: 0 20px;
  }

  .main-header {
    padding: 14px 0;
  }

  .header-inner {
    gap: 12px;
  }

  .header-icons {
    margin-left: auto;
    gap: 12px;
  }

  .icon-label {
    display: none;
  }

  .search-wrapper {
    margin-top: 10px;
  }

  .search-form {
    height: 42px;
  }

  .search-form .search-category select {
    padding: 0 10px;
    font-size: 0.85rem;
  }

  #global-search {
    min-width: 0;
  }

  .hero-carousel {
    height: 400px;
  }

  .slide-content {
    margin-left: 0;
    padding: 0 20px;
    max-width: 100%;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .slide-btns {
    flex-wrap: wrap;
  }

  .owner-image,
  .owner-content,
  .deal-content,
  .deal-image,
  .contact-info-box,
  .contact-form {
    width: 100%;
  }

  .img-frame img {
    width: min(100%, 320px);
  }

  .img-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 16px;
  }

  .section-title {
    font-size: 2rem;
  }

  .deal-wrapper {
    padding: 24px 18px;
  }

  .deal-content h2 {
    font-size: 1.7rem;
  }

  .timer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .testimonial-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .track-order-box {
    padding: 22px 18px;
  }

  .track-order-form input {
    min-width: 200px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
  }

  .p-img {
    height: 220px;
  }

  .p-img img {
    max-height: 180px;
  }

  .modal-body-content {
    padding: 20px;
  }

  .product-modal-box {
    max-width: 96%;
  }

  .cart-sidebar {
    width: min(360px, 100%);
  }

  #checkout-modal .modal-content {
    width: min(420px, 92vw);
    padding: 24px;
  }

  .bulk-cta-inner {
    justify-content: center;
    text-align: center;
  }

  .bulk-cta h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 14px;
  }

  .top-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .top-left .divider {
    display: none;
  }

  .main-header {
    padding: 12px 0;
  }

  .logo-icon img {
    height: 42px;
  }

  .search-form .search-category {
    display: none;
  }

  .hero-carousel {
    height: 320px;
  }

  .slide-label {
    font-size: 0.7rem;
  }

  .slide-content h1 {
    font-size: 1.55rem;
    margin: 10px 0;
  }

  .slide-content p {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .signature-font {
    font-size: 2rem;
  }

  .contact-info-box,
  .contact-form {
    padding: 24px 16px;
  }

  .track-order-box {
    padding: 20px 14px;
  }

  .track-order-form input,
  .track-order-form .btn {
    width: 100%;
    min-width: 100%;
  }

  .bulk-cta h2 {
    font-size: 1.3rem;
  }

  .modal-box {
    padding: 20px;
  }

  .mobile-menu-overlay {
    width: min(86vw, 320px);
  }

  .cart-sidebar {
    width: 100%;
  }

  #scroll-top {
    right: 15px;
    bottom: 15px;
  }
}
