@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0EA5E9;
  /* Sky 500 */
  --primary-dark: #0284C7;
  /* Sky 600 */
  --primary-light: #E0F2FE;
  /* Sky 100 */
  --secondary: #64748B;
  /* Slate 500 */
  --text-main: #334155;
  /* Slate 700 - slightly softer/dark gray per request */
  --text-muted: #64748B;
  /* Slate 500 */
  --bg-body: #FFFFFF;
  /* White background */
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  /* Slate 200 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

.text-primary {
  color: var(--primary);
}

.bg-white {
  background-color: var(--bg-white);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Header */
header {
  background-color: var(--bg-white);
  box-shadow: none;
  /* Removed shadow for flatter look */
  border-bottom: 1px solid var(--primary-light);
  /* Colored divider */
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  height: 172px;
  /* Logo stays full size; only whitespace above/below reduced by 70% (was 180px) */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
}

.header-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo {
  height: 100%;
  /* Full height of header */
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: auto;
  max-height: 165px;
  /* Logo full size – only header padding was reduced, not the logo */
  width: auto;
  object-fit: contain;
  display: block;
}

/* Optional: Slight hover scale for 'visually bigger' feel without breaking layout */
.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  height: 100%;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--bg-body);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  width: 250px;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  margin-left: 0.5rem;
  width: 100%;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  /* Large Hero */
  display: flex;
  align-items: center;
  background-color: var(--bg-white);
  overflow: hidden;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  border: none;
  transition: background-color 0.2s, transform 0.2s;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  flex: 1;
  height: 100%;
  position: relative;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-left-radius: 50px;
  /* Modern aesthetic */
}

/* Categories Section */
.category-card {
  position: relative;
  height: 300px;
  /* Tall cards */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.category-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Product Card */
.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-image-container {
  height: 250px;
  overflow: hidden;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  /* or contain depending on image type */
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Detail Page */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-top: 2rem;
}

.detail-image-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.detail-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.detail-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.detail-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* Footer */
footer {
  background-color: var(--text-main);
  /* Dark footer */
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
}

.footer-links h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero {
    flex-direction: column-reverse;
    height: auto;
    text-align: center;
  }

  .hero-content {
    padding: 3rem 1.5rem;
  }

  .hero-image-wrapper {
    height: 300px;
    width: 100%;
  }

  .hero-image {
    border-radius: 0;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Added contact layout */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Blog Card */
.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Product List Layout */

/* Product List Layout */
.product-list-container {
  display: block;
  /* Removed flex since sidebar is gone */
  width: 100%;
}

.product-list-main {
  width: 100%;
}

/* Grid Wrapper for Products */
#product-list-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  /* Responsive Grid */
  gap: 2rem;
  margin-top: 1rem;
}

/* Product List Item (Card) */
.product-list-item {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
  margin-bottom: 0;
  /* Remove the huge margin */
}

.product-list-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.product-list-image-wrap {
  width: 100%;
  height: 250px;
  /* Reduced height from 500px */
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center image */
  overflow: hidden;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color);
  /* Add separation */
}

.product-list-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Keep product aspect ratio */
  padding: 1.5rem;
  /* Add breathing room for the product image */
  transition: transform 0.5s ease;
}

.product-list-image-wrap:hover .product-list-image {
  transform: scale(1.05);
}

.product-list-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-list-category {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-list-title {
  font-size: 1.25rem;
  /* Reduced from 2rem */
  margin-bottom: 0.5rem;
  color: var(--text-main);
  line-height: 1.3;
  font-weight: 600;
}

.product-list-title a {
  text-decoration: none;
  color: inherit;
}

.product-list-title a:hover {
  color: var(--primary);
}

.product-list-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}




/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 3rem;
}

.sidebar-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.category-list-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.category-list-item:hover {
  color: var(--primary);
}

.search-widget-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  font-family: inherit;
}

.search-widget-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #F1F5F9;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.tag:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.recent-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.recent-image {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background-color: #f1f5f9;
  overflow: hidden;
}

.recent-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.recent-info h4 a:hover {
  color: var(--primary);
}

.recent-date {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Responsive overrides */
@media (max-width: 900px) {
  .product-list-container {
    flex-direction: column;
  }

  .product-list-main,
  .product-sidebar {
    width: 100%;
    flex: auto;
  }

  .product-sidebar {
    order: 2;
    /* Sidebar below products on mobile */
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .product-list-item {
    flex-direction: column;
    gap: 1rem;
  }

  .product-list-image-wrap {
    width: 100%;
    height: 250px;
  }
}

/* Showcase Card (Homepage-02 Style) */
.showcase-card {
  border: none;
  box-shadow: none;
  background: transparent;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: none;
  /* No shadow on hover for cleaner look, purely transform */
}

.showcase-image {
  height: 300px;
  /* Taller */
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}


/* Full Width Hero */
.hero-full {
  width: 100%;
  height: 600px;
  position: relative;
}

.hero-full-bg {
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-full-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-full-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-full-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
}

.hero-subtitle.dark {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn-dark {
  background-color: white;
  color: var(--text-main);
}

.btn-dark:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}


.center-info {
  text-align: center;
  padding: 0 1rem;
}

.view-details-link-sm {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  display: inline-block;
}

.view-details-link-sm:hover {
  text-decoration: underline;
}

/* Navigation Dropdowns */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  padding: 1.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  /* Premium shadow */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
  border-top: 2px solid var(--primary);
  /* Accent top border */
}

/* Show on Hover */
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown Items */
.dropdown-item {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}

.dropdown-item:hover {
  color: var(--primary);
  padding-left: 5px;
  /* Subtle slide */
}

.dropdown-header {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  margin-top: 1rem;
  font-weight: 700;
}

.dropdown-header:first-child {
  margin-top: 0;
}

/* Wide Dropdown (Shop) */
.wide-dropdown {
  min-width: 400px;
}

/* Mega Menu */
.mega-menu {
  width: 900px;
  left: 50%;
  /* Center hack */
  margin-left: -450px;
  transform: translateY(10px);
  /* Start state (no X here because margin handles centering) */
  display: flex;
  cursor: default;
}

.nav-item:hover .mega-menu {
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  width: 100%;
}

.mega-column {
  display: flex;
  flex-direction: column;
}

/* Nav Link Adjustments for SVG */
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  gap: 4px;
}

/* Contact Page Styles */
.contact-grid {
  display: flex;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info-col {
  flex: 1;
  max-width: 400px;
  /* Constrain left column size like image */
}

.contact-form-col {
  flex: 1.5;
}

.contact-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-section {
  margin-bottom: 2rem;
}

.contact-heading {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  /* Assuming blue from theme */
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Form Styles */
.clean-form {
  padding: 0;
  /* No padding/bg wrap */
}

.form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  background-color: #F8FAFC;
  /* Slight gray bg inputs */
}

.form-input:focus {
  border-color: var(--primary);
  background-color: white;
}

.textarea-input {
  resize: vertical;
}

.form-group {
  margin-bottom: 1.5rem;
}

.submit-btn {
  background-color: #557999;
  /* Muted blue from reference image */
  border-radius: 4px;
  /* Squarer buttons */
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
}

.submit-btn:hover {
  background-color: #335577;
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 4rem;
}

/* Response */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info-col {
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Blog Page Styles */

.blog-layout {
  display: flex;
  gap: 4rem;
  margin-bottom: 4rem;
}

.blog-main {
  flex: 2;
}

.blog-sidebar {
  flex: 0.8;
  /* Narrower sidebar */
}

/* Blog Post Item */
.blog-post-item {
  margin-bottom: 4rem;
}

.blog-post-image {
  width: 100%;
  height: 400px;
  background-color: #f1f5f9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.blog-post-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.meta-separator {
  margin: 0 0.5rem;
  color: #cbd5e1;
}

.blog-post-title {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-main);
  font-weight: 600;
}

.blog-post-excerpt {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.read-more-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.read-more-link:hover {
  color: var(--primary);
}

/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 3rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

/* Sidebar Search */
.sidebar-search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  outline: none;
}

.search-box {
  position: relative;
}

.search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
}

/* Category List */
.widget-list {
  list-style: none;
  padding: 0;
}

.widget-list li {
  border-bottom: 1px solid #f1f5f9;
}

.widget-list li:last-child {
  border-bottom: none;
}

.widget-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.widget-list a:hover {
  color: var(--primary);
}

/* Recent Posts */
.sidebar-post {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sidebar-post-img {
  width: 80px;
  height: 80px;
  background-color: #e2e8f0;
  border-radius: 4px;
  flex-shrink: 0;
}

.sidebar-post-info h4 {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.sidebar-post-info h4 a {
  color: var(--text-main);
}

.sidebar-post-info h4 a:hover {
  color: var(--primary);
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Tags */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #f8fafc;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.tag:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.2s;
}

.page-link.active,
.page-link:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Responsive Blog */
@media (max-width: 900px) {
  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    margin-top: 2rem;
  }
}

/* Homepage 02 Specific Styles */

/* Hero Full */
.hero-full {
  width: 100%;
  height: 600px;
  background-color: #f1f5f9;
  /* Placeholder for full bg image */
  position: relative;
  display: flex;
  align-items: center;
}

.hero-full-bg {
  width: 100%;
  height: 100%;
  /* In real implementation, this would be a background-image */
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-full-content {
  padding-left: 2rem;
  max-width: 600px;
}

.hero-full-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  animation: fadeInUp 0.5s ease-out;
}

/* Category Grid 6 */
.cat-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cat-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cat-img-box {
  width: 100%;
  aspect-ratio: 1;
  /* Square */
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s;
}

.cat-img-box:hover {
  transform: translateY(-5px);
}

.cat-item span {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9rem;
}

/* Product Grid 4 */
.product-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Navigation Arrows */
.nav-arrows {
  display: flex;
  gap: 0.5rem;
}

.nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-arrow:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Unbeatable Combos */
.combo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.combo-small-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.combo-small {
  flex: 1;
}

/* Testimonial */
.testimonial-box {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fdf6f0;
  /* Subtle warm bg */
  padding: 3rem;
  border-radius: var(--radius-lg);
}

.testimonial-text {
  font-size: 1.25rem;
  font-style: italic;
  font-family: serif;
  /* Closer to image look */
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.rating {
  color: #fbbf24;
  /* Amber 400 */
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* News Insight (3 col) */
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  text-align: center;
}

.news-img {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding-top: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Promo Banners */
.btn-white {
  background-color: white;
  color: var(--text-main);
  padding: 0.75rem 2rem;
  border-radius: 0;
  font-weight: 700;
  display: inline-block;
  margin-top: 1rem;
}

.bg-light {
  background-color: #F8FAFC;
}

/* Responsive */
@media (max-width: 900px) {
  .cat-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

/* About Page Styles */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-quote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 2rem;
  color: var(--text-main);
}

.about-quote span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-muted);
}

.icon-circle {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Team Grid */
.team-grid {
  grid-template-columns: repeat(4, 1fr);
}

.team-member {
  text-align: center;
}

.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-color: #f1f5f9;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.team-member h4 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.team-member span {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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