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

:root {
  --bg-color: #f5f1ea;
  --text-color: #222;
  --accent-color: #b28a5b;
  --secondary-color: #8b7355;
  --border-color: #d4c4b0;
  --hover-color: #9b8050;
  --white: #ffffff;
  --gray: #666666;
  --light-gray: #999999;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NEW Section */
.new-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.new-header {
  text-align: center;
  margin-bottom: 50px;
}

.new-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--text-color);
  margin: 0;
  letter-spacing: 8px;
  position: relative;
  display: inline-block;
}

.new-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.new-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.new-item {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.new-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.new-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #f0f0f0;
}

.new-info {
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.new-price {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 5px;
}

.new-title-text {
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 5px;
  font-weight: 500;
  line-height: 1.3;
  flex-grow: 1;
}

.new-brand {
  font-size: 10px;
  color: var(--accent-color);
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: auto;
}

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

.new-btn {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.new-btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.new-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Products Grid Section */
.products-grid-section {
  padding: 80px 0;
  background-color: var(--bg-color);
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--white);
  color: var(--text-color);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:hover {
  border-color: var(--accent-color);
}

.filter-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(178, 138, 91, 0.2);
}

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

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

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

.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  max-width: 200px;
  pointer-events: auto;
}

.product-buttons .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  white-space: nowrap;
}

.product-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 15px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
  border: 1px solid #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.product-actions form {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.product-actions .btn-sm i {
  font-size: 14px;
  line-height: 1;
}

.btn-white {
  background-color: var(--white);
  color: var(--text-color);
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

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

.product-info {
  padding: 15px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-description {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
  margin-bottom: 10px;
  line-height: 1.5;
}

.product-artist {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 8px;
  font-style: italic;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-tag {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.no-products {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
  font-size: 18px;
}

/* Top Bar */
.top-bar {
  background-color: black;
  color: var(--white);
  padding: 5px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.contact-info {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info strong {
  color: var(--accent-color);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  display: none;
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  backdrop-filter: blur(5px);
}

.mobile-menu-backdrop.active {
  display: block;
  opacity: 1;
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  padding: 8px 12px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.mobile-menu-toggle:hover {
  background: var(--text-color);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100vw;
  height: 600px;
  overflow: hidden;
  margin-bottom: 60px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  background-color: #000;
}

.slide video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.slide-content {
  text-align: center;
  color: white;
  z-index: 3;
  position: relative;
  padding: 0 20px;
  max-width: 800px;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-content .btn-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.slide-content .btn-primary {
  background: rgba(255,255,255,0.9);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slide-content .btn-primary:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.slide-content .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slide-content .btn-secondary:hover {
  background: white;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.slide-content h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  line-height: 1.6;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  backdrop-filter: blur(5px);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 3;
}

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

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

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

/* Logo Styles */
.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(178, 138, 91, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s;
}

.logo-container:hover .logo-icon::before {
  animation: shine 0.5s ease-in-out;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 19px;
  font-weight: bold;
  color: white;
  line-height: 1.0;
}

.logo-tagline {
  font-size: 18px;
  color: var(--accent-color);
  font-weight: normal;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

header {
  background-color:black;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-color);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 30px;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  height: 400px;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-color: var(--accent-color);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--bg-color);
}

.product-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 12px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.product-price {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-color);
}

.product-artist {
  font-size: 16px;
  color: var(--gray);
}

.product-category {
  margin-bottom: 18px;
}

.product-category span {
  background: var(--accent-color);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-description {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
  margin: 0 0 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
}

.product-actions .btn {
  flex: none;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: 6px;
  min-width: 80px;
  text-align: center;
}

.product-actions form {
  display: inline-block;
  margin: 0;
}

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

/* 2x5 Grid Layout for Homepage Products */
.home-product-grid-2x5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
  margin-bottom: 30px;
}

.home-product-grid-2x5 .product-card {
  background-color: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  position: relative;
  height: 100%;
}

.home-product-grid-2x5 .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.home-product-grid-2x5 .product-image-container {
  height: 180px;
  background-color: #f5f5f5;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-product-grid-2x5 .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.home-product-grid-2x5 .product-info {
  padding: 15px;
}

.home-product-grid-2x5 .product-info h3 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: #333;
  font-weight: 500;
  text-align: left;
}

.home-product-grid-2x5 .product-artist {
  font-size: 13px;
  color: #b28a5b;
  font-style: italic;
  margin-bottom: 8px;
  text-align: left;
}

.home-product-grid-2x5 .product-description {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-top: 8px;
  text-align: left;
  overflow: visible;
  text-overflow: inherit;
  display: block;
  margin-bottom: -10px;
}

/* 2x5 Grid Button Styling */
.home-product-grid-2x5 .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: none;
}

.home-product-grid-2x5 .product-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  max-width: 200px;
  pointer-events: auto;
}

.home-product-grid-2x5 .product-buttons .btn {
  flex: 1;
  padding: 8px 12px;
  font-size: 11px;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  white-space: nowrap;
}

.home-product-grid-2x5 .product-buttons .btn-secondary {
  background-color: rgba(226, 226, 226, 0.95);
  color: black;
}

.home-product-grid-2x5 .product-buttons .btn-secondary:hover {
  background-color: rgba(200, 200, 200, 0.95);
  transform: translateY(-1px);
}

.home-product-grid-2x5 .product-buttons .btn-primary {
  background-color: #E0C517;
  color: black;
}

.home-product-grid-2x5 .product-buttons .btn-primary:hover {
  background-color: #D4B015;
  transform: translateY(-1px);
}

/* Responsive adjustments for 2x5 grid */
@media (max-width: 1199px) {
  .home-product-grid-2x5 {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  
  .home-product-grid-2x5 .product-card:nth-child(n+9) {
    display: none;
  }
}

@media (max-width: 991px) {
  .home-product-grid-2x5 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 20px;
  }
  
  .home-product-grid-2x5 .product-card:nth-child(n+7) {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-product-grid-2x5 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 15px;
  }
  
  .home-product-grid-2x5 .product-card:nth-child(n+11) {
    display: none;
  }
}

@media (max-width: 479px) {
  .home-product-grid-2x5 {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, auto);
    gap: 15px;
  }
  
  .home-product-grid-2x5 .product-card:nth-child(n+11) {
    display: none;
  }
}

/* Custom Upload Button Styling */
.upload-btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #ffffff;
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    border: 1px solid #e5cdb1;
    transition: background-color 0.2s ease;
}

#file-name-add, #file-name-edit {
    margin-left: 12px;
    font-size: 13px;
    color: var(--text-color);
    padding: 4px 8px;
    background: var(--bg-color);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: inline-block;
    min-width: 150px;
}

/* Hide default file input completely */
input[type="file"][hidden] {
    display: none;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  text-align: center;
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--white);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 2% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: var(--gray);
}

.close:hover {
  color: var(--text-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: var(--white);
  width: 100vw;
  padding: 0px 0;
  margin-top: 50px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 15px;
  }
  
  .service-card {
    min-height: 480px !important;
  }
  
  .service-card h3 {
    font-size: 22px !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  
  .logo img {
    height: 70px !important;
  }
  
  .logo-main {
    font-size: 20px;
  }
  
  .logo-tagline {
    font-size: 11px;
  }
}

/* Responsive Design */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .filter-bar {
    gap: 15px;
  }
  
  .filter-select {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .new-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  .new-title {
    font-size: 42px;
    letter-spacing: 6px;
  }
  
  .new-image {
    height: 180px;
  }
  
  .new-price {
    font-size: 14px;
  }
  
  .new-title-text {
    font-size: 11px;
  }
  
  .new-brand {
    font-size: 9px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .home-product-grid .product-card:nth-child(n+7) {
    display: none;
  }
  
  .slide-content h1 {
    font-size: 36px;
  }
  
  .slide-content p {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 720px;
    padding: 0 15px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .filter-bar {
    gap: 10px;
  }
  
  .filter-select {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .product-title {
    font-size: 16px;
  }
  
  .product-description {
    font-size: 13px;
  }
  
  .product-price {
    font-size: 18px;
  }
  
  .product-image {
    height: 200px;
  }
  
  .new-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  
  .new-title {
    font-size: 36px;
    letter-spacing: 4px;
  }
  
  .new-image {
    height: 160px;
  }
  
  .new-price {
    font-size: 13px;
  }
  
  .new-title-text {
    font-size: 10px;
  }
  
  .new-brand {
    font-size: 8px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .home-product-grid .product-card:nth-child(n+7) {
    display: none;
  }
  
  nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .logo-main {
    font-size: 20px;
  }
  
  .logo-tagline {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
    padding: 0 10px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .filter-select {
    width: 100%;
    max-width: 300px;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-white {
    width: 100%;
    text-align: center;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-title {
    font-size: 15px;
  }
  
  .product-description {
    font-size: 12px;
  }
  
  /* Mobile Menu Styles */
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-desktop {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 80px 20px 20px;
  }
  
  .nav-desktop.active {
    right: 0;
  }
  
  .nav-desktop ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .nav-desktop a {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
  }
  
  .logo-container {
    gap: 10px;
  }
  
  .logo img {
    height: 35px;
    margin-right: 15px;
    width: auto;
    max-width: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: pixelated;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
  }
  
  .logo-main {
    font-size: 18px;
  }
  
  .logo-tagline {
    font-size: 10px;
  }
  
  header {
    padding: 3px 0;
  }
  
  .top-bar {
    padding: 10px 0;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
  }
  
  .hero-slider {
    height: 300px;
  }
  
  .service-card {
    min-height: auto !important;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 20px !important;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  /* Services Page Mobile */
  .hero-section {
    padding: 40px 0 !important;
    margin: 0 !important;
  }
  
  .hero-section h1 {
    font-size: 32px !important;
  }
  
  .hero-section p {
    font-size: 16px !important;
  }
  
  .hero-section .btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  
  .service-card {
    min-height: auto !important;
    margin-bottom: 20px;
    padding: 30px 20px !important;
  }
  
  .service-card h3 {
    font-size: 20px !important;
    margin-bottom: 15px !important;
  }
  
  .service-card p {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }
  
  .service-card ul {
    font-size: 13px !important;
    margin: 15px 0 !important;
    padding-left: 15px !important;
  }
  
  .service-card .btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
  }
  
  /* CTA Section Mobile */
  #contact {
    padding: 60px 0 !important;
    margin: 40px 0 0 0 !important;
  }
  
  #contact h2 {
    font-size: 28px !important;
  }
  
  #contact p {
    font-size: 16px !important;
  }
  
  #contact .btn {
    padding: 12px 24px !important;
    font-size: 14px !important;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .product-image {
    height: 180px;
  }
  
  .new-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  
  .new-title {
    font-size: 32px;
    letter-spacing: 3px;
  }
  
  .new-image {
    height: 140px;
  }
  
  .new-price {
    font-size: 12px;
  }
  
  .new-title-text {
    font-size: 9px;
  }
  
  .new-brand {
    font-size: 7px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .home-product-grid .product-card:nth-child(n+5) {
    display: none;
  }
  
  .product-image {
    min-height: 150px;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-name {
    font-size: 14px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  nav a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    text-align: right;
  }
  
  .contact-info span {
    font-size: 12px;
  }
  
  header {
    padding: 3px 0;
  }
  
  .hero-slider {
    height: 300px;
    margin-bottom: 40px;
  }
  
  .slide-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .slide-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .slider-prev {
    left: 10px;
  }
  
  .slider-next {
    right: 10px;
  }
  
  .slider-dots {
    bottom: 20px;
    gap: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .logo-container {
    gap: 10px;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
    font-size: 14px;
  }
  
  .logo-main {
    font-size: 18px;
  }
  
  .logo-tagline {
    font-size: 10px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .new-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
  
  .new-title {
    font-size: 32px;
    letter-spacing: 3px;
  }
  
  .new-image {
    height: 140px;
  }
  
  .new-price {
    font-size: 12px;
  }
  
  .new-title-text {
    font-size: 9px;
  }
  
  .new-brand {
    font-size: 7px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .home-product-grid .product-card:nth-child(n+5) {
    display: none;
  }
  
  .product-image {
    min-height: 150px;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-name {
    font-size: 14px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  nav a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
  }
}

@media (max-width: 600px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  
  .top-bar {
    padding: 8px 0;
  }
  
  .contact-info {
    justify-content: flex-end;
    gap: 6px;
  }
  
  .contact-info span {
    font-size: 11px;
  }
  
  header {
    padding: 2px 0;
  }
  
  .hero-slider {
    height: 250px;
    margin-bottom: 30px;
  }
  
  .slide-content {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 120px;
    margin-top: -44px;
  }
  
  .slide-content h1 {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.1;
    text-align: center;
    width: 100%;
  }
  
  .slide-content p {
    font-size: 10px;
    margin-bottom: 10px;
    line-height: 1.2;
    text-align: center;
    width: 100%;
  }
  
  .slide-content .btn-container {
    display: flex;
    flex-direction: row;
    gap: 0px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    width: 76%;
    flex-wrap: wrap;
  }
  
  .slide-content .btn-primary,
  .slide-content .btn-secondary {
    padding: 6px 12px;
    font-size: 7px;
    border-radius: 3px;
    text-align: center;
    width: 100px;
    max-width: 45%;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  
  .slide-content .btn-primary {
    background: rgba(255,255,255,0.9);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
  }
  
  .slide-content .btn-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  }
  
  .slide-content .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
  }
  
  .slide-content .btn-secondary:hover {
    background: white;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  }
  
  .slider-prev,
  .slider-next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .slider-prev {
    left: 5px;
  }
  
  .slider-next {
    right: 5px;
  }
  
  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
  
  .logo-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 12px;
  }
  
  .logo-main {
    font-size: 16px;
  }
  
  .logo-tagline {
    font-size: 9px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .home-product-grid .product-card:nth-child(n+5) {
    display: none;
  }
  
  .product-image {
    min-height: 120px;
  }
  
  .product-info {
    padding: 10px;
  }
  
  .product-name {
    font-size: 13px;
  }
  
  .product-price {
    font-size: 15px;
  }
  
  .btn {
    padding: 5px 10px;
    font-size: 11px;
  }
  
  .product-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  nav a {
    font-size: 13px;
    padding: 8px 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 5px;
  }
  
  .top-bar {
    padding: 6px 0;
  }
  
  .contact-info {
    justify-content: flex-end;
    gap: 4px;
  }
  
  .contact-info span {
    font-size: 10px;
  }
  
  .hero-slider {
    height: 200px;
    margin-bottom: 25px;
  }
  
  .slide-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .slide-content p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  
  .slide-content {
    padding: 0 10px;
  }
  
  .slider-prev,
  .slider-next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .slider-prev {
    left: 5px;
  }
  
  .slider-next {
    right: 5px;
  }
  
  .slider-dots {
    bottom: 10px;
    gap: 6px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
  }
  
  .logo-container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }
  
  .logo-main {
    font-size: 14px;
  }
  
  .logo-tagline {
    font-size: 8px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .new-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 1fr);
  }
  
  .new-title {
    font-size: 28px;
    letter-spacing: 2px;
  }
  
  .new-image {
    height: 120px;
  }
  
  .new-price {
    font-size: 11px;
  }
  
  .new-title-text {
    font-size: 8px;
  }
  
  .new-brand {
    font-size: 6px;
  }
  
  .home-product-grid .product-card:nth-child(n+3) {
    display: none;
  }
  
  .product-image {
    min-height: 180px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .product-name {
    font-size: 15px;
  }
  
  .product-price {
    font-size: 17px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 12px;
  }
  
  .product-buttons {
    flex-direction: row;
    gap: 10px;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  
  nav a {
    font-size: 12px;
    padding: 6px 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1px;
  }
  
  .modal-content {
    width: 95%;
    padding: 20px;
    margin: 5% auto;
    max-height: 85vh;
    overflow-y: auto;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 8px;
    font-size: 14px;
  }
  
  footer {
    padding: 20px 0;
  }
  
  footer p {
    font-size: 12px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
  }
  
  .slider-prev:hover,
  .slider-next:hover {
    transform: translateY(-50%);
  }
  
  .btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  
  .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo-icon {
    background-image: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  }
}

/* Contact Page Responsive Design */
.contact-section {
  padding: 20px 0;
  min-height: calc(100vh - 200px);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  height: 100%;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form .form-group label {
  margin-bottom: 4px;
  font-size: 14px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  padding: 8px;
  font-size: 14px;
}

.contact-form .form-group textarea {
  height: 80px;
}

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

.info-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.info-card p {
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
  font-size: 12px;
}
.address-card {
  grid-column: 1 / -1;
}

.address-card h3 {
  text-align: left;
}

.address-card p {
  text-align: justify;
}

.info-card h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 14px;
  text-align: left;
}

.info-card p {
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
}

.social-links .btn {
  flex: 1;
  min-width: 100px;
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 30px 0;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .info-card {
    padding: 25px;
  }
  
  .info-card h3 {
    font-size: 16px;
  }
  
  .social-links {
    flex-direction: column;
  }
  
  .social-links .btn {
    flex: none;
    width: 100%;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .contact-section {
    padding: 20px 0;
  }
  
  .contact-container {
    gap: 30px;
    max-width: 100%;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .info-card {
    padding: 20px;
  }
  
  .info-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .info-card p {
    font-size: 14px;
  }
  
  .social-links {
    gap: 10px;
  }
  
  .social-links .btn {
    padding: 10px;
    font-size: 14px;
  }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
  .contact-section {
    padding: 15px 0;
  }
  
  .contact-container {
    gap: 20px;
  }
  
  .contact-form {
    padding: 15px;
  }
  
  .info-card {
    padding: 15px;
  }
  
  .info-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .info-card p {
    font-size: 13px;
  }
  
  .social-links .btn {
    padding: 8px;
    font-size: 12px;
  }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .contact-section {
    padding: 20px 0;
  }
  
  .contact-container {
    gap: 30px;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .info-card {
    padding: 20px;
  }
}

/* Enhanced Responsive Design for All Devices */

/* Desktop (768px and up) - Hide Mobile Menu */
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-menu-backdrop {
    display: none !important;
  }
  
  .nav-desktop {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: none !important;
    z-index: auto !important;
    padding: 0 !important;
  }
  
  .nav-desktop ul {
    flex-direction: row !important;
    align-items: center !important;
    gap: 30px !important;
  }
  
  .nav-desktop a {
    font-size: 14px !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    color: white !important;
    text-decoration: none;
    border-radius: 0;
    transition: color 0.3s ease;
    background: transparent !important;
  }
  
  .nav-desktop a:hover {
    background: transparent !important;
    color: var(--accent-color) !important;
    transform: none !important;
  }
  
  .nav-desktop a:first-child {
    border-top: none !important;
  }
  
  /* Desktop top bar styling */
  .top-bar .container {
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  
  .contact-info {
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: right !important;
    flex-direction: row !important;
    gap: 30px !important;
    font-size: 14px !important;
    flex: none !important;
  }
  
  .contact-info span {
    font-size: 14px !important;
    display: flex !important;
    margin-bottom: 0 !important;
  }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .logo-main {
    font-size: 18px;
  }
  
  .logo-tagline {
    font-size: 10px;
  }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .filter-bar {
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .filter-select {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .product-title {
    font-size: 16px;
  }
  
  .product-description {
    font-size: 13px;
  }
  
  .product-price {
    font-size: 18px;
  }
  
  .product-image {
    height: 200px;
  }
  
  nav ul {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .logo-main {
    font-size: 20px;
  }
  
  .logo-tagline {
    font-size: 11px;
  }
}

/* Tablet Portrait (576px - 767px) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 0 15px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .filter-bar {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .filter-select {
    width: 100%;
    max-width: 300px;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-white {
    width: 100%;
    text-align: center;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .product-title {
    font-size: 15px;
  }
  
  .product-description {
    font-size: 12px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  /* Mobile Menu Styles */
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-desktop {
    display: none !important;
    position: fixed !important;
    top: -100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 85vh !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
    transition: top 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 1000 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    transform: translateY(0) !important;
    border-radius: 0 0 16px 16px !important;
  }
  
  .nav-desktop.active {
    top: 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .nav-desktop ul {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: transparent !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  }
  
  .nav-desktop.active ul {
    transform: translateY(0) !important;
    opacity: 1 !important;
    transition-delay: 0.1s !important;
  }
  
  .nav-desktop a {
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 16px 20px !important;
    border: none !important;
    width: 100% !important;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    background: transparent !important;
    margin: 4px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: none;
    width: 100%;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
  }
  
  .nav-desktop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transition: left 0.5s ease;
    z-index: -1;
  }
  
  
  .nav-desktop a:first-child {
    border-radius: 8px 8px 0 0;
  }
  
  .nav-desktop a:last-child {
    border-radius: 0 0 8px 8px;
  }
  
  .logo-main {
    font-size: 18px;
  }
  
  .logo-tagline {
    font-size: 10px;
  }
  
  /* Mobile top bar adjustments */
  .top-bar .container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .contact-info {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    flex: 1;
  }
  
  .contact-info span {
    font-size: 9px;
  }
  
  .mobile-menu-toggle {
    display: block;
    flex-shrink: 0;
  }
}

/* Mobile Landscape (480px - 575px) */
@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .product-title {
    font-size: 14px;
  }
  
  .product-description {
    font-size: 11px;
  }
  
  .product-price {
    font-size: 15px;
  }
  
  .product-image {
    height: 160px;
  }
  
  .product-info {
    padding: 15px;
  }
  
  .btn-sm {
    padding: 8px 12px;
    font-size: 11px;
  }
  
  .logo-main {
    font-size: 16px;
  }
  
  .logo-tagline {
    font-size: 9px;
  }
  
  header {
    padding: 8px 0;
  }
  
  .logo img {
    height: 40px !important;
  }
}

/* Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
  .container {
    padding: 0 8px;
  }
  
  .home-product-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .product-title {
    font-size: 16px;
  }
  
  .product-description {
    font-size: 12px;
  }
  
  .product-price {
    font-size: 18px;
  }
  
  .product-image {
    height: 200px;
  }
  
  .product-info {
    padding: 20px;
  }
  
  .btn-sm {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .logo-main {
    font-size: 14px;
  }
  
  .logo-tagline {
    font-size: 8px;
  }
  
  header {
    padding: 5px 0;
  }
  
  .logo img {
    height: 35px !important;
  }
  
  .mobile-menu-toggle {
    font-size: 20px;
    padding: 6px 10px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .mobile-menu-toggle:hover {
    background: var(--text-color);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
  
  .nav-desktop {
    width: 250px;
  }
  
  .nav-desktop a {
    font-size: 14px;
  }
  
  /* Mobile top bar adjustments */
  .top-bar .container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0px 4px;
  }
  
  .contact-info {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    flex: 1;
  }
  
  .contact-info span {
    font-size: 8.7px;
    display: block;
    margin-bottom: 2px;
  }
  
  .mobile-menu-toggle {
    display: block;
    flex-shrink: 0;
  }
  
  .top-bar {
    padding: 3px 0;
  }
  
  /* Center logo on mobile */
  header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
  }
  
  header .logo {
    margin: 0 !important;
    text-align: center;
  }
  
  header .logo img {
    margin: 0 auto !important;
    display: block;
    width: 80px !important;
    height: 80px !important;
  }
  
  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }
  
  .logo-main {
    font-size: 32px !important;
    font-weight: 600 !important;
  }
  
  .logo-tagline {
    font-size: 22px !important;
    font-weight: 500 !important;
  }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
  .container {
    padding: 0 5px;
  }
  
  .section-title {
    font-size: 18px;
  }
  
  .product-title {
    font-size: 14px;
  }
  
  .product-description {
    font-size: 11px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .logo-main {
    font-size: 12px;
  }
  
  .logo-tagline {
    font-size: 7px;
  }
  
  .logo img {
    height: 30px !important;
  }
  
  /* Mobile top bar adjustments */
  .contact-info {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    flex: 1;
  }
  
  .contact-info span {
    font-size: 9px;
    display: block;
    margin-bottom: 2px;
  }
  
  /* Mobile-specific top bar container styling */
  .top-bar .container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
  }
  
  .top-bar {
    padding: 2px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
    flex-shrink: 0;
    font-size: 18px;
    padding: 5px 8px;
  }
}

/* Mobile Header Top Bar */
@media (max-width: 768px) {
  /* Create mobile top bar with logo and name */
  .top-bar {
    background: black;
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    padding: 0px 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }
  
  /* Show mobile logo in top bar */
  .mobile-logo {
    display: flex !important;
    align-items: center;
    text-decoration: none;
    gap: 8px;
  }
  
  .mobile-logo img {
    height: 35px;
    margin-right: 0;
    transition: height 0.3s ease;
  }
  
  .mobile-logo-text {
    display: flex;
    flex-direction: column;
  }
  
  .mobile-logo-main {
    font-size: 13px;
    font-weight: 600;
    color: white;
    line-height: 1.1;
    font-family: "Poppins", sans-serif;
    transition: font-size 0.3s ease;
  }
  
  .mobile-logo-tagline {
    font-size: 9px;
    color: var(--accent-color, #b28a5b);
    font-weight: 400;
    line-height: 1;
    font-family: "Poppins", sans-serif;
    transition: font-size 0.3s ease;
  }
  
  /* Hide original header logo on mobile */
  header .logo {
    display: none;
  }
  
  /* Center main header content */
  header .container > div {
    justify-content: center;
  }
}

/* Footer Bottom Responsive */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .footer-bottom p {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .footer-bottom .col.text-end {
    text-align: center !important;
  }
}

/* Mobile Header Responsive Breakpoints */
@media (max-width: 480px) {
  .mobile-logo img {
    height: 30px;
  }
  
  .mobile-logo-main {
    font-size: 15px;
    line-height: 1.0;
  }
  
  .mobile-logo-tagline {
    font-size: 12px;
  }
  
  .top-bar .container {
    padding: 0 10px;
  }
  
  .mobile-menu-toggle {
    font-size: 19px;
    padding: 6px 8px;
  }
}

@media (max-width: 360px) {
  .mobile-logo img {
    height: 25px;
  }
  
  .mobile-logo-main {
    font-size: 10px;
    line-height: 1.0;
  }
  
  .mobile-logo-tagline {
    font-size: 7px;
  }
  
  .mobile-logo {
    gap: 6px;
  }
  
  .top-bar .container {
    padding: 0 8px;
  }
}

/* Product Details Mobile Layout */
@media (max-width: 768px) {
  /* Product details page mobile layout */
  main.container section > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Product image container */
  main.container section > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
    order: 1 !important;
    min-height: 250px !important;
  }
  
  /* Product info container */
  main.container section > div[style*="grid-template-columns: 1fr 1fr"] > div:nth-child(2) {
    order: 2 !important;
    padding: 10px 0 0 0 !important;
  }
  
  /* Action buttons container */
  main.container section > div[style*="grid-template-columns: 1fr 1fr"] > div[style*="display: flex"][style*="gap: 12px"] {
    order: 3 !important;
    margin: 20px 0 0 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  /* Buttons in mobile */
  main.container section > div[style*="grid-template-columns: 1fr 1fr"] > div[style*="display: flex"][style*="gap: 12px"] button,
  main.container section > div[style*="grid-template-columns: 1fr 1fr"] > div[style*="display: flex"][style*="gap: 12px"] a {
    flex: none !important;
    width: 100% !important;
  }
}

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

/* Print Styles */
@media print {
  header, nav, .mobile-menu-toggle, .product-actions, .btn {
    display: none !important;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  .product-grid {
    display: block;
  }
  
  body {
    font-size: 12px;
    color: black;
    background: white;
  }
  
  .product-card {
    border: 1px solid #ccc;
    break-inside: avoid;
    margin-bottom: 20px;
  }
}
