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

:root {
  --primary: #0c0c0b;
  --secondary: #fff;
  --text: #222;
  --border: #e5e7eb;
  --radius: 8px;
}

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

body {
  font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  background: #fff;
  color: var(--text);
  min-height: 100vh;
}

body.auth-bg {
  background: linear-gradient(135deg, #fbe9e6 0%, #fff 100%);
}

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

header, footer {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-bar {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.icon-btn {
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  font-size: 1.2rem;
}

.icon-btn .counter {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 2px 6px;
}

.upload-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  margin-left: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.upload-btn:hover {
  background: #1742a0;
}

.nav-btn {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 0.4rem 1.1rem;
  font-weight: 600;
  margin-left: 0.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  font-size: 1rem;
}

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

.login-btn {
  margin-left: 1.2rem;
}

.signup-btn {
  margin-left: 0.5rem;
}

/* Auth form card */
.auth-card {
  background: #fff;
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(37,99,235,0.13), 0 1.5px 8px rgba(0,0,0,0.04);
  max-width: 410px;
  margin: 3.5rem auto 0 auto;
  padding: 2.5rem 2.2rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  position: relative;
  overflow: hidden;
}

.auth-card:before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 140px; height: 140px;
  background: linear-gradient(120deg, #e4452933 40%, #fff0 100%);
  border-radius: 50%;
  z-index: 0;
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 1.2rem;
  color: var(--primary);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 1;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"] {
  padding: 0.7rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 1.08rem;
  background: #f7faff;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  z-index: 1;
}

.auth-card input:focus {
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 0 2px #e4452922;
  background: #fff;
}

.auth-card button.upload-btn {
  margin: 0.7rem 0 0 0;
  font-size: 1.08rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px #e4452911;
  z-index: 1;
}

.auth-card .form-msg {
  text-align: center;
  font-size: 1.05rem;
  min-height: 1.2em;
  margin-bottom: 0.2rem;
  z-index: 1;
}

.auth-card .form-msg.error {
  color: #d32f2f;
}

.auth-card .form-msg.success {
  color: #388e3c;
}

.auth-card .auth-link {
  text-align: center;
  margin-top: 0.7rem;
  font-size: 1.01rem;
  z-index: 1;
}

main {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: 100vw;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.1rem 1.2rem 1.1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 16px rgba(228, 69, 41, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, max-height 0.3s, padding 0.2s;
  position: relative;
  overflow: hidden;
}
.product-card.expanded {
  box-shadow: 0 8px 32px rgba(228, 69, 41, 0.13);
  z-index: 2;
  padding-bottom: 2.2rem;
}
.product-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px #e4452911;
}
.product-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  text-align: center;
}
.product-sku {
  font-size: 0.92rem;
  color: #888;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}
.product-desc {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 0.7rem;
  text-align: center;
  min-height: 1.2em;
  transition: color 0.2s;
}
.read-more-btn {
  background: #fbe9e6;
  color: var(--primary);
  border: none;
  border-radius: 6px;
  padding: 6px 18px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.7rem;
  transition: background 0.18s, color 0.18s;
  outline: none;
}
.read-more-btn:hover {
  background: #fbe9e6;
  color: #b71c1c;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.product-card .price {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card .product-btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 0.7rem;
  width: 100%;
}
.product-card button.add-cart-btn,
.product-card button.add-wishlist-btn {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

.product-card button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.4rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.product-card button:hover {
  background: #b71c1c;
}

footer {
  background: #f8f8fa;
  color: #222;
  padding: 2.8rem 1rem 1.2rem 1rem;
  border-top: 2.5px solid #e44529;
  margin-top: 2.5rem;
  box-shadow: 0 -2px 18px #e4452922;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.footer-grid.complex-footer {
  display: grid;
  grid-template-columns: 2.2fr 2.5fr 2fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  padding-bottom: 0.5rem;
}
.footer-section h4 {
  font-size: 1.22rem;
  margin-bottom: 1.2rem;
  color: #e44529;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-left: 4px solid #e44529;
  padding-left: 0.7rem;
}
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  color: #444;
  gap: 0.7rem;
}
.footer-address-block {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.99rem;
  color: #666;
  line-height: 1.6;
  margin-top: 0.2rem;
}
.footer-links-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-links-columns {
  display: flex;
  gap: 2.5rem;
}
.footer-links-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-columns ul li {
  margin-bottom: 0.7rem;
  font-size: 1.04rem;
}
.footer-links-columns ul li a {
  color: #e44529;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-links-columns ul li a:hover {
  color: #b71c1c;
  text-decoration: underline;
}
.footer-company-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.footer-company {
  font-weight: 600;
  color: #888;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}
.footer-company-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-company-list li {
  margin-bottom: 0.6rem;
  color: #e44529;
  font-weight: 500;
}
.footer-company-list li:last-child {
  margin-bottom: 0;
}
.footer-company-list a {
  color: #e44529;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-company-list a:hover {
  color: #b71c1c;
  text-decoration: underline;
}
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 1.5rem auto 0 auto;
  padding-top: 1.1rem;
  border-top: 1.5px solid #e44529;
  font-size: 1.01rem;
  color: #888;
}
.footer-bottom-left {
  font-weight: 500;
}
.footer-bottom-right {
  font-style: italic;
}
@media (max-width: 900px) {
  .footer-grid.complex-footer {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .footer-grid.complex-footer {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 0.2rem;
  }
  footer {
    padding: 1.5rem 0.2rem 1rem 0.2rem;
  }
  .footer-section h4 {
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
  }
  .footer-links-columns {
    flex-direction: column;
    gap: 0.7rem;
  }
}
/* Remove social icons and newsletter styles */
.footer-section .social-icons, .newsletter-form, .social-icons { display: none !important; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1.5px solid #e44529;
  border-radius: 7px;
  font-size: 1rem;
  background: #fff;
  color: #222;
}

.newsletter-form button {
  background: #e44529;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}

.newsletter-form button:hover {
  background: #b71c1c;
}

.social-icons {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.social-icons a {
  color: #e44529;
  background: #fff;
  border: 1.5px solid #e44529;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: color 0.18s, background 0.18s, border 0.18s, transform 0.18s;
}

.social-icons a:hover {
  color: #fff;
  background: #e44529;
  border: 1.5px solid #e44529;
  transform: scale(1.15);
}

.footer-copyright {
  text-align: center;
  margin-top: 2.2rem;
  color: #bdbdbd;
  font-size: 1.01rem;
  letter-spacing: 0.2px;
  padding-top: 1.1rem;
  border-top: 1px solid #eee;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.2rem;
  }
  footer {
    padding: 2.2rem 0.2rem 1.2rem 0.2rem;
  }
}

.auth-container {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  position: relative;
}
.auth-form-side {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #fff;
  min-width: 340px;
  min-height: 100vh;
  z-index: 2;
}
.auth-card-wide {
  width: 100%;
  max-width: 410px;
  min-width: 320px;
  box-shadow: 0 8px 32px rgba(228, 69, 41, 0.13), 0 1.5px 8px rgba(0,0,0,0.04);
  border-radius: 18px 0 0 18px;
  padding: 2.5rem 2.2rem 2rem 2.2rem;
}
.auth-image-side {
  flex: 1 1 420px;
  min-width: 340px;
  min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 18px 18px 0;
}
.auth-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(228, 69, 41, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 18px 18px 0;
}
.auth-image-text {
  color: #fff;
  text-align: center;
  z-index: 2;
}
.auth-image-text h3 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  line-height: 1.2;
}
.auth-image-text p {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.95;
}
.input-group {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1.1rem;
  background: none;
  padding: 0.1rem 0;
}
.input-group:last-child {
  margin-bottom: 0;
}
.input-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-right: 0.7rem;
}
.input-group input {
  border: none;
  outline: none;
  background: none;
  font-size: 1.08rem;
  padding: 0.7rem 0;
  flex: 1;
  color: #222;
}
.input-group input::placeholder {
  color: #888;
  opacity: 1;
}
.input-group input:focus {
  background: none;
}
.wide-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 1.13rem;
  font-weight: 600;
  margin-top: 0.7rem;
  margin-bottom: 0.2rem;
  box-shadow: 0 2px 8px #e4452922;
  padding: 0.8rem 0;
  letter-spacing: 0.5px;
}
.wide-btn:hover {
  background: #b71c1c;
}
.form-links {
  text-align: right;
  margin-bottom: 0.2rem;
}
.forgot-link {
  color: var(--primary);
  font-size: 0.98rem;
  text-decoration: none;
  transition: text-decoration 0.2s;
}
.forgot-link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .auth-container {
    flex-direction: column;
    min-height: unset;
  }
  .auth-form-side, .auth-image-side {
    min-width: 100vw;
    min-height: 320px;
    border-radius: 0;
  }
  .auth-card-wide {
    border-radius: 18px 18px 0 0;
    box-shadow: 0 2px 12px #e4452922;
  }
  .auth-image-side, .auth-image-overlay {
    border-radius: 0 0 18px 18px;
  }
}
@media (max-width: 700px) {
  .auth-container {
    flex-direction: column;
    min-height: unset;
    padding: 0;
  }
  .auth-image-side {
    order: 0;
    width: 100vw;
    min-width: 0;
    min-height: 140px;
    height: 140px;
    border-radius: 0;
    box-shadow: none;
  }
  .auth-image-overlay {
    border-radius: 0;
  }
  .auth-form-side {
    order: 1;
    width: 100vw;
    min-width: 0;
    padding: 0;
    display: flex;
    justify-content: center;
  }
  .auth-card-wide {
    width: 100vw;
    max-width: 100vw;
    min-width: 0;
    border-radius: 0;
    box-shadow: 0 2px 12px #e4452922;
    padding: 1.1rem 0.5rem 1rem 0.5rem;
  }
  .auth-card h2 {
  font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
  .input-group input {
    font-size: 1rem;
    padding: 0.7rem 0;
  }
  .input-icon {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }
  .wide-btn {
    font-size: 1.08rem;
    padding: 0.7rem 0;
  }
  .auth-link {
    font-size: 1rem;
  }
  .form-msg {
    font-size: 1rem;
  }
  .back-btn {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 10;
    margin: 0;
    font-size: 1.08rem;
    padding: 0.35rem 1rem 0.35rem 0.7rem;
    box-shadow: 0 2px 8px #e4452911;
  }
}

/* Main Navbar Styles */
.main-navbar {
  width: 100%;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.7rem 2.2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px #0001;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #222;
  font-size: 2rem;
  margin-right: 1.1rem;
  margin-left: 0;
  cursor: pointer;
  order: 0;
}
.navbar-logo {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #222;
  text-decoration: none;
  margin-right: 0.7rem;
  order: 1;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  order: 2;
}
.navbar-links a {
  color: #222;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.navbar-links a:hover, .navbar-links a.active {
  background: #fbe9e6;
  color: var(--primary);
}
@media (max-width: 700px) {
  .main-navbar {
    flex-wrap: wrap;
    padding: 0.7rem 0.5rem;
    flex-direction: row;
  }
  .navbar-logo {
    order: 0;
  }
  .navbar-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    width: 82vw;
    max-width: 340px;
    padding: 2.2rem 1.7rem 2.2rem 1.2rem;
    gap: 1.3rem;
    z-index: 300;
    box-shadow: -8px 0 32px #e4452922, -2px 0 8px #0001;
    border-radius: 24px 0 0 24px;
    align-items: flex-end;
    text-align: right;
    transition: transform 0.22s cubic-bezier(.4,1.4,.6,1), opacity 0.18s;
    transform: translateX(100%);
    opacity: 0;
  }
  .navbar-links.open {
    display: flex;
    transform: translateX(0);
    opacity: 1;
  }
  .navbar-links a {
    color: #222;
    text-decoration: none;
    font-size: 1.13rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
    width: 100%;
    text-align: right;
    box-shadow: none;
  }
  .navbar-links a:hover, .navbar-links a.active {
    background: #fbe9e6;
    color: var(--primary);
    box-shadow: 0 2px 8px #e4452922;
  }
  .navbar-toggle {
    display: block;
    order: 2;
    margin-left: 1.2rem;
    margin-right: 0;
    z-index: 350;
  }
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.08rem;
  background: #fff;
  border-radius: 7px;
  padding: 0.4rem 1.1rem 0.4rem 0.8rem;
  margin: 2.2rem 0 0 2.2rem;
  box-shadow: 0 2px 8px #e4452911;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: background 0.18s, color 0.18s;
}
.back-btn:hover {
  background: var(--primary);
  color: #fff;
}
.back-btn i {
  font-size: 1.1em;
}

.auth-container.signup-page {
  flex-direction: row-reverse;
}
@media (max-width: 700px) {
  .auth-container.signup-page {
    flex-direction: column;
  }
}

/* Hero Section */
.hero-section {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 3.5rem 0 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-content {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 2vw;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.hero-content p {
  font-size: 1.18rem;
  margin-bottom: 2rem;
  color: #444;
}
.hero-btn {
  font-size: 1.13rem;
  padding: 0.7rem 2.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px #e4452922;
}
.hero-image {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0 2vw 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 18px;
  box-shadow: 0 4px 24px #e4452922;
}
@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.2rem 0 1.2rem 0;
  }
  .hero-content, .hero-image {
    padding: 0 0.5vw;
  }
  .hero-image img {
    max-width: 100vw;
  }
}

/* Categories Section */
.categories-section {
  margin: 2.5rem 0 2.2rem 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100vw;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.5px;
}
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.category-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e4452911;
  padding: 1.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.08rem;
  color: var(--primary);
  font-weight: 600;
  min-width: 120px;
  transition: box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
}
.category-card i {
  font-size: 2.1rem;
  margin-bottom: 0.7rem;
}
.category-card:hover {
  box-shadow: 0 6px 24px #e4452922;
  transform: translateY(-4px) scale(1.04);
}
.category-card .category-img {
  width: 100%;
  max-width: 110px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7rem;
  box-shadow: 0 2px 8px #e4452911;
  display: block;
}
@media (max-width: 700px) {
  .category-card .category-img {
    max-width: 80px;
    height: 50px;
    margin-bottom: 0.5rem;
  }
}

/* Featured Products Section */
.featured-section {
  margin: 2.5rem 0 2.2rem 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100vw;
}
.featured-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Why Choose Us Section */
.why-section {
  margin: 2.5rem 0 2.2rem 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100vw;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.why-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e4452911;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  text-align: center;
  color: #333;
  transition: box-shadow 0.18s, transform 0.18s;
}
.why-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.why-card h4 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.why-card:hover {
  box-shadow: 0 6px 24px #e4452922;
  transform: translateY(-4px) scale(1.04);
}

/* Testimonials Section */
.testimonials-section {
  margin: 2.5rem 0 2.2rem 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100vw;
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e4452911;
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  max-width: 320px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.05rem;
  color: #444;
  position: relative;
}
.testimonial-user {
  display: flex;
  align-items: center;
    gap: 0.7rem;
  margin-top: 1.1rem;
}
.testimonial-user img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.testimonial-user span {
  font-weight: 600;
  color: var(--primary);
}

/* Brands/Partners Section */
.brands-section {
  margin: 2.5rem 0 2.2rem 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100vw;
}
.brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2.2rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.2rem;
  }
.brands-logos img {
  height: 38px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.8);
  opacity: 0.8;
  transition: filter 0.18s, opacity 0.18s;
}
.brands-logos img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-section {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.2rem 0 1.2rem 0;
  }
  .hero-image img {
    width: 100%;
    max-width: 340px;
  }
}
@media (max-width: 700px) {
  .categories-grid, .testimonials-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .brands-logos {
    gap: 1.1rem;
  }
}

/* Banner Slider */
.banner-slider {
  width: 100%;
  padding: 0;
  margin-bottom: 2.5rem;
  background: #fbe9e6;
}
.slider-wrapper {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-img {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 340px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
  border-radius: 0 0 18px 18px;
}
.slider-img.active {
  opacity: 1;
  z-index: 2;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  color: #222;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 2px 8px #e4452922;
  transition: background 0.2s, color 0.2s;
}
.slider-arrow.left { left: 18px; }
.slider-arrow.right { right: 18px; }
.slider-arrow:hover { background: var(--primary); color: #fff; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
  z-index: 11;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active {
  background: var(--primary);
}
@media (max-width: 900px) {
  .slider-wrapper, .slider-img {
    height: 220px;
  }
}
@media (max-width: 600px) {
  .slider-wrapper, .slider-img {
    height: 140px;
  }
  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* New Hero Product Section */
.hero-product {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  width: 100vw;
  max-width: 100vw;
  background: #fff;
  padding: 2.5rem 0 2.5rem 0;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.hero-img-col {
  flex: 1 1 340px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-col img {
  width: 340px;
  max-width: 95vw;
  height: auto;
  border-radius: 12px;
  background: #fff;
}
.hero-content-col {
  flex: 1 1 420px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 2vw;
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #23405a;
  margin-bottom: 0.7rem;
  letter-spacing: 0.5px;
}
.hero-sub {
  font-size: 2rem;
  font-weight: 700;
  color: #e53935;
  margin-bottom: 1.2rem;
}
.hero-desc {
  font-size: 1.18rem;
  color: #222;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}
.hero-details-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2px;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 8px #e4452922;
  transition: background-color 0.2s;
  display: inline-block;
}
.hero-details-btn:hover {
  background-color: #b71c1c;
}
@media (max-width: 900px) {
  .hero-product {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0 1.5rem 0;
  }
  .hero-img-col img {
    width: 90vw;
    max-width: 95vw;
  }
  .hero-content-col {
    padding: 0 1vw;
    align-items: flex-start;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1.3rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
}

.sub-header-categories {
  width: 100vw;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 18px 0 14px 0;
  font-family: inherit;
}
.sub-header-categories span {
  color: #757575;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
}
.sub-header-categories span:hover {
  color: var(--primary);
}
.sub-header-categories .active-category {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid var(--primary);
  background: #fbe9e6;
  border-radius: 4px 4px 0 0;
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .sub-header-categories {
    gap: 10px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    padding: 12px 0 10px 0;
  }
}
@media (max-width: 600px) {
  .sub-header-categories {
    gap: 5px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    padding: 8px 0 6px 0;
  }
  .sub-header-categories span {
    font-size: 0.95rem;
  }
}

.contact-container {
  display: flex;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 60px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.08);
  padding: 40px 32px;
  align-items: flex-start;
}
.contact-form {
  flex: 1.2;
}
.contact-form h2 {
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-weight: 500;
  color: #444;
}
.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #fdfdfe;
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover {
  background: #b71c1c;
}
.contact-info {
  flex: 1;
  background: #fdfdfe;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 260px;
}
.contact-info h3 {
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}
.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  width: 100%;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #555;
  margin-bottom: 12px;
}
.contact-info .icon {
  font-size: 1.2em;
}
.contact-map img {
  width: 100%;
  border-radius: 10px;
  margin-top: 10px;
}
@media (max-width: 800px) {
  .contact-container {
    flex-direction: column;
    padding: 24px 8px;
    gap: 24px;
  }
  .contact-info {
    width: 100%;
    min-width: unset;
    padding: 24px 12px;
  }
}

.has-subcategories {
  position: relative;
}
.subcategories-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 260px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.10);
  padding: 10px 0;
  z-index: 200;
  margin-top: 2px;
}
.has-subcategories:hover .subcategories-dropdown,
.has-subcategories:focus-within .subcategories-dropdown {
  display: block;
}
.subcategory-item {
  padding: 10px 24px 10px 18px;
  color: #555;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.subcategory-item:hover {
  background: #fbe9e6;
  color: var(--primary);
}
@media (max-width: 900px) {
  .subcategories-dropdown {
    min-width: 180px;
    font-size: 0.95rem;
  }
  .subcategory-item {
    padding: 8px 14px 8px 12px;
    font-size: 0.97rem;
  }
}

.has-subsub {
  position: relative;
}
.has-subsub::after {
  content: '\25B6'; /* right arrow */
  font-size: 0.85em;
  color: #aaa;
  margin-left: 8px;
  transition: transform 0.2s;
}
.has-subsub:hover::after {
  transform: rotate(90deg);
}
.sub-subcategories {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 6px 24px 0 rgba(0,0,0,0.10);
  padding: 8px 0;
  z-index: 300;
}
.has-subsub:hover > .sub-subcategories,
.has-subsub:focus-within > .sub-subcategories {
  display: block;
}
.sub-subcategory-item {
  padding: 8px 20px 8px 18px;
  color: #555;
  font-size: 0.97rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-subcategory-item:hover {
  background: #fbe9e6;
  color: var(--primary);
}
.subcategory-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 900px) {
  .sub-subcategories {
    min-width: 140px;
    font-size: 0.93rem;
  }
  .sub-subcategory-item {
    padding: 7px 12px 7px 10px;
    font-size: 0.95rem;
  }
}

.sub-header-categories > .has-subcategories:nth-last-child(2) .sub-subcategories {
  left: auto;
  right: 100%;
  border-radius: 10px 0 10px 10px;
}

/* --- About Page Styles --- */
.about-hero-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 3rem auto 2.5rem auto;
  padding: 0 2rem;
}
.about-hero-img-col {
  flex: 1 1 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-hero-img-col img {
  width: 100%;
  max-width: 400px;
  border-radius: 18px;
  box-shadow: 0 4px 24px #e4452911;
}
.about-hero-content-col {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.about-title {
  font-size: 2.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-sub {
  font-size: 1.4rem;
  color: #23272f;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.about-desc {
  font-size: 1.13rem;
  color: #444;
  line-height: 1.7;
}

.about-values-section {
  max-width: 1200px;
  margin: 0 auto 2.5rem auto;
  padding: 0 2rem;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.about-value-card {
  background: #fdfdfe;
  border-radius: 14px;
  padding: 2rem 1.3rem 1.5rem 1.3rem;
  box-shadow: 0 2px 12px #e445290a;
  text-align: center;
  transition: box-shadow 0.2s;
}
.about-value-card i {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.about-value-card h4 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.about-value-card p {
  color: #555;
  font-size: 1.01rem;
}

.team-section {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 2rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  margin-top: 2rem;
  justify-items: center;
}
.team-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #e445290a;
  padding: 2rem 1.2rem 1.3rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.2s;
  max-width: 270px;
  width: 100%;
}
.team-card img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px #e4452911;
}
.team-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.team-card p {
  color: #666;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .about-hero-section {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  .about-hero-img-col img {
    max-width: 320px;
  }
  .about-hero-content-col {
    align-items: center;
    text-align: center;
  }
  .about-title {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .about-hero-section {
    margin: 2rem 0 1.5rem 0;
    padding: 0 0.5rem;
  }
  .about-values-section, .team-section {
    padding: 0 0.5rem;
  }
  .about-values-grid, .team-grid {
    gap: 1.2rem;
  }
}

/* Responsive product card grid for mobile: always at least 2 side by side */
@media (max-width: 600px) {
  #products-list,
  #wishlist-list,
  #cart-list,
  .featured-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  .product-card {
    padding: 0.7rem 0.4rem 0.8rem 0.4rem;
    margin: 0.5rem 0;
    border-radius: 10px;
  }
  .product-card img {
    width: 90px;
    height: 90px;
    margin-bottom: 0.6rem;
    border-radius: 7px;
  }
  .product-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
  }
  .product-sku {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }
  .product-desc {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    min-height: 1em;
  }
  .read-more-btn {
    font-size: 0.85rem;
    padding: 4px 10px;
    margin-bottom: 0.4rem;
  }
  .product-card .price {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }
  .product-card .product-btn-row {
    gap: 6px;
    margin-top: 0.3rem;
  }
  .product-card button {
    font-size: 0.92rem;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
  }
}

/* Sub-header hamburger and mobile categories styles */
@media (max-width: 700px) {
  #subcat-toggle {
    display: flex !important;
    align-items: center;
    gap: 0.6em;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 999px;
    font-size: 1.13rem;
    font-weight: 700;
    padding: 0.7rem 1.7rem;
    margin: 0.7rem auto 0.7rem auto;
    box-shadow: 0 4px 16px #e4452922, 0 1.5px 6px #0001;
    cursor: pointer;
    position: sticky;
    top: 56px;
    z-index: 120;
    width: fit-content;
    transition: box-shadow 0.18s, background 0.18s;
  }
  #subcat-toggle i {
    font-size: 1.35em;
    font-weight: bold;
    margin-right: 0.5em;
  }
  #subcat-toggle:active, #subcat-toggle:focus {
    background: #fbe9e6;
    box-shadow: 0 2px 8px #e4452922;
    outline: none;
  }
  .sub-header-categories.mobile-categories-collapsed {
    display: none !important;
  }
  .sub-header-categories {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px #e4452922, 0 2px 8px #0001;
    position: sticky;
    top: 98px;
    z-index: 90;
    width: 92vw;
    max-width: 420px;
    margin: 0 auto 1.2rem auto;
    padding: 0.7rem 0 1rem 0;
    opacity: 1;
    transform: scale(1);
    transition: box-shadow 0.18s, opacity 0.18s, transform 0.18s;
    animation: menuPopIn 0.22s cubic-bezier(.4,1.4,.6,1) 1;
  }
  @keyframes menuPopIn {
    0% { opacity: 0; transform: scale(0.97) translateY(-10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
  }
  .sub-header-categories span {
    padding: 0.9em 1.5em;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.08rem;
    border-radius: 10px;
    background: none;
    text-align: left;
    width: 100%;
    margin: 0.1em 0.5em;
    transition: background 0.16s, color 0.16s, box-shadow 0.16s;
    box-shadow: none;
    position: relative;
  }
  .sub-header-categories span:last-child {
    border-bottom: none;
  }
  .sub-header-categories span:hover, .sub-header-categories span.touch-active {
    background: #fbe9e6 !important;
    color: var(--primary) !important;
    box-shadow: 0 2px 8px #e4452922;
  }
  .sub-header-categories .active-category {
    background: #ffe0d6;
    color: var(--primary);
    border-radius: 10px;
    border-bottom: 2px solid var(--primary);
    font-weight: 700;
    box-shadow: 0 2px 8px #e4452922;
  }
  .subcategories-dropdown {
    position: static;
    min-width: unset;
    box-shadow: none;
    border-radius: 0 0 10px 10px;
    padding: 0.2em 0 0.2em 1.5em;
    background: #fdfdfe;
    margin: 0;
  }
  .subcategory-item {
    padding: 0.6em 0.7em 0.6em 1.2em;
    font-size: 1.01rem;
    border-radius: 8px;
    background: none;
    margin: 0.08em 0;
    transition: background 0.14s, color 0.14s;
  }
  .subcategory-item:hover, .subcategory-item.touch-active {
    background: #fbe9e6;
    color: var(--primary);
  }
  .has-subsub > .sub-subcategories {
    position: static;
    box-shadow: none;
    background: #fdfdfe;
    border-radius: 0;
    margin: 0.2em 0 0.2em 1.5em;
    padding: 0.2em 0 0.2em 1.2em;
  }
  .sub-subcategory-item {
    font-size: 0.99rem;
    padding: 0.5em 0.7em 0.5em 1.7em;
    border-radius: 7px;
    margin: 0.07em 0;
    transition: background 0.14s, color 0.14s;
  }
  .sub-subcategory-item:hover, .sub-subcategory-item.touch-active {
    background: #fbe9e6;
    color: var(--primary);
  }
}

/* Wishlist & Cart Page Modern UI */
.wishlist-header, .cart-header {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  padding: 1.2rem 0 0.7rem 0;
  justify-content: center;
  z-index: 90;
}
.wishlist-header i, .cart-header i {
  color: var(--primary);
  font-size: 1.3em;
}
.wishlist-divider, .cart-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #fbe9e6 0%, #fff 100%);
  margin-bottom: 1.2rem;
}
.wishlist-list-container, .cart-list-container {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #e4452911;
  max-width: 1200px;
  margin: 0 auto 2.5rem auto;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
}
.wishlist-list-grid, .cart-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.wishlist-empty-msg, .cart-empty-msg {
  text-align: center;
  color: #888;
  font-size: 1.13rem;
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 500;
}
.cart-summary-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.18rem;
  font-weight: 600;
  margin: 2.2rem 0 0.7rem 0;
  padding-right: 2.2rem;
}
.cart-total-label {
  color: #555;
}
.cart-total-value {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}
.cart-checkout-row {
  display: flex;
  justify-content: flex-end;
  padding-right: 2.2rem;
  margin-bottom: 2.5rem;
}
.cart-checkout-row .upload-btn {
  font-size: 1.08rem;
  padding: 0.7rem 2.2rem;
  border-radius: 10px;
}
.cart-checkout-row .upload-btn.disabled {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}
.login-prompt-msg {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}
.login-prompt-msg a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 700px) {
  .wishlist-header, .cart-header {
    font-size: 1.1rem;
    padding: 0.7rem 0 0.5rem 0;
  }
  .wishlist-list-container, .cart-list-container {
    padding: 1rem 0.2rem 0.7rem 0.2rem;
    border-radius: 10px;
  }
  .wishlist-list-grid, .cart-list-grid {
    gap: 1rem;
  }
  .cart-summary-row, .cart-checkout-row {
    padding-right: 0.5rem;
    font-size: 1rem;
  }
  .cart-checkout-row .upload-btn {
    font-size: 0.98rem;
    padding: 0.5rem 1.2rem;
    border-radius: 7px;
  }
}

/* Profile Page Styles */
.profile-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: flex-start;
  align-items: center;
  min-height: 60vh;
  padding: 3rem 0 2rem 0;
  background: linear-gradient(135deg, #fbe9e6 0%, #fff 100%);
  width: 100%;
}
#profile-section, #orders-section, #transactions-section {
  width: 100%;
  max-width: 700px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #e4452911;
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  margin-bottom: 0.5rem;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #fbe9e6;
  padding-bottom: 0.7rem;
}
.profile-header i {
  font-size: 2.2rem;
  color: #e44529;
}
.profile-header h2 {
  font-size: 1.5rem;
  color: #e44529;
  font-weight: 700;
  margin: 0;
}
.profile-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.profile-row label {
  flex: 0 0 90px;
  color: #888;
  font-weight: 600;
  font-size: 1.01rem;
}
.profile-row input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1.5px solid #e44529;
  border-radius: 8px;
  font-size: 1.05rem;
  background: #fff;
  color: #222;
  transition: border 0.2s;
}
.profile-row input:disabled {
  background: #fbe9e6;
  color: #888;
}
.profile-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.7rem;
}
.profile-actions .upload-btn {
  min-width: 90px;
  font-size: 1.01rem;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px #e4452911;
}
.profile-actions .upload-btn:hover {
  background: #1742a0;
}
.form-msg {
  text-align: center;
  font-size: 1.05rem;
  min-height: 1.2em;
  margin-bottom: 0.2rem;
  z-index: 1;
}
.form-msg.error {
  color: #d32f2f;
}
.form-msg.success {
  color: #2ecc40;
}
@media (max-width: 900px) {
  .profile-container {
    flex-direction: column;
    min-height: unset;
    padding: 1.5rem 0 1rem 0;
    gap: 1.2rem;
  }
  #profile-section, #orders-section, #transactions-section {
    border-radius: 14px;
    box-shadow: 0 2px 12px #e4452922;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
  }
}

/* Order and Transaction Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.data-table th, .data-table td {
    border: 1px solid var(--border);
    padding: 0.8rem;
    text-align: left;
}
.data-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}
.data-table td .status {
    padding: 3px 8px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}
.data-table td .status.shipped { background: #3498db; }
.data-table td .status.delivered { background: #2ecc71; }
.data-table td .status.processing { background: #f39c12; }
.data-table td .status.completed { background: #2ecc71; }
.data-table td .status.pending { background: #f39c12; }

@media (max-width: 700px) {
  .profile-container {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0.7rem 0 1.2rem 0;
    align-items: stretch;
  }
  #profile-section, #orders-section, #transactions-section {
    border-radius: 10px;
    box-shadow: 0 1.5px 8px #e4452922;
    padding: 1rem 0.3rem 0.7rem 0.3rem;
    margin-bottom: 1.1rem;
    min-width: 0;
  }
  .profile-header {
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.4rem;
  }
  .profile-header h2 {
    font-size: 1.08rem;
  }
  .profile-header i {
    font-size: 1.3rem;
  }
  .profile-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin-bottom: 0.7rem;
  }
  .profile-row label {
    font-size: 0.97rem;
    flex: unset;
    margin-bottom: 0.1rem;
  }
  .profile-row input {
    font-size: 0.97rem;
    padding: 0.38rem 0.7rem;
    border-radius: 6px;
  }
  .profile-actions {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  .profile-actions .upload-btn {
    min-width: 0;
    width: 100%;
    font-size: 1.01rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
  }
  .profile-tab-content {
    padding: 0.2rem 0.1rem;
  }
  .data-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
  }
  .data-table table, .data-table thead, .data-table tbody, .data-table th, .data-table td, .data-table tr {
    display: revert;
  }
  .data-table th, .data-table td {
    padding: 0.45rem 0.5rem;
    min-width: 90px;
  }
  .form-msg {
    font-size: 0.97rem;
    margin-bottom: 0.3rem;
  }
  .placeholder-content {
    font-size: 0.97rem;
    text-align: center;
    padding: 0.7rem 0.2rem;
  }
}

/* --- Checkout Page Styles --- */
.checkout-page-main {
    background: #f9f9f9;
    padding: 2.5rem 1rem;
}
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}
.checkout-form-col h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
#checkout-form .input-group {
    margin-bottom: 1rem;
}
#checkout-form .input-group input, #checkout-form .input-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 7px;
}
.form-row {
    display: flex;
    gap: 1rem;
}
.payment-title {
    margin-top: 2rem;
}
.payment-method {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 1rem;
    background: #fff;
}
.payment-method label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.order-summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px #0000000d;
    position: sticky;
    top: 100px;
}
.order-summary-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.summary-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 7px;
}
.summary-item-info {
    flex: 1;
}
.summary-item-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.summary-item-info p {
    font-size: 0.9rem;
    color: #888;
}
.summary-item-price {
    font-weight: 600;
}
.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}
.total-row {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 900px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    .checkout-summary-col {
        grid-row: 1;
    }
}
@media (max-width: 700px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.added-msg {
  color: #2ecc40;
  background: #e8fbe6;
  border: 1.5px solid #2ecc40;
  border-radius: 7px;
  font-size: 1.01rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  opacity: 1;
  transition: opacity 0.5s;
  z-index: 10;
}
.added-msg.hide {
  opacity: 0;
  transition: opacity 0.5s;
}

.added-msg.error {
  color: #d32f2f;
  background: #fdecea;
  border: 1px solid #d32f2f;
}

.product-details-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px #0000000d;
  margin-bottom: 2rem;
}
.product-details-card h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
#checkout-product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}
.checkout-product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 8px #e4452911;
}
.checkout-product-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #eee;
}
.checkout-product-info {
  flex: 1;
}
.checkout-product-info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.checkout-product-info p {
  font-size: 0.95rem;
  color: #888;
}
.checkout-product-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.08rem;
}
@media (max-width: 900px) {
  #checkout-product-list {
    grid-template-columns: 1fr;
  }
}

.cart-loading-msg {
  text-align: center;
  color: #e44529;
  font-size: 1.15rem;
  margin: 2.5rem 0 1.5rem 0;
  font-weight: 500;
}

.improved-cart-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px #e4452911;
  padding: 1.2rem 2rem;
  margin-bottom: 1.5rem;
  min-height: 140px;
}
.improved-cart-img-wrap {
  flex: 0 0 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.improved-cart-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7f7f7;
}
.improved-cart-details {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.improved-cart-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.improved-cart-sku {
  font-size: 0.95rem;
  color: #888;
}
.improved-cart-price {
  font-size: 1.05rem;
  color: #e44529;
  font-weight: 600;
}
.improved-cart-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fbe9e6;
  border-radius: 7px;
  padding: 0.3rem 0.7rem;
}
.improved-qty-btn {
  background: #fff;
  border: 1.5px solid #e44529;
  color: #e44529;
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
    border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.improved-qty-btn:hover {
  background: #e44529;
  color: #fff;
}
.improved-cart-qty {
  font-size: 1.08rem;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}
.improved-cart-total {
  font-size: 1.08rem;
  font-weight: 600;
  color: #222;
  margin-left: 1.2rem;
}
.improved-cart-remove {
  background: none;
  border: none;
  color: #d32f2f;
  font-size: 1.5rem;
  margin-left: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.improved-cart-remove:hover {
  color: #b71c1c;
}

@media (max-width: 900px) {
  .improved-cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 1rem;
  }
  .improved-cart-img-wrap {
    margin-bottom: 0.7rem;
  }
}

.checkout-product-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px #e4452911;
  padding: 1rem 1.5rem;
  margin-bottom: 1.1rem;
}
.checkout-product-img-wrap {
  flex: 0 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-product-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 7px;
  background: #f7f7f7;
}
.checkout-product-info {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.checkout-product-name {
  font-size: 1.05rem;
  font-weight: 600;
}
.checkout-product-sku {
  font-size: 0.93rem;
  color: #888;
}
.checkout-product-qty {
  font-size: 0.98rem;
  color: #222;
}
.checkout-product-price {
  font-size: 0.98rem;
  color: #e44529;
  font-weight: 600;
}
.checkout-product-total {
  font-size: 1.01rem;
  font-weight: 600;
  color: #1742a0;
}

@media (max-width: 900px) {
  .checkout-product-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem 0.7rem;
  }
  .checkout-product-img-wrap {
    margin-bottom: 0.5rem;
  }
} 

.order-details-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px #e4452911;
  margin-bottom: 2rem;
  padding: 1.3rem 1.7rem 1.1rem 1.7rem;
}
.order-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 0.7rem;
  font-size: 1.01rem;
}
.order-id {
  color: #1742a0;
  font-weight: 600;
}
.order-date {
  color: #888;
}
.order-status {
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 7px;
  background: #fbe9e6;
  color: #e44529;
  font-size: 0.98rem;
}
.order-details-items {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 0.7rem 0;
  margin-bottom: 0.7rem;
}
.order-item-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.99rem;
  margin-bottom: 0.3rem;
}
.order-item-name {
  font-weight: 600;
  color: #222;
}
.order-item-qty {
  color: #888;
}
.order-item-price {
  color: #e44529;
  font-weight: 600;
}
.order-item-total {
  color: #1742a0;
  font-weight: 600;
}
.order-details-summary {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Admin Dashboard Enhancements */
#admin-dashboard-header {
  background: #f7faff;
  border-radius: 16px;
  box-shadow: 0 2px 12px #e4452911;
  margin-bottom: 2rem;
  padding: 1.2rem 2rem 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#admin-tabs {
  display: flex;
  gap: 1.2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #e4452911;
  margin-bottom: 2.2rem;
  padding: 0.7rem 1.2rem;
  justify-content: flex-start;
}
#admin-tabs .profile-tab-btn {
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  background: #fbe9e6;
  color: #e44529;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
#admin-tabs .profile-tab-btn.active {
  background: #1742a0;
  color: #fff;
  box-shadow: 0 2px 8px #e4452911;
}
#admin-tabs .profile-tab-btn:hover:not(.active) {
  background: #ffe3db;
  color: #b71c1c;
}
.admin-tab-content {
  margin-bottom: 2.5rem;
}
#admin-products-list .order-details-card,
#admin-orders-list .order-details-card {
  margin-bottom: 2.2rem;
  border: 1.5px solid #fbe9e6;
  transition: box-shadow 0.2s, border 0.2s;
}
#admin-products-list .order-details-card:hover,
#admin-orders-list .order-details-card:hover {
  box-shadow: 0 8px 32px #e4452911;
  border: 1.5px solid #e44529;
}
#admin-products-list .order-details-header,
#admin-orders-list .order-details-header {
  background: #f7faff;
  border-radius: 10px 10px 0 0;
  padding: 0.7rem 1.2rem;
  margin-bottom: 0.5rem;
}
#admin-products-list .order-details-summary,
#admin-orders-list .order-details-summary {
  background: #fbe9e6;
  border-radius: 0 0 10px 10px;
  padding: 0.7rem 1.2rem;
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}
#admin-products-list .order-item-row,
#admin-orders-list .order-item-row {
  gap: 2.2rem;
  font-size: 1.01rem;
}
#admin-products-list img {
  border-radius: 7px;
  background: #f7f7f7;
  border: 1px solid #eee;
  margin-left: 0.7rem;
}
#admin-add-product-form-container {
  background: #f7faff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #e4452911;
  padding: 1.5rem 2rem 1.2rem 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
#admin-add-product-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1742a0;
  margin-bottom: 1.2rem;
}
#admin-add-product-form .profile-row {
  margin-bottom: 1.1rem;
}
#admin-add-product-form input,
#admin-add-product-form select {
  padding: 0.6rem 1rem;
  border: 1.5px solid #e44529;
  border-radius: 8px;
  font-size: 1.05rem;
  background: #fff;
  color: #222;
  transition: border 0.2s;
  width: 100%;
}
#admin-add-product-form input:focus,
#admin-add-product-form select:focus {
  border: 1.5px solid #1742a0;
  background: #f7faff;
}
#admin-add-product-form .upload-btn {
  min-width: 110px;
  font-size: 1.05rem;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px #e4452911;
  margin-top: 0.7rem;
}
#admin-add-product-form .upload-btn:hover {
  background: #1742a0;
  color: #fff;
}
.admin-save-order-status, .admin-save-transaction-status, .admin-edit-product, .admin-delete-product {
  margin-left: 0.7rem;
  margin-top: 0.3rem;
}
.admin-edit-product {
  background: #1742a0;
  color: #fff;
}
.admin-edit-product:hover {
  background: #0d2c6c;
}
.admin-delete-product {
  background: #d32f2f;
  color: #fff;
}
.admin-delete-product:hover {
  background: #b71c1c;
}
@media (max-width: 900px) {
  #admin-dashboard-header, #admin-add-product-form-container {
    padding: 1rem 0.7rem 1rem 0.7rem;
  }
  #admin-tabs {
    padding: 0.5rem 0.2rem;
    gap: 0.5rem;
  }
  .admin-tab-content {
    margin-bottom: 1.2rem;
  }
}

.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }

#admin-products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 2rem;
}
#admin-products-list .order-details-card {
  min-width: 0;
  padding: 0.7rem 0.8rem 0.7rem 0.8rem;
  font-size: 0.97rem;
  box-shadow: 0 2px 8px #e4452911;
  border-radius: 10px;
  margin-bottom: 0;
}
#admin-products-list .order-details-header {
  padding: 0.3rem 0.2rem 0.3rem 0.2rem;
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}
#admin-products-list .order-item-row {
  gap: 0.7rem;
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}
#admin-products-list img {
  height: 32px !important;
  margin-left: 0.3rem;
}
#admin-products-list .order-details-summary {
  gap: 0.7rem;
  padding: 0.3rem 0.2rem;
  font-size: 0.97rem;
}
@media (max-width: 700px) {
  #admin-products-list {
    grid-template-columns: 1fr;
    max-height: 400px;
  }
}

.sub-header-categories span.touch-active {
  background: #ffe0d6 !important;
  color: var(--primary) !important;
  transition: background 0.15s, color 0.15s;
} 

.navbar-logo img {
  height: 48px !important;
  vertical-align: middle;
  margin-right: 8px;
}