/**
 * Drip of Street — Editorial Homepage Stylesheet
 *
 * Full-screen hero, asymmetric categories, product loop wrappers,
 * editorial campaign banners, brand story layout, reviews & lookbook.
 *
 * Prefix: dos-
 */

/* ==========================================================================
   1. HERO CAMPAIGN SECTION
   ========================================================================== */
.dos-hero-section {
  position: relative;
  min-height: clamp(580px, 85vh, 880px);
  display: flex;
  align-items: center;
  background-color: var(--dos-color-black);
  overflow: hidden;
}

.dos-hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dos-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dos-transition-slow);
}

.dos-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.45) 0%,
    rgba(17, 17, 17, 0.3) 50%,
    rgba(17, 17, 17, 0.75) 100%
  );
}

.dos-overlay-subtle .dos-hero-overlay {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.35) 0%, rgba(17, 17, 17, 0.55) 100%);
}

.dos-overlay-medium .dos-hero-overlay {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.7) 100%);
}

.dos-overlay-dark .dos-hero-overlay {
  background: rgba(17, 17, 17, 0.75);
}

.dos-hero-container {
  position: relative;
  z-index: 3;
  padding-top: var(--dos-space-4xl);
  padding-bottom: var(--dos-space-4xl);
}

.dos-hero-content {
  max-width: 820px;
  color: var(--dos-color-white);
}

.dos-hero-eyebrow {
  color: #DDD;
  display: inline-block;
  margin-bottom: var(--dos-space-sm);
  background: rgba(17, 17, 17, 0.4);
  padding: 4px 12px;
  border-left: 2px solid var(--dos-color-accent);
}

.dos-hero-title {
  color: var(--dos-color-white);
  font-size: clamp(2.75rem, 2.2rem + 4.2vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: var(--dos-tracking-wide);
  margin-bottom: var(--dos-space-md);
  text-transform: uppercase;
}

.dos-hero-description {
  color: #ECECE9;
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem);
  line-height: var(--dos-leading-normal);
  max-width: 640px;
  margin-bottom: var(--dos-space-2xl);
  font-weight: var(--dos-font-weight-regular);
}

.dos-hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--dos-space-md);
  flex-wrap: wrap;
}

.dos-btn-hero-secondary {
  border-color: var(--dos-color-white);
  color: var(--dos-color-white);
}

.dos-btn-hero-secondary:hover {
  background-color: var(--dos-color-white);
  color: var(--dos-color-black);
}

/* ==========================================================================
   2. FEATURED CATEGORIES SECTION
   ========================================================================== */
.dos-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--dos-grid-gap-desktop);
}
.dos-categories-grid.dos-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.dos-categories-grid.dos-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.dos-categories-grid.dos-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }
.dos-categories-grid.dos-cols-6 { grid-template-columns: repeat(6, 1fr) !important; }
.dos-categories-grid[class*="dos-cols-"] > .dos-category-card { grid-column: span 1 !important; }

/* 5-Tile Editorial Layout across 6 columns */
.dos-cat-item-1 {
  grid-column: span 2; /* Sneakers */
}
.dos-cat-item-2 {
  grid-column: span 2; /* Clothing */
}
.dos-cat-item-3 {
  grid-column: span 2; /* Jackets */
}
.dos-cat-item-4 {
  grid-column: span 3; /* Women */
}
.dos-cat-item-5 {
  grid-column: span 3; /* Accessories */
}

.dos-category-card {
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  background-color: var(--dos-bg-card);
}

.dos-category-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.dos-cat-item-4 .dos-category-media-wrap,
.dos-cat-item-5 .dos-category-media-wrap {
  aspect-ratio: 16 / 10;
}

.dos-category-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dos-transition);
}

.dos-category-card:hover .dos-category-thumb {
  transform: scale(1.05);
}

.dos-category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 17, 0.85) 100%);
  transition: background var(--dos-transition-fast);
}

.dos-category-card:hover .dos-category-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(17, 17, 17, 0.9) 100%);
}

.dos-category-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  color: var(--dos-color-white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.dos-category-title {
  color: var(--dos-color-white);
  font-family: var(--dos-font-heading);
  font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.75rem);
  font-weight: var(--dos-font-weight-bold);
  letter-spacing: var(--dos-tracking-wider);
  text-transform: uppercase;
  margin: 0;
}

.dos-category-count {
  font-size: 0.8rem;
  color: #DDD;
  letter-spacing: var(--dos-tracking-wide);
  text-transform: uppercase;
}

.dos-cat-link-label {
  color: var(--dos-color-white) !important;
  border-bottom-color: rgba(255, 255, 255, 0.4) !important;
  margin-top: 6px;
  font-size: 0.75rem !important;
}

.dos-category-card:hover .dos-cat-link-label {
  border-bottom-color: var(--dos-color-white) !important;
}

/* ==========================================================================
   3. EDITORIAL CAMPAIGN BANNER
   ========================================================================== */
.dos-editorial-banner-section {
  position: relative;
  min-height: clamp(480px, 60vh, 700px);
  display: flex;
  align-items: center;
  background-color: var(--dos-color-black);
  overflow: hidden;
  margin: var(--dos-space-3xl) 0;
}

.dos-editorial-media-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.dos-editorial-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.dos-editorial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.85) 0%,
    rgba(17, 17, 17, 0.6) 50%,
    rgba(17, 17, 17, 0.3) 100%
  );
}

.dos-editorial-container {
  position: relative;
  z-index: 2;
  padding-top: var(--dos-space-3xl);
  padding-bottom: var(--dos-space-3xl);
}

.dos-editorial-content {
  max-width: 680px;
  color: var(--dos-color-white);
}

.dos-editorial-eyebrow {
  color: var(--dos-color-accent);
  margin-bottom: var(--dos-space-sm);
  display: inline-block;
}

.dos-editorial-title {
  color: var(--dos-color-white);
  font-size: clamp(2.2rem, 1.8rem + 2.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--dos-space-md);
}

.dos-editorial-subheading {
  color: #ECECE9;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
  line-height: var(--dos-leading-normal);
  margin-bottom: var(--dos-space-xl);
}

/* ==========================================================================
   4. BRAND STORY SECTION
   ========================================================================== */
.dos-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.dos-story-media-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: var(--dos-bg-surface);
  overflow: hidden;
}

.dos-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dos-story-tag {
  position: absolute;
  top: 16px;
  left: 16px;
}

.dos-story-eyebrow {
  margin-bottom: var(--dos-space-xs);
  display: block;
}

.dos-story-title {
  margin-bottom: var(--dos-space-lg);
}

.dos-story-lead {
  font-weight: var(--dos-font-weight-regular);
  color: var(--dos-text-primary);
  margin-bottom: var(--dos-space-md);
}

.dos-story-body {
  color: var(--dos-text-secondary);
  font-size: 0.95rem;
  line-height: var(--dos-leading-relaxed);
  margin-bottom: var(--dos-space-xl);
}

/* ==========================================================================
   5. CUSTOMER REVIEWS & TRUST
   ========================================================================== */
.dos-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dos-grid-gap-desktop);
}

.dos-review-card {
  padding: 32px 28px;
  background-color: var(--dos-color-off-white);
  border: 1px solid var(--dos-border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dos-review-stars {
  color: #D97706;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.dos-review-content {
  font-style: italic;
  font-size: 0.95rem;
  line-height: var(--dos-leading-normal);
  color: var(--dos-text-primary);
  margin-bottom: 24px;
}

.dos-review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--dos-border-subtle);
  padding-top: 14px;
}

.dos-reviewer-name {
  font-family: var(--dos-font-heading);
  font-size: 0.85rem;
  font-weight: var(--dos-font-weight-bold);
  letter-spacing: var(--dos-tracking-wider);
  text-transform: uppercase;
}

.dos-reviewed-item {
  font-size: 0.75rem;
  color: var(--dos-text-muted);
}

/* Neutral Trust Grid */
.dos-trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dos-grid-gap-desktop);
}

.dos-trust-card {
  padding: 36px 32px;
  background-color: var(--dos-color-off-white);
  border: 1px solid var(--dos-border-subtle);
  text-align: center;
}

.dos-trust-title {
  font-family: var(--dos-font-heading);
  font-size: 1.15rem;
  font-weight: var(--dos-font-weight-bold);
  letter-spacing: var(--dos-tracking-wider);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ==========================================================================
   6. SOCIAL / LOOKBOOK GALLERY
   ========================================================================== */
.dos-social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.dos-social-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--dos-bg-surface);
}

.dos-social-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dos-transition);
}

.dos-social-tile:hover .dos-social-img {
  transform: scale(1.06);
}

.dos-social-tile-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.6);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity var(--dos-transition-fast);
}

.dos-social-tile:hover .dos-social-tile-overlay {
  opacity: 1;
}

.dos-social-pill {
  font-family: var(--dos-font-heading);
  font-size: 0.75rem;
  font-weight: var(--dos-font-weight-bold);
  letter-spacing: var(--dos-tracking-widest);
  color: var(--dos-color-white);
  border: 1px solid var(--dos-color-white);
  padding: 6px 14px;
  text-transform: uppercase;
}

/* ==========================================================================
   7. HOMEPAGE DEDICATED NEWSLETTER BOX
   ========================================================================== */
.dos-homepage-newsletter-box {
  background-color: var(--dos-color-black);
  color: var(--dos-color-white);
  padding: clamp(48px, 6vw, 84px) clamp(24px, 4vw, 64px);
  text-align: center;
}

.dos-homepage-newsletter-box .dos-eyebrow {
  color: var(--dos-color-accent);
  display: inline-block;
  margin-bottom: var(--dos-space-xs);
}

.dos-homepage-newsletter-box .dos-section-heading {
  color: var(--dos-color-white);
  margin-bottom: var(--dos-space-xs);
}

.dos-homepage-newsletter-box .dos-lead {
  color: #A0A0A0;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--dos-space-xl);
}

.dos-homepage-newsletter-form-wrap {
  display: flex;
  justify-content: center;
}

.dos-homepage-newsletter-form-wrap .dos-newsletter-form {
  max-width: 520px;
  width: 100%;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINT BEHAVIORS
   ========================================================================== */
@media (max-width: 1024px) {
  .dos-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dos-cat-item-1,
  .dos-cat-item-2,
  .dos-cat-item-3,
  .dos-cat-item-4,
  .dos-cat-item-5 {
    grid-column: span 1;
  }
  .dos-cat-item-4 .dos-category-media-wrap,
  .dos-cat-item-5 .dos-category-media-wrap {
    aspect-ratio: 3 / 4;
  }
  .dos-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .dos-reviews-grid,
  .dos-trust-badges-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dos-social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .dos-hero-section {
    min-height: 70vh;
  }
  .dos-hero-title {
    font-size: 2.85rem;
  }
  .dos-hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .dos-categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dos-cat-item-1,
  .dos-cat-item-2,
  .dos-cat-item-3,
  .dos-cat-item-4,
  .dos-cat-item-5 {
    grid-column: span 1;
  }
  .dos-social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   9. REDUCED MOTION SAFEGUARDS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .dos-hero-bg-img,
  .dos-category-thumb,
  .dos-social-img {
    transition: none !important;
  }
}


/* ==========================================================================
   HERO BANNER & SLIDER (Full-width Autoplay Carousel with Separate Links)
   ========================================================================== */
.dos-homepage-main {
  padding-top: 0 !important;
}

.dos-hero-section.dos-hero-banner-only {
  position: relative;
  width: 100%;
  min-height: unset !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: var(--dos-color-black, #111111);
  line-height: 0;
  display: block;
  overflow: hidden;
}

.dos-hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
}

.dos-hero-slides {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.dos-hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
}

.dos-hero-banner-link {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
}

.dos-hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: cover;
  display: block;
  line-height: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: contrast(102%) brightness(101%);
}

/* Hero Carousel Navigation Arrows */
.dos-hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  padding: 0;
}

.dos-hero-carousel:hover .dos-hero-nav-arrow {
  opacity: 0.85;
}

.dos-hero-nav-arrow:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.06);
}

.dos-hero-prev {
  left: 24px;
}

.dos-hero-next {
  right: 24px;
}

/* Hero Carousel Minimalist Pill Indicators */
.dos-hero-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.dos-hero-dot {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.dos-hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dos-hero-dot.is-active {
  background: #FFFFFF;
  width: 44px;
}

@media (max-width: 768px) {
  .dos-hero-nav-arrow {
    width: 36px;
    height: 36px;
    opacity: 0.7;
  }
  .dos-hero-prev {
    left: 10px;
  }
  .dos-hero-next {
    right: 10px;
  }
  .dos-hero-indicators {
    bottom: 12px;
    gap: 6px;
    padding: 4px 10px;
  }
  .dos-hero-dot {
    width: 16px;
    height: 3px;
  }
  .dos-hero-dot.is-active {
    width: 28px;
  }
}

/* ==========================================================================
   CATEGORY 5-COLUMN CAROUSEL & PRODUCT CAROUSELS
   ========================================================================== */
.dos-section-header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dos-carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.dos-carousel-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dos-color-border, #E8E8E8);
  background: var(--dos-color-white, #FFFFFF);
  color: var(--dos-color-black, #111111);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dos-carousel-arrow-btn:hover {
  background: var(--dos-color-black, #111111);
  color: var(--dos-color-white, #FFFFFF);
  border-color: var(--dos-color-black, #111111);
  transform: translateY(-1px);
}

.dos-carousel-arrow-btn:active {
  transform: translateY(0);
}

/* Reusable Product Track Carousel */
.dos-products-carousel {
  position: relative;
  width: 100%;
}

.dos-products-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 2px 24px 2px;
  list-style: none;
  margin: 0;
}

.dos-products-carousel-track::-webkit-scrollbar {
  display: none;
}

.dos-products-carousel-track .dos-product-card {
  flex: 0 0 calc((100% - 3 * 24px) / 4);
  min-width: 270px;
  max-width: 340px;
  scroll-snap-align: start;
}

@media (max-width: 1200px) {
  .dos-products-carousel-track .dos-product-card {
    flex: 0 0 calc((100% - 2 * 20px) / 3);
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .dos-section-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .dos-section-header-controls {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }
  .dos-carousel-nav-arrows {
    margin-left: auto !important;
    display: flex !important;
    gap: 6px !important;
  }
  .dos-carousel-arrow-btn {
    width: 34px !important;
    height: 34px !important;
  }
  .dos-products-carousel-track {
    gap: 12px !important;
    padding-bottom: 16px !important;
  }
  .dos-products-carousel-track .dos-product-card {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    min-width: 0 !important;
    max-width: calc((100% - 12px) / 2) !important;
  }
}

/* Black Stage for Cutout/Transparent Products */
.dos-product-card.has-black-bg .dos-product-media-wrap {
  background: #000000 !important;
}

.dos-product-card.has-black-bg .dos-product-thumb {
  object-fit: contain !important;
  padding: 1rem;
}

.dos-categories-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 6px;
}

.dos-categories-carousel::-webkit-scrollbar {
  display: none;
}

.dos-categories-carousel .dos-category-card {
  flex: 0 0 calc((100% - 4 * 20px) / 5);
  min-width: 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  background-color: var(--dos-color-black, #111111);
}

@media (max-width: 1200px) {
  .dos-categories-carousel .dos-category-card {
    flex: 0 0 calc((100% - 3 * 16px) / 4);
    min-width: 180px;
  }
}

@media (max-width: 860px) {
  .dos-categories-carousel .dos-category-card {
    flex: 0 0 calc((100% - 2 * 14px) / 3);
    min-width: 160px;
  }
}

@media (max-width: 600px) {
  .dos-categories-carousel .dos-category-card {
    flex: 0 0 calc((100% - 12px) / 2);
    min-width: 140px;
  }
}

.dos-categories-carousel .dos-category-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden;
}

.dos-categories-carousel .dos-category-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dos-categories-carousel .dos-category-card:hover .dos-category-thumb {
  transform: scale(1.08);
}


/* ==========================================================================
   HOMEPAGE SECTION-TO-SECTION SPACING (40px desktop, 30px tablet, 25px mobile)
   ========================================================================== */
.dos-section-header-row {
  margin-bottom: 20px !important;
}

.dos-editorial-banner-section {
  margin-top: 40px !important;
  margin-bottom: 40px !important;
}

@media (max-width: 1024px) {
  .dos-editorial-banner-section {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }
}

@media (max-width: 768px) {
  .dos-editorial-banner-section {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
  }
}


/* ==========================================================================
   TRUSTPILOT HEADER STRIP & BRANDING
   ========================================================================== */
.dos-trustpilot-header-bar {
  background: var(--dos-color-white, #FFFFFF);
  border: 1px solid var(--dos-color-border, #E8E8E8);
  padding: 14px 24px;
  margin-bottom: 24px;
}

.dos-tp-bar-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  text-decoration: none;
  color: var(--dos-color-black, #111111);
  font-size: 0.875rem;
}

.dos-tp-badge-excellent {
  background: #00B67A;
  color: #FFFFFF;
  font-family: var(--dos-font-heading, "Oswald", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
}

.dos-tp-stars {
  display: inline-flex;
  gap: 2px;
  color: #00B67A;
  font-size: 1.1rem;
  line-height: 1;
}

.dos-tp-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #00B67A;
  color: #FFFFFF;
  font-size: 0.75rem;
  border-radius: 2px;
}

.dos-tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--dos-color-black, #111111);
}

.dos-tp-view-all {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--dos-color-gray, #777777);
  border-bottom: 1px solid var(--dos-color-border, #E8E8E8);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dos-tp-bar-link:hover .dos-tp-view-all {
  color: var(--dos-color-black, #111111);
  border-color: var(--dos-color-black, #111111);
}

/* ==========================================================================
   HOMEPAGE SPECIAL PROMO OFFER BANNER (Offerta Speciale)
   ========================================================================== */
/* ==========================================================================
   HOMEPAGE 2-COLUMN PROMOTION & SERVICES SECTION
   ========================================================================== */
.dos-dual-promo-section {
  padding-top: var(--dos-section-desktop, 40px) !important;
  padding-bottom: var(--dos-section-desktop, 40px) !important;
}

.dos-dual-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--dos-grid-gap-desktop, 28px);
  align-items: stretch;
}

.dos-dual-promo-col {
  display: flex;
  flex-direction: column;
}

.dos-dual-promo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid var(--dos-color-border, #E8E8E8);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.dos-dual-promo-col-offer .dos-dual-promo-card {
  background: #000000;
  border-color: #111111;
  cursor: pointer;
}

.dos-dual-promo-col-offer .dos-dual-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.dos-dual-promo-col-services .dos-dual-promo-card {
  padding: 24px;
}

.dos-dual-promo-img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  display: block;
}

.dos-dual-promo-col-offer .dos-dual-promo-img {
  object-fit: cover;
}

@media (max-width: 1024px) {
  .dos-dual-promo-section {
    padding-top: var(--dos-section-tablet, 30px) !important;
    padding-bottom: var(--dos-section-tablet, 30px) !important;
  }

  .dos-dual-promo-grid {
    gap: var(--dos-grid-gap-tablet, 20px);
  }
}

@media (max-width: 768px) {
  .dos-dual-promo-section {
    padding-top: var(--dos-section-mobile, 25px) !important;
    padding-bottom: var(--dos-section-mobile, 25px) !important;
  }

  .dos-dual-promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dos-dual-promo-col-services .dos-dual-promo-card {
    padding: 16px;
  }
}

/* ==========================================================================
   CUSTOMER REVIEWS SCREENSHOTS CAROUSEL (+1 Recensione Positiva)
   ========================================================================== */
.dos-reviews-screenshots-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.dos-reviews-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.dos-reviews-carousel::-webkit-scrollbar {
  display: none;
}

.dos-review-screenshot-card {
  flex: 0 0 calc((100% - 3 * 20px) / 4);
  min-width: 240px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--dos-color-border, #E8E8E8);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dos-review-screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.dos-review-crop {
  position: relative;
  width: 100%;
  aspect-ratio: 256 / 383;
  overflow: hidden;
  background: #F4F4F4;
}

.dos-review-sprite-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 400%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

.dos-review-crop-1 .dos-review-sprite-img {
  transform: translateX(0);
}

.dos-review-crop-2 .dos-review-sprite-img {
  transform: translateX(-25%);
}

.dos-review-crop-3 .dos-review-sprite-img {
  transform: translateX(-50%);
}

.dos-review-crop-4 .dos-review-sprite-img {
  transform: translateX(-75%);
}

.dos-review-upload-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .dos-review-screenshot-card {
    flex: 0 0 calc((100% - 2 * 16px) / 3);
  }
}

@media (max-width: 768px) {
  .dos-review-screenshot-card {
    flex: 0 0 calc((100% - 14px) / 2);
    min-width: 180px;
  }
  .dos-tp-view-all {
    margin-left: 0;
    width: 100%;
  }
}

/* ==========================================================================
   HOMEPAGE DYNAMIC CATEGORY SHOWCASE SECTIONS
   ========================================================================== */
.dos-category-showcase-section {
  padding-top: var(--dos-section-desktop, 40px) !important;
  padding-bottom: var(--dos-section-desktop, 40px) !important;
}

@media (max-width: 1024px) {
  .dos-category-showcase-section {
    padding-top: var(--dos-section-tablet, 30px) !important;
    padding-bottom: var(--dos-section-tablet, 30px) !important;
  }
}

@media (max-width: 768px) {
  .dos-category-showcase-section {
    padding-top: var(--dos-section-mobile, 25px) !important;
    padding-bottom: var(--dos-section-mobile, 25px) !important;
  }
}
