:root {

  --bg-primary: #ffffff;
  --bg-secondary: #f9f8f4;
  --text-primary: #111111;


  --accent-primary: #606000;
  --accent-hover: #808000;

  --text-on-accent: #ffffff;
  --border: #dad6c1;
  --font-main: "Inter", "Jost", sans-serif;


  --hero-green: #606000;

  --border-width: 0.08rem;
}


input,
textarea,
select {
  position: relative;
  z-index: 10;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  position: relative;
}


header {
  background-color: #ffffff;
  color: var(--text-primary);
  padding: 0;
  padding-bottom: 15px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-bottom: var(--border-width) solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

header.header-hidden {
  transform: translateY(-100%);
}


.announcement-bar {
  background-color: var(--accent-primary);
  height: 36px;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.announcement-ticker {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  align-items: center;
}

.announcement-ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 25s linear infinite;
}

.announcement-ticker-track span {
  display: inline-block;
  padding: 0 35px;
  /* Spaces offers comfortably */
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 50px;
  padding: 0 5%;

}

.brand-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.brand-logo img {
  height: 55px;
  filter: invert(1);
}

.mobile-only-nav-item,
.mobile-social-icons {
  display: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 0 5%;
  z-index: 1002;
}

.main-nav>a,
.dropbtn {
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-weight: 500;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  position: relative;
  cursor: pointer;
  padding: 5px 0;
  display: block;

  z-index: 1005;
}

.main-nav>a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-primary);
  transition: width 0.2s ease-in-out;
}

.main-nav>a:hover::after,
.dropbtn:hover::after {
  width: 100%;
}

.dropbtn:hover {
  color: var(--accent-primary);
}

.desktop-arrow {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  margin-left: 5px;
  vertical-align: middle;
  color: #999;
  font-weight: normal;
}

@media (max-width: 768px) {
  .desktop-arrow {
    display: none !important;
  }
}


.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  top: 100%;
  left: 0;
  border: var(--border-width) solid #eee;
  padding: 10px 0;
  text-align: left;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  max-height: 400px;
  overflow-y: auto;
}


.dropdown-content::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: -1;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
}

.dropdown-content a {
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  transition:
    background 0.2s,
    color 0.2s;
  position: relative;
  z-index: 2005;
}

.dropdown-content a:hover {
  background-color: var(--bg-secondary);
  color: var(--accent-primary);
  padding-left: 25px;
}


.shop-all-link {
  font-weight: 700 !important;
  border-bottom: 2px solid #f9f9f9;
  color: var(--accent-primary) !important;
}


.sub-dropdown {
  position: relative;
}

.arrow {
  float: right;
  font-size: 1.2rem;
  line-height: 0.8rem;
  color: #999;
}

.sub-dropdown-content {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: 100%;
  top: -10px;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
  z-index: 2001;
  border: var(--border-width) solid #eee;
  padding: 10px 0;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}


.sub-dropdown-content::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  width: 20px;
  height: 100%;
  background: transparent;
  z-index: -1;
}

.sub-dropdown:hover .sub-dropdown-content {
  visibility: visible;
  opacity: 1;
}


.icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition:
    filter 0.45s ease-in-out,
    transform 0.35s ease,
    opacity 0.35s ease;
}


.social-icons .icon-img {
  filter: brightness(0);
  opacity: 0.85;
}

.social-icons a[href*="instagram"]:hover .icon-img {
  filter: invert(41%) sepia(82%) saturate(3276%) hue-rotate(316deg) brightness(95%) contrast(92%);
}

.social-icons a[href*="facebook"]:hover .icon-img {
  filter: invert(33%) sepia(96%) saturate(749%) hue-rotate(190deg) brightness(92%) contrast(92%);
}

.social-icons a[href*="pinterest"]:hover .icon-img {
  filter: invert(18%) sepia(96%) saturate(7400%) hue-rotate(356deg) brightness(92%) contrast(105%);
}

.social-icons a[href*="youtube"]:hover .icon-img {
  filter: invert(16%) sepia(92%) saturate(6250%) hue-rotate(357deg) brightness(95%) contrast(108%);
}

.social-icons a:hover .icon-img {
  transform: scale(1.15);
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.nav-tools {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-tool-btn {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--text-primary);
  color: white;
  font-size: 0.65rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}


.search-form-wrapper {
  position: relative;
}

.search-panel-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.search-panel-overlay.active {
  right: 0;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.search-header h2 {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-primary);
}

.close-search {
  font-size: 2.2rem;
  cursor: pointer;
  color: var(--text-primary);
  line-height: 1;
  transition: color 0.2s;
}

.close-search:hover {
  color: var(--accent-primary);
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 2px solid var(--border);
  transition: border-bottom-color 0.3s ease;
  padding-bottom: 5px;
}

.search-icon-left {
  display: flex;
  align-items: center;
  color: #777;
  padding-right: 12px;
}

.search-icon-left svg {
  display: block;
}

.clear-search-btn {
  font-size: 1.6rem;
  cursor: pointer;
  color: #999;
  padding: 0 10px;
  transition: color 0.2s;
  user-select: none;
}

.clear-search-btn:hover {
  color: #e74c3c;
}

.search-input {
  flex: 1;
  border: none !important;
  font-size: 1.2rem;
  padding: 10px 0 !important;
  outline: none;
  font-family: var(--font-main);
  background: transparent;
  color: var(--text-primary);
}

.search-results-box {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  z-index: 2001;
  display: none;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  margin-top: 10px;
}


.sr-text-item.keyboard-focused,
.search-result-item.keyboard-focused {
  background-color: #f6f6ef !important;
  position: relative;
  padding-left: 11px !important;
}

.sr-text-item.keyboard-focused::before,
.search-result-item.keyboard-focused::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent-primary);
}

.sr-recent-item.keyboard-focused {
  background-color: #f6f6ef !important;
  position: relative;
}

.sr-recent-item.keyboard-focused::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--accent-primary);
}

.sr-recent-item.keyboard-focused .sr-recent-link {
  padding-left: 11px !important;
}


@media (max-width: 768px) {
  .search-panel-overlay {
    max-width: 100% !important;
    width: 100% !important;
    right: -100%;
    padding: 30px 20px;
  }

  .search-panel-overlay.active {
    right: 0;
  }

  .search-results-box {
    max-height: calc(100vh - 160px);
  }
}

.sr-section-title {
  padding: 8px 15px;
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  background: #f9f9f9;
  border-bottom: var(--border-width) solid #eee;
}

.sr-text-item {
  display: block;
  padding: 10px 15px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: var(--border-width) solid #f5f5f5;
  font-size: 0.9rem;
}

.sr-text-item:hover {
  background-color: #fafafa;
  color: var(--accent-primary);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-bottom: var(--border-width) solid #eee;
  text-decoration: none;
  color: var(--text-primary);
}

.search-result-item:hover {
  background: var(--bg-secondary);
}

.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}


.hero-banner-section {
  width: 100%;
  margin-top: 160px;
  overflow: hidden;
}

.hero-banner-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.hero-banner-link:hover .hero-banner-img {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .hero-banner-section {
    margin-top: 100px;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
  padding-top: 180px;
  padding-bottom: 40px;
}

body.home-page .container {
  padding-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .container {
    padding-top: 100px !important;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 8px !important;
  }


  .item-actions {
    flex-direction: column;
    align-items: stretch !important;
    gap: 8px !important;
    border-top: var(--border-width) solid #f7f7f7;
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
  }

  .qty-selector {
    width: 100% !important;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


.product-item {
  background: #ffffff;
  border: var(--border-width) solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
  box-shadow: none;
}

.product-item:hover {
  box-shadow: none;
  border-color: var(--border);
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--accent-primary);
  color: white;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 9999px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.item-image-container {
  width: 100%;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f5f5f5;
}

.item-image-container a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.item-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.4s ease, transform 0.7s ease;
  transform: scale(1.03);
}

.product-item:hover .item-image-container img {
  transform: scale(1.06);
}

.item-image-container img.secondary-img {
  opacity: 0;
  z-index: 2;
}

.product-item:hover .item-image-container img.primary-img:not(:only-child) {
  opacity: 0;
}

.product-item:hover .item-image-container img.secondary-img {
  opacity: 1;
}

.item-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  background: #ffffff;
  justify-content: space-between;
}

.item-title-link {
  display: block;
  min-height: 64px;
}

.item-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  line-height: 1.5;


  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.item-price {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.original-price {
  text-decoration: line-through;
  color: #9ea3a8;
  font-size: 0.9rem;
  font-weight: 400;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: var(--border-width) solid #f7f7f7;
}


.qty-selector {
  display: flex;
  align-items: center;
  border: var(--border-width) solid #e5e5e5;
  border-radius: 8px;
  height: 40px;
  overflow: hidden;
  background: #ffffff;
  width: 90px;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.qty-selector:focus-within {
  border-color: var(--accent-primary);
}

.qty-change-btn {
  width: 28px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.qty-change-btn:hover {
  background: #f5f5f5;
  color: var(--text-primary);
}

.qty-selector .qty-input {
  width: 34px;
  flex-grow: 1;
  border: none;
  background: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0;
  margin: 0;
  height: 100%;
  -moz-appearance: textfield;
}

.qty-selector .qty-input::-webkit-outer-spin-button,
.qty-selector .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-selector .qty-input:focus {
  outline: none;
}

.btn-add-cart {
  flex-grow: 1;
  background-color: var(--text-primary);
  color: white;
  border: none;
  height: 40px;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-add-cart:hover {
  background-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 96, 0, 0.2);
}


.h-scroll-section {
  margin-bottom: 40px;
  padding: 0 20px;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 15px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-primary);
}

.view-all-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: var(--border-width) solid transparent;
  transition: border 0.2s;
}

.view-all-link:hover {
  border-bottom-color: var(--accent-primary);
}

.scrolling-wrapper {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 10px 5px 20px 5px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.scrolling-wrapper::-webkit-scrollbar {
  display: none;
}

.scrolling-wrapper .product-item,
.scrolling-wrapper .view-all-item {
  min-width: calc(25% - 12px);
  max-width: calc(25% - 12px);
  flex: 0 0 auto;
}

.view-all-item {
  background: var(--bg-secondary);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  cursor: pointer;
  aspect-ratio: 1 / 1.4;
}

.view-all-item:hover {
  background-color: var(--accent-primary);
  color: white;
  transform: scale(1.02);
}

.view-all-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.8rem;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.view-all-item:hover .view-all-circle {
  background: white;
  color: var(--accent-primary);
  border-color: white;
}

.view-all-text {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.scroll-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  opacity: 0.9;
}

.scroll-btn:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.scroll-btn.left {
  left: -22px;
}

.scroll-btn.right {
  right: -22px;
}


.scrolling-wrapper.justify-center {
  justify-content: center;
}


.category-item {
  flex: 0 0 auto;
  min-width: 220px;
  max-width: 220px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-item-inner {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}

.category-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.category-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-item:hover .category-image-wrapper img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: background 0.3s ease;
}

.category-item:hover .category-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.category-item-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.category-item:hover .category-item-title {
  border-color: #ffffff;
  transform: translateY(-2px);
}


.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 30px auto 0;
  max-width: 1100px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.categories-grid .category-item {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

.categories-grid .category-item:nth-child(1) {
  animation-delay: 0.1s;
}

.categories-grid .category-item:nth-child(2) {
  animation-delay: 0.2s;
}

.categories-grid .category-item:nth-child(3) {
  animation-delay: 0.3s;
}

.categories-grid .category-item:nth-child(4) {
  animation-delay: 0.4s;
}

.categories-grid .category-item:nth-child(5) {
  animation-delay: 0.5s;
}

.categories-grid .category-item:nth-child(6) {
  animation-delay: 0.6s;
}

.categories-grid .category-item:nth-child(7) {
  animation-delay: 0.7s;
}

.categories-grid .category-item:nth-child(8) {
  animation-delay: 0.8s;
}

.categories-grid .category-item:nth-child(9) {
  animation-delay: 0.9s;
}

.categories-grid .category-item:nth-child(10) {
  animation-delay: 1s;
}

.categories-grid .category-item:nth-child(11) {
  animation-delay: 1.1s;
}

.categories-grid .category-item:nth-child(12) {
  animation-delay: 1.2s;
}

@media (max-width: 768px) {
  .categories-grid .category-item {
    min-width: 150px;
    max-width: 150px;
  }

  .categories-grid {
    gap: 16px;
  }
}

@media (max-width: 360px) {
  .categories-grid .category-item {
    min-width: 135px;
    max-width: 135px;
  }

  .categories-grid {
    gap: 10px;
  }
}


.cart-page-title {
  text-align: center;
  margin: 40px 0;
  font-weight: 300;
  font-size: 2.5rem;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.cart-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
}

.cart-items-col {
  flex: 2;
  width: 100%;
  min-width: 0;
}

.cart-sidebar-col {
  flex: 1;
  min-width: 350px;
  position: sticky;
  top: 110px;
  z-index: 50;
}


.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
}

.cart-table th {
  text-align: left;
  padding: 15px 0;
  border-bottom: var(--border-width) solid var(--border);
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.cart-table td {
  padding: 25px 0;
  border-bottom: var(--border-width) solid #eee;
  vertical-align: middle;
}

.cart-table th.text-right,
.cart-table td.text-right {
  text-align: right;
}

.cart-item-row {
  transition: background-color 0.2s ease;
}

.cart-item-row:hover {
  background-color: #fafafa;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-img-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f9f9f9;
  border: var(--border-width) solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.cart-item-price {
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
}

.cart-qty-input {
  width: 50px;
  padding: 8px 0;
  border: var(--border-width) solid #ddd;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-main);
  transition: border-color 0.2s;
}

.cart-qty-input:focus {
  border-color: var(--accent-primary);
  outline: none;
}

.remove-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.2s;
}

.remove-btn:hover {
  color: #d32f2f;
}


.cart-summary {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: var(--border-width) solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.cart-summary h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: var(--border-width) solid #eee;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-group.half {
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: var(--border-width) solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: #f8fafc;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.form-control:focus {
  border-color: var(--accent-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(128, 128, 0, 0.15);
  outline: none;
}

.form-control.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2;
  animation: border-flash-red 1.2s ease-in-out;
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  background-color: #fff;
}

@keyframes border-flash-red {

  0%,
  100% {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  }

  25%,
  75% {
    border-color: #f87171;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.3);
  }

  50% {
    border-color: #dc2626;
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.45);
  }
}

.form-control::placeholder {
  color: #94a3b8;
}

textarea.form-control {
  resize: vertical;
  min-height: 70px;
}


.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #555;
}

.summary-row span:last-child {
  font-weight: 500;
  color: #333;
}

.summary-divider {
  height: 1px;
  background: #eee;
  margin: 15px 0;
}

.summary-row.total {
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 1.25rem;
  align-items: flex-end;
}

.checkout-btn {
  width: 100%;
  background: var(--accent-primary);
  color: white;
  padding: 14px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.2s;
  letter-spacing: 1px;
}

.checkout-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.secure-text {
  font-size: 0.75rem;
  color: #888;
  text-align: center;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.empty-cart-msg {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: var(--border-width) solid #eee;
  max-width: 600px;
  margin: 40px auto;
}

.empty-cart-msg p {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 500;
}

.empty-cart-msg .btn-add-cart {
  display: inline-flex;
  width: auto;
  padding: 12px 30px;
  font-size: 1rem;
  background-color: var(--accent-primary);
  color: white;
  text-decoration: none;
  margin-top: 20px;
  border-radius: 9999px;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  align-items: center;
  justify-content: center;
}

.empty-cart-msg .btn-add-cart:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.continue-shopping-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--text-primary);
  border: var(--border-width) solid var(--border);
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  margin-top: 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.continue-shopping-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}


.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-weight: 600;
}

.modal-content p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 25px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modal-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.modal-btn.cancel {
  background: #f0f0f0;
  color: #555;
}

.modal-btn.cancel:hover {
  background: #e0e0e0;
}

.modal-btn.confirm {
  background: var(--accent-primary);
  color: white;
}

.modal-btn.confirm:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


@media (max-width: 900px) {

  .cart-container {
    padding: 0 15px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .cart-layout {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
  }

  .cart-items-col,
  .cart-sidebar-col {
    width: 100%;
    min-width: 0;
  }

  .cart-page-title {
    font-size: 1.8rem;
    margin: 20px 0;
  }


  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
    border: none;
  }


  .cart-item-row {
    background: #fff;
    border: var(--border-width) solid #eaeaea;
    border-radius: 16px;
    margin-bottom: 15px;

    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition:
      transform 0.2s,
      box-shadow 0.2s;


    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    margin-left: 0;
    margin-right: 0;

    column-gap: 15px;
    row-gap: 8px;
  }

  .cart-item-row:active {
    transform: scale(0.99);
  }


  .cart-product-cell {
    grid-column: 1 / -1;
    padding: 0;
    margin: 0;
    border-bottom: var(--border-width) dashed #eee;
    padding-bottom: 8px;
    margin-bottom: 4px;
  }

  .cart-item-info {
    gap: 15px;
    align-items: center;
    width: 100%;
  }

  .cart-img-wrapper {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
  }

  .cart-item-details {
    padding-right: 35px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .cart-item-name {
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.3;
    word-break: break-word;
  }

  .cart-item-price {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
  }




  .cart-qty-cell {
    grid-column: 1;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .cart-qty-cell::before {
    content: "Qty:";
    font-size: 0.85rem;
    color: #888;
  }

  .cart-qty-input {
    width: 50px;
    padding: 4px;
    height: 32px;
    font-size: 0.95rem;
    border: var(--border-width) solid #ccc;
    background: #fdfdfd;
  }


  .cart-total-cell {
    grid-column: 2;
    text-align: right;
    padding: 0;
    margin-left: auto;
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.1rem;
    align-self: center;
  }


  .cart-action-cell {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0;
    width: auto;
    z-index: 5;
  }

  .remove-btn {
    font-size: 1.4rem;
    width: 30px;
    height: 30px;
    color: #aaa;
    background: #fff;
    border: var(--border-width) solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    padding-bottom: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .remove-btn:hover {
    color: #d32f2f;
    background: #fff0f0;
    border-color: #ffcccc;
  }
}


footer {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
  padding: 50px 0 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
  opacity: 1;
}

.footer-policies {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  border-top: var(--border-width) solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-policies ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-policies ul li {
  display: inline-block;
}

.footer-policies ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.footer-policies ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: var(--border-width) solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  font-size: 0.75rem;
}


#toast {
  visibility: hidden;
  min-width: 280px;
  background-color: #111;
  color: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  position: fixed;
  z-index: 3000;
  right: 30px;
  top: 30px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s, top 0.4s;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

#toast.show {
  visibility: visible;
  opacity: 1;
  top: 50px;
}

.toast-text {
  flex: 1;
  text-align: left;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.toast-close {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, transform 0.2s;
  padding: 0 5px;
  user-select: none;
}

.toast-close:hover {
  color: #fff;
  transform: scale(1.15);
}


.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
  z-index: 2000;
  position: relative;
}

.hamburger-btn .bar {
  width: 26px;
  height: 2px;
  background-color: var(--text-primary);
  display: block;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}


.hamburger-btn.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-btn.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.close-nav-btn {
  display: none;
}

.menu-bg-dimmer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 990;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-bg-dimmer.active {
  opacity: 1;
  visibility: visible;
}


.mobile-arrow {
  display: none;
}

@media (max-width: 1024px) {}

@media (max-width: 768px) {

  .scroll-btn {
    display: none;
  }

  .header-social-icons {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }


  .scrolling-wrapper .product-item,
  .scrolling-wrapper .view-all-item {
    min-width: calc(50% - 10px);
    max-width: calc(50% - 10px);
  }


  .scrolling-wrapper .category-item {
    min-width: 150px;
    max-width: 150px;
  }

  .category-item-title {
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
  }


  .main-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    z-index: 1500;

    padding-top: 120px;
    padding-left: 25px;
    padding-right: 25px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;


    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
  }

  .main-nav.active {
    transform: translateX(0);
  }



  .main-nav>a,
  .main-nav .dropbtn {
    display: block;
    width: 100%;
    border-bottom: var(--border-width) solid #f5f5f5;

    padding: 20px 0;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--text-primary);
    text-transform: uppercase;

    opacity: 0;
    transform: translateX(-20px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      color 0.2s;
  }


  .main-nav .dropdown {
    width: 100%;
    display: block;
    opacity: 0;
    transform: translateX(-20px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .main-nav>a:hover,
  .main-nav .dropbtn:hover {
    color: var(--accent-primary);
    padding-left: 5px;
  }



  .main-nav.active> :nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.active>.dropdown {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.active .dropbtn {
    opacity: 1;
    transform: none;
  }

  .main-nav.active> :nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.active> :nth-child(5) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateX(0);
  }


  .mobile-only-nav-item {
    display: block;
    width: 100%;
    border-bottom: var(--border-width) solid #f5f5f5;
    padding: 20px 0;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 400;
    color: var(--text-primary);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s;
  }

  .mobile-only-nav-item:hover {
    color: var(--accent-primary);
    padding-left: 5px;
  }

  .main-nav.active>.mobile-only-nav-item {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.active>.mobile-only-nav-item.mobile-account-link {
    transition-delay: 0.5s;
  }

  .main-nav.active>.mobile-only-nav-item.mobile-logout-link {
    transition-delay: 0.55s;
  }

  .mobile-social-icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: auto;
    padding: 30px 0;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .main-nav.active>.mobile-social-icons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
  }

  .mobile-social-icons .icon-img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-social-icons a:hover .icon-img {
    opacity: 1;
    transform: scale(1.1);
  }


  .header-profile-link {
    display: none !important;
  }

  .main-nav>a:last-child {
    border-bottom: none;
  }


  .dropdown-content,
  .sub-dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    display: block;
    opacity: 1;
    transform: none;
    visibility: visible;


    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease-out,
      padding 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
  }

  .dropdown.active .dropdown-content {
    max-height: 500px;
    padding-bottom: 10px;
  }

  .sub-dropdown.active .sub-dropdown-content {
    max-height: 500px;
    padding-bottom: 10px;
  }


  .sub-dropbtn .arrow {
    display: inline-block;
    float: right;
    margin-right: 15px;
    transition: transform 0.3s;
  }

  .sub-dropdown.active .sub-dropbtn .arrow {
    transform: rotate(90deg);
  }


  .mobile-arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin-left: 15px;
    margin-bottom: 3px;
    transition: transform 0.3s;
  }

  .dropdown.active .mobile-arrow {
    transform: rotate(225deg);
  }
}

@media (max-width: 480px) {}



.breadcrumb-container {
  background-color: var(--bg-secondary);
  margin-bottom: 20px;
}

.breadcrumb-container a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
}

.breadcrumb-container a:hover {
  color: var(--accent-primary);
}

.breadcrumb-container span {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
  margin-top: 40px;
}

.product-gallery {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 15px;
  min-width: 0;
  align-items: flex-start;
}

.main-image-frame {
  flex-grow: 1;
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  order: 2;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: var(--border-width) solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #333;
  z-index: 10;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  opacity: 0;
}

.main-image-frame:hover .gallery-nav-btn {
  opacity: 1;
}

.gallery-nav-btn:hover {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn.prev {
  left: 10px;
}

.gallery-nav-btn.next {
  right: 10px;
}

.visual-content {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  display: block;
  border-radius: 16px;
}

video.visual-content {
  background: #000;
}

.thumbnail-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 116px;
  height: 100%;
  max-height: 600px;
  padding: 10px 20px;
  margin-top: 0;
  order: 1;
}

.thumbnail-strip::-webkit-scrollbar {
  width: 4px;
  background-color: transparent;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.thumb-wrapper {
  position: relative;
  width: 76px;
  height: 95px; /* Maintains beautiful e-commerce 4:5 aspect ratio */
  flex: 0 0 95px; /* Keep height fixed vertically */
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

/* Overlay to render border cleanly on top of the image to prevent subpixel bleed */
.thumb-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.thumb-wrapper:hover::after {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.thumb-wrapper.active::after {
  box-shadow: inset 0 0 0 2px var(--accent-primary);
}

.thumb-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.thumb-wrapper.active {
  box-shadow: 0 8px 16px rgba(128, 128, 0, 0.12);
  transform: translateY(-2px);
}

.thumb-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.thumb-wrapper:hover .thumb-item,
.thumb-wrapper.active .thumb-item {
  opacity: 1;
  transform: scale(1.04);
}

.thumb-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--accent-primary);
  pointer-events: none;
  transition: all 0.3s ease;
}

.thumb-wrapper:hover .thumb-video-icon {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
  color: var(--accent-hover);
}

.thumb-video-icon svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  margin-left: 2px;
}

.product-info {
  padding-top: 0;
  min-width: 0;
}

.p-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
  font-family: var(--font-main);
  color: var(--text-primary);
}

.p-price-block {
  margin-bottom: 25px;
}

.p-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-right: 15px;
}

.p-tax-text {
  font-size: 0.85rem;
  color: #777;
  margin-top: 5px;
}

.p-actions-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.qty-control {
  display: flex;
  border: none;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

.qty-control button {
  background: #f9f9f9;
  border: none;
  padding: 0 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #555;
  transition: background 0.2s;
}

.qty-control button:hover {
  background: #eee;
}

.qty-control input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-main);
  background: transparent;
}

.btn-primary-action {
  flex-grow: 1;
  background-color: var(--text-primary);
  color: white;
  border: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0 30px;
  height: 48px;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 8px;
  min-width: 200px;
}

.btn-primary-action:hover {
  background-color: var(--accent-primary);
}

.btn-primary-action:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.stock-indicator {
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.accordion {
  margin-top: 30px;
  border-top: var(--border-width) solid #eee;
}

.accordion-item {
  border-bottom: var(--border-width) solid #eee;
}

.accordion-header {
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.accordion-header:hover {
  color: var(--accent-primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.accordion-content.active {
  padding-bottom: 20px;
}

.accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-chip {
  cursor: pointer;
  position: relative;
}

.variant-chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.variant-chip span {
  display: inline-block;
  padding: 8px 18px;
  border: var(--border-width) solid #ddd;
  border-radius: 9999px;
  font-size: 0.9rem;
  color: #555;
  background: #fff;
  transition: all 0.2s;
}

.variant-chip input:checked+span {
  background-color: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.variant-chip:hover span {
  border-color: var(--accent-primary);
}

@media (max-width: 900px) {
  .product-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .thumbnail-strip {
    width: 100%;
    height: auto;
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 10px;
  }

  .main-image-frame {
    order: 1;
    aspect-ratio: 1/1;
  }

  .p-title {
    font-size: 1.8rem;
  }
}

header {
  pointer-events: none;
}

header>* {
  pointer-events: auto;
}

input,
textarea,
select,
button {
  pointer-events: auto !important;
}

.razorpay-container {
  z-index: 10000 !important;
}


@media (min-width: 769px) {
  header .main-nav .dropdown {
    position: relative !important;
  }

  header .dropdown-content,
  header .sub-dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #ffffff;
    border: var(--border-width) solid #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    display: block;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    text-align: left;
    overflow: visible;
  }

  header .dropdown-content {
    top: 100%;
    left: 0;
    min-width: 240px;
  }

  header .sub-dropdown-content {
    top: -10px;
    left: 100%;
    margin-left: 0px;
    min-width: 220px;
    z-index: 1001;
  }

  header .dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
    z-index: -1;
  }

  header .sub-dropdown-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 20px;
    height: 100%;
    background: transparent;
    z-index: -1;
  }

  header .dropdown:hover .dropdown-content,
  header .sub-dropdown:hover .sub-dropdown-content {
    visibility: visible;
    opacity: 1;
  }

  header .dropdown-content>a,
  header .dropdown-content .sub-dropbtn,
  header .sub-dropdown-content a {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #333;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: block;
    border-bottom: var(--border-width) solid #f9f9f9;
    border-inline-start: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
    z-index: 1005;
  }

  header .dropdown-content .sub-dropbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header .dropdown-content>a:last-child,
  header .dropdown-content .sub-dropdown:last-child .sub-dropbtn,
  header .sub-dropdown-content a:last-child {
    border-bottom: none;
  }

  header .dropdown-content>a:hover,
  header .dropdown-content .sub-dropbtn:hover,
  header .sub-dropdown-content a:hover {
    color: var(--accent-primary) !important;
    background: #fcfcfc;
    padding-left: 25px;
    border-inline-start-color: var(--accent-primary);
  }

  header .sub-dropdown {
    position: relative;
    display: block;
    height: auto;
  }


  .shop-all-link,
  .mobile-arrow,
  .mobile-only-nav-item {
    display: none !important;
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-icon-svg {
  width: 35px;
  height: 35px;
  fill: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-icon-svg {
    width: 28px;
    height: 28px;
  }
}


.sr-category-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sr-cat-icon {
  color: var(--accent-primary);
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.sr-cat-icon svg {
  display: block;
}

.sr-cat-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: #999;
  background: #f4f4f4;
  padding: 2px 8px;
  border-radius: 16px;
}

.sr-search-icon {
  color: #999;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
}

.sr-search-icon svg {
  display: block;
}

.sr-name {
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.3;
}

.sr-name strong {
  color: var(--accent-primary);
  font-weight: 700;
}

.sr-price {
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}

.sr-view-all {
  display: block;
  text-align: center;
  padding: 12px 15px;
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  background: #fafaf5;
  border-top: var(--border-width) solid #eee;
  transition: background 0.2s;
}

.sr-view-all:hover {
  background: #f0f0ea;
}

.sr-no-results {
  padding: 20px 15px;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}


.auth-page-wrapper {
  display: flex;
  min-height: 100vh;
  margin-top: 0;
  padding-top: 0;
}

.auth-brand-panel {
  flex: 1;
  background: linear-gradient(145deg,
      #4a4a00 0%,
      #606000 35%,
      #808000 70%,
      #9a9a20 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.auth-brand-panel::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 60%);
  pointer-events: none;
}

.auth-brand-panel::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.auth-brand-content {
  text-align: center;
  color: white;
  z-index: 1;
  max-width: 380px;
}

.auth-brand-logo {
  width: 120px;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}

.auth-brand-content h1 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.auth-brand-content p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.7;
  font-weight: 300;
}

.auth-brand-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 25px auto;
}

.auth-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  background: var(--bg-primary);
}

.auth-form-container {
  width: 100%;
  max-width: 400px;
}

.auth-form-container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.auth-form-subtitle {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 35px;
}

.auth-form-group {
  margin-bottom: 22px;
  position: relative;
}

.auth-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-form-group input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e0ddd0;
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: #fafaf8;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  outline: none;
}

.auth-form-group input:focus {
  border-color: var(--accent-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(96, 96, 0, 0.08);
}

.auth-form-group input::placeholder {
  color: #bbb;
}

.auth-password-wrapper {
  position: relative;
}

.auth-toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.auth-toggle-pw:hover {
  color: var(--accent-primary);
}

.auth-submit-btn {
  width: 100%;
  background: var(--accent-primary);
  color: white;
  padding: 14px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.auth-submit-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s,
    height 0.5s;
}

.auth-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 96, 0, 0.25);
}

.auth-submit-btn:hover::after {
  width: 300px;
  height: 300px;
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: center;
  animation: authAlertSlide 0.3s ease;
}

@keyframes authAlertSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-alert-error {
  background: #fff5f5;
  color: #c53030;
  border: var(--border-width) solid #feb2b2;
}

.auth-alert-success {
  background: #f0fff4;
  color: #276749;
  border: var(--border-width) solid #9ae6b4;
}

.auth-footer-text {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
  color: #888;
}

.auth-footer-text a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.auth-footer-text a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}


@media (max-width: 768px) {
  .auth-page-wrapper {
    flex-direction: column;
    background: var(--bg-primary);
  }

  .auth-brand-panel {
    background: none;
    min-height: auto;
    padding: 40px 20px 0;
  }

  .auth-brand-logo {
    filter: none;
    width: 90px;
    margin-bottom: 0;
  }

  .auth-brand-content h1,
  .auth-brand-divider,
  .auth-brand-content p {
    display: none;
  }

  .auth-form-panel {
    padding: 20px 25px 50px;
    background: none;
  }
}



.profile-layout-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}


.profile-sidebar {
  width: 320px;
  background: white;
  border: var(--border-width) solid #f0f0f0;
  border-radius: 24px;
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.sidebar-avatar-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
  margin-bottom: 25px;
  border-bottom: var(--border-width) solid #f2f2f2;
}

.sidebar-avatar-block .profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
  transition: transform 0.3s ease;
}

.sidebar-avatar-block:hover .profile-avatar {
  transform: scale(1.05);
}

.sidebar-user-meta h4 {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 500;
}

.sidebar-user-meta h2 {
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.user-tier-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.profile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-nav-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 16px;
  color: #555;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  width: 100%;
}

.profile-nav-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.profile-nav-btn.active {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

.profile-sidebar-logout {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 16px;
  color: #c53030;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  border-top: var(--border-width) solid #f2f2f2;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.profile-sidebar-logout:hover {
  background: #fff5f5;
}


.profile-main-content {
  flex-grow: 1;
  background: white;
  border: var(--border-width) solid #f0f0f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  min-height: 500px;
}

.profile-tab-pane {
  display: none;
}

.profile-tab-pane.active {
  display: block;
}

.tab-header {
  margin-bottom: 35px;
  border-bottom: var(--border-width) solid #f2f2f2;
  padding-bottom: 20px;
}

.tab-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.tab-subtitle {
  color: #888;
  font-size: 0.95rem;
}


.dashboard-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full-width {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field input,
.form-field textarea {
  padding: 14px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  background: #f8fafc;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-section-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 10px 0;
}

.dashboard-form h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.dashboard-submit-btn {
  align-self: flex-start;
  background: var(--text-primary);
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 15px 35px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.dashboard-submit-btn:hover {
  background: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.25);
}


.dashboard-alert {
  padding: 15px 20px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 30px;
  border: var(--border-width) solid;
}

.dashboard-alert.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-color: #22c55e;
}

.dashboard-alert.alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border-color: #ef4444;
}


.orders-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-block-container {
  border: var(--border-width) solid #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.order-block-container:hover {
  border-color: var(--accent-hover);
}

.order-block {
  background: white;
  border: none;
  border-radius: 0;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-order-details-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: var(--border-width) solid #e8e8e8;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.toggle-order-details-btn:hover {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}


.order-details-drawer {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: var(--border-width) dashed #f0f0f0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-inner-content {
  padding: 30px;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.order-item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 15px;
  border-bottom: var(--border-width) solid #eef2f5;
}

.order-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.item-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: var(--border-width) solid #eef2f5;
}

.item-thumbnail-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.item-details-col {
  flex-grow: 1;
}

.item-details-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.item-variant {
  font-size: 0.75rem;
  color: #a0aec0;
  font-weight: 500;
  text-transform: uppercase;
}

.item-quantity-col {
  font-size: 0.9rem;
  color: #718096;
}

.item-price-col {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  width: 100px;
  text-align: right;
}

.order-details-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: 25px;
  border-top: var(--border-width) solid #eef2f5;
}

.footer-shipping-details h5,
.footer-status-tracker h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-shipping-details p {
  font-size: 0.85rem;
  color: #4a5568;
  line-height: 1.5;
}


.tracker-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 20px;
}

.tracker-steps::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  height: 3px;
  background: #cbd5e1;
  z-index: 1;
}

.tracker-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 4px solid var(--bg-secondary);
  box-shadow: 0 0 0 2px #cbd5e1;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-top: 8px;
  text-align: center;
  letter-spacing: 0.2px;
}

.step.completed .step-dot {
  background: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--accent-primary);
}

.step.completed .step-label {
  color: var(--accent-hover);
}


.vip-loyalty-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
}

.vip-member-panel {
  position: relative;
  width: 480px;
  height: 280px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1e1e1e 0%, #3a2b10 100%);
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  border: var(--border-width) solid rgba(255, 255, 255, 0.08);
}

.vip-member-panel .panel-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.vip-member-panel .panel-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
}

.vip-member-panel .panel-chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #e5c060 0%, #b28d2a 100%);
  border-radius: 8px;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.3);
}

.vip-member-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vip-member-panel .panel-tier {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: linear-gradient(to right, #ffffff 0%, #e2c140 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 15px;
}

.vip-member-panel .panel-number {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.35rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.85);
  margin: 15px 0;
}

.vip-member-panel .panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.panel-holder span,
.panel-points span {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.panel-holder strong,
.panel-points strong {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: white;
}

.panel-points strong {
  font-size: 1.1rem;
  color: #e5c060;
}


.vip-progress-section {
  width: 100%;
  background: #f8fafc;
  border: var(--border-width) solid #e2e8f0;
  border-radius: 16px;
  padding: 25px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
}

.progress-header strong {
  color: var(--text-primary);
}

.progress-bar-outer {
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-inner {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.6s ease;
}

.progress-footer {
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}


.vip-rewards-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  width: 100%;
}

.vip-reward-stat-panel {
  background: white;
  border: var(--border-width) solid #f0f0f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.vip-reward-stat-panel h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.active-coupon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}

.coupon-txt {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--bg-secondary);
  padding: 6px 16px;
  border-radius: 8px;
  border: 1.5px dashed var(--accent-primary);
  color: var(--accent-hover);
}

.copy-code-btn {
  background: var(--text-primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.copy-code-btn:hover {
  background: var(--accent-primary);
}


.vip-benefits-box {
  width: 100%;
  background: #fafaf9;
  border: var(--border-width) solid #ebdcb9;
  border-radius: 16px;
  padding: 25px 30px;
}

.vip-benefits-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vip-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.vip-benefits-list li {
  font-size: 0.85rem;
  color: #4a5568;
  position: relative;
  padding-left: 20px;
}

.vip-benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}


.svg-icon {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}


@media (max-width: 991px) {
  .profile-layout-container {
    flex-direction: column;
    gap: 30px;
  }

  .profile-sidebar {
    width: 100%;
  }

  .profile-nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .profile-nav-btn {
    width: auto;
    flex-grow: 1;
    justify-content: center;
  }

  .profile-sidebar-logout {
    margin-top: 0;
    border-top: none;
    background: #fff5f5;
  }
}

@media (max-width: 768px) {
  .profile-main-content {
    padding: 25px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-field.full-width {
    grid-column: span 1;
  }

  .order-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .order-block-right {
    width: 100%;
    justify-content: space-between;
  }

  .order-details-footer {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .vip-member-panel {
    width: 100%;
    height: 220px;
    padding: 20px;
  }

  .vip-member-panel .panel-tier {
    font-size: 1.3rem;
  }

  .vip-member-panel .panel-number {
    font-size: 1.1rem;
  }

  .vip-rewards-info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

justify-content: space-between;
}
}


.cart-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 0 20px;
}

.cart-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #bbb;
  transition: color 0.3s;
}

.cart-progress-step.active {
  color: var(--accent-primary);
}

.cart-progress-step.completed {
  color: #2e7d32;
}

.cart-progress-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: white;
  transition: all 0.3s;
}

.cart-progress-step.active .cart-progress-dot {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: white;
}

.cart-progress-step.completed .cart-progress-dot {
  border-color: #2e7d32;
  background: #2e7d32;
  color: white;
}

.cart-progress-line {
  width: 60px;
  height: 2px;
  background: #ddd;
  margin: 0 10px;
}

.cart-progress-line.active {
  background: var(--accent-primary);
}


.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #888;
  margin-top: 15px;
}

.secure-badge svg {
  width: 14px;
  height: 14px;
  fill: #999;
}


.delivery-estimate {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fdf8;
  border: var(--border-width) solid #e8f5e9;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #2e7d32;
}

.delivery-estimate svg {
  width: 16px;
  height: 16px;
  fill: #2e7d32;
  flex-shrink: 0;
}


.cart-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: var(--border-width) solid #eee;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.cart-continue-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.cart-continue-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.cart-item-block {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: var(--border-width) solid #f0f0f0;
  transition: background 0.2s;
}

.cart-item-block:last-child {
  border-bottom: none;
}

.cart-item-block:hover {
  background: #fafafa;
  margin: 0 -10px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
}

.cart-item-image-link {
  flex-shrink: 0;
  width: 120px;
  height: 140px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  border: var(--border-width) solid #eee;
  display: block;
  transition: opacity 0.2s;
}

.cart-item-image-link:hover {
  opacity: 0.85;
}

.cart-item-image-link .cart-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.cart-item-name-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.cart-item-name-link:hover {
  color: var(--accent-primary);
}

.cart-item-unit-price {
  font-size: 0.85rem;
  color: #888;
  font-weight: 500;
}

.cart-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: #bbb;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-remove-btn:hover {
  color: #d32f2f;
  background: #ffebee;
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.cart-qty-control {
  display: flex;
  border: none;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

.cart-qty-btn {
  width: 36px;
  height: 100%;
  background: #fafafa;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  user-select: none;
}

.cart-qty-btn:hover {
  background: var(--accent-primary);
  color: white;
}

.cart-qty-btn:active {
  transform: scale(0.95);
}

.cart-qty-value {
  width: 40px;
  height: 100%;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: transparent;
}

.cart-qty-value::-webkit-outer-spin-button,
.cart-qty-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-item-line-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}


@media (max-width: 768px) {
  .cart-summary {
    padding: 20px 16px;
  }

  .cart-item-block {
    gap: 14px;
  }

  .cart-item-image-link {
    width: 90px;
    height: 110px;
  }

  .cart-item-name-link {
    font-size: 0.95rem;
  }

  .cart-items-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .cart-item-block:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
}

/* Instagram Section Styling */
.instagram-section {
  padding: 80px 20px;
  background-color: var(--bg-secondary);
  border-top: var(--border-width) solid rgba(0, 0, 0, 0.03);
  text-align: center;
}

.instagram-container {
  max-width: 1200px;
  margin: 0 auto;
}

.instagram-header {
  margin-bottom: 45px;
}

.instagram-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.instagram-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.instagram-desc {
  font-size: 1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 45px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: var(--border-width) solid #eee;
  background-color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.instagram-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(96, 96, 0, 0.75);
  /* Translucent olive-green accent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.instagram-icon-wrapper {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.instagram-svg-icon {
  width: 32px;
  height: 32px;
  stroke: white;
}

.view-post-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.instagram-item:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(96, 96, 0, 0.1);
}

.instagram-item:hover img {
  transform: scale(1.08);
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-item:hover .instagram-icon-wrapper {
  transform: translateY(0);
}

.instagram-footer {
  display: flex;
  justify-content: center;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--accent-primary);
  color: white;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(96, 96, 0, 0.2);
}

.instagram-btn:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(96, 96, 0, 0.3);
}

.btn-instagram-icon {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* Responsiveness */
@media (max-width: 992px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .instagram-title {
    font-size: 2rem;
  }

  .instagram-section {
    padding: 60px 20px;
  }
}

@media (max-width: 576px) {
  .instagram-section {
    padding: 50px 16px;
  }

  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 35px;
  }

  .instagram-title {
    font-size: 1.6rem;
  }

  .instagram-desc {
    font-size: 0.9rem;
  }

  .instagram-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
}

/* Reviews Section Styling */
.reviews-section {
  padding: 80px 0;
  /* Full bleed layout for beautiful horizontal scroll */
  background-color: #fff;
  /* Alternate section backgrounds */
  border-top: var(--border-width) solid rgba(0, 0, 0, 0.03);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reviews-container {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.reviews-header {
  margin-bottom: 45px;
  padding: 0 20px;
}

.reviews-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.reviews-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

/* Looping Marquee Structures */
.reviews-marquee-outer {
  position: relative;
  width: 100%;
  padding: 0 60px;
  /* Leave padding for navigation arrows */
}

.reviews-marquee-wrapper {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  width: 100%;
  position: relative;
  scroll-behavior: smooth;
  cursor: grab;
  mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.reviews-marquee-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.reviews-marquee-wrapper.active-drag {
  cursor: grabbing;
}

.reviews-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 20px 12px;
}

/* Navigation buttons */
.reviews-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: var(--text-primary);
}

.reviews-nav-btn:hover {
  background: var(--text-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.reviews-nav-btn.left {
  left: 0;
}

.reviews-nav-btn.right {
  right: 0;
}

.reviews-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.review-card {
  flex: 0 0 200px;
  /* Smaller, Instagram Highlights styled width */
  width: 200px;
  background: var(--bg-secondary);
  /* Elegant light cream background */
  border-radius: 16px;
  padding: 24px 16px;
  border: var(--border-width) solid rgba(96, 96, 0, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 200px;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(96, 96, 0, 0.08);
  border-color: var(--accent-primary);
}

.review-stars {
  color: #d4af37;
  /* Gold stars */
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Instagram Highlights in Reviews */
.review-highlight-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.instagram-highlight {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  /* ring width */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-card:hover .instagram-highlight {
  transform: scale(1.08);
}

/* Breathing animation for highlight circles to prompt clicking */
@keyframes highlightBreathing {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 104, 60, 0.5);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 10px 4px rgba(230, 104, 60, 0.2);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 104, 60, 0.5);
  }
}

.review-card.has-screenshot:not(:hover) .instagram-highlight {
  animation: highlightBreathing 2.5s infinite ease-in-out;
}

/* Gradient borders */
/* With screenshot: Instagram gradient */
.review-card.has-screenshot .instagram-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  transition: transform 0.8s ease;
}

/* Without screenshot: Elegant Gold gradient */
.review-card:not(.has-screenshot) .instagram-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  opacity: 0.8;
}

/* Rotate gradient ring on hover */
.review-card.has-screenshot:hover .instagram-highlight::before {
  transform: rotate(180deg);
}

.highlight-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.highlight-thumbnail {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  /* Matches card background */
  padding: 3px;
  /* Creates the spacer gap */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.highlight-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.review-card.has-screenshot:hover .highlight-thumbnail img {
  transform: scale(1.1);
}

.highlight-quote-fallback {
  font-size: 2.2rem;
  font-family: serif;
  color: var(--accent-primary);
  line-height: 1;
  margin-top: 12px;
}

/* Hover Preview Card styling (PC) */
.review-hover-preview-card {
  position: fixed;
  z-index: 9999;
  width: 240px;
  height: 360px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
  /* Let pointer events go through so it doesn't flicker */
  opacity: 0;
  transform: scale(0.9) translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-hover-preview-card.show {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.preview-card-content {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.preview-card-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox Modal (Fullscreen for clicks/mobile tap) */
.review-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-lightbox.show {
  opacity: 1;
}

.review-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-lightbox.show .review-lightbox-content {
  transform: scale(1);
}

.review-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: contain;
}

.review-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  z-index: 10002;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.review-lightbox-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .review-lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 30px;
  }
}


.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  margin-bottom: 25px;
  flex-grow: 1;
}

.review-author-info {
  margin-top: auto;
}

.review-author-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: block;
}

.review-author-desc {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  font-weight: 600;
  display: block;
}

.review-author-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 2px solid var(--accent-primary);
  display: inline-block;
  box-shadow: 0 4px 12px rgba(96, 96, 0, 0.1);
}


/* Responsiveness */
@media (max-width: 992px) {
  .reviews-title {
    font-size: 2rem;
  }

  .reviews-section {
    padding: 60px 0;
  }

  .reviews-marquee-outer {
    padding: 0 50px;
  }

  .review-card {
    flex: 0 0 190px;
    width: 190px;
    padding: 22px 14px;
    min-height: 190px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 50px 0;
  }

  .reviews-title {
    font-size: 1.6rem;
  }

  .reviews-marquee-outer {
    padding: 0;
  }

  .reviews-nav-btn {
    display: none;
    /* Hide scroll buttons on mobile; use touch swipe */
  }

  .review-card {
    flex: 0 0 170px;
    width: 170px;
    padding: 20px 12px;
    min-height: 170px;
  }
}

/* Why Trust Us Section */
.trust-section {
  padding: 60px 0;
  background-color: #faf9f6;
  /* Beautiful warm off-white cream color */
  border-top: var(--border-width) solid rgba(0, 0, 0, 0.03);
  text-align: center;
}

.trust-section-title {
  font-family: "Playfair Display", "Didot", "Garamond", "Georgia", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #3e3e00;
  /* Dark olive gold shade matching the logo/brand style */
  margin-bottom: 40px;
}

.trust-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.trust-item {
  flex: 1 1 calc(16.66% - 20px);
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-icon-wrapper {
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.trust-meta {
  font-family: "Playfair Display", "Didot", "Garamond", "Georgia", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
  /* Gold/olive brand color */
  margin-bottom: 4px;
}

.trust-label {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Responsiveness */
@media (max-width: 992px) {
  .trust-item {
    flex: 1 1 calc(33.33% - 20px);
  }
}

@media (max-width: 480px) {
  .trust-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 120px;
  }

  .trust-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .trust-section-title {
    margin-bottom: 25px;
  }
}

/* ==========================================================================
   WISHLIST FEATURE STYLES
   ========================================================================== */

/* Header Badge & Tool Count */
.wishlist-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  display: inline-block;
}

/* Product Detail Wishlist Button */
.btn-wishlist-action {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn-wishlist-action:hover {
  border-color: #e74c3c;
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(231, 76, 60, 0.1);
}

.btn-wishlist-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: fill 0.3s ease, stroke 0.3s ease, transform 0.3s ease;
}

.btn-wishlist-action.active {
  border-color: #e74c3c;
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.02);
}

.btn-wishlist-action.active svg {
  fill: #e74c3c;
  stroke: #e74c3c;
  transform: scale(1.1);
}

/* Cart Item Wishlist Action */
.cart-actions-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-wishlist-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  color: #bbb;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-wishlist-btn:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.05);
}

/* Wishlist Section on Cart Page */
.wishlist-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: var(--border-width) solid #eee;
}

.wishlist-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.wishlist-title-row h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
}

/* Remove button overlay on wishlist product cards */
.wishlist-remove-overlay-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  z-index: 15;
}

.wishlist-remove-overlay-btn:hover {
  background: #fff;
  color: #e74c3c;
  transform: scale(1.05);
}

/* Wishlist empty state */
.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
  background: #fafaf9;
  border-radius: 20px;
  border: 1px dashed rgba(0,0,0,0.08);
}

.wishlist-empty-icon {
  font-size: 3rem;
  color: #ccc;
  margin-bottom: 15px;
}

/* Responsiveness for Wishlist section */
@media (max-width: 768px) {
  .wishlist-section {
    margin-top: 40px;
    padding-top: 30px;
  }
}

/* Custom Homepage Banners Slider */
.homepage-slider-section {
    position: relative;
    width: 100%;
    margin: 40px auto;
    padding: 0;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2752 / 1352;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

@media (max-width: 768px) {
    .slider-wrapper {
        aspect-ratio: 16 / 10;
    }
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.slider-slide:hover img {
    transform: scale(1.03);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
}

.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

/* ==========================================================================
   PRODUCT FILTER & SORT STYLES
   ========================================================================== */
.filter-sort-wrapper {
  margin: 20px 0 35px 0;
  padding: 18px 24px;
  background-color: #faf9f6;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.filter-sort-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.filters-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Custom Select Dropdowns */
.filter-select-wrapper {
  position: relative;
  display: inline-block;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 32px 8px 16px;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  transition: all 0.25s ease;
  min-width: 150px;
}

.filter-select:hover, .filter-select:focus {
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-select-wrapper::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 48%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.1rem;
  color: #777;
  pointer-events: none;
  font-weight: bold;
}

/* Checkbox Style */
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.filter-checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  height: 18px;
  width: 18px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  transition: all 0.2s;
}

.filter-checkbox-label:hover input ~ .checkbox-custom {
  border-color: var(--accent-primary);
}

.filter-checkbox-label input:checked ~ .checkbox-custom {
  background-color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-checkbox-label input:checked ~ .checkbox-custom::after {
  display: block;
}

/* Active Filter Pills */
.active-filters-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.active-filters-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 5px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.8rem;
  color: #555;
  text-decoration: none;
  transition: all 0.2s;
}

.filter-pill:hover {
  border-color: #c0392b;
  color: #c0392b;
  background-color: #fdfefe;
}

.pill-remove {
  font-size: 1rem;
  font-weight: 700;
  color: #aaa;
  line-height: 1;
}

.filter-pill:hover .pill-remove {
  color: #c0392b;
}

.clear-all-filters {
  font-size: 0.8rem;
  color: #c0392b;
  text-decoration: none;
  font-weight: 600;
  margin-left: 10px;
  transition: opacity 0.2s;
}

.clear-all-filters:hover {
  text-decoration: underline;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .filter-sort-wrapper {
    padding: 15px;
  }
  .filter-sort-form {
    flex-direction: column;
    align-items: stretch;
  }
  .filters-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-select {
    width: 100%;
  }
  .sort-group {
    justify-content: space-between;
    margin-top: 5px;
  }
}

