/* Novira Fresh — supermarket homepage (green theme) */

.ds-page--fresh {
  --ds-fresh-accent: #00A049;
  --ds-fresh-accent-dark: #008f40;
  --ds-fresh-hero-from: #00b85c;
  --ds-fresh-hero-to: #007a3d;
  --ds-card-accent: var(--ds-fresh-accent);
  --ds-header-offset: 88px;
}

.ds-page--fresh .ds-nav-link[href="fresh.html"] {
  color: var(--ds-fresh-accent);
  font-weight: 700;
}

.ds-page--fresh .ds-section-title {
  color: var(--ds-fresh-accent);
}

.ds-page--fresh .ds-section-more--green,
.ds-page--fresh .ds-fresh-section-more {
  color: var(--ds-fresh-accent);
}

.ds-page--fresh .ds-fresh-section-more:hover {
  color: var(--ds-fresh-accent-dark);
}

.ds-page--fresh .ds-main {
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 12px;
}

@media (min-width: 768px) {
  .ds-page--fresh .ds-main {
    padding-top: 28px;
  }
}

/* Hero */
.ds-fresh-hero-wrap {
  margin-top: 8px;
  margin-bottom: 20px;
  padding-top: 4px;
}

.ds-fresh-hero {
  border-radius: var(--ds-radius-lg);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 120, 60, 0.12);
}

.ds-fresh-hero .swiper-wrapper {
  align-items: stretch;
}

.ds-fresh-hero .swiper-slide {
  height: auto;
}

.ds-fresh-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 168px;
  padding: 28px 24px 40px;
  border-radius: var(--ds-radius-lg);
  color: #fff;
  overflow: hidden;
}

@media (min-width: 768px) {
  .ds-fresh-hero-slide {
    min-height: 220px;
    padding: 36px 48px 48px;
    gap: 32px;
  }
}

.ds-fresh-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
  pointer-events: none;
}

.ds-fresh-hero-slide--1 {
  background: linear-gradient(125deg, #00c853 0%, #00a049 45%, #007a3d 100%);
}

.ds-fresh-hero-slide--2 {
  background: linear-gradient(125deg, #26c6da 0%, #00897b 50%, #00695c 100%);
}

.ds-fresh-hero-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  background: #fff;
  color: var(--ds-fresh-accent);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* موبایل: فقط بج — گوشهٔ بالا چپ (فیزیکی) */
@media (max-width: 767px) {
  .ds-fresh-hero-badge {
    inset-inline-start: auto;
    left: 16px;
    right: auto;
  }
}

.ds-fresh-hero-badge--delivery {
  background: rgba(255, 255, 255, 0.95);
  color: #00796b;
}

.ds-fresh-hero-text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.ds-fresh-hero-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .ds-fresh-hero-text h2 {
    font-size: 1.875rem;
  }
}

.ds-fresh-hero-text p {
  font-size: 0.8125rem;
  opacity: 0.95;
  margin-bottom: 18px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .ds-fresh-hero-text p {
    font-size: 0.9375rem;
  }
}

.ds-fresh-hero-cta {
  display: inline-block;
  padding: 11px 22px;
  background: #fff;
  color: var(--ds-fresh-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ds-fresh-hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.ds-fresh-hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 2.75rem;
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .ds-fresh-hero-visual {
    width: 160px;
    height: 160px;
    font-size: 3.5rem;
    gap: 8px;
  }
}

.ds-fresh-hero-visual span {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.ds-fresh-hero .swiper-pagination {
  bottom: 12px !important;
}

.ds-fresh-hero .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.ds-fresh-hero .swiper-pagination-bullet-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* Amazing block (green) */
.ds-fresh-amazing {
  background: var(--ds-fresh-accent);
  border-radius: var(--ds-radius-lg);
  padding: 20px;
  margin-block: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  isolation: isolate;
}

@media (min-width: 1024px) {
  .ds-fresh-amazing {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }
}

.ds-fresh-amazing-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 12px;
  min-width: 180px;
}

.ds-fresh-amazing-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.ds-fresh-amazing-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}

.ds-fresh-amazing-timer {
  display: flex;
  gap: 8px;
  direction: rtl;
  margin-bottom: 16px;
}

.ds-fresh-amazing-timer-unit {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--ds-radius);
  padding: 8px 10px;
  min-width: 44px;
}

.ds-fresh-amazing-timer-val {
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
}

.ds-fresh-amazing-timer-label {
  font-size: 10px;
  opacity: 0.9;
}

.ds-fresh-amazing-more {
  font-size: 13px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  text-decoration: none;
}

.ds-fresh-amazing-products-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.ds-fresh-amazing-swiper .swiper-slide {
  width: 168px;
  height: auto;
}

.ds-fresh-amazing-card.ds-product-card-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #fff;
  border-radius: var(--ds-radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  border: 1px solid var(--ds-border);
}

.ds-fresh-amazing-card.ds-product-card-wrap:hover {
  box-shadow: var(--ds-shadow-lg);
}

.ds-fresh-amazing-card .ds-product-card__main {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  gap: 0;
}

.ds-fresh-amazing-card .ds-product-discount {
  top: 8px;
  inset-inline-start: 8px;
  inset-inline-end: auto;
  background: var(--ds-fresh-accent);
  z-index: 2;
}

.ds-fresh-amazing-card-img {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--ds-bg-soft);
  border-radius: var(--ds-radius);
  margin-bottom: 10px;
}

.ds-fresh-amazing-card .ds-product-title {
  font-size: 12px;
  margin-bottom: 8px;
  flex: 1;
}

.ds-fresh-amazing-card .ds-product-card__prices {
  margin-top: auto;
}

.ds-fresh-stock {
  margin-top: 10px;
  height: 4px;
  background: #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
}

.ds-fresh-stock-bar {
  height: 100%;
  background: var(--ds-fresh-accent);
  border-radius: 2px;
  transition: width 0.3s;
}

/* Categories */
.ds-fresh-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 8px;
}

@media (min-width: 640px) {
  .ds-fresh-categories-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (min-width: 1024px) {
  .ds-fresh-categories-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.ds-fresh-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.ds-fresh-category-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--ds-shadow);
  transition: transform 0.2s;
}

.ds-fresh-category:hover .ds-fresh-category-icon {
  transform: scale(1.05);
}

.ds-fresh-category-label {
  font-size: 11px;
  color: var(--ds-text-secondary);
  text-align: center;
  line-height: 1.3;
  max-width: 72px;
}

.ds-page--fresh .ds-product-discount {
  background: var(--ds-fresh-accent);
}

/* Rank lists */
.ds-fresh-rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .ds-fresh-rank-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.ds-fresh-rank-col {
  background: #fff;
  border-radius: var(--ds-radius-lg);
  padding: 20px;
  box-shadow: var(--ds-shadow);
}

.ds-fresh-rank-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ds-text-secondary);
}

.ds-fresh-rank-head span:first-child {
  color: #f9a825;
}

.ds-fresh-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ds-fresh-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.ds-fresh-rank-item:hover {
  opacity: 0.85;
}

.ds-fresh-rank-num {
  flex-shrink: 0;
  width: 24px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ds-fresh-accent);
  text-align: center;
}

.ds-fresh-rank-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--ds-radius);
  background: var(--ds-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ds-fresh-rank-name {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ds-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Brands — green-tinted band (shared card styles in novira.css) */
.ds-page--fresh .ds-brands--fresh {
  padding: 12px 0 24px;
  margin-top: 8px;
}

.ds-page--fresh .ds-brands-more {
  color: var(--ds-fresh-accent);
}

.ds-page--fresh .ds-brands-more:hover {
  color: var(--ds-fresh-accent-dark);
}

.ds-page--fresh .ds-brands-band {
  background: linear-gradient(135deg, #f5faf6 0%, #fff 45%, #f0f9f2 100%);
}

.ds-page--fresh .ds-brands-band::before {
  background: linear-gradient(to left, transparent, #f5faf6);
}

.ds-page--fresh .ds-brands-band::after {
  background: linear-gradient(to right, transparent, #f0f9f2);
}

.ds-page--fresh .ds-footer {
  margin-top: 16px;
  padding-top: 28px;
}

.ds-page--fresh .ds-fab--market {
  background: var(--ds-brand);
}

.ds-page--fresh .ds-footer-bottom strong {
  color: var(--ds-fresh-accent);
}

/* Fresh unique header */
.ds-header-fresh {
  background: linear-gradient(135deg, #00a049 0%, #007a3d 100%);
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 120, 60, 0.2);
}

.ds-header-fresh-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ds-header-fresh-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.ds-header-fresh-eta {
  font-size: 12px;
  opacity: 0.95;
  margin: 0;
  flex: 1;
  min-width: 140px;
}

.ds-header-fresh-search {
  flex: 1;
  min-width: 160px;
  max-width: 360px;
}

.ds-header-fresh-search input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
}

.ds-header-fresh-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
}

.ds-header-fresh-link {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.ds-header-fresh-link:hover {
  color: #fff;
  background: var(--ds-header-link-hover-bg, #00b85c);
  border-color: transparent;
}

.ds-header-fresh .ds-cart-btn {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.ds-header-fresh .ds-cart-btn svg {
  stroke: #fff;
}

/* Hero collage */
.ds-fresh-hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 140px;
  flex-shrink: 0;
}

.ds-fresh-hero-collage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 6px;
}

/* Deal grid */
.ds-fresh-deals {
  background: #fff;
  border-radius: var(--ds-radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--ds-border);
}

.ds-fresh-deals-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ds-fresh-deals-timer {
  display: flex;
  gap: 8px;
}

.ds-fresh-deals-timer span {
  background: var(--ds-fresh-accent);
  color: #fff;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  min-width: 36px;
  text-align: center;
}

.ds-fresh-deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .ds-fresh-deals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ds-fresh-deal-card {
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: 12px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s;
}

.ds-fresh-deal-card:hover {
  box-shadow: 0 4px 14px rgba(0, 160, 73, 0.12);
}

.ds-fresh-deal-card-img {
  aspect-ratio: 1;
  background: #f7f7f8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-fresh-deal-card-img img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* Shelf tabs */
.ds-fresh-shelves {
  margin-bottom: 20px;
}

.ds-fresh-shelves-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.ds-fresh-shelf-tab {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 2px solid var(--ds-border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  min-width: 88px;
  transition: border-color 0.2s, background 0.2s;
}

.ds-fresh-shelf-tab.is-active {
  border-color: var(--ds-fresh-accent);
  background: #e8f5e9;
}

.ds-fresh-shelf-tab img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.ds-fresh-shelf-tab span {
  font-size: 11px;
  font-weight: 700;
  color: var(--ds-text-secondary);
}

/* Product rows */
.ds-fresh-rows {
  margin-bottom: 24px;
}

.ds-fresh-rows-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.ds-fresh-row-card {
  flex: 0 0 160px;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  background: #fff;
  overflow: hidden;
}

.ds-fresh-row-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 10px;
}

.ds-fresh-row-card-img {
  aspect-ratio: 1;
  background: #f7f7f8;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-fresh-row-card-img img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.ds-fresh-rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #f7f7f8;
}

/* Delivery promise */
.ds-fresh-delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .ds-fresh-delivery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ds-fresh-delivery-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  padding: 20px;
  text-align: center;
}

.ds-fresh-delivery-card strong {
  display: block;
  font-size: 1rem;
  margin: 8px 0 4px;
  color: var(--ds-fresh-accent);
}

.ds-fresh-delivery-card p {
  font-size: 12px;
  color: var(--ds-text-muted);
  margin: 0;
}

/* Fresh footer */
.ds-footer-fresh {
  background: #0d5c32;
  color: rgba(255, 255, 255, 0.9);
  padding: 28px 0;
  margin-top: 24px;
}

.ds-footer-fresh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .ds-footer-fresh-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ds-footer-fresh h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.ds-footer-fresh a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.ds-footer-fresh a:hover {
  color: #7dffb0;
}

.ds-footer-fresh-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  text-align: center;
}

/* Rich header (multi-row, green theme) */
.ds-header-fresh--rich {
  --ds-header-link-hover-bg: #00b85c;
  background: linear-gradient(135deg, #00a049 0%, #007a3d 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 120, 60, 0.25);
  border-bottom: none;
}

.ds-header-fresh--rich .ds-hamburger,
.ds-header-fresh--rich .ds-cart-btn,
.ds-header-fresh--rich .ds-btn-login,
.ds-header-fresh--rich .ds-user-trigger {
  color: #fff;
}

.ds-header-fresh--rich .ds-cart-btn svg,
.ds-header-fresh--rich .ds-btn-login svg,
.ds-header-fresh--rich .ds-user-trigger svg,
.ds-header-fresh--rich .ds-hamburger svg {
  stroke: #fff;
}

.ds-header-fresh--rich .ds-header-divider {
  background: rgba(255, 255, 255, 0.35);
}

.ds-header-fresh--rich .ds-mobile-search-bar {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.ds-header-fresh--rich .ds-mobile-search-bar svg {
  stroke: rgba(255, 255, 255, 0.9);
}

.ds-header-fresh-brand-rich {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.ds-header-fresh-brand-rich--desktop {
  font-size: 1rem;
  min-width: 160px;
}

.ds-header-fresh--rich .ds-search {
  background: #fff;
}

.ds-header-fresh--rich .ds-btn-login {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.ds-header-fresh--rich .ds-btn-login:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ds-header-fresh--rich .ds-user-avatar {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.ds-header-fresh--rich .ds-cart-badge {
  background: #fff;
  color: var(--ds-fresh-accent);
}

.ds-fresh-header-eta {
  align-items: center;
  gap: 8px;
  padding: 8px 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
}

.ds-fresh-header-eta svg {
  stroke: #fff;
  flex-shrink: 0;
}

.ds-nav-row--fresh {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 4px;
}

.ds-header-fresh--rich .ds-nav-link {
  color: rgba(255, 255, 255, 0.92);
}

.ds-header-fresh--rich .ds-nav-link:hover {
  color: #fff;
  background: var(--ds-header-link-hover-bg);
}

.ds-header-fresh--rich .ds-nav-link--hot {
  color: #fff;
}

.ds-header-fresh--rich .ds-nav-link--hot:hover {
  color: #fff;
  background: var(--ds-header-link-hover-bg);
}

.ds-header-fresh--rich .ds-dropdown-panel {
  color: var(--ds-text-secondary);
}

/* Rich footer (green accent) */
.ds-footer-fresh--rich {
  background: #f5faf6;
  border-top: 2px solid var(--ds-fresh-accent);
}

.ds-footer-fresh--rich .ds-footer-top {
  border-bottom-color: rgba(0, 160, 73, 0.15);
}

.ds-footer-fresh--rich .ds-footer-col a:hover {
  color: var(--ds-fresh-accent);
}

.ds-footer-fresh--rich .ds-footer-back-top:hover {
  border-color: var(--ds-fresh-accent);
  color: var(--ds-fresh-accent);
}

.ds-footer-fresh--rich .ds-footer-bottom a:hover {
  color: var(--ds-fresh-accent-dark);
}

.ds-footer-fresh-logo .ds-logo-text {
  color: var(--ds-fresh-accent);
  font-weight: 800;
}

.ds-footer-fresh--rich .ds-footer-newsletter button {
  background: var(--ds-fresh-accent);
}

.ds-footer-fresh--rich .ds-footer-bottom strong,
.ds-footer-fresh--rich .ds-footer-bottom a {
  color: var(--ds-fresh-accent);
}

.ds-page--fresh .ds-main {
  padding-top: 16px;
}

/* Deals swiper inside card block */
.ds-fresh-deals .ds-product-swiper-wrap {
  margin-top: 4px;
}

.ds-fresh-deals-swiper .swiper-slide {
  width: 200px;
}

@media (min-width: 768px) {
  .ds-fresh-deals-swiper .swiper-slide {
    width: 220px;
  }
}

/* Fresh product card */
.ds-product-card-wrap.ds-product-card--fresh {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 12px;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--ds-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 120, 60, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ds-product-card-wrap.ds-product-card--fresh::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ds-fresh-accent);
  border-radius: 12px 12px 0 0;
}

.ds-product-card-wrap.ds-product-card--fresh:hover {
  box-shadow: 0 6px 16px rgba(0, 160, 73, 0.14);
  transform: translateY(-2px);
}

.ds-product-card--fresh .ds-product-card__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.ds-product-card--fresh .ds-product-img-wrap {
  aspect-ratio: 1;
  min-height: 130px;
  background: #f0f9f2;
  border: none;
  border-radius: 10px;
}

.ds-product-card--fresh .ds-product-discount {
  background: var(--ds-fresh-accent);
  top: 12px;
  left: 12px;
  border-radius: 999px;
  font-size: 11px;
}

.ds-product-card--fresh .ds-product-title {
  font-size: 12px;
  min-height: 36px;
  font-weight: 700;
  line-height: 1.4;
}

.ds-product-card--fresh .ds-product-card__prices .ds-product-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ds-fresh-accent-dark);
}

.ds-product-card--fresh .ds-fresh-stock {
  margin-top: 0;
}

.ds-fresh-card-add {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: var(--ds-fresh-accent);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}

.ds-fresh-card-add:hover {
  filter: brightness(0.92);
}

.ds-fresh-card-add:active {
  transform: scale(0.98);
}

.ds-page--fresh .ds-product-swiper .swiper-slide {
  width: 200px;
}

@media (min-width: 768px) {
  .ds-page--fresh .ds-product-swiper .swiper-slide {
    width: 210px;
  }
}

/* Fresh layout: sidebar + main content */
.ds-fresh-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}

.ds-fresh-layout__body {
  min-width: 0;
}

.ds-fresh-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .ds-fresh-layout {
    grid-template-columns: 240px 1fr;
  }

  .ds-fresh-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--ds-header-offset) + 16px);
    max-height: calc(100vh - var(--ds-header-offset) - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #f5f5f6;
    border: 1px solid #e0e0e2;
    border-radius: 12px;
    padding: 12px 0;
    scrollbar-width: thin;
  }

  .ds-fresh-sidebar::-webkit-scrollbar {
    width: 4px;
  }

  .ds-fresh-sidebar::-webkit-scrollbar-thumb {
    background: #c0c0c2;
    border-radius: 4px;
  }
}

.ds-fresh-sidebar__title {
  margin: 0 0 8px;
  padding: 0 16px 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ds-text-secondary);
  border-bottom: 1px solid #e8e8ea;
}

.ds-fresh-sidebar__nav {
  display: flex;
  flex-direction: column;
}

.ds-fresh-sidebar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ds-text-secondary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: background 0.15s, color 0.15s;
  border-inline-end: 3px solid transparent;
}

.ds-fresh-sidebar__item:hover {
  background: #eeeef0;
  color: var(--ds-text);
}

.ds-fresh-sidebar__item.is-active {
  background: #e8f5e9;
  color: var(--ds-fresh-accent-dark);
  font-weight: 700;
  border-inline-end-color: var(--ds-fresh-accent);
}

.ds-fresh-sidebar__label {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.ds-fresh-sidebar__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e8ea;
  overflow: hidden;
}

.ds-fresh-sidebar__icon img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

/* Drawer category thumbs (mobile) */
.ds-mobile-drawer__item-thumb {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f6;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.ds-mobile-drawer__item-thumb img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}
