/* ============================================
   Shree Print House - Printing Website
   Design inspired by shreemaruthiprinters.com
   ============================================ */

/* CSS Variables */
:root {
  /* Primary Colors - Orange/Coral theme */
  --primary: #E65C00;
  --primary-light: #FF7B2E;
  --primary-dark: #CC5200;

  /* Secondary - Dark Teal/Blue-green for sliders */
  --secondary: #1A3A4A;
  --secondary-light: #2A5A6A;
  --secondary-dark: #0F252F;

  /* Background Colors */
  --bg-cream: #FDF8F3;
  --bg-light: #FFF9F5;
  --bg-white: #FFFFFF;

  /* Text Colors */
  --text-dark: #1A1A1A;
  --text-medium: #4A4A4A;
  --text-light: #7A7A7A;
  --text-white: #FFFFFF;

  /* Accent Colors for Category Buttons */
  --cat-red: #E53935;
  --cat-green: #43A047;
  --cat-blue: #1E88E5;
  --cat-teal: #00897B;
  --cat-purple: #8E24AA;
  --cat-orange: #FB8C00;
  --cat-pink: #D81B60;
  --cat-brown: #6D4C41;

  /* Borders & Shadows */
  --border-light: #E5E0DB;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Spacing */
  --container-width: 1400px;
  --header-height: 140px;

  /* Typography */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  background: var(--secondary-dark);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 13px;
}

.top-bar-content {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.top-bar-text {
  opacity: 0.9;
}

/* ============================================
   Header
   ============================================ */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  gap: 20px;
  flex-wrap: wrap;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(50%) invert(38%) sepia(93%) saturate(1637%) hue-rotate(1deg) brightness(96%) contrast(101%);
}

/* Celebration Badge */
.celebration-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px;
  border: 2px solid var(--primary);
  border-radius: 8px;
}

.celebration-badge .years {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}

.celebration-badge .years-text {
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}

/* Search Bar */
.search-bar {
  flex: 1;
  display: flex;
  max-width: 600px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.category-select {
  padding: 12px 15px;
  border: none;
  border-right: 2px solid var(--border-light);
  background: var(--bg-light);
  font-size: 14px;
  color: var(--text-medium);
  cursor: pointer;
  min-width: 140px;
}

.search-input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  font-size: 14px;
  outline: none;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

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

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

.header-icon-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
  cursor: pointer;
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary);
  color: white;
  font-size: 11px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-text {
  font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* Category Navigation */
.category-nav {
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
}

.category-item a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: background 0.3s, color 0.3s;
}

.category-item a:hover {
  background: var(--primary);
  color: white;
}

.category-item.contact-link a {
  background: var(--cat-green);
  color: white;
}

/* Mega Menu */
.category-item.has-dropdown {
  position: static;
  /* Use static so mega menu can be full width relative to nav */
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 25px 30px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 1px solid #f0f0f0;
}

.category-item:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mega-column h3 {
  font-size: 14px;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mega-column ul {
  list-style: none;
  margin-bottom: 15px;
}

.mega-column ul li {
  margin-bottom: 4px;
}

.mega-column ul li a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
  display: block;
}

.mega-column ul li a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.badge-coming-soon {
  font-size: 10px;
  background: #E8E0D5;
  /* Light brownish background from screenshot */
  color: #8B4513;
  /* Brown text */
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.2;
}

.mega-image-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mega-image-box {
  width: 100%;
  height: 100%;
  max-height: 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mega-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ensure nav is relative for full width absolute positioning */
.category-nav {
  position: relative;
}

.category-item.contact-link a:hover {
  background: #388E3C;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  padding: 25px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  /* Swapped columns: Sidebar (left) -> Slider (right) */
  gap: 20px;
}

/* Slider */
.hero-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  /* Default order is 0, so it will appear second */
}

/* Sidebar Cards */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  order: -1;
  /* Move sidebar to the left (first position) */
}

.slider-container {
  position: relative;
  height: 600px;
  /* Increased height to allow more vertical image content to show */
  max-height: 80vh;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  visibility: hidden;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg-img {
  /* object-fit: cover; - Ensures image covers the area. Use contain if you want to see full image without cropping */
  object-fit: cover;
  /* anchors the image to the bottom so the machine/floor is visible */
  object-position: center bottom;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: center bottom;
  /* Ensures the zoom keeps the bottom anchored */
  transition: transform 6s ease;
}

.slide.active .slide-bg-img {
  transform: scale(1.05);
  /* Subtle zoom effect */
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.slide-content.centered {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .slide-content.centered {
  opacity: 1;
  transform: translateY(0);
}

.slide-content.centered h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.slide-content.centered p {
  font-size: 18px;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-buy-now {
  display: inline-block;
  padding: 14px 40px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-buy-now:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.dot.active {
  background: white;
  transform: scale(1.2);
  border-color: var(--primary);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.slider-arrow:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}



/* Sidebar Card Styles Consolidation */

.sidebar-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  max-width: 65%;
  /* Prevent text from overlapping image */
}

.sidebar-card p,
.sidebar-card .card-badge,
.sidebar-card .card-arrow {
  position: relative;
  z-index: 2;
}

.card-img-icon {
  position: absolute;
  right: 15px;
  bottom: 0;
  width: 120px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  mix-blend-mode: multiply;
}

.card-img-product {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 160px;
  height: auto;
  object-fit: contain;
  transform: rotate(-10deg);
  mix-blend-mode: multiply;
}

.wallet-card {
  background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
  flex: 1;
}

.product-card {
  background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
  color: var(--text-dark);
  flex: 1;
  overflow: hidden;
  /* Ensure image doesn't overflow */
}

.card-badge {
  display: inline-block;
  padding: 6px 16px;
  background: white;
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 15px;
}

.card-badge.orange {
  background: var(--primary);
  color: white;
}

.card-label {
  font-size: 13px;
  margin-bottom: 8px;
  opacity: 0.8;
}

.card-specs {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 10px;
}


.sidebar-card {
  position: relative;
  padding: 25px;
  border-radius: 12px;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Align content to left */
}

.card-arrow {
  position: static;
  /* Remove absolute positioning */
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: transform 0.3s;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: auto;
  /* Push to bottom of flex container */
}

.card-arrow:hover {
  transform: scale(1.1);
}

/* ============================================
   Category Buttons
   ============================================ */
.category-buttons {
  padding: 30px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

/* Category Slider Styles */
.category-slider-wrapper {
  position: relative;
  padding: 0 40px;
  /* Space for arrows */
}

.category-slider-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 10px 5px;
  /* Add padding for overflow shadows */
}

.category-slider-container::-webkit-scrollbar {
  display: none;
}

.category-grid {
  display: flex;
  /* Changed from grid to flex for sliding */
  gap: 20px;
  width: max-content;
  /* Allow content to expand horizontally */
}

.category-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  /* Smaller than hero arrows */
  height: 36px;
  background: white;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  color: var(--text-dark);
}

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

.category-nav-btn.prev {
  left: 0;
}

.category-nav-btn.next {
  right: 0;
}

.cat-btn {
  width: 120px;
  /* Fixed width for slider items */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  border-radius: 12px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.3s;
  background: transparent;
}


/* Permanent Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  /* Hide text */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  border: 2px solid white;
}

.back-to-top::after {
  content: '↑';
  font-size: 24px;
  font-weight: bold;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

.cat-btn:hover {
  transform: translateY(-5px);
  /* box-shadow: var(--shadow-md); removed shadow from container */
}

.cat-btn:hover span {
  color: var(--primary);
}

.cat-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  /* Keep it square */
  border-radius: 20px;
  /* Highly rounded corners like iOS apps */
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
  /* Fallback */
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Removed old color classes as they are replaced by images */



/* ============================================
   Marketing Grid Section
   ============================================ */
.marketing-grid-section {
  padding: 40px 0;
  background: var(--bg-white);
}

.marketing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 25px;
}

/* Sidebar Card */
.marketing-sidebar {
  background: var(--primary);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  /* Align text to bottom */
  box-shadow: var(--shadow-md);
}

.marketing-sidebar-content {
  width: 100%;
  height: 100%;
  position: relative;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.sidebar-main-img {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  width: 90%;
  object-fit: contain;
  transition: transform 0.3s;
}

.marketing-sidebar:hover .sidebar-main-img {
  transform: translateX(-50%) rotate(0deg) scale(1.05);
}

.sidebar-title h2 {
  color: white;
  font-size: 32px;
  line-height: 1.1;
  text-align: center;
  font-family: 'Brush Script MT', cursive;
  /* Fallback for handwritten style */
  transform: rotate(-5deg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Products Grid */
/* Products Grid -> Slider adjustments */
.marketing-products-list {
  display: flex;
  /* Changed from grid to flex for sliding */
  gap: 20px;
  width: max-content;
  /* Ensure it takes full width of content */
  transition: transform 0.5s ease-in-out;
}

.marketing-slider-wrapper {
  overflow: hidden;
  /* Hide overflow */
  position: relative;
  width: 100%;
}

.marketing-products-container {
  overflow-x: auto;
  /* Allow fallback scrolling */
  overflow: hidden;
  /* Hide scrollbar for clean look */
  padding-bottom: 20px;
  /* Space for shadow */
  margin-bottom: -20px;
}

.market-product-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 15px;
  background: white;
  transition: box-shadow 0.3s, transform 0.3s;
  width: 200px;
  /* Fixed width for slider items */
  flex-shrink: 0;
}

.market-product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.mp-image-box {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mp-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mp-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-price-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.mp-label {
  font-size: 11px;
  color: var(--text-light);
}

.mp-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.mp-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

.mp-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* Circle shape as in screenshot */
  border: 1px solid #eee;
  background: white;
  color: #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.mp-action-btn:hover {
  background: #f9f9f9;
  color: var(--text-dark);
  border-color: #ddd;
}

.mp-action-btn.cart {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.mp-action-btn.cart:hover {
  background: var(--primary-dark);
}

/* Slider Controls */
.mp-controls {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.mp-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 5px 10px;
  border-radius: 30px;
  border: 1px solid #eee;
}

.mp-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: white;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 12px;
}

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

.mp-dot {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mp-dot.active {
  background: var(--primary);
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  .marketing-layout {
    grid-template-columns: 1fr;
  }

  .marketing-sidebar {
    min-height: 250px;
    align-items: center;
    flex-direction: row;
  }

  .sidebar-main-img {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 200px;
  }

  .marketing-products-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .marketing-products-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

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

.section-desc {
  font-size: 16px;
  color: var(--text-medium);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  /* Text | Image | Stats */
  gap: 40px;
  align-items: center;
}

.about-image {
  height: 100%;
  min-height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.about-content p {
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--cat-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--bg-cream);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  color: var(--text-medium);
  margin-top: 5px;
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
  padding: 60px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columns by default */
  gap: 25px;
}

.product-item {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image-box {
  height: 200px;
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
  mix-blend-mode: multiply;
}

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

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  background: var(--cat-red);
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-info p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s;
}

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

/* ============================================
   Why Section
   ============================================ */
.why-section {
  padding: 60px 0;
  background: var(--secondary);
}

.why-section .section-title {
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  color: white;
  transition: background 0.3s;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.15);
}

.why-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-cta {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-cta.primary {
  background: white;
  color: var(--primary);
}

.btn-cta.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
  padding: 60px 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form-box {
  background: var(--bg-cream);
  padding: 35px;
  border-radius: 12px;
}

.contact-form-box h3 {
  font-size: 22px;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

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

.contact-info-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-card {
  background: var(--bg-cream);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.info-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.info-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.info-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--secondary-dark);
  color: white;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-about p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.3s;
}

.social-links a:hover {
  background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

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

.footer-contact p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 14px;
  opacity: 0.7;
}

/* Cleaned up old styles */

/* ============================================
   Toast Notification
   ============================================ */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 25px;
  background: var(--text-dark);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--cat-green);
}

.toast.error {
  background: var(--cat-red);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  .hero-layout {
    grid-template-columns: 1fr 320px;
  }

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

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-sidebar {
    flex-direction: row;
  }

  .sidebar-card {
    flex: 1;
  }

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

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

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar-content {
    justify-content: center;
    font-size: 12px;
  }

  .header-content {
    flex-wrap: wrap;
  }

  .search-bar {
    order: 3;
    width: 100%;
    max-width: none;
  }

  .celebration-badge,
  .header-right {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .category-nav {
    display: none;
  }

  .category-nav.active {
    display: block;
  }

  .category-list {
    flex-direction: column;
  }

  .category-item a {
    border-bottom: 1px solid var(--border-light);
  }

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

  .slider-container {
    height: 350px;
  }

  .slide-content {
    padding: 25px;
  }

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

  .slide-product {
    flex-direction: column;
    gap: 20px;
  }

  .product-placeholder {
    width: 150px;
    height: 150px;
    font-size: 60px;
  }

  .hero-sidebar {
    flex-direction: column;
  }

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

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

  .contact-info-box {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn-cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }

  .slide-content h2 {
    font-size: 22px;
  }

  .slide-info h2 {
    font-size: 28px;
  }
}