/**
 * Digital Plus — Homepage Section Styles
 * Extracted from Shopify section <style> blocks
 * Replaces: italist-styles.css, misc-1.css, misc-2.css (all DISCARDED)
 * All selectors use dp- prefix; no Liquid syntax
 */

/* ===== Announcement Bar ===== */
.dp-announcement-bar {
  background: var(--dp-announcement-bg, var(--gradient-announcement));
  color: #ffffff;
  text-align: center;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  letter-spacing: 0.05em;
  position: relative;
  z-index: calc(var(--z-header) + 1);
}

.dp-announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.dp-announcement-bar__text {
  flex: 1;
  text-align: center;
}

.dp-announcement-bar__link {
  color: inherit;
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.dp-announcement-bar__link:hover {
  opacity: 0.8;
  color: inherit;
}

.dp-announcement-bar__close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.7;
  font-size: var(--font-size-md);
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.dp-announcement-bar__close:hover {
  opacity: 1;
}

/* ===== Hero ===== */
.dp-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
  background: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
}

.dp-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.dp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #ffffff;
  padding: var(--spacing-xxl);
}

.dp-hero__heading {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 5vw, var(--font-size-display));
  font-weight: 300;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.dp-hero__subheading {
  font-size: var(--font-size-lg);
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.dp-hero__cta {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--color-primary);
  padding: var(--spacing-sm) var(--spacing-xxl);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
}

.dp-hero__cta:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: var(--color-primary);
}

.dp-hero__cta--secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  margin-inline-start: var(--spacing-md);
}

.dp-hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.dp-hero__ctas {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== Brand Carousel (matches Shopify lc-section exactly) ===== */
.dp-brand-carousel {
  background-color: #ffffff;
  padding-top: 25px;
  padding-bottom: 0;
  overflow: hidden;
  width: 100%;
}

.dp-brand-carousel__heading-wrap {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 16px;
  text-align: center;
}

.dp-brand-carousel__heading-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to left, #60a5fa, #1d4ed8);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 10px;
}

.dp-brand-carousel__heading {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dp-brand-carousel__viewport {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  overflow: hidden !important;
  position: relative;
}
.dp-brand-carousel.dp-section { overflow: hidden !important; }

.dp-brand-carousel__track {
  display: flex;
  gap: 30px;
  width: max-content;
  cursor: grab;
  will-change: transform;
  padding: 8px 0;
}

.dp-brand-carousel__track:active {
  cursor: grabbing;
}

.dp-brand-carousel__track::-webkit-scrollbar {
  display: none;
}

.dp-brand-carousel__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  transition: transform 0.25s ease;
}

.dp-brand-carousel__item:hover {
  transform: scale(1.08);
}

.dp-brand-carousel__logo {
  width: 100px;
  height: 100px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}

.dp-brand-carousel__logo img,
.dp-brand-carousel__logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dp-brand-carousel__item img,
.dp-brand-carousel__item svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  transition: opacity var(--transition-fast);
}

.dp-brand-carousel__name {
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* Edge fades */
.dp-brand-carousel__viewport::before,
.dp-brand-carousel__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  z-index: 2;
  pointer-events: none;
}
.dp-brand-carousel__viewport::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.dp-brand-carousel__viewport::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* Mobile */
@media (max-width: 768px) {
  .dp-brand-carousel__heading-wrap { margin-bottom: 16px; }
  .dp-brand-carousel__heading-bar { padding: 12px 16px; }
  .dp-brand-carousel__heading { font-size: 18px; }
  .dp-brand-carousel__viewport::before,
  .dp-brand-carousel__viewport::after { width: 30px; }
}

/* ===== Section Base ===== */
.dp-section {
  padding: var(--spacing-xxl) 0;
}

.dp-section__header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.dp-section__title {
  font-family: var(--font-accent);
  font-size: var(--font-size-xxl);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
}

.dp-section__subtitle {
  color: var(--color-text-light);
  margin-top: var(--spacing-sm);
  font-size: var(--font-size-base);
  line-height: 1.7;
}

.dp-section__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.dp-section__view-all {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.dp-section__view-all:hover {
  color: var(--color-accent);
}

/* ===== New In / Product Carousel ===== */
.dp-product-carousel {
  position: relative;
  overflow: hidden;
}

.dp-product-carousel__track {
  display: flex;
  gap: var(--spacing-md);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--spacing-sm);
}

.dp-product-carousel__track::-webkit-scrollbar {
  display: none;
}

.dp-product-carousel__item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.dp-product-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border: 1px solid var(--color-border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-fast), color var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.dp-product-carousel__nav:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.dp-product-carousel__nav--prev {
  left: 0;
}

.dp-product-carousel__nav--next {
  right: 0;
}

/* ===== Best Sellers ===== */
.dp-best-sellers {
  background: var(--color-background-alt);
}

.dp-best-sellers__carousel {
  position: relative;
}

.dp-best-sellers__viewport {
  overflow: hidden;
  position: relative;
}

.dp-best-sellers__track {
  overflow: visible !important;
  scroll-snap-type: none !important;
  will-change: transform;
  flex-wrap: nowrap;
}

/* ===== Testimonials ===== */
.dp-testimonials {
  background: #ffffff;
  color: #ffffff;
  padding: var(--spacing-xxl) 0;
}

.dp-testimonials .dp-section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.dp-testimonials .dp-section__title {
  color: #ffffff;
}

.dp-testimonials .dp-section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.dp-testimonials__wrapper {
  overflow: visible;
  position: relative;
}

.dp-testimonials__track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  gap: var(--spacing-md);
}

.dp-testimonials__track::-webkit-scrollbar {
  display: none;
}

.dp-testimonial {
  padding: var(--spacing-xl);
  text-align: center;
  flex: 0 0 100%;
}

.dp-testimonial__text {
  font-family: var(--font-accent);
  font-size: var(--font-size-lg);
  font-style: italic;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.7;
}

.dp-testimonial__author {
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

.dp-testimonial__rating {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: var(--spacing-sm);
  color: var(--color-accent);
  font-size: var(--font-size-lg);
  direction: ltr;
}

.dp-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.dp-testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
  padding: 0;
}

.dp-testimonials-dot.active {
  background: #ffffff;
}

/* ===== FAQ ===== */
.dp-faq {
  padding: var(--spacing-xxl) 0;
}

.dp-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.dp-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.dp-faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.dp-faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg) 0;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--font-size-md);
  transition: color var(--transition-fast);
  user-select: none;
}

.dp-faq-item__question:hover {
  color: var(--color-accent);
}

.dp-faq-item__icon {
  font-size: var(--font-size-xl);
  transition: transform var(--transition-fast);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-inline-start: var(--spacing-md);
  line-height: 1;
}

.dp-faq-item--active .dp-faq-item__icon {
  transform: rotate(45deg);
}

.dp-faq-item__answer {
  max-height: 0;
  overflow: hidden;
}

.dp-faq-item--active .dp-faq-item__answer {
  max-height: 500px;
}

.dp-faq-item__answer-inner {
  padding-bottom: var(--spacing-lg);
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: var(--font-size-base);
}

.dp-faq-item__answer-inner p {
  margin-bottom: var(--spacing-sm);
}

.dp-faq-item__answer-inner p:last-child {
  margin-bottom: 0;
}

/* ===== Features Bar ===== */
.dp-features-bar {
  background: var(--color-background-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--spacing-xl) 0;
}

.dp-features-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

.dp-feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dp-feature-item__icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.dp-feature-item__icon img,
.dp-feature-item__icon svg {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.dp-feature-item__title {
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.dp-feature-item__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ===== Stats Counter ===== */
.dp-stats-bar {
  background: var(--color-primary);
  color: #ffffff;
  padding: var(--spacing-xl) 0;
}

.dp-stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  text-align: center;
}

.dp-stat-item__number {
  font-family: var(--font-accent);
  font-size: var(--font-size-xxl);
  font-weight: 300;
  color: var(--color-accent);
  display: block;
  line-height: 1.1;
}

.dp-stat-item__label {
  font-size: var(--font-size-sm);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: var(--spacing-xs);
}

/* ===== Gender Toggle ===== */
.dp-gender-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--spacing-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  width: fit-content;
  margin-inline: auto;
}

.dp-gender-toggle__btn {
  padding: var(--spacing-sm) var(--spacing-xl);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
  color: var(--color-text-light);
}

.dp-gender-toggle__btn.active,
.dp-gender-toggle__btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* ===== Featured Collections ===== */
.dp-featured-collections {
  padding: var(--spacing-xxl) 0;
}

.dp-featured-collections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.dp-collection-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: block;
}

.dp-collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.dp-collection-card:hover .dp-collection-card__image {
  transform: scale(1.05);
}

.dp-collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
}

.dp-collection-card__title {
  color: #ffffff;
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: 300;
  line-height: 1.2;
}

.dp-collection-card__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
}

/* ===== Newsletter / CTA Section ===== */
.dp-newsletter-section {
  background: var(--color-background-alt);
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.dp-newsletter-section__title {
  font-family: var(--font-accent);
  font-size: var(--font-size-xxl);
  font-weight: 300;
  margin-bottom: var(--spacing-sm);
}

.dp-newsletter-section__subtitle {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-xl);
}

.dp-newsletter-section__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid var(--color-border);
}

.dp-newsletter-section__input {
  flex: 1;
  border: none;
  outline: none;
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  background: #ffffff;
  color: var(--color-text);
  height: 48px;
}

.dp-newsletter-section__btn {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: var(--spacing-sm) var(--spacing-xl);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
  height: 48px;
}

/* US-06: Testimonials cards */
.dp-testimonial { flex: 0 0 280px; scroll-snap-align: start; background: linear-gradient(to bottom, #60a5fa, #1d4ed8); border-radius: 20px; padding: 24px 20px; color: #ffffff; }
.dp-testimonials .dp-testimonial__rating { color: #facc15; }
.dp-testimonials .dp-section__title { font-size: 28px; font-weight: 600; color: var(--color-brand-blue); }

/* US-06: Testimonials arrow buttons */
.dp-testimonials__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-brand-blue);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.dp-testimonials__arrow--prev { left: -14px; }
.dp-testimonials__arrow--next { right: -14px; }
@media (max-width: 768px) { .dp-testimonials__arrow { display: none; } }

/* US-07: FAQ section — overrides moved to Shopify-exact block below */

/* US-09: Features bar */
.dp-feature-item__icon { width: 56px; height: 56px; min-width: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.dp-feature-item__title { font-size: 18px; font-weight: 600; color: #ffffff; text-transform: none; letter-spacing: normal; }
.dp-feature-item__text { font-size: 14px; color: #ffffff; opacity: 0.95; }
@media (max-width: 768px) { .dp-features-bar .dp-feature-item { background: rgba(255,255,255,0.15); border-radius: 16px; padding: 16px 10px; } }

.dp-newsletter-section__btn:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .dp-features-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-featured-collections__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-product-carousel__item {
    flex: 0 0 240px;
  }
}

@media (max-width: 768px) {
  .dp-features-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .dp-stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .dp-featured-collections__grid {
    grid-template-columns: 1fr;
  }

  .dp-hero {
    min-height: 400px;
  }

  .dp-hero__overlay {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .dp-hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .dp-hero__cta--secondary {
    margin-inline-start: 0;
  }

  .dp-section {
    padding: var(--spacing-xl) 0;
  }

  .dp-section__title {
    font-size: var(--font-size-xl);
  }

  .dp-testimonial__text {
    font-size: var(--font-size-md);
  }

  .dp-product-carousel__item {
    flex: 0 0 200px;
  }

  .dp-newsletter-section__form {
    flex-direction: column;
    border: none;
    gap: var(--spacing-sm);
  }

  .dp-newsletter-section__input {
    border: 1px solid var(--color-border);
  }

  .dp-newsletter-section__btn {
    width: 100%;
  }

  .dp-faq-item__question {
    font-size: var(--font-size-base);
  }
}

/* US-03: Homepage body background gradient */
body.home { background: linear-gradient(180deg, #fff 0%, #faf9f5 100%); }

/* US-03: Homepage container override — intentionally broad, all homepage sections use 1200px matching Shopify reference */
.home .dp-container { max-width: 1200px; }

/* Hide WP page titles on WooCommerce pages (cart, account, checkout) */
.woocommerce-page .entry-title,
.woocommerce-page .page-title,
.woocommerce-page .entry-header,
.woocommerce-page > .wp-block-post-title,
body.woocommerce-cart h1.wp-block-post-title,
body.woocommerce-account h1.wp-block-post-title,
body.woocommerce-checkout h1.wp-block-post-title { display: none !important; }

/* US-03: Announcement bar */
.dp-announcement-bar {
  background: linear-gradient(to left, #60a5fa, #0447d6) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  text-align: center;
}

/* US-04: Section titles */
.dp-section__title { font-family: var(--font-heading); font-size: 28px; font-weight: 600; color: var(--color-brand-blue); }

/* US-04: Hero (matches Shopify ai-hero block exactly) */
.dp-hero { border-radius: 40px; overflow: hidden; max-width: 1200px; margin: 48px auto 0; height: 450px; direction: ltr; position: relative; }
.dp-hero__overlay { position: absolute; inset: 0; background-color: #000000; opacity: 0; }
.dp-hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 40px; max-width: 800px; margin: 0 auto; }
.dp-hero__heading { color: #ffffff; font-size: 48px; margin-bottom: 16px; }
.dp-hero__subheading { color: #ffffff; font-size: 18px; }
@media (max-width: 749px) {
  .dp-hero { height: 400px; margin-top: 28px; }
  .dp-hero__heading { font-size: 28px; }
  .dp-hero__subheading { font-size: 14px; }
}

/* US-05: Brand carousel — overrides moved to base brand carousel block above */

/* US-05: Product cards (Shopify-exact homepage overrides) */
.home .dp-product-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.home .dp-product-card__image-link {
  display: block;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.home .dp-product-card__image-wrap {
  aspect-ratio: 370 / 563;
  border-radius: 0;
}
.home .dp-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top !important;
  display: block;
  transition: transform 0.3s;
}
.home .dp-product-card:hover .dp-product-card__image {
  transform: scale(1.03);
}
.home .dp-product-card__info {
  padding: 14px 12px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.home .dp-product-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home .dp-product-card__title a { color: inherit; }
.home .dp-product-card__title a:hover { color: inherit; }
.home .dp-product-card__brand { display: none; }
.home .dp-product-card__price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
  color: #1d4ed8;
  margin-top: auto;
}
.home .dp-product-card__atc {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: linear-gradient(to left, #60a5fa, #1d4ed8);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s, transform 0.2s;
  margin-top: auto;
}
.home .dp-product-card__atc:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
/* Mobile product card */
@media (max-width: 768px) {
  .home .dp-product-card__info { padding: 10px 8px 12px; }
  .home .dp-product-card__title { font-size: 12px; margin-bottom: 6px; }
  .home .dp-product-card__price { font-size: 14px; }
  .home .dp-product-card__atc { padding: 10px 12px; font-size: 12px; gap: 6px; }
  .home .dp-product-card__atc svg { width: 14px; height: 14px; }
}

/* ============================================================
   SHOPIFY-EXACT HOMEPAGE OVERRIDES
   All values extracted from test.htm inline <style> blocks
   ============================================================ */

/* --- Section margins (all homepage sections use 60px top/bottom) --- */
.dp-new-in, .dp-best-sellers { margin-top: 60px; margin-bottom: 60px; padding: 0; }
.dp-best-sellers { background: transparent; }
.dp-testimonials { background: #ffffff; padding: 0; margin-top: 60px; margin-bottom: 60px; }
.dp-faq { background: transparent; margin-top: 60px; margin-bottom: 60px; padding: 0; }
.dp-features-bar { margin-top: 60px; margin-bottom: 60px; padding: 0; background: transparent; border: none; }

/* --- Section header bar (New In + Best Sellers) --- */
.dp-section__header-bar--gradient {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  margin-bottom: 24px;
  background: linear-gradient(to left, #60a5fa, #1d4ed8);
  border-radius: 16px;
}
.dp-section__header-bar--gradient .dp-section__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dp-section__header-bar--gradient .dp-section__title-emoji { font-size: 22px; }

/* Best Sellers has no nav arrows — center the title */
.dp-best-sellers .dp-section__header-bar { justify-content: center; }
.dp-section__header-bar--gradient .dp-product-carousel__nav {
  position: static;
  transform: none;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  box-shadow: none;
  transition: background 0.3s;
}
.dp-section__header-bar--gradient .dp-product-carousel__nav:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  border-color: transparent;
}

/* --- Product carousel track --- */
.dp-product-carousel__track {
  gap: 20px;
  padding: 8px 4px;
  scroll-behavior: smooth;
  align-items: stretch;
}
.dp-product-carousel__item {
  flex: 0 0 calc((100% - 20px * 5) / 5.5);
  display: flex;
}
.home .dp-product-card { height: 100% !important; width: 100% !important; display: flex !important; flex-direction: column !important; }
.home .dp-product-card__info { flex: 1 !important; display: flex !important; flex-direction: column !important; }
.home .dp-product-card__price { margin-top: auto !important; }

/* --- Brand carousel --- */
.dp-brand-carousel { padding: 25px 0 0; border-bottom: none; }
.dp-brand-carousel__heading-wrap { margin-bottom: 24px; }
.dp-brand-carousel__heading-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: linear-gradient(to left, #60a5fa, #1d4ed8);
  border-radius: 10px;
  width: 100%;
}
.dp-brand-carousel__heading {
  font-size: 22px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}
.dp-brand-carousel__track {
  gap: 30px;
  padding: 8px 0;
  cursor: grab;
  will-change: transform;
}
.dp-brand-carousel__track:active { cursor: grabbing; }
.dp-brand-carousel__item {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  scroll-snap-align: unset;
}
.dp-brand-carousel__item:hover { transform: scale(1.08); }
.dp-brand-carousel__logo {
  width: 100px;
  height: 100px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}
.dp-brand-carousel__item img,
.dp-brand-carousel__item svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

/* --- Product card homepage overrides --- */
.home .dp-product-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.home .dp-product-card__image-wrap { border-radius: 0; aspect-ratio: 4/5; }
.home .dp-product-card__image-link {
  border-radius: 16px 16px 0 0;
  display: block;
  overflow: hidden;
}
.home .dp-product-card:hover .dp-product-card__image { transform: scale(1.03); }
.home .dp-product-card__info {
  padding: 14px 12px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home .dp-product-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 10px;
}
.home .dp-product-card__title a { color: inherit; }
.home .dp-product-card__price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 700;
  color: #1d4ed8;
}

/* --- ATC button --- */
.dp-product-card__atc {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: linear-gradient(to left, #60a5fa, #1d4ed8);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s, transform 0.2s;
}
.dp-product-card__atc:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Testimonials (Shopify-exact) --- */
.dp-testimonials .dp-container { padding: 0 40px; }
.dp-testimonials .dp-section__title--centered {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #1d4ed8;
  text-align: center;
  margin-bottom: 32px;
}
.dp-testimonials__track {
  gap: 20px;
  scroll-behavior: smooth;
}
.dp-testimonial {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: linear-gradient(to bottom, #60a5fa, #1d4ed8);
  border-radius: 20px;
  padding: 24px 20px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: left;
}
.dp-testimonial__rating {
  font-size: 20px;
  color: #facc15;
  margin-bottom: 14px;
  letter-spacing: 2px;
  direction: ltr;
  display: block;
  justify-content: initial;
}
.dp-testimonial__text {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 18px;
  opacity: 0.95;
  max-width: none;
  margin-inline: 0;
  direction: rtl;
  text-align: right;
}
.dp-testimonial__footer {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.85;
  margin-top: auto;
}
.dp-testimonial__author {
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  font-size: inherit;
  opacity: 1;
}
.dp-testimonial__date { font-size: inherit; }
.dp-testimonials__arrow {
  width: 42px;
  height: 42px;
  font-size: 26px;
  background: #1d4ed8;
  border-radius: 50%;
  color: #fff;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, transform 0.3s;
}
.dp-testimonials__arrow--prev { left: -14px; }
.dp-testimonials__arrow--next { right: -14px; }
.dp-testimonials__arrow:hover {
  opacity: 0.85;
  transform: translateY(-50%) scale(1.05);
}
.dp-testimonials .dp-section__title { color: #1d4ed8; }

/* --- FAQ (Shopify-exact with CSS animation) --- */
.dp-faq .dp-section__title--centered {
  font-size: 28px;
  font-weight: 700;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.dp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1200px;
}
.dp-faq-item {
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  overflow: visible;
  position: relative;
}
.dp-faq-item:first-child { border-top: none; }
.dp-faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: none;
  cursor: pointer;
  background: #ffffff;
  border-radius: 12px;
  text-align: right;
  transition: all 0.3s ease;
  justify-content: flex-start;
  font-size: 16px;
  font-weight: 600;
  user-select: none;
  color: inherit;
}
.dp-faq-item__question:hover { opacity: 0.95; color: inherit; }
.dp-faq-item--active .dp-faq-item__question { border-radius: 12px 12px 0 0; }
.dp-faq-item__icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #1d4ed8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s ease;
  margin: 0;
  margin-inline-start: 0;
  line-height: 1;
  transform: rotate(0deg);
  flex-shrink: 0;
}
.dp-faq-item--active .dp-faq-item__icon { transform: rotate(180deg); }
.dp-faq-item__number {
  color: #1d4ed8;
  font-weight: 700;
  font-size: 14px;
  min-width: 20px;
  flex-shrink: 0;
}
.dp-faq-item__text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #1f2937;
  direction: rtl;
  unicode-bidi: embed;
  text-align: right;
}
.dp-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: #f3f4f6;
  border-radius: 0 0 12px 12px;
}
.dp-faq-item--active .dp-faq-item__answer {
  max-height: 500px;
  padding: 20px;
}
.dp-faq-item__answer-inner {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
  padding-bottom: 0;
  text-align: right;
  direction: rtl;
}
.dp-faq-item__answer-inner p { margin: 0; }

/* --- Features bar (Shopify-exact) --- */
.dp-features-bar__grid {
  gap: 25px;
  padding: 40px 24px;
}
.dp-feature-item__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
}
.dp-feature-item__icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0);
}
.dp-feature-item__text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
  color: #ffffff;
}

/* --- Hero mobile image swap --- */
.dp-hero__image--mobile { display: none; }

/* ============================================================
   SHOPIFY-EXACT RESPONSIVE OVERRIDES
   ============================================================ */

@media (max-width: 900px) {
  .dp-features-bar__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  /* Section header bar */
  .dp-section__header-bar--gradient { padding: 12px 16px; margin-bottom: 16px; }
  .dp-section__header-bar--gradient .dp-section__title { font-size: 18px; }
  .dp-section__header-bar--gradient .dp-product-carousel__nav { width: 32px; height: 32px; }
  .dp-section__header-bar--gradient .dp-product-carousel__nav svg { width: 16px; height: 16px; }

  /* Carousel */
  .dp-product-carousel__track { gap: 12px; }
  .dp-product-carousel__item { flex: 0 0 calc((100% - 12px) / 2.2); }

  /* Product card */
  .home .dp-product-card__info { padding: 10px 8px 12px; }
  .home .dp-product-card__title { font-size: 12px; margin-bottom: 6px; }
  .home .dp-product-card__price { font-size: 14px; }
  .dp-product-card__atc { padding: 10px 12px; font-size: 12px; gap: 6px; }
  .dp-product-card__atc svg { width: 14px; height: 14px; }

  /* Testimonials */
  .dp-testimonials .dp-container { padding: 0 16px; }
  .dp-testimonials .dp-section__title--centered { font-size: 22px; margin-bottom: 20px; }
  .dp-testimonial { flex: 0 0 240px; padding: 18px 14px; }
  .dp-testimonial__rating { font-size: 16px; margin-bottom: 10px; }
  .dp-testimonial__text { font-size: 12px; margin-bottom: 14px; }
  .dp-testimonial__footer { font-size: 11px; }
  .dp-testimonials__arrow { display: none; }

  /* FAQ */
  .dp-faq .dp-section__title--centered { font-size: 22px; margin-bottom: 24px; }
  .dp-faq-item__question { padding: 14px 16px; gap: 10px; }
  .dp-faq-item__icon { width: 28px; height: 28px; min-width: 28px; }
  .dp-faq-item__text { font-size: 14px; }
  .dp-faq-item__answer-inner,
  .dp-faq-item__answer-inner p { font-size: 13px; }

  /* Features bar */
  .dp-features-bar__grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 20px 16px !important;
  }
  .dp-feature-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 16px 10px !important;
  }
  .dp-feature-item__title { font-size: 14px !important; margin-bottom: 0 !important; text-align: center !important; }
  .dp-feature-item__icon { margin: 0 !important; width: 44px !important; height: 44px !important; font-size: 20px !important; }
  .dp-feature-item__text { font-size: 11px !important; text-align: center !important; line-height: 1.4 !important; }
}

@media (max-width: 749px) {
  /* Hero mobile image swap */
  .dp-hero__image--desktop { display: none; }
  .dp-hero__image--mobile { display: block; }
  .dp-hero { margin: 28px 12px 0; width: calc(100% - 24px); }
}

/* ============================================================
   SHOPIFY-EXACT RTL OVERRIDES
   ============================================================ */
[dir="rtl"] .dp-testimonial__footer { flex-direction: row-reverse; }
[dir="rtl"] .dp-testimonials__arrow--prev { right: -14px; left: auto; }
[dir="rtl"] .dp-testimonials__arrow--next { left: -14px; right: auto; }
[dir="rtl"] .dp-faq-item__question { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .dp-faq .dp-section__title--centered { flex-direction: row-reverse; }
[dir="rtl"] .dp-section__header-bar--gradient .dp-section__title { flex-direction: row-reverse; }
[dir="rtl"] .dp-feature-item__title { flex-direction: row-reverse; }
