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

:root {
  --primary-blue: #266aa5; /* Richer Blue */
  --primary-green: #86be41;
  --dark-blue: #002b4d; /* Deep Navy */
  --text-color: #2c3e50;
  --text-muted: #6c757d;
  --white: #ffffff;
  --light-bg: #f4f7f6;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  --hover-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: var(--light-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-top: 0;
  color: var(--dark-blue);
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  color: var(--white);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 86, 179, 0.4);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--primary-green), #218838);
  color: var(--white);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 10px 26px;
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}
.btn-clear {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.btn-clear:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-blue);
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e4e8;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fcfcfc;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Auth Pages */
.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.auth-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
}
.auth-header {
  text-align: center;
  margin-bottom: 30px;
}
.auth-header h2 {
  font-size: 1.8rem;
  color: var(--dark-blue);
  margin-bottom: 10px;
}
.auth-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.auth-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.auth-footer a {
  color: var(--primary-blue);
  font-weight: 600;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* Main Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.top-bar {
  background-color: var(--dark-blue);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 8px 0;
}
.main-header {
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-toggle {
  display: none;
}
.mobile-overlay {
  display: none;
}
.logo h1 {
  font-size: 2rem;
  letter-spacing: -1px;
}
.header-search {
  flex: 1;
  margin: 0 50px;
  max-width: 500px;
}
.header-search form {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.header-search input {
  width: 100%;
  padding: 12px 20px;
  padding-right: 50px;
  border: 2px solid #e1e4e8;
  border-radius: 50px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.header-search input:focus {
  outline: none;
  border-color: var(--primary-blue);
}
.header-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-search button:hover {
  background: var(--dark-blue);
}
.user-actions {
  display: flex;
  gap: 20px;
}
.action-item {
  font-size: 0.8rem;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
}
.action-item i {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--primary-blue);
}

/* Nav */
nav {
  background: white;
  border-top: 1px solid #eee;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}
nav ul li a {
  display: block;
  padding: 15px 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--dark-blue);
  border-bottom: 3px solid transparent;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* Hero Section */
.hero-search-area {
  background:
    linear-gradient(rgba(0, 43, 77, 0.4), rgba(0, 43, 77, 0.6)),
    url("../img/hero-bg.jpeg") no-repeat center center;
  background-size: cover;
  padding: 120px 0;
  text-align: center;
}
.search-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.search-tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}
.search-tab {
  flex: 1;
  padding: 22px;
  cursor: pointer;
  font-weight: 700;
  color: #7f8c8d;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.search-tab i {
  font-size: 1.2rem;
}
.search-tab:hover {
  background: #fff;
  color: var(--primary-blue);
}
.search-tab.active {
  background: white;
  color: var(--primary-blue);
  position: relative;
}
.search-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-blue);
}

.search-content {
  padding: 40px;
}

.search-form-content {
  animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.search-form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 15px;
  align-items: center;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #bdc3c7;
  font-size: 1.1rem;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #dfe6e9;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
  outline: none;
}

.search-form-grid .btn {
  padding: 15px 35px;
  height: 100%;
  border-radius: 10px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .search-form-grid {
    grid-template-columns: 1fr;
  }
  .search-form-grid .btn {
    width: 100%;
  }
}

/* Product/Category Grids */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-green);
  margin: 10px auto 0;
  border-radius: 2px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  padding-bottom: 60px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  padding-bottom: 40px;
}
.cat-item {
  background: white;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid transparent;
  transition: all 0.3s;
}
.cat-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(0, 86, 179, 0.1);
}
.cat-item i {
  font-size: 2.5rem;
  background: rgba(0, 86, 179, 0.1);
  color: var(--primary-blue);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.3s;
}
.cat-item:hover i {
  background: var(--primary-blue);
  color: white;
}
.cat-item h4 {
  margin: 0;
  font-size: 1.1rem;
}

.product-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: var(--primary-blue);
}
.product-image {
  height: 250px;
  background-color: #e9ecef;
  position: relative;
  background-size: cover;
  background-position: center;
}
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-green);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-info h3 {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.4;
  color: var(--dark-blue);
}
.product-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}
.price-tag {
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: auto;
}

/* Store Layout & Filters */
.store-layout {
  display: flex;
  padding: 40px 5%;
  gap: 30px;
}

.filter-sidebar {
  flex: 1;
  max-width: 250px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: fit-content;
  border: 1px solid #eee;
}

.filter-sidebar h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue);
  display: inline-block;
  color: var(--dark-blue);
}

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

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background-color: #fcfcfc;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
}

.products-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 320px));
  gap: 25px;
  justify-content: flex-start;
  align-content: flex-start;
}

/* Footer */
footer {
  background-color: #151515;
  color: #a0a0a0;
  padding: 80px 0 30px;
  font-size: 0.95rem;
  margin-top: auto;
}
.footer-title {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* --- ADMIN PANEL STYLES --- */
.admin-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background-color: var(--dark-blue);
  color: white;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.admin-logo a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.admin-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.admin-menu li a i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.admin-menu li a:hover,
.admin-menu li a.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  transform: translateY(-2px);
}

.admin-actions {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.admin-actions li a {
  color: white;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: all 0.3s;
}

.admin-actions li a:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Admin Main Content */
.main-content {
  flex: 1;
  background-color: #f4f6f9;
  padding-bottom: 40px;
}

.admin-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* Data Tables */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table th {
  text-align: left;
  padding: 15px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 2px solid #eee;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: var(--text-color);
  vertical-align: middle;
}

.data-table tr:hover td {
  background-color: #f9f9f9;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}
.status-badge.available {
  background: #d4edda;
  color: #155724;
}
.status-badge.sold {
  background: #f8d7da;
  color: #721c24;
}
.status-badge.reserved {
  background: #fff3cd;
  color: #856404;
}
.status-badge.pending {
  background: #fff3cd;
  color: #856404;
}
.status-badge.paid {
  background: #cce5ff;
  color: #004085;
}
.status-badge.shipped {
  background: #d1ecf1;
  color: #0c5460;
}
.status-badge.completed {
  background: #d4edda;
  color: #155724;
}
.status-badge.cancelled {
  background: #f8d7da;
  color: #721c24;
}
/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
@keyframes zoomIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Cart Badge */
.cart-icon-wrapper {
  position: relative;
  display: inline-block;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* --- ACCOUNT DASHBOARD --- */
.account-container {
  display: flex;
  gap: 30px;
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.account-sidebar {
  flex: 1;
  max-width: 280px;
}

.account-nav {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #eee;
}

.account-nav-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: var(--text-color);
  font-weight: 500;
  border-bottom: 1px solid #f5f5f5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.account-nav-item:last-child {
  border-bottom: none;
}

.account-nav-item i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
  color: var(--primary-blue);
}

.account-nav-item:hover,
.account-nav-item.active {
  background-color: #f8f9fa;
  color: var(--primary-blue);
}

.account-nav-item.active {
  border-left: 4px solid var(--primary-blue);
}

.account-content {
  flex: 3;
}

.account-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 30px;
  border: 1px solid #eee;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

/* Orders Table Style */
.orders-list {
  width: 100%;
  border-collapse: collapse;
}

.orders-list th {
  text-align: left;
  padding: 12px;
  background: #f8f9fa;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 600;
}

.orders-list td {
  padding: 15px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}
.status-paid {
  background: #d4edda;
  color: #155724;
}
.status-shipped {
  background: #cce5ff;
  color: #004085;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

@media (max-width: 768px) {
  .account-container {
    flex-direction: column;
  }
  .account-sidebar {
    max-width: none;
    width: 100%;
  }
}

/* --- RESPONSIVENESS --- */

@media (max-width: 992px) {
  .main-header {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 5%;
    gap: 15px;
  }
  .logo {
    grid-column: 2;
    order: 2;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  .logo img {
    max-height: 50px !important;
    width: auto;
  }
  .user-actions {
    grid-column: 1;
    order: 1;
    width: auto;
    justify-content: flex-start;
    gap: 15px;
    margin: 0;
  }
  .mobile-menu-toggle {
    grid-column: 3;
    order: 3;
    display: flex;
    justify-content: flex-end;
    background: none;
    border: none;
    color: var(--dark-blue);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 5px;
    margin: 0;
  }
  .header-search {
    grid-column: 1 / span 3;
    order: 4;
    width: 100%;
    margin: 10px 0 0;
  }
  /* Slide-out Mobile Nav */
  .nav-container {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding-top: 80px;
  }
  .nav-container.active {
    right: 0;
  }
  .nav-links {
    display: block !important;
    text-align: left;
  }
  .nav-links li {
    display: block;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-links li a {
    display: block;
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--dark-blue);
    border-bottom: none !important;
  }
  .nav-links li a:hover,
  .nav-links li a.active {
    background: #f8f9fa;
    color: var(--primary-blue);
    padding-left: 30px;
  }
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(2px);
  }
  .mobile-overlay.active {
    display: block;
  }
  .hero-search-area {
    padding: 60px 0;
  }
  .search-content {
    padding: 20px;
  }
  .search-form-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .store-layout {
    flex-direction: column;
    padding: 20px 5%;
  }
  .filter-sidebar {
    max-width: none;
    width: 100%;
    margin-bottom: 30px;
  }
  .product-detail-container {
    padding: 20px 5%;
    gap: 30px;
  }
  .main-image-container {
    min-width: 100%;
  }
  .main-image {
    height: 300px;
  }
  .specs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  } /* Stack form rows */
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.5rem;
  }
  .action-item span {
    display: none;
  }
  .action-item i {
    font-size: 1.6rem;
    margin-bottom: 0;
  }
  .top-bar {
    display: none;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2),
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) {
    display: none;
  }
  .header-page h1 {
    font-size: 1.8rem !important;
  } /* Fix for checkout/cart titles */
}

/* Featured Services / Info Strip Redesign */
.features-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-blue) 0%, #001a30 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(38, 106, 165, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-green);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 20px rgba(38, 106, 165, 0.3);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-green), #218838);
  transform: rotateY(360deg);
}

.feature-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

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