/* PC Point Custom Styles for Django Oscar */
/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  /* PC Point palette */
  --background: hsl(0, 0%, 99%);
  --foreground: hsl(200, 25%, 15%);
  --card: hsl(0, 0%, 97%);
  --card-foreground: hsl(200, 25%, 15%);

  /* Ocean Teal - Primary */
  --primary: hsl(0, 100%, 47%);
  --primary-foreground: hsl(0, 0%, 99%);
  --primary-hover: hsl(0, 100%, 40%);

  /* Sandy Cream - Secondary */
  --secondary: hsl(0, 0%, 96%);
  --secondary-foreground: hsl(200, 25%, 20%);

  /* Muted Sage */
  --muted: hsl(0, 0%, 93%);
  --muted-foreground: hsl(200, 15%, 45%);

  /* Mango Orange Accent */
  --accent: hsl(136, 75%, 22%);
  --accent-foreground: hsl(0, 0%, 99%);

  --border: hsl(0, 0%, 88%);
  --radius: 0.75rem;

  /* Custom PC Point tokens */
  --ocean: hsl(0, 100%, 47%);
  --ocean-dark: hsl(0, 100%, 35%);
  --sand: hsl(0, 0%, 96%);
  --sand-dark: hsl(0, 0%, 85%);
  --mango: hsl(136, 75%, 22%);
  --mango-light: hsl(136, 60%, 40%);
  --coconut: hsl(0, 0%, 99%);
  --palm: hsl(136, 75%, 22%);
  --palm-light: hsl(136, 60%, 35%);

  /* Shadows */
  --shadow-soft: 0 4px 20px -4px hsla(200, 25%, 15%, 0.08);
  --shadow-elevated: 0 12px 40px -8px hsla(200, 25%, 15%, 0.12);

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --uniform-header-height: 74px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  padding-top: 0;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    padding-top: 0;
  }
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
}

.btn,
.form-control,
.breadcrumb,
.page_inner {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

.page-header h1,
.sub-header h2 {
  font-family: var(--font-display);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* =========================
   HEADER / NAVBAR
   ========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(40, 33%, 98%, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* =========================
   PAGE LAYOUT IMPROVEMENTS
   ========================= */
.page {
  background: var(--background);
  min-height: 100vh;
}

.page_inner {
  background: var(--background);
  padding: 1rem 0;
}

.page-header {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.page-header h1 {
  font-family: var(--font-display);
  color: var(--foreground);
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

/* Breadcrumbs styling */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.breadcrumb-item {
  color: var(--muted-foreground);
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary-hover);
}

.breadcrumb-item.active {
  color: var(--foreground);
  font-weight: 500;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  padding: 0 var(--space-lg);
  gap: var(--space-lg);
}

@media (max-width: 767.98px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu-btn {
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .header-inner {
    height: 80px;
    gap: 2rem;
  }
}

.logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo img {
    height: 56px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
  background: hsl(0 0% 100% / 0.4);
  backdrop-filter: blur(8px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius);
  border: 1px solid hsl(38 25% 85% / 0.3);
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: hsla(200, 25%, 15%, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary) !important;
  background: hsl(0 100% 47% / 0.06);
}

/* Override any conflicting hover states from other stylesheets */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.nav > li > a:hover,
.nav > li > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: var(--primary) !important;
  background: hsl(0 100% 47% / 0.06) !important;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.icon-btn {
  padding: 0.5rem;
  color: hsla(200, 25%, 15%, 0.7);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.icon-btn:hover {
  color: var(--primary);
}

/* Search Dropdown */
.search-dropdown {
  position: relative;
}

.search-menu {
  position: fixed;
  top: 70px;
  right: 1rem;
  width: 300px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  padding: 1.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-height: 80px;
}

@media (min-width: 768px) {
  .search-menu {
    top: 80px;
    min-height: 90px;
  }
}

.search-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary);
}

.search-input::placeholder {
  color: var(--muted-foreground);
}

.search-submit {
  padding: 0.75rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit:hover {
  background: var(--primary-hover);
}

.search-submit svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(250, 246, 239, 0.98) 100%);
  box-shadow: 0 18px 40px -32px rgba(26, 41, 54, 0.25);
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  color: hsla(200, 25%, 15%, 0.8);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
  background: hsla(0, 100%, 47%, 0.08);
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 1rem;
  margin-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.mobile-nav-button {
  width: 100%;
  min-height: 48px;
}

@media (max-width: 420px) {
  .mobile-nav-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn-accent:hover {
  background: hsl(136, 75%, 18%);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-hero {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.btn-hero-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: hsla(0, 100%, 47%, 0.05);
}

.btn svg {
  width: 20px;
  height: 20px;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 1.25rem;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 1rem 0 2.35rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.82) 0%, hsla(0, 0%, 100%, 0.64) 40%, hsla(0, 0%, 100%, 0.2) 72%, hsla(0, 0%, 100%, 0.06) 100%),
    linear-gradient(180deg, hsla(0, 0%, 100%, 0.08) 0%, hsla(210, 24%, 96%, 0.16) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  padding: 1.5rem 0 5.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(40, 33%, 98%, 0.82);
  border: 1px solid hsla(0, 100%, 47%, 0.12);
  box-shadow: 0 14px 30px -24px rgba(36, 45, 55, 0.35);
  color: var(--primary);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title .highlight {
  display: block;
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: hsl(205 18% 37%);
  margin-bottom: 2rem;
  max-width: 560px;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  max-width: 36rem;
  border-top: 1px solid hsla(38, 25%, 85%, 0.5);
  animation: fadeUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .hero-stat-value {
    font-size: 2.25rem;
  }
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 128px;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 10;
}

@media (max-width: 768px) {
  .hero .hero-bg img {
    object-position: 72% center;
  }

  .hero .hero-overlay {
    background:
      linear-gradient(
        180deg,
        hsla(0, 0%, 100%, 0.62) 0%,
        hsla(0, 0%, 100%, 0.4) 48%,
        hsla(210, 24%, 96%, 0.2) 100%
      ),
      linear-gradient(
        90deg,
        hsla(0, 0%, 100%, 0.8) 0%,
        hsla(0, 0%, 100%, 0.52) 42%,
        hsla(210, 24%, 96%, 0.22) 100%
      );
  }

  .hero .hero-content {
    max-width: none;
    margin: 2.75rem 0 3rem;
    padding: 1.55rem 1.25rem;
    background: linear-gradient(
      180deg,
      hsla(0, 0%, 100%, 0.78) 0%,
      hsla(210, 24%, 96%, 0.66) 100%
    );
    border: 1px solid hsla(210, 20%, 84%, 0.56);
    border-radius: 26px;
    box-shadow: 0 20px 44px -24px rgba(36, 45, 55, 0.32);
    backdrop-filter: blur(10px) saturate(125%);
  }

  .hero .hero-badge {
    margin-bottom: 1rem;
    padding: 0.45rem 0.78rem;
    background: hsla(48, 100%, 96%, 0.8);
  }

  .hero .hero-title {
    font-size: clamp(2.15rem, 11.5vw, 3.2rem);
    line-height: 1.02;
    margin-bottom: 1rem;
  }

  .hero .hero-description {
    max-width: none;
    margin-bottom: 1.35rem;
    font-size: 1rem;
    line-height: 1.72;
    color: hsl(205 22% 31%);
  }

  .hero .hero-buttons {
    gap: 0.75rem;
  }

  .hero .hero-buttons .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero .hero-stats {
    gap: 0.65rem;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
  }

  .hero .hero-stat-value {
    font-size: 1.45rem;
  }

  .hero .hero-stat-label {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .hero .hero-bottom-fade {
    height: 74px;
  }
}

/* =========================
   CATEGORIES SECTION
   ========================= */
.categories {
  padding: 5rem 0 8rem;
  background: hsla(38, 40%, 92%, 0.3);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: hsla(0, 100%, 47%, 0.08);
  border: 1px solid hsla(0, 100%, 47%, 0.12);
  box-shadow: 0 10px 24px -20px rgba(26, 41, 54, 0.28);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.category-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(200, 25%, 15%, 0.9) 0%, hsla(200, 25%, 15%, 0.6) 50%, transparent 100%);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.category-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(40, 33%, 98%, 0.7);
}

.category-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-top: 0.25rem;
}

.category-description {
  font-size: 0.875rem;
  color: hsla(40, 33%, 98%, 0.8);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.3s ease;
}

.category-card:hover .category-link {
  gap: 0.75rem;
}

.category-link svg {
  width: 16px;
  height: 16px;
}

/* =========================
   FEATURES SECTION
   ========================= */
.features {
  padding: 5rem 0 8rem;
  background: var(--background);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: hsla(0, 100%, 47%, 0.1);
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* =========================
   TESTIMONIALS SECTION
   ========================= */
.testimonials {
  padding: 5rem 0 8rem;
  background: hsla(0, 100%, 47%, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.testimonial-quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  color: hsla(0, 100%, 47%, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial-text {
  color: hsla(200, 25%, 15%, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* =========================
   NEWSLETTER SECTION
   ========================= */
.newsletter {
  position: relative;
  padding: 5rem 0 8rem;
  background: var(--primary);
  overflow: hidden;
}

.newsletter-decorations {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.newsletter-decor-1 {
  position: absolute;
  top: 0;
  left: 25%;
  width: 256px;
  height: 256px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(48px);
  animation: float 6s ease-in-out infinite;
}

.newsletter-decor-2 {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 384px;
  height: 384px;
  border-radius: 50%;
  background: var(--palm);
  filter: blur(48px);
  animation: float 6s ease-in-out infinite 2s;
}

.newsletter-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 768px;
  margin: 0 auto;
}

.newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsla(40, 33%, 98%, 0.1);
  color: var(--primary-foreground);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.newsletter-badge svg {
  width: 16px;
  height: 16px;
}

.newsletter-badge span {
  font-size: 0.875rem;
  font-weight: 500;
}

.newsletter-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .newsletter-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .newsletter-title {
    font-size: 3rem;
  }
}

.newsletter-description {
  font-size: 1.125rem;
  color: hsla(40, 33%, 98%, 0.8);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 512px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid hsla(40, 33%, 98%, 0.2);
  background: hsla(40, 33%, 98%, 0.1);
  color: var(--primary-foreground);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
  color: hsla(40, 33%, 98%, 0.5);
}

.newsletter-input:focus {
  border-color: hsla(40, 33%, 98%, 0.5);
}

.newsletter-privacy {
  font-size: 0.875rem;
  color: hsla(40, 33%, 98%, 0.6);
  margin-top: 1rem;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--foreground);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: hsla(40, 33%, 98%, 0.7);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-mission-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--palm) 100%);
  border-radius: 50%;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover .mission-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsla(40, 33%, 98%, 0.1);
  color: var(--primary-foreground);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsla(40, 33%, 98%, 0.95);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: hsla(40, 33%, 98%, 0.7);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsla(40, 33%, 98%, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copyright {
  color: hsla(40, 33%, 98%, 0.6);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: hsla(40, 33%, 98%, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-foreground);
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.with-header-padding {
  padding-top: calc(var(--uniform-header-height, 74px) + 0.75rem);
}

@media (min-width: 768px) {
  .with-header-padding {
    padding-top: calc(var(--uniform-header-height, 74px) + 1rem);
  }
}

#messages {
  position: relative;
  z-index: 1;
}

/* =========================
   PRODUCT CATALOG STYLING
   ========================= */
.browsing-summary {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.browsing-summary strong {
  color: var(--primary);
  font-weight: 600;
}

/* Product grid improvements */
.row.list-unstyled {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.row.list-unstyled li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Product cards */
.product_pod {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product_pod:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--primary);
}

.product_pod img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 0.75);
  margin-bottom: 1rem;
}

.product_pod h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product_pod .price_color {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.product_pod .availability {
  font-size: 0.875rem;
  color: var(--palm);
  margin-bottom: 1rem;
  font-weight: 500;
}

.product_pod .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* Sidebar styling */
.side_categories {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.side_categories h4 {
  font-family: var(--font-display);
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.side_categories .nav {
  padding: 0;
}

.side_categories .nav li {
  margin-bottom: 0.5rem;
}

.side_categories .nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  transition: color 0.3s ease;
  font-weight: 500;
}

.side_categories .nav a:hover {
  color: var(--primary);
}

.side_categories .nav strong {
  color: var(--primary);
  font-weight: 600;
}

.product_page .row {
  align-items: flex-start;
  gap: 2rem;
}

.product_page .col-sm-6:first-child {
  flex: 0 0 45%;
}

/* Product Gallery Enhancements */
.product_page .col-sm-6:first-child {
  padding-right: 2rem;
}

#product_gallery .carousel {
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  padding: 1rem;
}

#product_gallery img {
  border-radius: 0.5rem;
  max-height: 450px;
  object-fit: contain;
}

.product_main {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.product_main h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product_main .price-color,
.product_main .price_color {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}

.product_main .stock-info,
.product_main .availability,
.product_main .instock,
.product_main .outofstock {
  display: none !important;
}

.product_main .btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  width: 100%;
  max-width: 400px;
  padding: 1.25rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product_main hr {
  width: 100%;
  margin: 2rem 0;
  border-top: 1px solid var(--border);
}

.product_main .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  margin: 0.5rem 0;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: auto;
}

.product_main .btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
}

.product_main .btn-success {
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  border-radius: 0.65rem;
  text-transform: none;
  letter-spacing: 0;
}

.product_main .btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.product_main .btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

.product_main .btn-secondary:hover {
  background: var(--sand-dark);
  transform: translateY(-1px);
}

.description-content {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.8;
  border: 1px solid var(--border);
}

.sub-header h2 i {
  color: var(--primary);
  margin-right: 0.75rem;
  opacity: 0.8;
}

.product_main .add-to-wishlist,
.product_main #add_to_wishlist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
  text-decoration: none;
  margin-top: 0.85rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.product_main .add-to-wishlist:hover,
.product_main #add_to_wishlist:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: hsl(0, 100%, 97%);
}

/* Product Description Section */
.product_page .sub-header {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.product_page .sub-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Product detail partial overrides */
.pdp-price-block {
  margin: 0 0 0.75rem;
}

.pdp-price {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.2;
}

.pdp-price-muted {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.pdp-price-note {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}

.pdp-review-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.pdp-review-row .pdp-stars {
  margin: 0;
}

.product_main .pdp-review-btn {
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.product_main .pdp-review-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: hsl(0, 100%, 97%);
}

.pdp-buybox-wrap {
  width: 100%;
  max-width: 470px;
}

.pdp-buybox {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.9rem;
  padding: 1rem;
}

.pdp-add-cart-btn {
  padding: 0.95rem 1rem;
  border-radius: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.pdp-buybox-note {
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

/* Browse page redesign */
.browse-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  overflow: hidden;
}

.browse-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border);
  background: hsl(40, 35%, 98%);
}

.browse-results-text {
  font-size: 0.9rem;
  color: var(--foreground);
}

.browse-sort-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.browse-sort-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
}

.browse-sort-select {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  color: var(--foreground);
}

.browse-product-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
}

.browse-product-item {
  background: #fff;
  padding: 1rem;
}

.browse-pagination-wrap {
  padding: 1rem;
}

@media (min-width: 768px) {
  .browse-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .browse-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .browse-results-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Product detail: screenshot-accurate, no Tailwind dependency */
.pdp-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: 1rem 0;
  color: #6b7280;
}

.pdp-crumbs a {
  color: var(--brand-primary, #EF0100);
  text-decoration: none;
}

.pdp-crumbs a:hover {
  text-decoration: underline;
}

.pdp-crumb-current {
  color: #6b7280;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-amz-page {
  background: #fff;
}

.pdp-amz-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* DISABLED: .pdp-amz-grid {
/* DISABLED:   display: grid;
/* DISABLED:   grid-template-columns: 1.05fr 0.95fr 290px;
/* DISABLED:   border-top: 1px solid #e5e7eb;
/* DISABLED: }
 */

/* DISABLED: .pdp-amz-media,
/* DISABLED: .pdp-amz-main {
/* DISABLED:   background: #fff;
/* DISABLED:   padding: 1.35rem;
/* DISABLED:   border-right: 1px solid #e5e7eb;
/* DISABLED: }
 */

/* DISABLED: .pdp-amz-media-inner {
/* DISABLED:   border: 1px solid #e5e7eb;
/* DISABLED:   border-radius: 0.35rem;
/* DISABLED:   padding: 1rem;
/* DISABLED: }
 */

.pdp-amz-media #product_gallery .carousel {
  background: #fff;
  padding: 0;
  box-shadow: none;
}

.pdp-amz-media #product_gallery img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.pdp-admin-link {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #6b7280;
  font-size: 0.78rem;
}

.pdp-title {
  margin: 0;
  color: #0f2940;
  font-size: 2.85rem;
  line-height: 1.05;
  font-weight: 700;
  font-family: var(--font-display);
}

.pdp-brand {
  margin: 0.65rem 0 0.75rem;
  font-size: 1rem;
  color: #6b7280;
}

.pdp-brand strong {
  color: var(--brand-primary, #EF0100);
  font-weight: 500;
}

.pdp-review-band,
.pdp-price-band {
  padding: 0.9rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.pdp-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0;
}

.pdp-stars {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #d1d5db;
}

.pdp-rating-value {
  color: var(--brand-primary, #EF0100);
  font-weight: 600;
  margin-right: 0.15rem;
}

.pdp-stars i {
  color: inherit;
}

.pdp-rating-count a {
  color: var(--brand-primary, #EF0100);
  text-decoration: none;
  margin-left: 0.2rem;
}

.pdp-review-btn {
  border: 1px solid #d1d5db;
  color: #4b5563;
  background: #fff;
  border-radius: 0.55rem;
  padding: 0.32rem 0.62rem;
  font-size: 0.78rem;
}

.pdp-price {
  margin: 0;
  color: #0f2940;
  font-size: 2.05rem;
  line-height: 1.15;
  font-weight: 700;
}

.pdp-price-note {
  margin: 0.2rem 0 0;
  color: #6b7280;
  font-size: 0.84rem;
}

.pdp-stock-line {
  margin: 0.25rem 0 0;
  color: #2f855a;
  font-weight: 600;
  font-size: 0.93rem;
}

.pdp-stock-line-muted,
.pdp-buy-stock-muted {
  color: #6b7280;
}

.pdp-about {
  padding: 1rem 0;
}

.pdp-about h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #111827;
}

.pdp-about-copy {
  color: #4b5563;
  line-height: 1.55;
  font-size: 1rem;
}

.pdp-specs-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 0.35rem;
  overflow: hidden;
}

.pdp-specs {
  width: 100%;
  border-collapse: collapse;
}

.pdp-specs tr + tr td {
  border-top: 1px solid #e5e7eb;
}

.pdp-specs td {
  padding: 0.72rem 0.88rem;
  font-size: 0.9rem;
}

.pdp-specs td:first-child {
  width: 36%;
  background: #f8fafc;
  color: #4b5563;
  font-weight: 600;
}

.pdp-buy-col {
  padding: 1rem;
  background: #fff;
}

.pdp-buy-box {
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  padding: 1rem;
  background: #fff;
}

.pdp-buy-price {
  color: #0f2940;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pdp-buy-stock {
  margin: 0;
  color: #2f855a;
  font-size: 0.92rem;
  font-weight: 600;
}

.pdp-delivery {
  margin: 0.9rem 0 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.pdp-delivery i {
  color: #6b7280;
}

.pdp-qty-row {
  margin: 0.35rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pdp-qty-row label {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.pdp-qty-row .form-group {
  margin: 0;
}

.pdp-qty-row input,
.pdp-qty-row select {
  width: 74px;
  height: 34px;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  text-align: center;
}

.pdp-add-cart-btn,
.pdp-buy-now-btn {
  display: block;
  width: 100%;
  border-radius: 999px;
  border: 0;
  padding: 0.72rem 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.99rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.pdp-add-cart-btn {
  background: var(--brand-primary, #EF0100);
  color: #fff;
}

.pdp-add-cart-btn:hover {
  background: var(--brand-primary-hover, #cc0000);
}

.pdp-buy-now-btn {
  background: var(--brand-secondary, #139724);
  color: #fff;
}

.pdp-buy-now-btn:hover {
  background: #0f7a1f;
  color: #fff;
}

.pdp-trust {
  border-top: 1px solid #e5e7eb;
  margin-top: 0.55rem;
  padding-top: 0.75rem;
}

.pdp-trust > div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #4b5563;
  font-size: 0.9rem;
  margin: 0.34rem 0;
}

.pdp-trust i {
  color: #2f855a;
}

.pdp-wishlist-share {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.pdp-wishlist-form {
  margin: 0;
}

.pdp-mini-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #4b5563;
  border-radius: 0.72rem;
  padding: 0.48rem 0.55rem;
  font-size: 0.92rem;
}

.pdp-mini-action:hover {
  border-color: #9ca3af;
  color: #111827;
}

.pdp-review-section,
.pdp-reco-section {
  margin-top: 2rem;
  padding-top: 1.55rem;
  border-top: 1px solid #e5e7eb;
}

.pdp-review-head,
.pdp-reco-section h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}

.pdp-review-head h2,
.pdp-reco-section h2 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #111827;
}

.pdp-review-head a {
  color: var(--brand-primary, #EF0100);
  font-size: 0.92rem;
}

.pdp-review-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pdp-review-empty {
  color: #6b7280;
  font-size: 0.95rem;
}

.pdp-reco-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1199px) {
  .pdp-amz-grid {
    grid-template-columns: 1fr;
  }

  .pdp-amz-media,
  .pdp-amz-main {
    border-right: 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .pdp-review-list {
    grid-template-columns: 1fr;
  }

  .pdp-reco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product_page .table {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Modern Product Information Layout */
.product_page .table {
  display: none; /* Hide the original table */
}

.product-info-modern {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem; /* Add spacing after info grid */
}

/* Fix product main title and space */
.product_main {
  padding-left: 2rem;
}

@media (max-width: 767px) {
  .product_main {
    padding-left: 0;
    margin-top: 2rem;
  }
  .product-info-modern {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) {
  .product-info-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-info-modern {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-info-item {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.product-info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.product-info-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-info-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.product-info-value.price {
  color: var(--primary);
  font-size: 1.25rem;
}

.product-info-value.availability {
  color: var(--palm);
}

.product-info-value.reviews {
  color: var(--accent);
}

/* Special styling for important items */
.product-info-item.highlight {
  background: hsla(0, 100%, 47%, 0.1);
  border: 1px solid hsla(0, 100%, 47%, 0.2);
}

.product-info-item.highlight .product-info-label {
  color: var(--primary);
}

.product-info-item.highlight .product-info-value {
  color: var(--primary);
}

.product_page .table th {
  background: var(--secondary);
  font-weight: 600;
  color: var(--foreground);
  border: none;
  padding: 1rem;
}

.product_page .table td {
  padding: 1rem;
  border-color: var(--border);
  vertical-align: middle;
}

/* Basket Page Styles */
.basket-page {
  margin-top: 2rem;
}

.basket-page .content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .basket-page .content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.basket-page .basket-items {
  flex: 1;
  min-width: 0;
}

.basket-page .basket-totals {
  flex: 0 0 350px;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  align-self: flex-start;
  border: 1px solid var(--border);
}

/* =========================
   CART PAGE STYLING
   ========================= */
.cart-page {
  background: var(--background);
  padding-top: 24px;
  min-height: 100vh;
}

.cart-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.cart-page .page-header {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  text-align: center;
}

.cart-page .page-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.cart-summary {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin: 0;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cart-content {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

/* Cart Items Section - Clean Layout */
.cart-items {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 2rem;
}

.cart-items-header {
  background: var(--secondary);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.cart-items-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.cart-items-list {
  padding: 0;
}

.cart-item {
  display: flex !important;
  align-items: center !important;
  gap: 1.5rem !important;
  padding: 2rem !important;
  border-bottom: 1px solid var(--border) !important;
  transition: background 0.3s ease !important;
  grid-template-columns: unset !important;
}

.cart-item:hover {
  background: var(--muted);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-image .no-image {
  width: 100%;
  height: 100%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cart-item-title a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cart-item-title a:hover {
  color: var(--primary);
}

.cart-item-price {
  margin-bottom: 0.5rem;
}

.cart-item-price .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-quantity {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  min-width: 120px;
}

.quantity-form {
  margin: 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qty-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin: 0;
}

.quantity-input {
  width: 60px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 0.5);
  text-align: center;
  font-size: 0.875rem;
  background: var(--background);
  color: var(--foreground);
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.cart-item-actions {
  display: flex;
  justify-content: center;
}

.remove-form {
  margin: 0;
}

.remove-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.remove-link:hover {
  color: hsl(28, 85%, 45%);
  text-decoration: underline;
}

.cart-item-total {
  text-align: right;
  min-width: 100px;
}

.item-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
  }
  
  .cart-item-details {
    text-align: center;
  }
  
  .cart-item-quantity {
    align-items: center;
  }
  
  .quantity-controls {
    justify-content: center;
  }
}

/* Coupon Section */
.coupon-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.coupon-section h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.coupon-form {
  margin: 0;
}

.coupon-toggle {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coupon-toggle:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.coupon-input-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.coupon-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Simple Cart Totals - No Grey Boxes */
.cart-totals-simple {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  align-self: flex-start;
}

.cart-totals-simple h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-align: center;
}

.totals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.total-line-discount {
  padding: 0.45rem 0;
}

.total-line-discount-detail .total-label {
  color: var(--muted-foreground);
  font-size: 0.94rem;
}

.total-label {
  font-weight: 500;
  color: var(--foreground);
  font-size: 1rem;
}

.total-amount {
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

.total-amount-neutral {
  color: var(--foreground);
}

.total-amount-discount {
  color: var(--accent);
}

.total-line-emphasis {
  margin-top: 0.25rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
}

.total-divider {
  border: none;
  border-top: 2px solid var(--border);
  margin: 1rem 0;
}

.final-total {
  padding: 1rem 0;
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
}

.final-total .total-label {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.final-total .total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.checkout-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border);
}

.btn-checkout {
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-checkout:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  color: var(--primary-foreground);
  text-decoration: none;
}

.cart-totals h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Remove all the complex grey box styling */

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.empty-cart-icon {
  margin-bottom: 2rem;
}

.empty-cart-icon svg {
  width: 64px;
  height: 64px;
  color: var(--muted-foreground);
}

.empty-cart h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.empty-cart p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cart-page .container {
    padding: 1rem;
  }
  
  .cart-page .page-header {
    padding: 1.5rem;
  }
  
  .cart-page .page-header h1 {
    font-size: 2rem;
  }
  
  .cart-content {
    gap: 1.5rem;
  }
  
  .cart-items-header {
    padding: 1rem 1.5rem;
  }
  
  .cart-item {
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }
  
  .cart-item-image {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  
  .cart-item-quantity {
    align-items: center;
  }
  
  .cart-item-actions {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  
  .coupon-section,
  .cart-totals {
    padding: 1.5rem;
  }
  
  .coupon-input-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .coupon-input {
    width: 100%;
  }
}

.basket-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.basket-page .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.basket-page .table thead th {
  background: var(--secondary);
  font-weight: 600;
  color: var(--foreground);
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.basket-page .table tbody tr {
  background: var(--background);
  transition: background 0.3s ease;
}

.basket-page .table tbody tr:hover {
  background: var(--muted);
}

.basket-page .table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.basket-page .table tbody tr:last-child td {
  border-bottom: none;
}

.basket-page .product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.basket-page .product-info img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 0.5);
  flex-shrink: 0;
}

.basket-page .product-info a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.basket-page .product-info a:hover {
  text-decoration: underline;
}

.basket-page .stock-info {
  font-size: 0.875rem;
  color: var(--palm);
  margin-top: 0.25rem;
}

.basket-page .quantity-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.basket-page .quantity-input input[type="number"] {
  width: 60px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 0.5);
  text-align: center;
  font-size: 0.875rem;
}

.basket-page .quantity-input button {
  padding: 0.5rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.basket-page .quantity-input button:hover {
  background: var(--sand-dark);
}

.basket-page .price {
  font-weight: 600;
  color: var(--foreground);
  font-size: 1rem;
}

.basket-page .remove-item {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.basket-page .remove-item:hover {
  color: hsl(28, 85%, 45%);
}

/* Totals Section */
.basket-totals .totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.basket-totals .totals-row:last-child {
  border-bottom: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

.basket-totals .totals-label {
  font-weight: 500;
  color: var(--muted-foreground);
}

.basket-totals .totals-value {
  font-weight: 600;
  color: var(--foreground);
}

.basket-totals .order-total .totals-label,
.basket-totals .order-total .totals-value {
  font-size: 1.125rem;
  color: var(--primary);
}

.basket-totals .btn-checkout {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.basket-totals .btn-checkout:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* About Page Styles */
.about-page {
  background: var(--background);
}

.about-hero {
  padding: 4rem 0;
  background: var(--card);
  color: var(--foreground);
  text-align: center;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.about-hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.mission-section {
  padding: 4rem 0;
  background: var(--background);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-card {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
}

.mission-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--palm) 100%);
  color: white;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover .mission-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mission-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.mission-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.story-section {
  padding: 4rem 0;
  background: var(--secondary);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-content {
    grid-template-columns: 1fr 1fr;
  }
}

.story-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.story-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
}

.values-section {
  padding: 4rem 0;
  background: var(--background);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card,
.value-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.55rem 1.4rem 1.5rem;
  border: 1px solid #e9e2d7;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 241, 0.96) 100%);
  box-shadow: 0 16px 36px -30px rgba(26, 41, 54, 0.22);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.value-card:hover,
.value-item:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 142, 135, 0.28);
  box-shadow: 0 22px 40px -30px rgba(26, 41, 54, 0.26);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 0.15rem;
  border: 1px solid rgba(47, 142, 135, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #f6fbfa 0%, #eef7f4 100%);
  color: #1f756f;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.9;
}

.value-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  line-height: 1.22;
}

.value-description {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.65;
}

/* Contact Page Styles */
.contact-page {
  background: var(--background);
}

.contact-hero {
  padding: 4rem 0;
  background: var(--card);
  color: var(--foreground);
  text-align: center;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.contact-hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-hero-description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  padding: 0 0 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.contact-form-title,
.contact-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.contact-form {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

/* Comprehensive form input styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select,
.form-input,
.form-textarea,
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus,
.form-input:focus,
.form-textarea:focus,
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--palm) 100%);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.05);
}

.contact-info-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-info-text {
  color: var(--muted-foreground);
  line-height: 1.5;
}

.faq-section {
  padding: 4rem 0;
  background: var(--secondary);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--muted-foreground);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* =========================
   GENERAL PAGE IMPROVEMENTS
   ========================= */

/* Make all pages have consistent background */
body {
  background: var(--background);
}

/* Improve all content containers */
.content {
  background: var(--background);
}

/* Style all panels and cards consistently */
.panel,
.well,
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.panel:hover,
.well:hover,
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.panel-heading,
.card-header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1rem 1.5rem;
}

.panel-body,
.card-body {
  padding: 1.5rem;
}

/* Improve form styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  background: var(--background);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* Improve table styling */
.table {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table th {
  background: var(--secondary);
  color: var(--foreground);
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table td {
  padding: 1rem;
  border-color: var(--border);
  color: var(--foreground);
}

.table-striped tbody tr:nth-of-type(odd) {
  background: var(--muted);
}

/* Improve alert styling */
.alert {
  border-radius: var(--radius);
  border: none;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.alert-info {
  background: hsla(0, 100%, 47%, 0.1);
  color: var(--primary);
  border-left: 4px solid var(--primary);
}

.alert-success {
  background: hsla(150, 40%, 35%, 0.1);
  color: var(--palm);
  border-left: 4px solid var(--palm);
}

.alert-warning {
  background: hsla(28, 85%, 55%, 0.1);
  color: var(--accent);
  border-left: 4px solid var(--accent);
}

.alert-danger {
  background: hsla(0, 70%, 50%, 0.1);
  color: hsl(0, 70%, 50%);
  border-left: 4px solid hsl(0, 70%, 50%);
}

/* Improve pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination .page-item {
  list-style: none;
}

.pagination .page-link {
  padding: 0.75rem 1rem;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

/* Improve list styling */
.list-group {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.list-group-item {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
  padding: 1rem 1.5rem;
  transition: background 0.3s ease;
}

.list-group-item:hover {
  background: var(--muted);
}

/* Improve badge styling */
.badge {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.badge-success {
  background: var(--palm);
  color: var(--primary-foreground);
}

.badge-warning {
  background: var(--accent);
  color: var(--accent-foreground);
}

/* Improve modal styling */
.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
}

.modal-header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-title {
  font-family: var(--font-display);
  color: var(--foreground);
}

.modal-body {
  background: var(--card);
  color: var(--foreground);
}

.modal-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .page_inner {
    padding: 1rem 0;
  }
  
  .page-header {
    padding: 1.5rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .row.list-unstyled {
    grid-template-columns: 1fr;
  }
  
  .product_page .row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .product_page .col-sm-6:first-child,
  .product_page .col-sm-6:last-child {
    flex: none;
    width: 100%;
  }
}


/* =========================
   ABOUT PAGE STYLING
   ========================= */
.about-page {
  background: var(--background);
  padding-top: 80px;
}

.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  overflow: hidden;
}

.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero .hero-content {
  max-width: 38rem;
  padding: 3.5rem 0 4.75rem;
}

.about-hero .hero-badge {
  background: hsla(40, 33%, 98%, 0.8);
  border: 1px solid hsla(0, 100%, 47%, 0.12);
  box-shadow: 0 14px 30px -24px rgba(36, 45, 55, 0.35);
}

.about-hero .hero-overlay {
  background:
    linear-gradient(90deg, hsla(40, 33%, 98%, 0.97) 0%, hsla(40, 33%, 98%, 0.86) 42%, hsla(40, 33%, 98%, 0.24) 100%),
    linear-gradient(180deg, hsla(40, 33%, 98%, 0.08) 0%, hsla(40, 33%, 98%, 0.32) 100%);
}

.about-hero .hero-description {
  color: hsl(205 18% 37%);
}

.about-hero .hero-bottom-fade {
  height: 96px;
}

@media (max-width: 768px) {
  .about-page {
    padding-top: 70px;
  }

  .about-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 1rem 0 2.25rem;
  }

  .about-hero .hero-bg img {
    object-position: center;
  }

  .about-hero .hero-overlay {
    background:
      linear-gradient(180deg, hsla(40, 33%, 98%, 0.72) 0%, hsla(40, 33%, 98%, 0.5) 24%, hsla(40, 33%, 98%, 0.76) 100%),
      linear-gradient(90deg, hsla(40, 33%, 98%, 0.62) 0%, hsla(40, 33%, 98%, 0.1) 100%);
  }

  .about-hero .hero-content {
    max-width: none;
    margin: 4.25rem 0 3rem;
    padding: 1.5rem 1.25rem;
    text-align: left;
    background: hsla(40, 33%, 98%, 0.64);
    border: 1px solid hsla(38, 25%, 85%, 0.64);
    border-radius: 24px;
    box-shadow: 0 20px 44px -24px rgba(36, 45, 55, 0.32);
    backdrop-filter: blur(10px) saturate(115%);
  }

  .about-hero .hero-badge {
    margin-bottom: 1rem;
    padding: 0.45rem 0.75rem;
    background: hsla(40, 33%, 98%, 0.72);
  }

  .about-hero .hero-title {
    font-size: clamp(2.05rem, 10.5vw, 3rem);
    line-height: 1.03;
    margin-bottom: 1rem;
  }

  .about-hero .hero-description {
    max-width: none;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(205 22% 31%);
  }

  .about-hero .hero-bottom-fade {
    height: 72px;
  }
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

@media (max-width: 768px) {
  .story-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* =========================
   CONTACT PAGE STYLING
   ========================= */
.contact-page {
  background: var(--background);
  padding-top: 80px;
}

.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  overflow: hidden;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero .hero-content {
  max-width: 38rem;
  padding: 3.5rem 0 5rem;
}

.contact-hero .hero-badge {
  background: hsla(40, 33%, 98%, 0.78);
  border: 1px solid hsla(0, 100%, 47%, 0.14);
  box-shadow: 0 14px 30px -24px rgba(36, 45, 55, 0.35);
}

.contact-hero .hero-overlay {
  background:
    linear-gradient(90deg, hsla(40, 33%, 98%, 0.97) 0%, hsla(40, 33%, 98%, 0.88) 46%, hsla(40, 33%, 98%, 0.26) 100%),
    linear-gradient(180deg, hsla(40, 33%, 98%, 0.18) 0%, hsla(40, 33%, 98%, 0.42) 100%);
}

.contact-hero .hero-description {
  color: hsl(205 18% 37%);
}

.contact-hero .hero-bottom-fade {
  height: 96px;
}

@media (max-width: 768px) {
  .contact-page {
    padding-top: 70px;
  }

  .contact-hero {
    min-height: auto;
    align-items: flex-start;
    padding: 1rem 0 2.25rem;
  }

  .contact-hero .hero-bg img {
    object-position: center 35%;
  }

  .contact-hero .hero-overlay {
    background:
      linear-gradient(180deg, hsla(40, 33%, 98%, 0.74) 0%, hsla(40, 33%, 98%, 0.54) 24%, hsla(40, 33%, 98%, 0.78) 100%),
      linear-gradient(90deg, hsla(40, 33%, 98%, 0.64) 0%, hsla(40, 33%, 98%, 0.1) 100%);
  }

  .contact-hero .hero-content {
    max-width: none;
    margin: 4.75rem 0 3.25rem;
    padding: 1.5rem 1.25rem;
    text-align: left;
    background: hsla(40, 33%, 98%, 0.68);
    border: 1px solid hsla(38, 25%, 85%, 0.66);
    border-radius: 24px;
    box-shadow: 0 24px 48px -24px rgba(36, 45, 55, 0.34);
    backdrop-filter: blur(12px) saturate(118%);
  }

  .contact-hero .hero-badge {
    margin-bottom: 1rem;
    padding: 0.45rem 0.75rem;
    background: hsla(40, 33%, 98%, 0.74);
  }

  .contact-hero .hero-title {
    font-size: clamp(2.1rem, 11vw, 3rem);
    line-height: 1.02;
    margin-bottom: 1rem;
  }

  .contact-hero .hero-title .highlight {
    margin-top: 0.15rem;
  }

  .contact-hero .hero-description {
    max-width: none;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: hsl(205 22% 30%);
  }

  .contact-hero .hero-bottom-fade {
    height: 72px;
  }
}

.contact-content {
  padding: 5rem 0;
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-form-wrapper,
.contact-info-wrapper {
  background: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.contact-form-header,
.contact-info-header {
  margin-bottom: 2rem;
}

.contact-form-header h2,
.contact-info-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-form-header p,
.contact-info-header p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
  background: var(--card);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--background);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--palm) 100%);
  color: white;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  transform: scale(1.1);
}

.contact-info-icon svg {
  width: 28px;
  height: 28px;
}

.contact-info-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info-text {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0 8rem;
  background: hsla(0, 100%, 47%, 0.05);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.faq-answer {
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: var(--primary);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: hsla(40, 33%, 98%, 0.9);
  margin-bottom: 2rem;
}

.cta-content .btn-hero {
  background: var(--accent);
  color: var(--accent-foreground);
}

.cta-content .btn-hero:hover {
  background: hsl(136, 75%, 18%);
}

@media (max-width: 768px) {
  .section-header {
    max-width: none;
    margin-bottom: 2.4rem;
    text-align: left;
  }

  .section-title {
    font-size: 1.95rem;
    margin-top: 0.65rem;
  }

  .section-description {
    font-size: 1rem;
    line-height: 1.68;
  }

  .categories,
  .features,
  .testimonials,
  .newsletter,
  .mission-section,
  .story-section,
  .values-section {
    padding: 3.5rem 0 4rem;
  }

  .categories-grid,
  .features-grid,
  .testimonials-grid,
  .mission-grid,
  .values-grid {
    gap: 1rem;
  }

  .category-card,
  .testimonial-card,
  .mission-card,
  .value-card,
  .story-image img {
    border-radius: 22px;
  }

  .feature-card {
    padding: 1.45rem 1.25rem;
    border: 1px solid #e9e2d7;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 248, 241, 0.96) 100%);
    box-shadow: 0 16px 34px -30px rgba(26, 41, 54, 0.22);
  }

  .testimonial-card {
    padding: 1.45rem 1.25rem;
  }

  .testimonial-quote-icon {
    width: 34px;
    height: 34px;
    top: 1.2rem;
    right: 1.2rem;
  }

  .mission-card {
    padding: 1.45rem 1.25rem;
    text-align: left;
    border: 1px solid #e9e2d7;
    box-shadow: 0 16px 34px -30px rgba(26, 41, 54, 0.22);
  }

  .mission-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .mission-title {
    font-size: 1.15rem;
  }

  .mission-description {
    font-size: 0.95rem;
  }

  .story-content {
    gap: 1.5rem;
  }

  .story-text {
    padding: 1.4rem 1.25rem;
    border: 1px solid #e9e2d7;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 241, 0.96) 100%);
    box-shadow: 0 16px 34px -30px rgba(26, 41, 54, 0.22);
  }

  .story-title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

  .story-description {
    margin-bottom: 1rem;
  }

  .story-image img {
    min-height: 280px;
    object-fit: cover;
  }

  .stat {
    padding: 1rem 0.85rem;
    border: 1px solid #e6ddcf;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 30px -28px rgba(26, 41, 54, 0.18);
  }

  .value-card {
    padding: 1.35rem 1.2rem;
  }

  .newsletter-content {
    padding: 1.75rem 1.35rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, hsla(175, 50%, 32%, 0.78) 0%, hsla(175, 50%, 28%, 0.88) 100%);
    box-shadow: 0 20px 44px -30px rgba(19, 37, 45, 0.35);
  }

  .newsletter-description {
    font-size: 1rem;
    line-height: 1.65;
  }

  .newsletter-form {
    max-width: none;
  }

  .newsletter-input,
  .newsletter-form .btn {
    width: 100%;
  }

  .contact-content {
    padding: 3rem 0 4rem;
  }

  .contact-form-wrapper,
  .contact-info-wrapper {
    padding: 1.4rem;
    border-radius: 22px;
  }

  .contact-form-header,
  .contact-info-header {
    margin-bottom: 1.25rem;
  }

  .contact-form-header h2,
  .contact-info-header h2 {
    font-size: 1.5rem;
  }

  .contact-form-header p,
  .contact-info-header p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-input,
  .form-textarea {
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 0.95rem 1.2rem;
  }

  .contact-info-grid {
    gap: 1rem;
  }

  .contact-info-card {
    gap: 1rem;
    padding: 1rem;
    align-items: flex-start;
  }

  .contact-info-icon {
    width: 48px;
    height: 48px;
  }

  .contact-info-icon svg {
    width: 24px;
    height: 24px;
  }

  .contact-info-text {
    font-size: 0.92rem;
  }

  .faq-section {
    padding: 4rem 0 4.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .faq-card {
    padding: 1.35rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .cta-content h2 {
    font-size: 1.75rem;
  }

  .cta-content p {
    font-size: 1rem;
  }
}


/* =========================
   OVERRIDE THEME.CSS CONFLICTS
   ========================= */

/* Ensure product pod styling is consistent */
.product_pod {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
  padding: 1.5rem !important;
  transition: all 0.3s ease !important;
}

.product_pod:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-elevated) !important;
  border-color: var(--primary) !important;
}

.product_pod h3,
.product_pod .caption h3 {
  color: var(--foreground) !important;
  font-family: var(--font-display) !important;
}

.product_pod .price_color {
  color: var(--primary) !important;
}

/* Ensure side categories styling */
.side_categories {
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
  padding: 1.5rem !important;
}

.side_categories h4 {
  color: var(--foreground) !important;
  font-family: var(--font-display) !important;
  border-bottom: 2px solid var(--border) !important;
  padding-bottom: 0.5rem !important;
}

.side_categories a {
  color: var(--muted-foreground) !important;
}

.side_categories a:hover {
  color: var(--primary) !important;
}

.side_categories strong {
  color: var(--primary) !important;
}

/* Browsing summary */
.browsing-summary {
  background: var(--card) !important;
  padding: 1.5rem !important;
  border-radius: var(--radius) !important;
  margin-bottom: 2rem !important;
  box-shadow: var(--shadow-soft) !important;
  border: 1px solid var(--border) !important;
}

.browsing-summary strong {
  color: var(--primary) !important;
}

/* Product grid */
.row.list-unstyled {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.row.list-unstyled li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pagination */
.pagination {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin: 2rem 0 !important;
}

.pagination .page-link {
  background: var(--card) !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
}

.pagination .page-link:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}

.pagination .page-item.active .page-link {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-color: var(--primary) !important;
}

/* Ensure buttons use correct colors */
.btn-primary,
.btn-add-to-basket,
.product_pod .btn {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border: none !important;
}

.btn-primary:hover,
.btn-add-to-basket:hover,
.product_pod .btn:hover {
  background: var(--primary-hover) !important;
  color: var(--primary-foreground) !important;
}


/* =========================
   SHOP PAGE POLISH & REFINEMENT
   ========================= */

/* Page header styling */
.page-header {
  background: linear-gradient(135deg, var(--card) 0%, hsla(0, 100%, 47%, 0.05) 100%) !important;
  border: 1px solid var(--border) !important;
  padding: 2.5rem !important;
  margin-bottom: 2rem !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-soft) !important;
}

.page-header h1 {
  font-family: var(--font-display) !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: var(--foreground) !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent !important;
  padding: 1rem 0 !important;
  margin-bottom: 1.5rem !important;
}

.breadcrumb-item {
  color: var(--muted-foreground) !important;
  font-size: 0.95rem !important;
}

.breadcrumb-item a {
  color: var(--primary) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.breadcrumb-item a:hover {
  color: var(--primary-hover) !important;
}

.breadcrumb-item.active {
  color: var(--foreground) !important;
  font-weight: 500 !important;
}

/* Sidebar improvements */
.col-md-3 {
  position: sticky !important;
  top: 120px !important;
  align-self: flex-start !important;
}

.side_categories {
  margin-bottom: 1.5rem !important;
}

.side_categories h4 {
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 1rem !important;
}

.side_categories .nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.side_categories .nav-link {
  padding: 0.5rem 0 !important;
  color: var(--muted-foreground) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border-left: 3px solid transparent !important;
  padding-left: 0.75rem !important;
}

.side_categories .nav-link:hover {
  color: var(--primary) !important;
  border-left-color: var(--primary) !important;
  background: hsla(0, 100%, 47%, 0.05) !important;
}

.side_categories .nav-link strong {
  color: var(--primary) !important;
  font-weight: 600 !important;
  border-left-color: var(--primary) !important;
}

/* Main content area */
.col-md-9 {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
}

.content {
  background: transparent !important;
}

/* Browsing summary improvements */
.browsing-summary {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  background: var(--card) !important;
  padding: 1.5rem !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
}

.browsing-summary strong {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.browsing-summary .float-right {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.browsing-summary select {
  padding: 0.5rem 1rem !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--background) !important;
  color: var(--foreground) !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
}

/* Product grid container */
.row.list-unstyled {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1200px) {
  .row.list-unstyled {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .row.list-unstyled {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .row.list-unstyled {
    grid-template-columns: 1fr !important;
  }
}

/* Product card improvements */
.product_pod {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 1rem !important;
  box-shadow: var(--shadow-soft) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
}

.product_pod:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-elevated) !important;
  border-color: var(--primary) !important;
}

.product_pod img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: calc(var(--radius) * 0.75) !important;
  margin-bottom: 1rem !important;
}

.product_pod .caption {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.product_pod h3 {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--foreground) !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.3 !important;
  min-height: 2.6em !important;
}

.product_pod .star-rating {
  margin-bottom: 0.75rem !important;
  font-size: 0.9rem !important;
}

.product_pod .price_color {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-bottom: 0.75rem !important;
}

.product_pod .availability {
  font-size: 0.85rem !important;
  color: var(--palm) !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.product_pod .btn {
  margin-top: auto !important;
  width: 100% !important;
  padding: 0.75rem 1rem !important;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.product_pod .btn:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Pagination improvements */
.pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 3rem 0 !important;
  flex-wrap: wrap !important;
}

.pagination .page-item {
  list-style: none !important;
}

.pagination .page-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0.5rem 0.75rem !important;
  background: var(--card) !important;
  color: var(--foreground) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  font-weight: 500 !important;
}

.pagination .page-link:hover {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px) !important;
}

.pagination .page-item.active .page-link {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  border-color: var(--primary) !important;
}

.pagination .page-item.disabled .page-link {
  color: var(--muted-foreground) !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

/* Empty state */
.nonefound {
  background: var(--card) !important;
  padding: 3rem !important;
  border-radius: var(--radius) !important;
  text-align: center !important;
  color: var(--muted-foreground) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 1.75rem !important;
  }

  .col-md-3 {
    position: static !important;
    margin-bottom: 2rem !important;
  }

  .browsing-summary {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .browsing-summary .float-right {
    width: 100% !important;
    justify-content: space-between !important;
  }
}


/* =========================
   PAGE CONTAINER SPACING FIX
   ========================= */

/* Add margin to page container */
.page {
  margin: 0 auto !important;
  padding: 2rem 0 !important;
  max-width: 1280px !important;
}

.page_inner {
  padding: 0 2rem !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .page_inner {
    padding: 0 1rem !important;
  }
}

/* Promo voucher cards shown near coupon input. */
.promo-vouchers {
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid #e5ddcf;
  border-radius: 14px;
  background: linear-gradient(160deg, #fcfcfc 0%, #f6fbf8 100%);
}

.promo-vouchers-title {
  margin: 0 0 0.45rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: #314757;
}

.promo-vouchers-hint {
  margin: 0 0 0.65rem;
  color: #5d6d79;
  font-size: 0.8rem;
  line-height: 1.45;
}

.promo-vouchers-list {
  display: grid;
  gap: 0.55rem;
}

.promo-voucher-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.promo-voucher-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.22rem 0.48rem;
  border-radius: 8px;
  border: 1px solid #d3c8b7;
  background: #fff;
  color: #31506b;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.promo-voucher-copy {
  margin: 0;
  color: #4b5d69;
  font-size: 0.83rem;
  line-height: 1.4;
}

.promo-voucher-copy strong {
  color: #1f3646;
}

.promo-voucher-expiry {
  display: block;
  margin-top: 0.16rem;
  color: #7b6d5e;
  font-size: 0.76rem;
}

/* Keep fixed-header pages clear of navbar on all viewports. */
.page.with-header-padding,
.with-header-padding {
  padding-top: calc(var(--uniform-header-height, 74px) + 0.75rem) !important;
}

/* Fix browsing summary layout */
.browsing-summary {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: flex-start !important;
  gap: 1.5rem !important;
  background: var(--card) !important;
  padding: 1.5rem !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-soft) !important;
}

.browsing-summary > p:first-child {
  grid-column: 1 !important;
  margin: 0 !important;
  align-self: center !important;
}

.browsing-summary .float-right {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  justify-self: end !important;
  margin-left: auto !important;
}

.browsing-summary .float-right label {
  margin: 0 !important;
  font-weight: 500 !important;
  color: var(--foreground) !important;
  white-space: nowrap !important;
}

.browsing-summary select {
  padding: 0.5rem 1rem !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--background) !important;
  color: var(--foreground) !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  min-width: 150px !important;
}

@media (max-width: 768px) {
  .browsing-summary {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .browsing-summary > p:first-child {
    grid-column: 1 !important;
  }

  .browsing-summary .float-right {
    grid-column: 1 !important;
    justify-self: start !important;
    margin-left: 0 !important;
  }
}


/* =========================
   ACTIVE NAV LINK STYLING
   ========================= */

/* Desktop nav active state */
.nav-link.active {
  color: var(--primary) !important;
  background: hsla(0, 100%, 47%, 0.1) !important;
  font-weight: 600 !important;
}

.nav-link.active:hover {
  background: hsla(0, 100%, 47%, 0.15) !important;
}

/* Mobile nav active state */
.mobile-nav-link.active {
  color: var(--primary) !important;
  font-weight: 600 !important;
  background: linear-gradient(90deg, hsla(0, 100%, 47%, 0.12) 0%, hsla(0, 100%, 47%, 0.05) 100%) !important;
  padding-left: 1rem !important;
  border-left: 0 !important;
  box-shadow: inset 0 0 0 1px hsla(0, 100%, 47%, 0.16) !important;
}

/* =========================
   CART PAGE STYLING
   ========================= */
.cart-page {
  background: var(--background);
  min-height: 100vh;
  padding-top: 24px;
}

.cart-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.cart-page .page-header {
  background: linear-gradient(135deg, var(--card) 0%, hsla(0, 100%, 47%, 0.05) 100%);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cart-page .page-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.cart-summary {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin: 0;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .cart-content {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

/* Remove all conflicting cart styles - they are defined earlier in the file */

/* Coupon Section */
.coupon-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.coupon-section h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 1rem 0;
}

.coupon-form {
  margin: 0;
}

.coupon-toggle {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.coupon-toggle:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.coupon-input-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  align-items: center;
}

.coupon-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-size: 0.95rem;
}

.coupon-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Cart Totals */
.cart-totals {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  overflow: hidden;
  align-self: flex-start;
}

.cart-totals h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
  padding: 1.5rem 2rem;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.totals-section {
  padding: 1.5rem 2rem;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.totals-row:last-child {
  border-bottom: none;
}

.shipping-row {
  background: hsla(0, 100%, 47%, 0.05);
  margin: 0 -2rem;
  padding: 0.75rem 2rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--primary);
}

.order-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  background: hsla(0, 100%, 47%, 0.05);
  margin-left: -2rem;
  margin-right: -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.totals-label {
  font-weight: 500;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.totals-value {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.95rem;
}

.order-total .totals-label,
.order-total .totals-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.checkout-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.btn-checkout {
  width: 100%;
  padding: 1rem 2rem;
  background: #007bff;
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.05em;
}

.btn-checkout:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  color: white;
}

/* Empty Cart */
.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.empty-cart-icon {
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  opacity: 0.5;
}

.empty-cart h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.empty-cart p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .cart-page .container {
    padding: 1rem;
  }

  .cart-page .page-header {
    padding: 1.5rem;
  }

  .cart-page .page-header h1 {
    font-size: 2rem;
  }

  .cart-content {
    gap: 1.5rem;
  }

  .cart-items-header,
  .totals-section {
    padding: 1rem 1.5rem;
  }

  .cart-item {
    padding: 1rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: left;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }

  .cart-item-quantity,
  .cart-item-actions {
    align-items: flex-start;
  }

  .quantity-controls {
    justify-content: center;
  }

  .cart-item-total {
    text-align: center;
  }

  .coupon-section {
    padding: 1rem 1.5rem;
  }

  .coupon-input-group {
    flex-direction: column;
    gap: 1rem;
  }

  .coupon-input {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .cart-page .page-header h1 {
    font-size: 1.75rem;
  }

  .cart-summary {
    font-size: 1rem;
  }

  .cart-items-header h2 {
    font-size: 1.125rem;
  }

  .cart-item-title a {
    font-size: 1rem;
  }

  .cart-item-price .price {
    font-size: 1.125rem;
  }

  .item-total {
    font-size: 1.125rem;
  }
}

/* Refined catalogue product detail layout */
.pdp-amz-page {
  background: #fff;
  max-width: none;
  padding: 0 1rem 3rem;
}

.pdp-amz-page .pdp-amz-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1rem 0 0;
}

.pdp-amz-page .pdp-amz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.98fr) 308px;
  gap: 0;
  align-items: start;
  border-top: 1px solid #eee7dc;
}

.pdp-amz-page .pdp-amz-media,
.pdp-amz-page .pdp-amz-main {
  background: transparent;
  position: relative;
  padding: 1.9rem 2rem 1.55rem;
  border-radius: 0;
  box-shadow: none;
}

.pdp-amz-page .pdp-amz-media {
  border-right: 1px solid #f0ebe3;
}

.pdp-amz-page .pdp-amz-main {
  border-right: 1px solid #f0ebe3;
}

.pdp-amz-page .pdp-amz-media-inner {
  border: 0;
  border-radius: 0;
  padding: 0;
}

.pdp-amz-page .pdp-amz-media #product_gallery .img-thumbnail {
  border: 0;
  border-radius: 16px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #ece4d8;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-inner {
  border-radius: 16px;
  overflow: hidden;
}

.pdp-amz-page .pdp-amz-media #product_gallery img {
  width: 100%;
  max-height: 620px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators {
  position: static;
  display: flex;
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  background: transparent;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators::-webkit-scrollbar {
  display: none;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators li {
  width: 74px;
  height: 74px;
  margin: 0;
  text-indent: 0;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  opacity: 1;
  flex: 0 0 74px;
  float: none;
  scroll-snap-align: start;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators li.active {
  border-color: var(--brand-primary, #EF0100);
  box-shadow: 0 0 0 2px rgba(43, 143, 137, 0.18);
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-control-prev,
.pdp-amz-page .pdp-amz-media #product_gallery .carousel-control-next {
  width: 38px;
  height: 38px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px -20px rgba(16, 38, 60, 0.4);
  opacity: 1;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-control-prev {
  left: 1rem;
}

.pdp-amz-page .pdp-amz-media #product_gallery .carousel-control-next {
  right: 1rem;
}

.pdp-amz-page .pdp-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: absolute;
  top: 1.55rem;
  right: 2rem;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border: 1px solid #ebe5dc;
  border-radius: 999px;
  color: #6a7280;
  background: rgba(255, 255, 255, 0.96);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  opacity: 0.82;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pdp-amz-page .pdp-admin-link:hover {
  opacity: 1;
  color: #0d2a42;
  border-color: #d8dede;
}

.pdp-amz-page .pdp-title {
  margin: 0 0 0.7rem;
  color: #0d2a42;
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 2.15vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 16ch;
}

.pdp-amz-page .pdp-brand {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  color: #2f6f88;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.pdp-amz-page .pdp-brand strong {
  color: #2f6f88;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.pdp-amz-page .pdp-rating {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #ebe5dc;
}

.pdp-amz-page .pdp-rating-empty {
  padding-bottom: 0;
  border-bottom: 0;
}

.pdp-amz-page .pdp-rating-text,
.pdp-amz-page .pdp-rating-count {
  color: #236d8a;
  font-size: 1rem;
}

.pdp-amz-page .pdp-rating-text {
  font-weight: 600;
}

.pdp-amz-page .pdp-stars {
  display: inline-flex;
  gap: 0.15rem;
}

.pdp-amz-page .pdp-stars i {
  color: inherit;
  font-size: 1rem;
}

.pdp-amz-page .pdp-main-pricing {
  margin-bottom: 0.35rem;
}

.pdp-amz-page .pdp-main-price,
.pdp-amz-page .pdp-buy-price {
  color: #0d2a42;
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pdp-amz-page .pdp-main-price::first-letter,
.pdp-amz-page .pdp-buy-price::first-letter {
  font-size: 0.45em;
  font-weight: 600;
  position: relative;
  top: -0.32em;
  margin-right: 0.08em;
}

.pdp-amz-page .pdp-tax-info {
  color: #68707c;
  font-size: 0.92rem;
}

.pdp-amz-page .pdp-main-stock,
.pdp-amz-page .pdp-buy-stock {
  color: #237443;
  font-size: 1rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-main-stock {
  margin: 0.48rem 0 0;
}

.pdp-amz-page .pdp-main-stock.is-unavailable {
  color: #b54747;
}

.pdp-amz-page .pdp-section-title {
  margin: 0 0 0.85rem;
  color: #11283c;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-about-section,
.pdp-amz-page .pdp-info-section,
.pdp-amz-page .pdp-variant-section {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid #ebe5dc;
  background: transparent;
  border-radius: 0;
}

.pdp-amz-page .pdp-about-content {
  max-width: 42ch;
  color: #5c6d7b;
  font-size: 0.98rem;
  line-height: 1.62;
}

.pdp-amz-page .pdp-about-content p:last-child {
  margin-bottom: 0;
}

.pdp-amz-page .pdp-about-content ul {
  margin: 0.85rem 0 0;
  padding-left: 1.25rem;
}

.pdp-amz-page .pdp-offers-list {
  display: grid;
  gap: 0.7rem;
}

.pdp-amz-page .pdp-offer-row {
  padding: 0.82rem 0.9rem;
  border: 1px solid #d9e2ea;
  border-radius: 12px;
  background: #fff;
}

.pdp-amz-page .pdp-offer-row-head,
.pdp-amz-page .pdp-offer-row-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.pdp-amz-page .pdp-offer-row-head {
  margin-bottom: 0.3rem;
}

.pdp-amz-page .pdp-offer-row-seller {
  color: #143048;
  font-size: 0.95rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-offer-row-label {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #eef4f9;
  color: #365a73;
  font-size: 0.74rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-offer-row-price {
  color: #0d2a42;
  font-size: 0.95rem;
  font-weight: 700;
}

.pdp-amz-page .pdp-offer-row-stock {
  color: #237443;
  font-size: 0.82rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-offer-row-stock.is-out {
  color: #b54747;
}

.pdp-amz-page .pdp-offer-row.is-unavailable {
  background: #f8fafc;
}

.pdp-amz-page .pdp-offers-empty {
  margin: 0;
  padding: 0.82rem 0.9rem;
  border: 1px dashed #d9e2ea;
  border-radius: 12px;
  background: #fbfcfd;
  color: #4f6070;
  font-size: 0.92rem;
}

.pdp-amz-page .pdp-variant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pdp-amz-page .pdp-variant-links a,
.pdp-amz-page .pdp-variant-links span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1px solid #d6dde5;
  border-radius: 999px;
  background: #fff;
  color: #236d8a;
  font-size: 0.92rem;
}

.pdp-amz-page .pdp-product-details {
  margin: 0;
  overflow: hidden;
  border: 1px solid #ebe5dc;
  border-radius: 12px;
  background: #fff;
}

.pdp-amz-page .pdp-details-table {
  width: 100%;
  border-collapse: collapse;
}

.pdp-amz-page .pdp-details-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #efe9e0;
  font-size: 0.93rem;
  vertical-align: top;
}

.pdp-amz-page .pdp-details-table tr:last-child td {
  border-bottom: 0;
}

.pdp-amz-page .pdp-details-label {
  width: 37%;
  background: #f7f7f5;
  color: #536373;
  font-weight: 600;
}

.pdp-amz-page .pdp-details-value {
  color: #1d3448;
}

.pdp-amz-page .pdp-amz-sidebar {
  position: sticky;
  top: 1rem;
  height: fit-content;
  padding: 1.35rem 0 0 1.45rem;
  border: 0;
  background: transparent;
}

.pdp-amz-page .pdp-sidebar-card {
  padding: 1.3rem 1.2rem;
  border: 1px solid #ece4d8;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.pdp-amz-page .pdp-buy-stock {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.85rem 0 0.7rem;
}

.pdp-amz-page .pdp-delivery-info {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: #5c6570;
  font-size: 0.92rem;
}

.pdp-amz-page .pdp-delivery-info i {
  color: #6b7280;
  margin-top: 0.15rem;
}

.pdp-amz-page .pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.45rem;
}

.pdp-amz-page .pdp-qty-row label {
  margin: 0;
  color: #4f5f6e;
  font-size: 0.92rem;
}

.pdp-amz-page .pdp-qty-selector {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d6dde5;
  border-radius: 999px;
  background: #fff;
}

.pdp-amz-page .pdp-qty-btn {
  width: 38px;
  height: 36px;
  background: #fff;
  border: 0;
  color: #435768;
  font-size: 1.05rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.pdp-amz-page .pdp-qty-btn:hover {
  background: #f5f7f9;
  color: #0d2a42;
}

.pdp-amz-page .pdp-qty-minus {
  border-right: 1px solid #d6dde5;
}

.pdp-amz-page .pdp-qty-plus {
  border-left: 1px solid #d6dde5;
}

.pdp-amz-page .pdp-qty-row input[type="number"] {
  width: 50px;
  height: 36px;
  border: 0;
  background: #fff;
  color: #0d2a42;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: center;
}

.pdp-amz-page .pdp-add-form {
  margin: 0;
}

.pdp-amz-page .pdp-offer-picker {
  margin: 0 0 1rem;
  padding: 0.9rem;
  border: 1px solid #dfe7ee;
  border-radius: 14px;
  background: #f8fbfd;
}

.pdp-amz-page .pdp-offer-title {
  display: block;
  margin: 0 0 0.65rem;
  color: #1d3448;
  font-size: 0.95rem;
  font-weight: 700;
}

.pdp-amz-page .pdp-offer-list {
  display: grid;
  gap: 0.55rem;
}

.pdp-amz-page .pdp-offer-option {
  position: relative;
}

.pdp-amz-page .pdp-offer-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pdp-amz-page .pdp-offer-label {
  display: block;
  margin: 0;
  padding: 0.72rem 0.8rem;
  border: 1px solid #d5dee6;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pdp-amz-page .pdp-offer-label:hover {
  border-color: #bcc9d6;
}

.pdp-amz-page .pdp-offer-radio:checked + .pdp-offer-label {
  border-color: var(--brand-primary, #EF0100);
  background: #f0fbfa;
  box-shadow: 0 0 0 2px rgba(43, 143, 137, 0.14);
}

.pdp-amz-page .pdp-offer-radio:focus-visible + .pdp-offer-label {
  outline: 2px solid var(--brand-primary, #EF0100);
  outline-offset: 2px;
}

.pdp-amz-page .pdp-offer-top,
.pdp-amz-page .pdp-offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.pdp-amz-page .pdp-offer-top {
  margin-bottom: 0.28rem;
}

.pdp-amz-page .pdp-offer-seller {
  color: #1d3448;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.25;
}

.pdp-amz-page .pdp-offer-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #edf4fa;
  color: #3d5f79;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.pdp-amz-page .pdp-offer-price {
  color: #0d2a42;
  font-size: 0.95rem;
  font-weight: 700;
}

.pdp-amz-page .pdp-offer-stock {
  color: #237443;
  font-size: 0.8rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-offer-stock.is-out {
  color: #b54747;
}

.pdp-amz-page .pdp-offer-option.is-disabled .pdp-offer-label {
  background: #f6f8fa;
  opacity: 0.7;
  cursor: not-allowed;
}

.pdp-amz-page .pdp-add-cart-btn,
.pdp-amz-page .pdp-buy-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.88rem 1rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.pdp-amz-page .pdp-add-cart-btn {
  background: var(--brand-primary, #EF0100);
  color: #fff;
  margin-bottom: 0.75rem;
}

.pdp-amz-page .pdp-add-cart-btn:hover {
  background: var(--brand-primary-hover, #cc0000);
  color: #fff;
}

.pdp-amz-page .pdp-buy-now-btn {
  background: var(--brand-secondary, #139724);
  color: #fff;
  margin-bottom: 0.9rem;
}

.pdp-amz-page .pdp-buy-now-btn:hover {
  background: #0f7a1f;
  color: #fff;
}

.pdp-amz-page .pdp-security-info {
  margin-top: 0.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid #efe9e0;
}

.pdp-amz-page .pdp-security-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: #5c6570;
  font-size: 0.92rem;
}

.pdp-amz-page .pdp-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid #efe9e0;
}

.pdp-amz-page .pdp-mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid #d8e0e6;
  border-radius: 13px;
  background: #fff;
  color: #435768;
  font-size: 0.93rem;
  font-weight: 500;
}

.pdp-amz-page .pdp-mini-action:hover {
  background: #f8fafb;
  color: #0d2a42;
}

.pdp-amz-page .pdp-wishlist-form {
  margin: 0;
}

.pdp-amz-page .pdp-mini-action-active {
  border-color: rgba(242, 140, 40, 0.35);
  background: rgba(242, 140, 40, 0.08);
  color: #b85d07;
}

.pdp-amz-page .pdp-mini-action-active:hover {
  background: rgba(242, 140, 40, 0.12);
  color: #9a4d05;
}

.pdp-amz-page .recently-viewed-section {
  margin-top: 0.65rem;
}

.pdp-amz-page .sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #e9e1d5;
}

.pdp-amz-page .sub-header h2 {
  margin: 0;
  color: #13283c;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pdp-amz-page .pdp-no-reviews {
  margin: 0 0 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid #ece4d8;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 241, 0.94) 100%);
  color: #4a5e6f;
  line-height: 1.65;
}

.pdp-amz-page .pdp-no-reviews a {
  color: #1f756f;
  font-weight: 600;
  text-decoration: none;
}

.pdp-amz-page .pdp-no-reviews a:hover {
  text-decoration: underline;
}

.pdp-amz-page .recently-viewed-grid {
  margin-top: 0.2rem;
}

.pdp-amz-page .recently-viewed-grid .shop-page-card {
  display: flex;
}

.pdp-amz-page .recently-viewed-grid .shop-card {
  min-height: 100%;
}

@media (max-width: 1199px) {
  .pdp-amz-page .pdp-amz-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    border-top: 0;
  }

  .pdp-amz-page .pdp-amz-media,
  .pdp-amz-page .pdp-amz-main {
    padding: 1.6rem 1.45rem;
    border: 1px solid #eee7dc;
    border-radius: 16px;
  }

  .pdp-amz-page .pdp-amz-sidebar {
    grid-column: 1 / -1;
    position: static;
    padding: 0;
  }
}

@media (max-width: 899px) {
  .pdp-amz-page {
    padding: 0 0.75rem 2rem;
  }

  .pdp-amz-page .pdp-amz-wrap {
    padding-top: 0.75rem;
  }

  .pdp-amz-page .pdp-amz-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pdp-amz-page .pdp-amz-media,
  .pdp-amz-page .pdp-amz-main {
    padding: 1.25rem;
  }

  .pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators {
    gap: 0.55rem;
    padding: 0 0.2rem 0.35rem;
    scroll-padding-inline: 0.2rem;
  }

  .pdp-amz-page .pdp-amz-media #product_gallery .carousel-indicators li {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 12px;
  }

  .pdp-amz-page .pdp-title {
    font-size: 1.68rem;
    max-width: none;
  }

  .pdp-amz-page .pdp-main-price,
  .pdp-amz-page .pdp-buy-price {
    font-size: 1.62rem;
  }

  .pdp-amz-page .pdp-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .pdp-amz-page .pdp-amz-media #product_gallery img {
    border-radius: 14px;
  }

  .pdp-amz-page .pdp-amz-media #product_gallery .img-thumbnail {
    border-radius: 14px;
  }

  .pdp-amz-page .pdp-qty-row {
    flex-wrap: wrap;
  }

  .pdp-amz-page .pdp-offer-top,
  .pdp-amz-page .pdp-offer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdp-amz-page .pdp-offer-badge {
    white-space: normal;
  }

  .pdp-amz-page .pdp-offer-row-head,
  .pdp-amz-page .pdp-offer-row-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdp-amz-page .pdp-details-table td {
    display: block;
    width: 100%;
  }

  .pdp-amz-page .pdp-details-label {
    border-bottom: 0;
  }
}

/* Shop browse page */
.shop-browse-body .page.with-header-padding {
  max-width: 1480px !important;
}

.shop-browse-body .page_inner {
  padding-top: 0.75rem;
}

.shop-browse-page {
  padding-bottom: 2rem;
}

.shop-browse-page .shop-browse-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.shop-browse-page .shop-browse-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.shop-browse-page .shop-browse-kicker {
  color: #8b6b4e;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-browse-page .shop-browse-summary p {
  margin: 0;
  color: #425466;
  font-size: 1rem;
}

.shop-browse-page .shop-browse-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.shop-browse-page .shop-browse-sort label {
  margin: 0;
  color: #425466;
  font-size: 0.92rem;
}

.shop-browse-page .shop-browse-sort select {
  min-width: 190px;
  height: 46px;
  padding: 0.65rem 2.9rem 0.65rem 1rem;
  border: 1px solid #dcd6ce;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23203547' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  color: #203547;
  font-size: 0.95rem;
  line-height: 1.2;
  box-sizing: border-box;
}

.shop-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.shop-page-card {
  min-width: 0;
}

.shop-page-grid .shop-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid #ddd5cb;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(255, 253, 249, 0.92) 100%);
  box-shadow: 0 18px 42px -38px rgba(36, 45, 55, 0.28);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.shop-page-grid .shop-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 142, 135, 0.46);
  box-shadow: 0 22px 46px -36px rgba(36, 45, 55, 0.32);
}

.shop-page-grid .shop-card:focus-visible {
  outline: 2px solid rgba(47, 142, 135, 0.45);
  outline-offset: 3px;
}

.shop-page-grid .shop-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 1.12 / 0.92;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff9f2 0%, #fffdf9 100%);
}

.shop-page-grid .shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.shop-page-grid .shop-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.95rem;
}

.shop-page-grid .shop-card-title {
  width: 100%;
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.28;
  font-weight: 600;
  text-align: center;
}

.shop-page-grid .shop-card-title a {
  position: relative;
  display: -webkit-box;
  overflow: hidden;
  padding-bottom: 0.36rem;
  color: #1d3244;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.shop-page-grid .shop-card-title a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(82%, 8.75rem);
  height: 1px;
  border-radius: 999px;
  background: rgba(47, 142, 135, 0.76);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center center;
  opacity: 0;
  transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.shop-page-grid .shop-card-title a:hover {
  color: #1d3244;
}

.shop-page-grid .shop-card:hover .shop-card-title a::after,
.shop-page-grid .shop-card:focus-visible .shop-card-title a::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}

.shop-page-grid .shop-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.shop-page-grid .shop-card-rating .star-rating {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.shop-page-grid .shop-card-rating .star-rating i {
  font-size: 0.96rem;
}

.shop-page-grid .shop-card-rating-count {
  color: #738596;
  font-size: 0.95rem;
}

.shop-page-grid .shop-card-rating-empty {
  color: #738596;
  font-size: 0.95rem;
}

.shop-page-grid .shop-card-price {
  display: inline-block;
  align-self: stretch;
  margin: 0 0 0.65rem;
  padding: 0 0 0.75rem;
  min-width: 100%;
  border-bottom: 1px solid rgba(199, 211, 220, 0.55);
  color: #2d8f87;
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.shop-page-grid .shop-card-price::first-letter {
  font-size: 0.72em;
  font-weight: 700;
  position: relative;
  top: -0.26em;
  margin-right: 0.07em;
}

.shop-page-grid .shop-card-stock {
  margin: 0;
  color: #2d7f42;
  font-size: 0.95rem;
}

.shop-page-grid .shop-card-stock.is-out {
  color: #b04a4a;
}

.shop-page-grid .shop-card-actions {
  width: 100%;
  margin-top: auto;
  padding-top: 0.95rem;
}

.shop-page-grid .shop-card-basket-form {
  width: 100%;
  margin: 0;
}

.shop-page-grid .shop-card-add-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.shop-page-grid .shop-card-add-btn.btn-outline-secondary {
  border-color: rgba(29, 50, 68, 0.22);
  color: #1d3244;
  background: #fff;
}

.shop-page-grid .shop-card-add-btn.btn-outline-secondary:hover {
  border-color: rgba(29, 50, 68, 0.4);
  color: #1d3244;
  background: rgba(255, 255, 255, 0.92);
}

.shop-page-grid .shop-card-add-btn.disabled,
.shop-page-grid .shop-card-add-btn[aria-disabled="true"] {
  pointer-events: none;
}

.shop-page-pagination {
  margin-top: 2rem;
}

.shop-empty-state {
  padding: 2rem 1.5rem;
  border: 1px solid #ddd5cb;
  border-radius: 22px;
  background: #fffdfa;
  color: #425466;
}

@media (max-width: 1399px) {
  .shop-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .shop-browse-page .shop-browse-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .shop-page-grid {
    grid-template-columns: 1fr;
  }

  .shop-browse-page .shop-browse-sort {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-browse-page .shop-browse-sort select {
    width: 100%;
  }
}

.shop-browse-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.45rem;
  position: sticky;
  top: 5.5rem;
}

.shop-filter-card {
  padding: 0.75rem 0.8rem 0.82rem !important;
  border: 1px solid #ddd5cb !important;
  border-radius: 18px !important;
  background: #fffdfa !important;
  box-shadow: 0 18px 40px -36px rgba(36, 45, 55, 0.3) !important;
}

.shop-browse-sidebar > .shop-filter-card:first-child {
  margin-top: 0.45rem !important;
}

.shop-filter-card .sidebar-title {
  margin: 0 0 0.45rem !important;
  color: #1d3244 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.shop-filter-card.side_categories > .category-list {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shop-filter-card .category-list,
.shop-filter-card .facet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-filter-card .facet-group {
  margin-bottom: 0.65rem;
}

.shop-filter-card .facet-group:last-child {
  margin-bottom: 0;
}

.shop-filter-card.side_categories li {
  display: block;
  gap: 0;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.shop-filter-card.side_categories li:hover {
  background: transparent !important;
  padding-left: 0 !important;
}

.shop-filter-card .category-item,
.shop-filter-card .facet-item {
  margin: 0;
}

.shop-filter-card .category-tag {
  padding: 0.32rem 0.68rem;
  font-size: 0.82rem;
}

.shop-filter-card .category-link,
.shop-filter-card .facet-option,
.shop-filter-card .facet-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.28rem 0;
  color: #425466;
  font-size: 0.85rem;
  line-height: 1.22;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.shop-filter-card .category-link:hover,
.shop-filter-card .facet-option:hover,
.shop-filter-card .facet-tag:hover {
  color: #2f8e87;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.shop-filter-card .category-link {
  padding-inline: 0.1rem;
  font-weight: 600;
}

.shop-filter-card .facet-option {
  gap: 0.42rem;
}

.shop-filter-card .facet-option-name,
.shop-filter-card .facet-tag-name {
  font-size: 0.84rem !important;
  font-weight: 600 !important;
}

.shop-filter-card .facet-checkbox-fake {
  width: 15px;
  height: 15px;
}

.shop-filter-card .facet-option-count,
.shop-filter-card .facet-tag-count {
  font-size: 0.68rem;
}

.shop-filter-card .category-children {
  margin: 0.22rem 0 0 0.45rem !important;
  padding: 0.16rem 0 0 0.55rem !important;
  border-top: 0 !important;
  border-left: 1px solid #ece5da;
}

.shop-filter-card .facet-group + .facet-group {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid #ece5da;
}

.shop-filter-card .facet-title {
  margin: 0 0 0.22rem;
  color: #1d3244;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Global scale tuning */
.page {
  max-width: 1360px !important;
  padding: 1.35rem 0 !important;
}

.page_inner {
  padding: 0 1.5rem !important;
}

.page-header {
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.35rem;
}

.page-header h1 {
  font-size: 1.85rem;
}

.breadcrumb {
  padding: 0.75rem 0;
  margin-bottom: 0.75rem;
}

.header-inner {
  height: 66px;
  padding: 0 1.1rem;
  gap: 1.4rem;
}

.logo img {
  height: 36px;
}

.nav-desktop {
  gap: 1.4rem;
  padding: 0.5rem 1.1rem;
}

.nav-link {
  padding: 0.38rem 0.62rem;
  font-size: 0.98rem;
}

.header-actions {
  gap: 0.6rem;
}

.icon-btn {
  padding: 0.38rem;
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.search-menu {
  top: 66px;
  width: 280px;
  padding: 1rem 1.1rem;
}

.shop-browse-body .page.with-header-padding {
  max-width: 1420px !important;
}

.shop-browse-body .page_inner {
  padding-top: 0.5rem;
}

.shop-browse-page .shop-browse-toolbar {
  margin-bottom: 1.25rem;
}

.shop-page-grid {
  gap: 1rem;
}

.shop-page-grid .shop-card {
  padding: 0;
  border: 1px solid #d8dde4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-page-grid .shop-card:hover {
  transform: none;
  border-color: #ccd4de;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.shop-page-grid .shop-card-media,
.shop-page-grid .shop-card-media img {
  border-radius: 14px 14px 0 0;
}

.shop-page-grid .shop-card-body {
  padding: 0.9rem 1rem 1rem;
}

.shop-page-grid .shop-card-title {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 0.45rem;
}

.shop-page-grid .shop-card-title a::after {
  display: none;
}

.shop-page-grid .shop-card-price {
  font-size: 1.18rem;
  color: #0f172a;
  border-bottom-color: rgba(203, 213, 225, 0.85);
}

/* Account pages */
.account-profile .page.with-header-padding {
  max-width: 1400px !important;
}

.account-profile .page_inner {
  padding-top: 0.55rem !important;
  padding-bottom: 1.4rem !important;
}

.account-profile .page_inner > .row {
  align-items: start;
}

.account-profile .account-sidebar-card {
  position: sticky;
  top: calc(var(--uniform-header-height, 72px) + 1rem);
  padding: 0.9rem;
  border: 1px solid #ebe5da;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffefe 0%, #fcf8f2 100%);
  box-shadow: 0 18px 40px -32px rgba(26, 41, 54, 0.28);
}

.account-profile .account-nav {
  display: grid;
  gap: 0.4rem;
}

.account-profile .account-nav .nav-item {
  margin: 0;
}

.account-profile .account-nav .nav-link {
  padding: 0.82rem 1rem;
  border-radius: 14px;
  color: #32485b;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.account-profile .account-nav .nav-link:hover {
  background: #f3f7f7;
  color: #1f756f;
}

.account-profile .account-nav .nav-link.active {
  background: #eef6f4;
  color: #1f756f;
  box-shadow: inset 0 0 0 1px rgba(47, 142, 135, 0.16);
}

.account-profile .account-main {
  display: grid;
  gap: 1rem;
}

.account-profile .account-main h2 {
  margin: 0 0 0.75rem;
  color: #1d3244;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-profile .account-main hr {
  margin: 0.1rem 0;
  border: 0;
  border-top: 1px solid #ece5da;
}

.account-profile .account-panel,
.account-profile .account-main > .table,
.account-profile .account-main > .table-responsive,
.account-profile .account-main > .card,
.account-profile .account-main > form,
.account-profile .account-main > .alert {
  overflow: hidden;
  border: 1px solid #ebe5da;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px -32px rgba(26, 41, 54, 0.24);
}

.account-profile .account-panel {
  padding: 1.35rem 1.45rem;
}

.account-profile .account-main > .card,
.account-profile .account-main > form {
  padding: 1.35rem 1.45rem;
}

.account-profile .card.card-body.bg-light {
  padding: 1.35rem 1.45rem !important;
  border-color: #ebe5da !important;
  background: #fff !important;
}

.account-profile .account-panel-header {
  margin-bottom: 1rem;
}

.account-profile .account-section-title {
  margin: 0;
  color: #1d3244;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.account-profile .account-section-copy {
  margin: 0.35rem 0 0;
  max-width: 42rem;
  color: #6a7784;
  font-size: 0.95rem;
  line-height: 1.6;
}

.account-profile .account-main .table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: transparent;
}

.account-profile .account-main .table th,
.account-profile .account-main .table td {
  padding: 0.95rem 1.15rem;
  vertical-align: top;
  border-color: #efe8de !important;
}

.account-profile .account-main .table thead th {
  background: #f8f8f7;
  color: #5b6976;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.account-profile .account-main .table tbody th {
  width: 36%;
  background: #fbf7f1;
  color: #1d3244;
  font-size: 1rem;
  font-weight: 600;
}

.account-profile .account-main .table tbody td {
  color: #556574;
  background: #fff;
}

.account-profile .account-main .table-striped tbody tr:nth-of-type(odd) {
  background: transparent;
}

.account-profile .account-main .table a {
  color: #1f756f;
  font-weight: 500;
  text-decoration: none;
}

.account-profile .account-main .table a:hover {
  color: #165f5a;
  text-decoration: underline;
}

.account-profile .account-main .badge {
  padding: 0.34rem 0.68rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.account-profile address {
  margin: 0.7rem 0 0;
  color: #556574;
  line-height: 1.7;
}

.account-profile .form-group.row {
  margin-bottom: 1rem;
  align-items: center;
}

.account-profile .col-form-label {
  color: #274152;
  font-size: 0.94rem;
  font-weight: 600;
}

.account-profile .form-control {
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border: 1px solid #d8e1e6;
  border-radius: 14px;
  background: #fff;
  box-shadow: none !important;
  color: #233745;
}

.account-profile .form-control:focus {
  border-color: #2f8e87;
  box-shadow: 0 0 0 3px rgba(47, 142, 135, 0.12) !important;
}

.account-profile .input-group .btn,
.account-profile .input-group-append .btn,
.account-profile .input-group-prepend .btn {
  min-width: 48px;
  padding-inline: 0.8rem;
}

.account-profile .account-form-actions .offset-sm-4,
.account-profile form .form-group.row:last-child > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.account-profile .account-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.account-profile .btn,
.account-profile button.btn,
.account-profile input[type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.74rem 1.15rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none !important;
  background-image: none !important;
}

.account-profile .btn.btn-primary,
.account-profile .btn-primary,
.account-profile .btn-info {
  background: #2f8e87 !important;
  border: 1px solid #2f8e87 !important;
  color: #fff !important;
}

.account-profile .btn.btn-primary:hover,
.account-profile .btn-primary:hover,
.account-profile .btn-info:hover {
  background: #277d77 !important;
  border-color: #277d77 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.account-profile .btn-secondary,
.account-profile .btn-outline-primary,
.account-profile .btn-outline-secondary,
.account-profile .btn-default {
  background: #fff !important;
  border: 1px solid #d6e0e6 !important;
  color: #334a5d !important;
}

.account-profile .btn-secondary:hover,
.account-profile .btn-outline-primary:hover,
.account-profile .btn-outline-secondary:hover,
.account-profile .btn-default:hover {
  background: #f7fafa !important;
  border-color: #bfd0d8 !important;
  color: #1f756f !important;
  transform: translateY(-1px);
}

.account-profile .btn-danger,
.account-profile .btn-delete {
  background: #fff5f5 !important;
  border: 1px solid #efc2c2 !important;
  color: #c54a4a !important;
}

.account-profile .btn-danger:hover,
.account-profile .btn-delete:hover {
  background: #feeceb !important;
  border-color: #e7a9a9 !important;
  color: #b13d3d !important;
  transform: translateY(-1px);
}

.account-profile .dropdown-menu {
  border: 1px solid #e6e0d6;
  border-radius: 16px;
  box-shadow: 0 18px 36px -28px rgba(26, 41, 54, 0.24);
}

.account-profile .dropdown-item {
  padding: 0.7rem 0.95rem;
  color: #3b4f60;
}

.account-profile .dropdown-item:hover {
  background: #f5f8f8;
  color: #1f756f;
}

.account-profile .account-empty-state {
  padding: 1.25rem 1.35rem;
  border: 1px dashed #ddd5c9;
  border-radius: 20px;
  background: #fffdfa;
  color: #667480;
}

.account-profile .account-main > p {
  margin: 0;
  color: #667480;
}

.account-profile .account-main > p + p {
  margin-top: 0.8rem;
}

.account-profile .pagination {
  justify-content: flex-start !important;
  margin-top: 0.25rem !important;
}

@media (max-width: 991px) {
  .account-profile .account-sidebar-card {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .account-profile .account-panel,
  .account-profile .account-main > .card,
  .account-profile .account-main > form,
  .account-profile .card.card-body.bg-light {
    padding: 1.1rem 1rem !important;
  }

  .account-profile .account-main .table th,
  .account-profile .account-main .table td {
    padding: 0.82rem 0.9rem;
  }

  .account-profile .account-main .table tbody th {
    width: 42%;
  }

  .account-profile .account-action-row,
  .account-profile .account-form-actions .offset-sm-4,
  .account-profile form .form-group.row:last-child > div {
    flex-direction: column;
    align-items: stretch;
  }

  .account-profile .account-action-row .btn,
  .account-profile .account-form-actions .btn,
  .account-profile form .form-group.row:last-child .btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .header-inner {
    height: 74px;
    gap: 1.7rem;
  }

  .logo img {
    height: 48px;
  }

  .search-menu {
    top: 74px;
  }
}

@media (max-width: 991px) {
  .shop-browse-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .page_inner {
    padding: 0 1rem !important;
  }
}

/* =========================
   SHOP CARD — BROWSE PAGE PRODUCT CARDS
   ========================= */
.shop-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius, 0.75rem);
  border: 1px solid var(--border, #e5e7eb);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px -8px hsla(0, 100%, 47%, 0.14);
  border-color: hsl(0, 100%, 80%);
}

.shop-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--muted, #f4f5f7);
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.shop-card:hover .shop-card-media img {
  transform: scale(1.06);
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.25rem 1.25rem;
  gap: 0.35rem;
}

.shop-card-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--foreground, #1a2936);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop-card-title a {
  color: inherit;
  text-decoration: none;
}

.shop-card-title a:hover {
  color: var(--primary, hsl(0, 100%, 47%));
}

.shop-card-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground, #6b7280);
}

.shop-card-rating .star-rating {
  display: inline-flex;
  gap: 0;
}

.shop-card-rating .star-rating i {
  font-size: 0.875rem;
}

.shop-card-rating-count {
  font-size: 0.75rem;
  color: var(--muted-foreground, #6b7280);
}

.shop-card-rating-empty {
  font-size: 0.75rem;
  color: var(--muted-foreground, #9ca3af);
  font-style: italic;
}

.shop-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary, hsl(0, 100%, 47%));
  margin: 0.25rem 0;
}

.shop-card-stock {
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(136, 75%, 22%);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.shop-card-stock.is-out {
  color: hsl(0, 70%, 50%);
}

.shop-card-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}

.shop-card-add-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.25s ease;
}

.shop-card-basket-form {
  margin: 0;
}

/* Browse page toolbar */
.shop-browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.shop-browse-summary p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground, #6b7280);
}

.shop-browse-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shop-browse-sort label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground, #6b7280);
  margin: 0;
}

.shop-browse-sort select {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  background: #fff;
}

/* Browse page pagination */
.shop-page-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* Browse page empty state */
.shop-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--card, #f7f7f7);
  border-radius: var(--radius, 0.75rem);
  border: 1px solid var(--border, #e5e7eb);
  color: var(--muted-foreground, #6b7280);
}

/* Browse sidebar */
.shop-browse-sidebar {
  position: sticky;
  top: 80px;
}

.shop-filter-card {
  background: #fff;
  border-radius: var(--radius, 0.75rem);
  border: 1px solid var(--border, #e5e7eb);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.04);
}

.shop-filter-card .sidebar-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(0, 100%, 47%);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid hsl(0, 100%, 90%);
}

/* PDP section title consistent styling */
.pdp-section-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground, #0f1111);
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border, #e5e7eb);
}

/* PDP main pricing area */
.pdp-main-pricing {
  margin: 0.75rem 0;
}

.pdp-main-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground, #0f1111);
  line-height: 1.2;
}

.pdp-main-stock {
  margin: 0.5rem 0;
  color: #139724;
  font-weight: 600;
  font-size: 0.95rem;
}

.pdp-main-stock.is-unavailable {
  color: hsl(0, 70%, 50%);
}

/* Offer rows on PDP */
.pdp-offers-section {
  margin-top: 1.5rem;
}

.pdp-offers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pdp-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 0.5rem;
  background: var(--card, #f9fafb);
  transition: border-color 0.2s;
}

.pdp-offer-row:hover {
  border-color: hsl(0, 100%, 80%);
}

.pdp-offer-row.is-unavailable {
  opacity: 0.5;
}

.pdp-offer-row-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pdp-offer-row-seller {
  font-weight: 600;
  color: var(--foreground, #0f1111);
}

.pdp-offer-row-label {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: hsla(0, 100%, 47%, 0.08);
  color: hsl(0, 100%, 47%);
  font-weight: 600;
}

.pdp-offer-row-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pdp-offer-row-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground, #0f1111);
}

.pdp-offer-row-stock {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #139724;
}

.pdp-offer-row-stock.is-out {
  color: hsl(0, 70%, 50%);
}

.pdp-offers-empty {
  color: var(--muted-foreground, #6b7280);
  font-size: 0.9rem;
}

/* PDP Variant links */
.pdp-variant-section {
  margin-top: 1.5rem;
}

.pdp-variant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp-variant-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground, #0f1111);
  text-decoration: none;
  transition: all 0.2s;
}

.pdp-variant-links a:hover {
  border-color: hsl(0, 100%, 47%);
  color: hsl(0, 100%, 47%);
  background: hsl(0, 100%, 98%);
}

/* PDP Info section improvements */
.pdp-info-section {
  margin-top: 1.5rem;
}

/* PDP sidebar card */
.pdp-sidebar-card {
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: #fff;
  border-left: 3px solid hsl(0, 100%, 47%);
}

.pdp-add-form {
  margin: 0;
}

/* Offer picker styling */
.pdp-offer-picker {
  margin-bottom: 1rem;
}

.pdp-offer-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground, #0f1111);
  margin-bottom: 0.5rem;
  display: block;
}

.pdp-offer-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pdp-offer-option {
  position: relative;
}

.pdp-offer-option.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pdp-offer-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.pdp-offer-label {
  display: block;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}

.pdp-offer-radio:checked + .pdp-offer-label {
  border-color: hsl(0, 100%, 47%);
  background: hsl(0, 100%, 98%);
}

.pdp-offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.pdp-offer-seller {
  font-weight: 600;
  font-size: 0.875rem;
}

.pdp-offer-badge {
  font-size: 0.6875rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: hsla(0, 100%, 47%, 0.08);
  color: hsl(0, 100%, 47%);
  font-weight: 600;
}

.pdp-offer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pdp-offer-price {
  font-weight: 700;
  font-size: 1rem;
}

.pdp-offer-stock {
  font-size: 0.75rem;
  font-weight: 600;
  color: #139724;
}

.pdp-offer-stock.is-out {
  color: hsl(0, 70%, 50%);
}

/* =========================================================
   FINAL FIDELITY OVERRIDES (CATALOGUE + PRODUCT DETAIL)
   ========================================================= */

/* Catalogue cards */
.shop-page-grid .shop-card {
  border: 1px solid #d8dde4 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  overflow: hidden !important;
  padding: 0 !important;
  transform: none !important;
}

.shop-page-grid .shop-card:hover {
  transform: none !important;
  border-color: #cfd7e1 !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12) !important;
}

.shop-page-grid .shop-card-media {
  position: relative;
  aspect-ratio: 16 / 11 !important;
  border-radius: 14px 14px 0 0 !important;
}

.shop-page-grid .shop-card-media img {
  border-radius: 14px 14px 0 0 !important;
}

.shop-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.shop-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.shop-card-badge-discount {
  background: #ff0000;
  color: #fff;
}

.shop-card-badge-condition {
  margin-left: auto;
  background: #16a34a;
  color: #fff;
}

.shop-page-grid .shop-card-body {
  padding: 0.9rem 1rem 1rem !important;
  gap: 0.35rem;
}

.shop-card-meta {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.3;
}

.shop-page-grid .shop-card-title {
  text-align: left !important;
  font-size: 1.2rem;
  margin-bottom: 0.35rem !important;
}

.shop-page-grid .shop-card-title a {
  padding-bottom: 0 !important;
}

.shop-page-grid .shop-card-title a::after {
  display: none !important;
}

.shop-page-grid .shop-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.shop-page-grid .shop-card-price {
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  color: #0f172a !important;
  font-size: 1.55rem;
  font-weight: 700;
}

.shop-card-old-price {
  color: #64748b;
  font-size: 0.95rem;
  text-decoration: line-through;
}

.shop-card-warranty {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  color: #16a34a;
  font-size: 0.82rem;
  margin-top: 0.22rem;
}

.shop-card-warranty.is-out {
  color: #b91c1c;
}

.shop-page-grid .shop-card-actions {
  margin-top: auto !important;
  padding-top: 0.5rem !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.shop-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.shop-card-basket-form {
  width: auto !important;
  display: inline-flex;
}

.shop-card-actions .btn {
  width: auto !important;
  min-width: 42px;
}

.shop-card-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  font-size: 0.92rem;
}

.shop-card-icon-btn.btn-primary {
  background: #ef0100 !important;
  border-color: #ef0100 !important;
  color: #fff !important;
}

.shop-card-icon-btn.btn-outline-secondary {
  border-color: #d8dde4 !important;
  color: #475569 !important;
  background: #fff !important;
}

/* Product detail layout */
.pdp-amz-page .pdp-amz-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 2rem !important;
  border-top: 0 !important;
}

.pdp-amz-page .pdp-amz-media,
.pdp-amz-page .pdp-amz-main {
  padding: 0 !important;
  border-right: 0 !important;
}

.pdp-amz-page .pdp-amz-sidebar {
  display: none !important;
}

.pdp-amz-page .pdp-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.pdp-amz-page .pdp-condition-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.88rem;
  font-weight: 700;
}

.pdp-amz-page .pdp-brand-inline {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 600;
}

.pdp-amz-page .pdp-main-stock,
.pdp-amz-page .pdp-tax-info {
  display: none;
}

.pdp-amz-page .pdp-quick-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.pdp-amz-page .pdp-quick-spec-item {
  border-radius: 12px;
  background: #f1f5f9;
  padding: 0.75rem 0.9rem;
}

.pdp-amz-page .pdp-quick-spec-label {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
}

.pdp-amz-page .pdp-quick-spec-value {
  display: block;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.pdp-amz-page .pdp-inline-add-form {
  margin-top: 1rem;
}

.pdp-amz-page .pdp-inline-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pdp-amz-page .pdp-inline-add-btn,
.pdp-amz-page .pdp-inline-buy-btn {
  min-height: 52px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pdp-amz-page .pdp-inline-add-btn {
  background: #ef0100;
  color: #fff;
}

.pdp-amz-page .pdp-inline-buy-btn {
  background: #16a34a;
  color: #fff;
}

.pdp-amz-page .pdp-inline-benefits {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

.pdp-amz-page .pdp-inline-benefit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #16a34a;
  font-size: 0.94rem;
}

.pdp-amz-page .pdp-about-section,
.pdp-amz-page .pdp-info-section,
.pdp-amz-page .pdp-offers-section {
  display: none;
}

.pdp-amz-page .pdp-detail-tabs {
  margin-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.pdp-amz-page .pdp-tab-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.pdp-amz-page .pdp-tab-btn {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-bottom: 2px solid transparent;
}

.pdp-amz-page .pdp-tab-btn.is-active {
  color: #ef0100;
  border-bottom-color: #ef0100;
}

.pdp-amz-page .pdp-tab-panels {
  padding: 1rem 0;
}

.pdp-amz-page .pdp-tab-panel {
  color: #475569;
  line-height: 1.7;
}

.pdp-amz-page .pdp-spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.pdp-amz-page .pdp-spec-list li {
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #f8fafc;
}

@media (max-width: 991px) {
  .pdp-amz-page .pdp-amz-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .pdp-amz-page .pdp-inline-actions,
  .pdp-amz-page .pdp-inline-benefits,
  .pdp-amz-page .pdp-quick-spec-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GLOBAL FIXES ===== */

/* Ensure shop-card-media always supports badge positioning */
.shop-card-media {
  position: relative !important;
}

/* Ensure price-row layout works outside .shop-page-grid too */
.shop-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

/* Ensure old-price works globally */
.shop-card-old-price {
  color: #64748b;
  font-size: 0.95rem;
  text-decoration: line-through;
}

/* Ensure badges work globally */
.shop-card-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

/* Fix PDP grid: always 2-column on desktop when sidebar is hidden */
.pdp-amz-page .pdp-amz-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 2rem !important;
  border-top: 0 !important;
}

.pdp-amz-page .pdp-amz-media,
.pdp-amz-page .pdp-amz-main {
  padding: 1.5rem 0 !important;
  border-right: 0 !important;
}

.pdp-amz-page .pdp-amz-sidebar {
  display: none !important;
}

/* Ensure inline buttons have proper border:none */
.pdp-amz-page .pdp-inline-add-btn,
.pdp-amz-page .pdp-inline-buy-btn {
  border: none !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pdp-amz-page .pdp-inline-add-btn:hover {
  opacity: 0.9;
  background: #d40000;
}

.pdp-amz-page .pdp-inline-buy-btn:hover {
  opacity: 0.9;
  background: #15803d;
}

/* Fix card icon button alignment */
.shop-card-actions {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-top: auto !important;
  padding-top: 0.5rem !important;
}

/* Ensure shop-card-icon-btn styling applies globally */
.shop-card-icon-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  font-size: 0.92rem;
  border: none;
}

.shop-card-icon-btn.btn-primary {
  background: #ef0100 !important;
  border-color: #ef0100 !important;
  color: #fff !important;
}
