/* Template Detail Page Styles */

/* Page Background */
.template-detail-page {
  background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
  min-height: 100vh;
  color: #ffffff;
  overflow-x: hidden;
  width: 100%;
}

/* Header */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transition: background 0.2s, transform 0.2s;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

.header-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.price-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

/* WhatsApp Order Button */
.whatsapp-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 25px;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-order-btn svg {
  flex-shrink: 0;
}

/* Main Content */
.detail-content {
  padding: 20px;
  padding-top: 95px;
  /* Account for fixed header (75px) + 20px spacing */
  padding-bottom: 40px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Video Player */
.player-container {
  margin-bottom: 24px;
  width: 100%;
  max-width: 100%;
}

.video-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.video-wrapper video,
.video-wrapper .preview-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  border-radius: 16px;
}

/* Image Gallery Styles */
.image-gallery {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.gallery-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.gallery-image.active {
  opacity: 1;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  pointer-events: auto;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.gallery-nav:hover {
  background: rgba(139, 92, 246, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Video Shimmer Loading */
.video-shimmer {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 70vh;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shimmer-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.shimmer-play-icon {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  padding-left: 5px;
}

/* Play Overlay on Thumbnail */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.video-play-overlay.hidden {
  display: none;
}

.play-overlay-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s, background 0.2s;
  padding-left: 5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-play-overlay:hover .play-overlay-btn {
  transform: scale(1.1);
  background: rgba(139, 92, 246, 0.8);
}

/* Video Controls */
.video-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.control-btn:hover {
  background: rgba(139, 92, 246, 0.4);
  transform: scale(1.05);
}

.progress-container {
  flex: 1;
  position: relative;
  height: 6px;
}

.progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.progress-input {
  position: absolute;
  top: -6px;
  left: 0;
  width: 100%;
  height: 18px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.progress-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid #8b5cf6;
}

.progress-input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  border: 2px solid #8b5cf6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  min-width: 40px;
  text-align: right;
}

/* CTA Section */
.cta-section {
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.btn-create-card {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #3b82f6 100%);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-create-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(124, 58, 237, 0.5);
}

.cta-note {
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.cta-note .emoji {
  margin-right: 4px;
  color: #ffffff;
  opacity: 1;
  font-size: 1.2em;
  vertical-align: middle;
}

/* Card Info Section */
.card-info-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.card-info-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.card-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-info-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.card-info-list li:last-child {
  margin-bottom: 0;
}

.card-info-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

/* Template Details */
.template-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
}

.template-details .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.details-grid {
  display: grid;
  gap: 12px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.detail-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.original-price {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 8px;
  font-weight: 400;
}

.type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.type-video {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
  color: #a78bfa;
}

.type-pdf {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(244, 114, 182, 0.3));
  color: #f472b6;
}

.bonus-tag {
  display: inline-block;
  margin-left: 0;
  margin-top: 6px;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

/* Feature checkmark */
.feature-check {
  color: #22c55e !important;
  font-size: 18px;
  font-weight: 700;
}

/* Discounted price styling */
.discounted-price {
  font-weight: 700;
  color: #ffffff;
}

/* Delivery value bold */
.delivery-value {
  font-weight: 700;
}

/* Mobile Specific */
@media (max-width: 480px) {

  .video-wrapper video,
  .video-wrapper .preview-image {
    max-height: 50vh;
    border-radius: 12px;
  }

  .gallery-image {
    max-height: 50vh;
    border-radius: 12px;
  }

  .image-gallery {
    min-height: 250px;
  }

  .gallery-nav {
    width: 36px;
    height: 36px;
  }

  .gallery-prev {
    left: 6px;
  }

  .gallery-next {
    right: 6px;
  }

  .gallery-dots {
    bottom: 12px;
  }

  .detail-content {
    padding: 16px;
  }

  .detail-item {
    flex-wrap: wrap;
  }

  .detail-value {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .type-badge {
    font-size: 12px;
    padding: 3px 10px;
  }

  .bonus-tag {
    font-size: 10px;
    margin-top: 4px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .detail-header {
    padding: 20px 40px;
  }

  .detail-content {
    padding: 40px;
    max-width: 700px;
  }

  .header-title {
    font-size: 20px;
  }

  .price-badge {
    font-size: 16px;
    padding: 10px 20px;
  }

  .btn-create-card {
    max-width: 400px;
    margin: 0 auto;
    font-size: 20px;
    padding: 20px 40px;
  }

  .card-info-section,
  .template-details {
    padding: 32px;
  }

  .card-info-title,
  .template-details .section-title {
    font-size: 20px;
  }

  .card-info-list li {
    font-size: 16px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    align-items: start;
    padding-top: 20px;
    /* Small padding, main spacing via margin or inherent flow */
    margin-top: 80px;
    /* Use margin to clear header instead of padding */
  }

  .player-container {
    grid-column: 1;
    grid-row: 1 / span 4;
    position: static;
    /* Remove sticky from grid item */
    top: auto;
    margin: 0;
    padding: 0;
    align-self: stretch;
    /* Let it fill the height */
    z-index: 10;
  }

  /* Apply sticky to the inner wrapper instead */
  .player-container .video-wrapper {
    display: block;
    position: sticky;
    top: 0px;
    /* Reset top for correct initial alignment */
    margin: 0;
    padding-top: 20px;
    /* Small buffer if needed, or 0 */
    line-height: 0;
    align-self: start;
    z-index: 5;
    border-radius: 16px;
    /* Ensure wrapper has radius */
    overflow: hidden;
    /* Clip content to radius */
  }

  .player-container .video-wrapper video,
  .player-container .video-wrapper .preview-image {
    margin: 0;
    width: 100%;
    /* Ensure it takes width */
    max-width: 100%;
    border-radius: 16px;
    /* Restore rounded corners */
  }

  /* Desktop order: Template Details first, then CTA */
  .cta-section {
    order: 2;
  }

  .card-info-section {
    order: 3;
  }

  .template-details {
    grid-column: 2;
    grid-row: 1;
    order: 1;
    margin: 0;
    /* Reset all margins */
    padding: 24px;
    /* Keep internal padding */
    align-self: start;
  }

  /* Make new sections span full width on desktop */
  .how-it-works-section,
  .trust-badges-section,
  .related-templates-section {
    grid-column: 1 / -1;
    margin-top: 20px;
    order: 10;
  }

  .video-wrapper video,
  .video-wrapper .preview-image {
    max-height: 60vh;
    border-radius: 20px;
  }

  .gallery-image {
    max-height: 60vh;
    border-radius: 20px;
  }

  .cta-section {
    text-align: center;
  }

  .btn-create-card {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
}

/* ===== How It Works Section ===== */
.how-it-works-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  overflow: hidden;
}

.how-it-works-section .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.steps-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  padding-right: 16px;
  margin-right: -16px;
}

.steps-container::-webkit-scrollbar {
  display: none;
}

.step-card {
  flex: 0 0 auto;
  width: calc(33.333% - 8px);
  min-width: 100px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  position: relative;
  scroll-snap-align: start;
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
}

.step-number {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ===== Trust Badges Section ===== */
.trust-badges-section {
  margin-bottom: 24px;
}

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

.trust-badge {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.trust-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Related Templates Section ===== */
.related-templates-section {
  margin-bottom: 24px;
}

.related-templates-section .section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.related-templates-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.related-templates-scroll::-webkit-scrollbar {
  display: none;
}

/* Related card - inherits from .card class, only size override needed */
.related-card.card {
  flex: 0 0 auto;
  width: 180px;
  min-width: 180px;
  scroll-snap-align: start;
}

.related-card.card:hover {
  transform: scale(1.03);
}

/* Mobile Responsive for New Sections */
@media (max-width: 480px) {
  .how-it-works-section {
    padding: 20px 16px;
  }

  .steps-container {
    margin-right: -16px;
    padding-right: 16px;
    /* Ensure scrollability */
    flex-wrap: nowrap;
  }

  /* Force 3 cards to be visible with scrolling if needed, but try to fit */
  .step-card {
    min-width: 100px;
    width: 120px;
    padding: 12px 8px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
  }

  .step-icon svg {
    width: 20px;
    height: 20px;
  }

  .step-title {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .step-desc {
    font-size: 11px;
    line-height: 1.3;
  }

  .trust-badge {
    padding: 14px 12px;
  }

  .trust-icon {
    width: 38px;
    height: 38px;
  }

  .trust-icon svg {
    width: 20px;
    height: 20px;
  }

  .trust-text {
    font-size: 12px;
  }

  .related-card {
    width: 120px;
  }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
  .how-it-works-section {
    padding: 32px;
  }

  .step-card {
    min-width: 180px;
    padding: 24px 20px;
  }

  .step-title {
    font-size: 16px;
  }

  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .trust-badge {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }

  .related-card {
    width: 160px;
  }
}

@media (min-width: 1024px) {
  .how-it-works-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 40px;
  }

  .how-it-works-section .section-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .steps-container {
    justify-content: center;
    overflow-x: visible;
    gap: 24px;
  }

  .step-card {
    flex: 1;
    max-width: 320px;
    min-width: 200px;
    padding: 28px 24px;
  }

  .step-icon {
    width: 64px;
    height: 64px;
  }

  .step-icon svg {
    width: 32px;
    height: 32px;
  }

  .step-title {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 14px;
  }

  .step-number {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .trust-badges-section {
    padding: 0;
  }

  .trust-badges {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .trust-badge {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .trust-icon {
    width: 50px;
    height: 50px;
  }

  .trust-text {
    font-size: 14px;
  }

  .related-templates-section .section-title {
    font-size: 22px;
  }

  .related-templates-scroll {
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .related-card {
    width: 180px;
  }

  .related-card-image {
    border-radius: 12px;
  }

  .related-card-price .price-current {
    font-size: 15px;
    padding: 5px 14px;
  }
}

/* =========================================
   CRITICAL MOBILE FIXES
   ========================================= */
@media (max-width: 767px) {

  /* 1. Remove spacer styles as element is deleted */
  /* Use margin to push content down below fixed header (75px) */
  .detail-content {
    margin-top: 90px !important;
    padding-top: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* 3. Ensure header handles iPhone notch */
  .detail-header {
    padding-top: max(16px, env(safe-area-inset-top));
    height: auto;
    min-height: 75px;
  }

  /* 4. Ensure wide elements don't break layout */
  .player-container,
  .cta-section,
  .how-it-works-section,
  .trust-badges-section,
  .related-templates-section {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .btn-create-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Spacer rule no longer needed but keeping empty block safe */
@media (min-width: 768px) {
  /* No spacer adjustments needed */
}