/*
Theme Name: Mediland
Description: Professional Medical Equipment WordPress Theme
Version: 1.0
Author: Luqman Mani
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #e8f4f8 0%, #f0f8ff 100%);
  overflow-x: hidden;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.container-header {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Header Styles */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
}

.top-header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}

.top-header .container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo a {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo .med {
  color: #4caf50;
}

.logo .prix {
  color: #2196f3;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.main-nav {
  transition: all 0.3s ease;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 10px 0;
}

.main-nav a:hover {
  color: #4caf50;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 35px;
  height: 35px;
  background: #4caf50;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 14px;
}

.social-icons a:hover {
  background: #45a049;
}

.contact-info {
  text-align: left;
}

.contact-label {
  font-size: 14px;
  color: #666;
}

.contact-number {
  font-weight: 500;
  color: #333;
  font-size: 16px;
}

/* Category Navigation - Below Header and Fixed on Scroll */
.category-nav {
  background: linear-gradient(74deg, #3498db 0%, #00bd88 100%);
  position: relative;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none; /* Hidden by default on mobile */
  transition: all 0.3s ease;
}

.category-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.category-nav ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.category-nav li {
  flex: 1;
}

.category-nav a {
  display: block;
  padding: 15px 10px;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.category-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Show category nav on desktop only */
@media (min-width: 1025px) {
  .category-nav {
    display: block;
  }
  
}

/* Medical Background Icons */
.medical-bg-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-icon {
  position: absolute;
  opacity: 0.15;
  z-index: 1;
}

.bg-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(10%);
}

.bg-icon.icon-1 {
  top: 20%;
  left: 5%;
  transform: rotate(-15deg);
}

.bg-icon.icon-2 {
  top: 20%;
  right: 8%;
  transform: rotate(25deg);
}

.bg-icon.icon-3 {
  top: 35%;
  left: 13%;
  transform: rotate(45deg);
}

.bg-icon.icon-4 {
  top: 60%;
  right: 5%;
  transform: rotate(-30deg);
}

.bg-icon.icon-5 {
  top: 35%;
  right: 15%;
  transform: rotate(-45deg);
}

.bg-icon.icon-6 {
  top: 20%;
  right: 20%;
  transform: rotate(60deg);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 16px;
  opacity: 0.9;
}

/* Products Archive Styles */
.products-archive {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 40px 0;
  position: relative;
}

/* Category Description Section */
.category-description-section {
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.category-description-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  text-align: justify;
}

/* Categories Overview */
.categories-overview {
  margin-bottom: 60px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-box {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 220px;
  display: flex;
  flex-direction: column;
}

.category-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.category-image {
  height: 150px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.category-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-box:hover .category-image img {
  transform: scale(1.05);
}

.category-name {
  padding: 15px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-name h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a365d;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}

/* Product Filters Section */
.product-filters-section {
  margin: 60px 0;
}

.product-filters-section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 20px;
}

.product-filters-section h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 25px;
}

.product-filters-section p {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Archive Filters */
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  font-size: 14px;
  flex: 1;
}

.filter-group button {
  padding: 8px 16px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.filter-group button:hover {
  background: #45a049;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 320px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.product-content h3 a {
  color: #1a365d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-content h3 a:hover {
  color: #4caf50;
}

.product-content p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-price {
  font-size: 14px;
  font-weight: 600;
  color: #4caf50;
  margin-bottom: 5px;
}

.product-brand {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.3s ease;
  text-align: center;
  margin-top: auto;
}

.read-more:hover {
  background: #45a049;
}

/* Filtered Products - Simple Layout */
.filtered-product .product-content p,
.filtered-product .product-price,
.filtered-product .product-brand,
.filtered-product .read-more {
  display: none;
}

.filtered-product {
  height: 280px;
}

.filtered-product .product-content {
  padding: 15px;
  text-align: center;
  justify-content: center;
}

.filtered-product .product-content h3 {
  font-size: 14px;
  margin: 0;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 40px;
  font-size: 16px;
  color: #666;
}

/* No Products Message */
.no-products {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  font-size: 18px;
  color: #666;
  grid-column: 1 / -1;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 40px;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 10px 15px;
  border: 1px solid #ddd;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination a:hover,
.pagination .current {
  background: #4caf50;
  color: white;
  border-color: #4caf50;
}

/* Category Page Styles */
.category-page,
.subcategory-page {
  background: #f8f9fa;
  min-height: 100vh;
  position: relative;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 30px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.breadcrumb-nav a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: #4caf50;
}

.breadcrumb-nav .separator {
  margin: 0 10px;
  color: #4caf50;
}

.breadcrumb-nav .current {
  color: #4caf50;
  font-weight: 500;
}

/* Category Header */
.category-header,
.subcategory-header {
  text-align: center;
  margin-bottom: 50px;
}

.category-title {
  font-size: 48px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 20px;
  text-align: center;
}

/* Category Description Section */
.category-description-section,
.subcategory-description-section {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 25px;
}

.description-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  text-align: justify;
}

/* Category Features Section */
.category-features {
  background: white;
  padding: 0px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 40px auto 0; /* auto left/right centers it */
  justify-items: center; /* center items inside their grid cell */
  gap: 0;
  max-width: 1300px;
  width: 100%;
}


.features-parent{
  max-width: 800px !important;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
  max-width: 250px;
  
  /* Gradient glow effect */
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3),  /* bluish glow */
              0 4px 10px rgba(46, 204, 113, 0.3);  /* greenish glow */
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 24px;

}


.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Brand Logos Section */
.category-brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin: 50px 0;
  padding: 40px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.brand-logo-item:hover {
  transform: translateY(-3px);
}

.brand-logo-item img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.brand-logo-item:hover img {
  filter: grayscale(0%);
}

.brand-text {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  text-align: center;
}

/* Subcategories Grid - Fixed Size and Consistent Text */


/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 60px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a365d;
}

.hero-text .highlight {
  color: #4caf50;
}

.hero-text p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 180px;
}

.cta-button:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: transparent;
  color: #4caf50;
  border: 2px solid #4caf50;
}

.cta-button.secondary:hover {
  background: #4caf50;
  color: white;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 10px;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: #666;
}

/* Brands Section */
.brands-section {
  background: #f8f9fa;
  padding: 50px 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
}

.brand-logo {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 10px;
  transition: transform 0.3s ease;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo:hover {
  transform: translateY(-3px);
}

.brand-logo img {
  max-width: 100px;
  max-height: 50px;
  width: auto;
  height: auto;
}

.brand-logo h4 {
  color: #666;
  font-size: 14px;
  text-align: center;
}

/* Single Product */
.product-single {
  padding: 30px 0;
}

.product-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.product-images {
  width: 100%;
  max-width: 100%;
}

.product-images .main-image {
  width: 100%;
  height: 100%; /* fixed height */
  border-radius: 16px; /* rounded corners */
  overflow: hidden; /* crop overflow */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* soft card shadow */
  background: #f8f9fa; /* fallback bg */
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-images .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* zoom in/out to cover */
  object-position: center; /* keep center focus */
  border-radius: 16px; /* match container */
}


.product-info h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a365d;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-price .price {
  font-size: 24px;
  font-weight: 700;
  color: #4caf50;
}

.product-model {
  margin: 15px 0;
  font-size: 16px;
}

.product-model a {
  color: #4caf50;
}

.product-excerpt {
  font-size: 16px;
  color: #666;
  margin: 20px 0;
  line-height: 1.6;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.product-subcategories {
  margin-top: 20px;
}

.product-brands {
  margin-top: 20px;
}

.product-brands a {
  
  text-decoration: none;
}

/* Product Tabs */
.product-tabs {
  margin-top: 40px;
}

.tab-nav {
  display: flex;
  list-style: none;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-nav li {
  margin-right: 20px;
  white-space: nowrap;
}

.tab-nav a {
  display: block;
  padding: 15px 0;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 14px;
}

.tab-nav li.active a,
.tab-nav a:hover {
  color: #4caf50;
  border-bottom-color: #4caf50;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Related Products */
.related-products {
  background: #f8f9fa;
  padding: 50px 0;
}

.related-products h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 30px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #004b7c 0%, #00913d 100%);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-widget h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #4caf50;
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-widget a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.footer-widget a:hover {
  color: #4caf50;
}

.footer-widget p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
}

.contact-details p {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-details i {
  margin-right: 8px;
  color: #4caf50;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #ccc;
  font-size: 14px;
}

/* Post Meta */
.post-meta {
  color: #666;
  font-size: 13px;
  margin-top: 10px;
}

.post-meta a {
  color: #4caf50;
  text-decoration: none;
}

/* Contact Form Styles */
.contact-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #4caf50;
}

.submit-button {
  background: #4caf50;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  background: #45a049;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .mobile-top-padding {
    padding-top: 60px !important;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
  }

  .category-box {
    height: 200px;
  }

  .category-image {
    height: 130px;
  }


  .category-title {
    font-size: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

}

@media (max-width: 768px) {
  /* Mobile Header */
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: block;
  }

  .header-right {
    display: none;
  }

  .top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  /* Category Navigation Hidden on Mobile */
  .category-nav {
    display: none !important;
  }

  /* Products Archive Mobile */
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .category-box {
    height: 180px;
  }

  .category-image {
    height: 110px;
    padding: 15px;
  }

  .category-name h3 {
    font-size: 14px;
  }

  .product-filters-section h2 {
    font-size: 28px;
  }

  .product-filters-section h3 {
    font-size: 20px;
  }

  /* Archive Filters Mobile */
  .archive-filters {
    flex-direction: column;
    gap: 15px;
  }

  .filter-group {
    min-width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  /* Products Grid Mobile */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
  }

  .product-card {
    height: 280px;
  }

  .product-image {
    height: 180px;
  }

  .product-content {
    padding: 12px;
  }

  .product-content h3 {
    font-size: 14px;
  }

  /* Category Page Mobile */
  .category-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 24px;
  }


  .category-brands {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 30px 20px;
  }

  .brand-logo-item {
    height: 60px;
  }

  .brand-logo-item img {
    max-width: 100px;
    max-height: 40px;
  }

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

  .feature-item {
    padding: 25px 15px;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 40px 0;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  /* Content Sections Mobile */
  .content-section {
    padding: 40px 0;
  }

  .section-title {
    margin-bottom: 30px;
  }

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

  /* Single Product Mobile */
  .product-header {
    grid-template-columns: 1fr;
    gap: 30px;
    
  }

  .product-info h1 {
    font-size: 24px;
  }

  .product-actions {
    flex-direction: column;
  }

  .cta-button {
    text-align: center;
    width: 100%;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Page Header Mobile */
  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 16px;
  }

  /* Brands Grid Mobile */
  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }

  .brand-logo {
    padding: 10px;
    min-height: 60px;
  }

  .brand-logo img {
    max-width: 80px;
    max-height: 40px;
  }
}

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

  /* Logo Mobile */
  .logo a {
    font-size: 24px;
  }

  /* Categories Grid Mobile */
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
  }

  .category-box {
    height: 160px;
  }

  .category-image {
    height: 100px;
    padding: 10px;
  }

  .category-name {
    padding: 10px;
  }

  .category-name h3 {
    font-size: 13px;
  }

  /* Product Filters Mobile */
  .product-filters-section h2 {
    font-size: 24px;
  }

  .product-filters-section h3 {
    font-size: 18px;
  }

  /* Products Grid Mobile */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
  }

  .product-card {
    height: 240px;
  }

  .product-image {
    height: 160px;
  }

  .product-content {
    padding: 10px;
  }

  .product-content h3 {
    font-size: 13px;
  }

  /* Category Page Mobile */
  .category-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 22px;
  }

  .features-title {
    font-size: 28px;
  }

  /* Hero Mobile */
  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 14px;
  }

  /* Contact Form Mobile */
  .contact-form {
    padding: 20px;
  }

  /* Tab Navigation Mobile */
  .tab-nav {
    margin-bottom: 20px;
  }

  .tab-nav li {
    margin-right: 15px;
  }

  .tab-nav a {
    font-size: 13px;
    padding: 12px 0;
  }

  /* Footer Mobile */
  .footer-widget h3 {
    font-size: 16px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* Pagination Mobile */
  .pagination {
    gap: 5px;
  }

  .pagination a,
  .pagination span {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Category Features Mobile */
  .category-features {
    padding: 30px 0;
    margin: 40px 0;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .feature-item h3 {
    font-size: 16px;
  }

  .feature-item p {
    font-size: 13px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
  }

  .product-card:hover .product-image img {
    transform: none;
  }

  .category-box:hover {
    transform: none;
  }

  .brand-logo-item:hover {
    transform: none;
  }

  .cta-button:hover {
    transform: none;
  }

  .feature-item:hover {
    transform: none;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .product-image img,
  .category-image img,
  .brand-logo-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    padding: 30px 0;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .category-title{
    font-size: 28px;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .category-nav,
  .site-footer,
  .cta-button,
  .social-icons,
  .medical-bg-icons,
  .archive-filters {
    display: none;
  }

  .hero-section,
  .content-section {
    padding: 20px 0;
  }

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

  .products-archive,
  .category-page,
  .subcategory-page {
    background: white;
  }
}

/* Sliding Brands Section */
.sliding-brands-section {
  background: #fff;
  padding: 30px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
}

.brands-slider {
  width: 100%;
  overflow: hidden;
}

.brands-track {
  display: flex;
  animation: slide 30s linear infinite;
  width: calc(200% + 40px);
}

.brand-slide {
  flex: 0 0 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
}

.brand-slide img {
  max-width: 150px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(50%);
  transition: filter 0.3s ease;
}

.brand-slide:hover img {
  filter: grayscale(0%);
}

.brand-text {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  text-align: center;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Featured Products Section */
.featured-products-section {
  background: #fff;
}

.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.featured-product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 350px;
  display: flex;
  flex-direction: column;
}

.featured-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.featured-product-card .product-image {
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-product-card:hover .product-image img {
  transform: scale(1.05);
}

.featured-product-card .product-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.featured-product-card .product-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a365d;
  margin: 0 0 10px 0;
  line-height: 1.3;
  flex: 1;
}

.featured-product-card .product-brand {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.view-details-btn {
  display: inline-block;
  background: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  text-align: center;
}

.view-details-btn:hover {
  background: #45a049;
}

/* Medical Categories Section */
.medical-categories-section .categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.medical-categories-section .category-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.medical-categories-section .category-card:hover {
  transform: translateY(-5px);
}

.medical-categories-section .category-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.medical-categories-section .category-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1a365d;
}

.medical-categories-section .category-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.medical-categories-section .category-count {
  font-size: 14px;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 15px;
}

.medical-categories-section .category-link {
  color: #4caf50;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.medical-categories-section .category-link:hover {
  color: #45a049;
}

/* Partners Section */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.partner-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.partner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.partner-logo {
  height: 120px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo img {
  filter: grayscale(0%);
}

.partner-name {
  font-size: 18px;
  font-weight: 600;
  color: #666;
  text-align: center;
}

.partner-info {
  padding: 20px;
  text-align: center;
}

.partner-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 10px;
}

.partner-count {
  font-size: 14px;
  color: #4caf50;
  font-weight: 500;
}

/* Blog Section */
.blog-section {
  background: #fff;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 420px;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-placeholder {
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #ccc;
}

.blog-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 12px;
  color: #666;
}

.blog-meta i {
  margin-right: 5px;
  color: #4caf50;
}

.blog-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-content h3 a {
  color: #1a365d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h3 a:hover {
  color: #4caf50;
}

.blog-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex: 1;
}

.blog-content .read-more {
  color: #4caf50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.blog-content .read-more:hover {
  color: #45a049;
}

/* Blog Archive Page */
.blog-archive {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 40px 0;
}

.blog-archive .blog-posts-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Blog Single Page */
.blog-single {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 40px 0;
}

.blog-header {
  margin-bottom: 40px;
}

.blog-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a365d;
  margin: 20px 0;
  line-height: 1.2;
}

.blog-featured-image {
  margin: 30px 0;
  border-radius: 15px;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.blog-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #1a365d;
  margin: 30px 0 15px 0;
}

.blog-content p {
  margin-bottom: 20px;
  color: #333;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

.reading-time {
  color: #666;
  font-size: 14px;
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 20px;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 10px;
}

.recent-posts {
  list-style: none;
}

.recent-posts li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-posts a {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.recent-posts a:hover {
  color: #4caf50;
}

.recent-post-thumb {
  flex: 0 0 60px;
}

.recent-post-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.recent-post-content h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.3;
}

.recent-post-date {
  font-size: 12px;
  color: #666;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 10px;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #4caf50;
}

.category-count {
  font-size: 12px;
  color: #666;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-link {
  display: inline-block;
  padding: 5px 12px;
  background: #f8f9fa;
  color: #666;
  text-decoration: none;
  border-radius: 15px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.tag-link:hover {
  background: #4caf50;
  color: white;
}

/* Post Navigation */
.post-navigation {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.nav-previous,
.nav-next {
  padding: 20px;
  border-radius: 10px;
  background: #f8f9fa;
  transition: background 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
  background: #e8f5e8;
}

.nav-previous a,
.nav-next a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.nav-next {
  text-align: right;
}

.nav-subtitle {
  display: block;
  font-size: 12px;
  color: #4caf50;
  font-weight: 500;
  margin-bottom: 5px;
}

.nav-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #1a365d;
  line-height: 1.3;
}

/* Related Posts */
.related-posts {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-posts h3 {
  font-size: 24px;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 30px;
  text-align: center;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.related-post-card {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.related-post-card:hover {
  transform: translateY(-3px);
}

.related-post-image {
  height: 150px;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-content {
  padding: 15px;
}

.related-post-content h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
}

.related-post-content h4 a {
  color: #1a365d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
  color: #4caf50;
}

.related-post-date {
  font-size: 12px;
  color: #666;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
  .featured-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .blog-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .sliding-brands-section {
    padding: 20px 0;
  }

  .brand-slide {
    flex: 0 0 150px;
    height: 60px;
    margin-right: 20px;
  }

  .brand-slide img {
    max-width: 120px;
    max-height: 40px;
  }

  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .featured-product-card {
    height: 320px;
  }

  .featured-product-card .product-image {
    height: 180px;
  }

  .medical-categories-section .categories-grid {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .partner-logo {
    height: 100px;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-card {
    height: auto;
  }

  .blog-title {
    font-size: 28px;
  }

  .blog-content {
    padding: 25px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-next {
    text-align: left;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-slide {
    flex: 0 0 120px;
    height: 50px;
    margin-right: 15px;
  }

  .featured-products-grid {
    grid-template-columns: 1fr;
  }

  .featured-product-card {
    height: 300px;
  }

  .featured-product-card .product-image {
    height: 160px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .blog-title {
    font-size: 24px;
  }

  .blog-content {
    padding: 20px;
  }

  .related-posts {
    padding: 25px;
  }
}

/* Pause animation on hover */
.brands-slider:hover .brands-track {
  animation-play-state: paused;
}

/* Removed incomplete CSS rules that were moved to taxonomy-brands.php template */



/*  Luxury Common Styles  */

.luxury-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.luxury-btn-primary {
  background: linear-gradient(135deg, #3498db 20%, #2ecc71 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.luxury-btn-small {
  padding: 7px 12px !important;
  border-radius: 10px !important;
}

.luxury-btn-primary:hover {
  background: #2980b9;
  transform: translateY(-3px);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}


.luxury-btn-secondary {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.luxury-btn-secondary-home {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.luxury-btn-secondary-home:hover {
  background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);;
  color: white;
  transform: translateY(-3px);
  border: 2px solid #fff;
}

.luxury-btn-secondary:hover {
  background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);;
  color: white;
  transform: translateY(-3px);
  border: 2px solid #fff;
}


/* Luxury SubHero Section */
.luxury-subhero { 
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 80px 0;
position: relative;
overflow: hidden;
}

.luxury-subhero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3498db, #2ecc71, #9b59b6, #e74c3c);
}


.luxury-subhero-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* 3 blocks: left | middle (content) | right */
  gap: 60px;
  align-items: center;
}

.luxury-subhero-text h1 {
  font-family: 'Inter', Arial, sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2c3e50;
}

.luxury-subhero-highlight {
  background: linear-gradient(180deg, #3299d8 40%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.luxury-subhero-text p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 35px;
  line-height: 1.7;
}

.luxury-subhero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.luxury-subhero-image {
  position: relative;
  text-align: center;
}

.luxury-subhero-image img {
  width: 100%;
  height: auto;
  max-width: 700px;
  border-radius: 20px;
}

/* Responsive Design */
@media (min-width: 992px) {
    
  .luxury-subhero-content .content {
      grid-column: 2;      /* force content into the 2nd block */
      text-align: left;    /* text stays left-aligned */
  }
    
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
      .luxury-subhero-text h1 {
          font-size: 42px;
      }    
  }
  
  @media (max-width: 992px) {
      .luxury-subhero-content {
          grid-template-columns: 1fr;
          gap: 50px;
          text-align: center;
          max-width: 80%;
          margin: 0 auto;
      }
      
      .luxury-subhero-text h1 {
          font-size: 36px;
      }
      
      .luxury-subhero-buttons {
          justify-content: center;
      }
      
      .luxury-products-grid,
      .luxury-categories-grid,
      .luxury-partners-grid,
      .luxury-blog-grid {
          grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      }
  }
  
  @media (max-width: 768px) {
      .luxury-subhero {
          padding: 80px 0;
      }
      
      .luxury-subhero-text h1 {
          font-size: 32px;
      }
      
      .luxury-section-title {
          font-size: 30px;
      }
      
      .luxury-cta-content h2 {
          font-size: 36px;
      }
      
      .luxury-cta-buttons {
          flex-direction: column;
          align-items: center;
      }
      
      .luxury-cta-btn {
          width: 100%;
          text-align: center;
          justify-content: center;
      }
  }
  
  
  
  @media (max-width: 576px) {
      .luxury-subhero-text h1 {
          font-size: 28px;
      }
      
      .luxury-subhero-text p {
          font-size: 16px;
      }
      
      .luxury-btn {
          width: 80%;
      }
      
      .luxury-products-grid,
      .luxury-categories-grid,
      .luxury-partners-grid,
      .luxury-blog-grid {
          grid-template-columns: 1fr;
      }
      
      .luxury-section-title {
          font-size: 26px;
      }
  }
  

  /* Mediland Products Cards */

  