/** Shopify CDN: Minification failed

Line 1618:0 Unexpected "}"

**/
/* ========================================
   BK-MEDIA CUSTOM STYLES
   ======================================== */

/* ========================================
   MEDIA GRID STYLING - SCOPED TO MEDIA GRID SECTIONS ONLY
   ======================================== */

/* Scope all media grid styles to media-grid sections only */
.shopify-section--media-grid .media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  grid-auto-rows: var(--media-grid-row-height, 290px);
  margin-block-start: 2rem;
  margin-block-end: 2rem;
}

.shopify-section--media-grid .media-grid__item {
  display: block;
  grid-column: span var(--media-grid-column-span, 2);
  grid-row: span var(--media-grid-row-span, 2);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.shopify-section--media-grid .content-over-media {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shopify-section--media-grid .content-over-media__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopify-section--media-grid .content-over-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--content-over-media-overlay, transparent);
  z-index: 1;
}

.shopify-section--media-grid .content-over-media > *:not(.content-over-media__media) {
  position: relative;
  z-index: 2;
}

/* Video container - scoped to media-grid sections */
.shopify-section--media-grid .video-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: var(--rounded);
  display: flex;
  flex-direction: column;
}

.shopify-section--media-grid video-media {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--rounded);
  overflow: hidden;
  display: block;
  z-index: 1;
}

.shopify-section--media-grid video-media .video-div {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.shopify-section--media-grid video-media iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
  z-index: 1;
  pointer-events: auto;
}

.shopify-section--media-grid video-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000;
  display: block;
}

/* Hide native video controls since we'll use custom ones - scoped to media-grid */
.shopify-section--media-grid video-media video::-webkit-media-controls {
  display: none !important;
}

.shopify-section--media-grid video-media video::-webkit-media-controls-panel {
  display: none !important;
}

.shopify-section--media-grid .video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}

.shopify-section--media-grid .video-play-button {
  color: #ffffff;
  transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
  z-index: 10;
  pointer-events: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shopify-section--media-grid .video-play-button:before {
  content: "";
  box-sizing: content-box;
  top: calc(-1 * var(--play-button-shadow-size));
  left: calc(-1 * var(--play-button-shadow-size));
  width: 100%;
  height: 100%;
  padding: var(--play-button-shadow-size);
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3));
  opacity: .3;
  border-radius: 100%;
  animation: 2s ease-in-out infinite alternate ping;
  position: absolute;
}

/* Apply play button color to shadow - scoped to media-grid */
.shopify-section--media-grid .video-play-button[style*="color:"]:before {
  background: radial-gradient(50% 50% at 50% 50%, currentColor, currentColor);
  opacity: 0.3;
}

/* Hide play button when video is playing - scoped to media-grid */
.shopify-section--media-grid .video-container video-media[loaded] ~ .video-play-button {
  opacity: 0;
  visibility: hidden;
}

/* Hide thumbnail when video is playing - scoped to media-grid */
.shopify-section--media-grid .video-container video-media[loaded] .video-thumbnail {
  opacity: 0;
  visibility: hidden;
}

/* Custom video controls container - scoped to media-grid */
.shopify-section--media-grid .video-controls-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shopify-section--media-grid .video-container:hover .video-controls-container {
  opacity: 1;
}

/* Custom video controls - scoped to media-grid */
.shopify-section--media-grid .video-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
}

.shopify-section--media-grid .video-controls button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.shopify-section--media-grid .video-controls button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.shopify-section--media-grid .video-progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 0 1rem;
  position: relative;
  cursor: pointer;
}

.shopify-section--media-grid .video-progress-bar {
  height: 100%;
  background: white;
  border-radius: 2px;
  transition: width 0.1s ease;
}

.shopify-section--media-grid .video-time {
  color: white;
  font-size: 0.875rem;
  white-space: nowrap;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.1;
  }
}

/* Mobile responsive adjustments - scoped to media-grid sections */
@media screen and (max-width: 699px) {
  .shopify-section--media-grid .media-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    grid-auto-rows: min-content;
    margin-block-start: 1.5rem;
    margin-block-end: 1.5rem;
  }
  
  .shopify-section--media-grid .media-grid__item {
    grid-column: span 1;
    grid-row: span 1;
    min-height: var(--media-grid-row-height, 150px);
    height: auto;
  }
  
  .shopify-section--media-grid .media-grid__item .content-over-media {
    height: auto;
    min-height: var(--media-grid-row-height, 150px);
  }
}

/* Tablet adjustments - scoped to media-grid sections */
@media screen and (min-width: 700px) and (max-width: 999px) {
  .shopify-section--media-grid .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop adjustments - scoped to media-grid sections */
@media screen and (min-width: 1000px) {
  .shopify-section--media-grid .media-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   BANNER TIMER STYLING
   ======================================== */

.bk-media-banner-timer {
  background: var(--banner-background, #ff6b6b);
  color: var(--banner-text-color, #ffffff);
  border-radius: 5px 5px 0 0;
  padding: 6px 20px 1px 20px;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
  box-shadow: none;
  border: none;
}

@media screen and (min-width: 700px) {
  .bk-media-banner-timer {
    padding-bottom: 8px;
  }
}

.bk-media-banner-timer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bk-media-banner-timer__text {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.bk-media-banner-timer__countdown .time-block__num {
  font-family: Roboto;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.bk-media-banner-timer__countdown .time-block__unit {
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  opacity: 0.9;
  margin-left: 1px;
  color: inherit;
}

@media screen and (min-width: 750px) {
  .bk-media-banner-timer__text {
    font-size: 0.875rem;
    line-height: 1.2;
  }
  
  .bk-media-banner-timer__countdown {
    font-size: 0.875rem;
    line-height: 1.2;
  }
}

/* Button styling when banner is present - keep original border radius */
.add-to-cart--with-banner {
  margin-top: 0 !important;
}

/* Buy buttons block container with banner background */
.product-block:has(.bk-media-banner-timer) {
  background: var(--banner-background, #ff6b6b);
  border-radius: 12px;
  padding: 0;
}

/* Payment buttons container with banner - keep original border radius */
.payment-buttons .add-to-cart--with-banner {
  margin-top: 0 !important;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 699px) {
  .bk-media-banner-timer {
    padding: 8px 12px;
  }
  
  .bk-media-banner-timer__text {
    font-size: 0.75rem;
    line-height: 1.2;
  }
  
  .bk-media-banner-timer__countdown {
    font-size: 0.75rem;
    line-height: 1.2;
  }
}

/* ========================================
   VEHICLE CALCULATOR FORM LAYOUT
   ======================================== */

/* Desktop: Display form groups in one row */
@media screen and (min-width: 700px) {
  .vehicle-calculator .calculator-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  
  .vehicle-calculator .form-group {
    margin-bottom: 0;
  }
}

/* Mobile: Keep stacked layout */
@media screen and (max-width: 699px) {
  .vehicle-calculator .calculator-form {
    display: block;
  }
  
  .vehicle-calculator .form-group {
    margin-bottom: 1.5rem;
  }
}

/* ========================================
   VEHICLE CALCULATOR BANNER
   ======================================== */

.bk-media-vehicle-banner {
  background: linear-gradient(135deg, #f0f8f4 0%, #e8f5e8 100%);
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bk-media-vehicle-banner__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
}

.bk-media-vehicle-banner__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bk-media-vehicle-banner__icon svg {
  width: 20px;
  height: 20px;
}

.bk-media-vehicle-banner__text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bk-media-vehicle-banner__compatibility {
  color: #30302F;
  font-weight: 500;
  font-size: 14px;
}

.bk-media-vehicle-banner__vehicle {
  color: #28a745;
  font-weight: 600;
  font-size: 14px;
}

.bk-media-vehicle-banner__link {
  color: #30302F;
  text-decoration: underline;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.bk-media-vehicle-banner__link:hover {
  color: #28a745;
}

.bk-media-vehicle-banner--not-compatible {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.bk-media-vehicle-banner--not-compatible .bk-media-vehicle-banner__compatibility {
  color: #991b1b;
}

.bk-media-vehicle-banner--not-compatible .bk-media-vehicle-banner__vehicle {
  color: #dc2626;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 699px) {
  .bk-media-vehicle-banner {
    margin-bottom: 0 !important;
  }
  
  .bk-media-vehicle-banner__content {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
  
  .bk-media-vehicle-banner__text {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
  }
  
  .bk-media-vehicle-banner__icon svg {
    width: 16px;
    height: 16px;
  }
  
  .bk-media-vehicle-banner__compatibility,
  .bk-media-vehicle-banner__vehicle,
  .bk-media-vehicle-banner__link {
    font-size: 10px;
    white-space: nowrap;
  }
}

/* ========================================
   UNDER ATC TRUST ELEMENTS
   ======================================== */

.bk-media-under-atc {
  width: 100%;
  margin: 1rem 0 2rem 0;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.bk-media-under-atc__item {
  flex: 1;
  min-width: 0;
  padding: 0.75rem;
  border-radius: 1rem;
  line-height: 1.4;
  background: #FFFEFC;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.bk-media-under-atc__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.bk-media-under-atc__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.bk-media-under-atc__text {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 12px;
  word-break: break-word;
  color: #333;
}

.bk-media-under-atc__mobile-text {
  display: none;
}

.bk-media-under-atc__desktop-text {
  display: block;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
  .bk-media-under-atc {
    margin: 1rem 0 0 0;
    gap: 8px;
  }
  
  .bk-media-under-atc__item {
    flex: 1;
    min-width: 0;
    padding: 0.5rem;
  }
  
  .bk-media-under-atc__item:nth-child(n+3) {
    display: none;
  }
  
  .bk-media-under-atc__mobile-text {
    display: block;
  }
  
  .bk-media-under-atc__desktop-text {
    display: none;
  }
  
  .bk-media-under-atc__text {
    font-size: 11px;
  }
}

/* ========================================
   DACHZELT FINDER BLOCK
   ======================================== */

.bk-media-dachzelt-finder {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 0.5rem;
  position: relative;
  z-index: 1;
}

.bk-media-dachzelt-finder__header {
  text-align: left;
  margin-bottom: 1rem;
}

.bk-media-dachzelt-finder__form-row {
  display: grid;
  gap: 0.5rem;
}

@media screen and (max-width: 699px) {
  .bk-media-dachzelt-finder__form-row {
    gap: 1rem;
  }
  
  .bk-media-dachzelt-finder__label {
    margin-bottom: 5px;
    margin-top: 1rem;
  }
}

@media screen and (min-width: 700px) {
  .bk-media-dachzelt-finder__form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.bk-media-dachzelt-finder__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bk-media-dachzelt-finder__label {
  font-weight: 600;
  font-size: 0.875rem;
}

.bk-media-dachzelt-finder__select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.bk-media-dachzelt-finder__select:disabled {
  background: #f5f5f5;
  color: #999;
}

.bk-media-dachzelt-finder__result {
  display: none;
  padding: 0.75rem;
  border-radius: 4px;
  margin: 0.5rem 0;
}

.bk-media-dachzelt-finder__result--compatible {
  background: #d4edda;
  color: #155724;
}

.bk-media-dachzelt-finder__result--not-compatible {
  background: #f8d7da;
  color: #721c24;
}

.bk-media-dachzelt-finder__result-content {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.bk-media-dachzelt-finder__result-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  text-align: center;
  font-family: Arial, sans-serif;
}

.bk-media-dachzelt-finder__result-icon--compatible {
  background: #28a745;
  color: white;
}

.bk-media-dachzelt-finder__result-icon--not-compatible {
  background: #dc3545;
  color: white;
}

.bk-media-dachzelt-finder__result small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

.bk-media-dachzelt-finder__disclaimer {
  margin-top: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* ========================================
   DACHZELT FINDER MOBILE ACCORDION
   ======================================== */

/* Mobile accordion toggle - only visible on mobile */
.bk-media-dachzelt-finder__mobile-toggle {
  display: none;
}

@media screen and (max-width: 699px) {
  .bk-media-dachzelt-finder__mobile-toggle {
    display: block;
  }
  
  .bk-media-dachzelt-finder__header {
    display: none;
  }
  
  .bk-media-dachzelt-finder__toggle-btn {
    width: 100%;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .bk-media-dachzelt-finder__toggle-btn--compatible {
    background: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724;
  }
  
  .bk-media-dachzelt-finder__toggle-btn--not-compatible {
    background: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24;
  }
  
  .bk-media-dachzelt-finder__toggle-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .bk-media-dachzelt-finder__toggle-icon-status {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .bk-media-dachzelt-finder__toggle-icon-status svg {
    display: block;
  }
  
  .bk-media-dachzelt-finder__toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
  }
  
  /* Accordion content - collapsed by default on mobile */
  .bk-media-dachzelt-finder__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    background: transparent;
  }
  
  /* When expanded, add bottom margin to push content down */
  .bk-media-dachzelt-finder__accordion-content.expanded {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: transparent;
  }
}

/* Desktop - show content normally, hide mobile toggle */
@media screen and (min-width: 700px) {
  .bk-media-dachzelt-finder__mobile-toggle {
    display: none;
  }
  
  .bk-media-dachzelt-finder__accordion-content {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* ========================================
   ICON BLOCKS STYLING
   ======================================== */

.bk-media-icon-blocks-container {
  margin-top: 1rem;
  width: 100%;
  overflow: hidden;
}

.bk-media-icon-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.bk-media-icon-block {
  background-color: #FAFAFA;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  min-width: 0;
  overflow: hidden;
}

.bk-media-icon-block-button {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  cursor: pointer;
  text-align: center;
  min-width: 0;
}

.bk-media-icon-block-content {
  width: 100%;
  text-align: center;
  min-width: 0;
}

.bk-media-icon-block-icon {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bk-media-icon {
  width: 32px !important;
  height: 32px !important;
 
}

.bk-media-icon-block-text {
  font-size: 14px !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-decoration: underline;
}

/* Popup Modal Styling */
.bk-media-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.bk-media-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bk-media-popup-content {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.bk-media-popup-overlay.active .bk-media-popup-content {
  transform: scale(1);
}

.bk-media-popup-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.bk-media-popup-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

.bk-media-popup-close svg {
  width: 20px;
  height: 20px;
  color: #000;
}

.bk-media-popup-body {
  padding: 1.5rem;
}

.bk-media-popup-image {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.bk-media-popup-image img {
  width: 100%;
  height: auto;
  display: block;
}

.bk-media-popup-title {
  margin-bottom: 0.75rem;
}

.bk-media-popup-text {
  line-height: 1.5;
}

.bk-media-popup-text p {
  margin-bottom: 0.5rem;
}

.bk-media-popup-text p:last-child {
  margin-bottom: 0;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 699px) {
  .bk-media-icon-blocks-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
  
  .bk-media-icon-block {
    padding: 0.5rem;
    min-width: 0;
  }
  
  .bk-media-icon {
    width: 28px !important;
    height: 28px !important;
  }
  
  .bk-media-icon-block-text {
    font-size: 12px !important;
  }
  
  .bk-media-popup-content {
    margin: 0.5rem;
    max-height: 90vh;
  }
  
  .bk-media-popup-body {
    padding: 1rem;
  }
}

/* ========================================
   MEDIA GRID CONTENT POSITIONING - SCOPED TO MEDIA GRID SECTIONS
   ======================================== */

/* Desktop content positioning - scoped to media-grid sections */
.shopify-section--media-grid .media-grid-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  padding: 1rem;
  z-index: 2;
  pointer-events: none;
  box-sizing: border-box;
}

.shopify-section--media-grid .media-grid-content-wrapper * {
  pointer-events: auto;
}

/* Desktop positioning options - using flexbox alignment within full container - scoped to media-grid */
.shopify-section--media-grid .media-grid-content-wrapper[data-position="top-left"] {
  align-items: flex-start;
  justify-content: flex-start;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="top-center"] {
  align-items: flex-start;
  justify-content: center;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="top-right"] {
  align-items: flex-start;
  justify-content: flex-end;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="center-left"] {
  align-items: center;
  justify-content: flex-start;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="center"] {
  align-items: center;
  justify-content: center;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="center-right"] {
  align-items: center;
  justify-content: flex-end;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="bottom-left"] {
  align-items: flex-end;
  justify-content: flex-start;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="bottom-center"] {
  align-items: flex-end;
  justify-content: center;
}

.shopify-section--media-grid .media-grid-content-wrapper[data-position="bottom-right"] {
  align-items: flex-end;
  justify-content: flex-end;
}

/* Override prose positioning - scoped to media-grid */
.shopify-section--media-grid .media-grid-content-wrapper .prose {
  position: relative;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  transform: none;
}

/* Mobile: Allow content to influence block height - scoped to media-grid */
@media screen and (max-width: 699px) {
  .shopify-section--media-grid .media-grid__item {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .shopify-section--media-grid .media-grid__item .content-over-media {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: var(--media-grid-row-height, 150px);
  }
  
  .shopify-section--media-grid .media-grid__item .content-over-media__media,
  .shopify-section--media-grid .media-grid__item .video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  /* Mobile: Content positioned within block but can expand block height - scoped to media-grid */
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="top-left"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="top-center"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="top-right"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="center-left"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="center"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="center-right"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="bottom-left"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="bottom-center"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="bottom-right"],
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="below"] {
    position: relative;
    width: 100%;
    display: flex;
    padding: 1rem;
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
  }

  /* Mobile positioning options - content positioned within expandable block - scoped to media-grid */
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="top-left"] {
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: auto;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="top-center"] {
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
    margin-bottom: auto;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="top-right"] {
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 0;
    margin-bottom: auto;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="center-left"] {
    align-items: center;
    justify-content: flex-start;
    margin: auto 0;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="center"] {
    align-items: center;
    justify-content: center;
    margin: auto 0;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="center-right"] {
    align-items: center;
    justify-content: flex-end;
    margin: auto 0;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="bottom-left"] {
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: auto;
    margin-bottom: 0;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="bottom-center"] {
    align-items: flex-end;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 0;
  }

  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="bottom-right"] {
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: auto;
    margin-bottom: 0;
  }

  /* Special "below" position for mobile - content sits below media - scoped to media-grid */
  .shopify-section--media-grid .media-grid-content-wrapper[data-mobile-position="below"] {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    margin-top: auto;
    padding: 1rem;
  }
}



/* ========================================
   VIDEO CONTROLS STYLING - SCOPED TO MEDIA GRID SECTIONS
   ======================================== */

/* Video controls - scoped to media-grid sections only */
.shopify-section--media-grid .play-pause-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  color: white;
}

.shopify-section--media-grid .play-pause-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.shopify-section--media-grid .play-pause-btn svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   COLLECTION SWITCHER STYLING
   ======================================== */

.bk-media-collection-switcher__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-block-start: 1rem;
  margin-bottom: 30px;
}

.bk-media-collection-switcher__button {
  background-color: #fafafa;
  color: #000000;
  border: none;
  padding: .5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  font-size: inherit;
  font-family: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bk-media-collection-switcher__button.has-image {
  padding: .25rem 1rem .25rem .25rem;
}

.bk-media-collection-switcher__button-image {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.bk-media-collection-switcher__button-image img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.bk-media-collection-switcher__button-text {
  display: inline-block;
}

.bk-media-collection-switcher__button.is-active {
  background-color: var(--colorBtnPrimary, #000000);
  color: var(--colorBtnPrimaryText, #ffffff);
}

.bk-media-collection-switcher__collection {
  width: 100%;
}

.bk-media-collection-switcher__collection.hide {
  display: none;
}

@media screen and (max-width: 699px) {
  .bk-media-collection-switcher__buttons {
    gap: 20px;
    margin-block-start: 0.75rem;
    margin-bottom: 30px;
  }
  
  .bk-media-collection-switcher__button {
    padding: .5rem .75rem;
    font-size: 0.875rem;
  }
  
  .bk-media-collection-switcher__button.has-image {
    padding: .25rem .75rem .25rem .25rem;
  }
}

/* ========================================
   BLOG TAG LIST STYLING
   ======================================== */

.tag-list.bk-media-blog-tag-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

@media screen and (max-width: 699px) {
  .blog-filter {
    margin-left: calc(-1 * var(--container-gutter, 15px));
    margin-right: calc(-1 * var(--container-gutter, 15px));
    padding-left: var(--container-gutter, 15px);
    padding-right: var(--container-gutter, 15px);
  }
  
  .tag-list.bk-media-blog-tag-list {
    overflow: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 140px;
    column-gap: 0.75rem;
    scroll-padding-left: 0;
    scroll-padding-right: 0;
    justify-content: start;
    text-align: left;
  }
  
  .tag-list.bk-media-blog-tag-list li:first-child {
    scroll-margin-left: 0;
  }
}

@media screen and (min-width: 700px) {
  .tag-list.bk-media-blog-tag-list {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 1.5rem;
  }
}

.tag-list.bk-media-blog-tag-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: block;
}

.tag-list.bk-media-blog-tag-list .button-li.bk-media-blog-tag-item {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out !important;
  border-radius: 8px !important;
  height: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  border: none !important;
  cursor: pointer;
  /* Background and color will be set via inline styles from template */
}

.tag-list.bk-media-blog-tag-list .button-li.bk-media-blog-tag-item:hover {
  opacity: 1;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item.is-active {
  pointer-events: none;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 8px 8px 0 0;
}


.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  z-index: 1;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__image img,
.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: 8px 8px 0 0;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  text-align: center;
  background-color: inherit;
  flex: 1;
  gap: 0.25rem;
  border-radius: 0 0 8px 8px;
}

/* Ensure content background matches parent when active */
.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item.is-active .bk-media-blog-tag-item__content {
  background-color: inherit;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__content h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  line-height: 1.4;
}

.tag-list.bk-media-blog-tag-list .bk-media-blog-tag-item__content p.text-subdued {
  margin: 0;
  opacity: 0.7;
  color: inherit;
  font-size: 14px;
  line-height: 1.4;
}

.blog-filter .tag-list:not(.bk-media-blog-tag-list) .button-li.is-active {
  background-color: var(--colorBtnPrimary, #000000);
  color: var(--colorBtnPrimaryText, #ffffff);
}

/* ========================================
   BLOG ARTICLE GRID STYLING
   ======================================== */

.article__grid-image {
  padding: 0px;
  background-color: #fafafa;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.article__grid-image .image-wrap {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.article__grid-image .image-wrap:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 8px;
}

.article__grid-image .image-wrap img {
  transition: transform 2s ease-out;
}

.article__grid-image:hover .image-wrap img,
.article__grid-image:focus .image-wrap img {
  transform: scale(1.05);
}

.article__grid-image:hover .image-wrap:before,
.article__grid-image:focus .image-wrap:before {
  opacity: 0.15;
  transition: opacity 0.2s ease-in;
}

.article__grid-meta {
  padding: 20px 15px 15px 15px;
  background-color: #fafafa;
  border-radius: 8px;
}

.article__excerpt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.article__grid-meta .article__tag {
  position: static;
  margin: 10px 0 0 0;
  padding: 5px 10px;
  background-color: #09C2C1;
  font-size: 14px;
  display: inline-block;
  border-radius: 8px;
}

.article__grid-meta .article__tag a {
  color: #fff;
  text-decoration: none;
}

.article__grid-meta .article__date {
  margin-top: 10px;
  margin-bottom: 0;
}

.bk-media-blog-tag-item__image-wrapper {
  position: relative;
  overflow: hidden;
}

.bk-media-blog-tag-item__image {
  transition: transform 2s ease-out;
  position: relative;
}

.bk-media-blog-tag-item__image-wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 8px 8px 0 0;
}

.bk-media-blog-tag-item:hover .bk-media-blog-tag-item__image,
.bk-media-blog-tag-item:focus .bk-media-blog-tag-item__image {
  transform: scale(1.05);
}

.bk-media-blog-tag-item:hover .bk-media-blog-tag-item__image-wrapper:before,
.bk-media-blog-tag-item:focus .bk-media-blog-tag-item__image-wrapper:before {
  opacity: 0.15;
  transition: opacity 0.2s ease-in;
}
  .article__grid-meta {
    padding: 20px 20px 20px 20px;
  }
  
  .article__excerpt {
    font-size: 15px;
  }
}

/* ========================================
   ANNOUNCEMENT BAR STYLES
   ======================================== */

.announcement-bar {
  padding-block-start: var(--spacing-2);
  padding-block-end: var(--spacing-2);
  display: flex;
  align-items: center;
  min-height: 40px;
}

.announcement-bar > .container {
  display: flex;
  align-items: center;
  width: 100%;
}

.announcement-bar__wrapper {
  gap: var(--spacing-4);
  max-width: 450px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.announcement-bar__wrapper.justify-between {
  justify-content: space-between;
}

.announcement-bar__scrolling-list {
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.announcement-bar__static-list {
  text-align: center;
  place-items: center;
  display: grid;
  position: relative;
  align-items: center;
  min-height: 40px;
  flex: 1;
  max-width: 100%;
}

.announcement-bar__static-list > * {
  grid-area: 1 / -1;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.announcement-bar__static-list p {
  margin: 0 !important;
  display: inline-block;
}

.announcement-bar__static-list > *.reveal-invisible {
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
}

.announcement-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.announcement-bar__item p {
  margin: 0;
  display: inline;
  white-space: nowrap;
  padding-right: 24px;
}

.announcement-bar a,
.announcement-bar__static-list a,
.announcement-bar__item a,
.announcement-bar__countdown-message a {
  color: inherit;
  text-decoration: none;
}

.announcement-bar a:hover,
.announcement-bar__static-list a:hover,
.announcement-bar__item a:hover,
.announcement-bar__countdown-message a:hover {
  color: inherit;
  text-decoration: underline;
}

.announcement-bar__item .text-xxs,
.announcement-bar__static-list .text-xxs {
  font-size: 10px;
}

.announcement-bar__item .text-xs,
.announcement-bar__static-list .text-xs {
  font-size: 12px;
}

.announcement-bar__item .text-base,
.announcement-bar__static-list .text-base {
  font-size: 14px;
}

.announcement-bar__item .text-lg,
.announcement-bar__static-list .text-lg {
  font-size: 16px;
}

.announcement-bar__separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.5;
  margin: 0 24px;
  flex-shrink: 0;
  display: inline-block;
}

.shape-circle,
.shape-square,
.shape-diamond {
  --size: var(--spacing-1-5);
  width: var(--size);
  height: var(--size);
  background: currentColor;
  display: block;
}

.shape-circle {
  border-radius: 50%;
}

.shape-square {
  border-radius: 0;
}

.shape-diamond {
  transform: rotate(45deg);
  border-radius: 0;
}

@media screen and (min-width: 700px) {
  .announcement-bar {
    padding-block-start: var(--spacing-3);
    padding-block-end: var(--spacing-3);
  }

  .announcement-bar__item {
    grid-auto-columns: auto var(--spacing-6);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .announcement-bar__item {
    animation: translateFull var(--marquee-animation-duration, 0s) linear infinite;
  }
}

@keyframes translateFull {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% * var(--transform-logical-flip, 1)));
  }
}

[dir="rtl"] .announcement-bar__item {
  --transform-logical-flip: -1;
}

.bg-gradient {
  background: var(--gradient);
}

.bg-custom {
  background-color: rgb(var(--background));
}

.text-custom {
  color: rgb(var(--text-color));
}

.backdrop-blur-custom {
  backdrop-filter: blur(var(--backdrop-blur));
}

.tap-area {
  position: relative;
  padding: var(--spacing-1);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tap-area:before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
}

.tap-area:hover {
  opacity: 0.8;
}

.reveal-invisible {
  opacity: 0;
  visibility: hidden;
}

.bk-media-announcement-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: currentColor;
  position: absolute;
  z-index: 1;
}

.bk-media-announcement-nav:first-of-type {
  left: -40px;
}

.bk-media-announcement-nav:last-of-type {
  right: -40px;
}

.bk-media-announcement-nav .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.bk-media-announcement-nav:hover {
  opacity: 0.7;
}

.announcement-bar__countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
  padding-left: 20px;
  padding-right: 20px;
}

.announcement-bar__countdown-message {
  flex: 1;
}

.announcement-bar__countdown-message p {
  margin: 0;
  font-weight: bold;
}

.announcement-bar__countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.announcement-bar__countdown-text {
  font-weight: bold;
  white-space: nowrap;
}

.announcement-bar__countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.announcement-bar__countdown-item {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.announcement-bar__countdown-value {
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}

.announcement-bar__countdown-label {
  font-size: 14px;
  line-height: 1;
  opacity: 0.8;
  margin-right: 8px;
}

@media screen and (max-width: 700px) {
  .announcement-bar__countdown-wrapper {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .announcement-bar__countdown {
    width: 100%;
    justify-content: flex-start;
  }
}

.announcement-bar__grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-4);
  align-items: center;
  width: 100%;
}

.announcement-bar__grid-item {
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.announcement-bar__grid-item--active {
  opacity: 1;
  visibility: visible;
}

.announcement-bar__grid-item p {
  margin: 0 !important;
}

@media screen and (max-width: 699px) {
  .announcement-bar__grid-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
    position: relative;
    min-height: 40px;
  }

  .announcement-bar__grid-item {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* ========================================
   PRODUCT PAGE DISCOUNT BADGE
   ======================================== */

.product-block--price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bk-media-product-discount-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--colorSaleTag, #1c1d1d);
  color: var(--colorSaleTagText, #ffffff);
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  height: fit-content;
}

.bk-media-product-discount-badge.hide {
  display: none;
}

.grid-product__tag--sale {
  border-radius: 5px;
}


.grid-product__tag--metafield {
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.75rem;
  display: inline-block;
  white-space: nowrap;
  position: relative !important;
}

/* ========================================
   BESTPREIS GARANTIE LINK
   ======================================== */

.bk-media-bestpreis-garantie {
  display: flex;
  align-items: end;
  gap: 6px;
}

.bk-media-bestpreis-garantie__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.bk-media-bestpreis-garantie__link {
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: #09C2C1;
  cursor: pointer;
  font-size: 0.85em;
  color: #09C2C1;
  font-family: inherit;
}

.bk-media-bestpreis-garantie__link:hover {
  opacity: 0.8;
}

@media screen and (max-width: 699px) {
  .bk-media-product-discount-badge {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.4375rem;
  }
  
  .product-block--price {
    gap: 8px;
  }
}

/* ========================================
   HORIZONTAL PRODUCT CARD
   ======================================== */

@keyframes bk-media-pulse-green {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.grid--horizontal-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0;
  box-sizing: border-box;
}

@media screen and (min-width: 590px) {
  .grid--horizontal-products {
    margin-left: 0 !important;
  }
}

@media screen and (min-width: 769px) {
  .grid--horizontal-products {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

html[dir=rtl] .grid--horizontal-products {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.grid--horizontal-products .grid__item {
  width: 100%;
  max-width: 100%;
  padding-left: 0 !important;
  float: none;
  margin: 0;
  box-sizing: border-box;
}

.grid--horizontal-products .grid-product__content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.grid--horizontal-products .grid-product__content {
  margin-bottom: 0 !important;
}

@media only screen and (min-width: 590px) {
  .grid--horizontal-products .grid-product__content {
    margin-bottom: 0 !important;
  }
}

.bk-media-horizontal-image-mask {
  flex-shrink: 0;
  width: 45%;
  overflow: hidden;
  position: relative;
}

.bk-media-horizontal-image-mask .grid__image-ratio {
  width: 100%;
  height: auto;
}

.bk-media-horizontal-image-mask .grid__image-ratio img {
  width: 100%;
  height: auto;
  display: block;
}

.bk-media-horizontal-image-mask .image-wrap {
  position: relative;
  width: 100%;
}

.bk-media-horizontal-image-mask .image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

@media screen and (max-width: 699px) {
  .grid-product--horizontal .bk-media-horizontal-image-mask {
    width: 150px;
  }
}

.grid-product--horizontal .grid-product__price {
  margin-top: 0 !important;
}

/* Horizontal scrolling for mobile - only when inside grid-overflow-wrapper */
@media only screen and (max-width: 589px) {
  /* When inside grid-overflow-wrapper (featured-collection, etc.) - same as vertical cards */
  .grid-overflow-wrapper .grid--horizontal-products {
    display: flex !important;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
  }

  .grid-overflow-wrapper .grid--horizontal-products .grid__item {
    width: 85vw !important;
    max-width: 85vw !important;
    flex: 0 0 85vw !important;
    display: inline-block;
    float: none;
    white-space: normal;
    margin: 0 !important;
    padding-left: 0 !important;
  }

  .grid-overflow-wrapper .grid--horizontal-products .grid__item:first-child {
    margin-left: 20px;
  }

  .grid-overflow-wrapper .grid--horizontal-products .grid__item:last-child::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1px;
  }

  .grid-overflow-wrapper .grid--horizontal-products .grid-product__content {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }
}

/* ========================================
   TAB GROUP STYLES
   ======================================== */

.bk-media-tabs-list {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.bk-media-tabs-list::-webkit-scrollbar {
  height: 3px;
}

.bk-media-tabs-list::-webkit-scrollbar-track {
  background: transparent;
}

.bk-media-tabs-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.bk-media-tabs-list::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

.bk-media-tab-button {
  display: block;
  margin: 0;
  padding: 1rem 0.5rem;
  font-size: 1rem;
  color: var(--colorTextBody);
  text-transform: unset;
  text-align: center;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  opacity: 0.5;
}

.bk-media-tab-button:hover {
  opacity: 0.8;
}

.bk-media-tab-button.active {
  border-color: var(--colorTextBody);
  color: var(--colorTextBody);
  opacity: 1;
  font-weight: 600;
}

.bk-media-tab-content {
  display: none;
  width: 100%;
  padding-top: 2rem;
}

.bk-media-tab-content.active {
  display: block;
}

.bk-media-tab-section-content {
  width: 100%;
}

/* ========================================
   BLOG TEMPLATE
   Scoped to .bk-media-blog-template only.
   Does not affect navigation (customized-insta-storys) or other sections.
   ======================================== */

.template-blog .page-content,
.template-article .page-content {
  padding-top: 0;
}

.bk-media-blog-template {
  padding-block: 30px;
}

.bk-media-blog-template__heading {
  margin-block-end: 30px;
  text-align: center;
}

.bk-media-blog-template__filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-block-end: 30px;
  flex-wrap: wrap;
  border-block-start: 1px solid var(--blog-border, var(--colorBorder, #e8e8e1));
  border-block-end: 1px solid var(--blog-border, var(--colorBorder, #e8e8e1));
  padding-block: 10px;
  width: 100vw;
  margin-inline: calc(-50vw + 50%);
  padding-inline: 5px 0;
  box-sizing: border-box;
}

@media screen and (min-width: 590px) {
  .bk-media-blog-template__filter-bar {
    padding-inline: 5px 0;
  }
}

@media screen and (max-width: 699px) {
  .bk-media-blog-template__filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .bk-media-blog-template__search-wrapper {
    flex-shrink: 0;
  }

  .bk-media-blog-template__tags {
    flex: 1;
    min-width: 0;
  }
}

.bk-media-blog-template__search-wrapper {
  position: relative;
}

.bk-media-blog-template__search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blog-accent, var(--colorBtnPrimary, #09c2c1));
}

.bk-media-blog-template__search-trigger .icon {
  width: 24px;
  height: 24px;
}

.bk-media-blog-template__search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.bk-media-blog-template__search-modal.is-open {
  display: flex;
}

.bk-media-blog-template__search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.bk-media-blog-template__search-modal-content {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-block-start: 4rem;
  margin-block-end: 2rem;
  background: var(--blog-bg, var(--colorBody, #fff));
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 32px var(--blog-shadow, rgba(0, 0, 0, 0.12));
  overflow: hidden;
}

.bk-media-blog-template__search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--blog-border, var(--colorBorder, #e8e8e1));
}

.bk-media-blog-template__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--blog-text, var(--colorTextBody, #30302f));
}

.bk-media-blog-template__search-input::placeholder {
  color: var(--blog-text-subdued, var(--colorTextBody, #30302f));
}

.bk-media-blog-template__search-input:focus {
  outline: none;
}

.bk-media-blog-template__search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--blog-text-muted, var(--colorTextBody, #30302f));
}

.bk-media-blog-template__search-close .icon {
  width: 20px;
  height: 20px;
}

.bk-media-blog-template__search-results {
  max-height: 60vh;
  overflow-y: auto;
}

.bk-media-blog-template__search-result {
  display: block;
  padding: 16px 20px;
  color: var(--blog-text, var(--colorTextBody, #30302f));
  text-decoration: none;
  border-bottom: 1px solid var(--blog-border, var(--colorBorder, #e8e8e1));
  transition: background 0.2s ease;
}

.bk-media-blog-template__search-result:last-child {
  border-bottom: none;
}

.bk-media-blog-template__search-result:hover {
  background: var(--blog-shadow, rgba(0, 0, 0, 0.04));
}

.bk-media-blog-template__search-result-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-block-end: 4px;
}

.bk-media-blog-template__search-result-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--blog-text-muted, var(--colorTextBody, #30302f));
  overflow: hidden;
}

@media screen and (max-width: 699px) {
  .bk-media-blog-template__search-result-excerpt {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
}

.bk-media-blog-template__search-no-results,
.bk-media-blog-template__search-loading {
  padding: 24px 20px;
  color: var(--blog-text-subdued, var(--colorTextBody, #30302f));
  font-size: 0.875rem;
}

.bk-media-blog-template__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.bk-media-blog-template__tag {
  flex-shrink: 0;
  color: var(--blog-accent, var(--colorBtnPrimary, #09c2c1));
  text-decoration: none;
  font-size: 0.875rem;
  padding: 4px 12px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.bk-media-blog-template__tag:hover {
  opacity: 0.8;
}

.bk-media-blog-template__tag.is-active {
  font-weight: 600;
}

.bk-media-blog-template__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media screen and (min-width: 700px) {
  .bk-media-blog-template__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bk-media-blog-template__card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--blog-shadow, rgba(0, 0, 0, 0.08));
}

.bk-media-blog-template__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bk-media-blog-template__card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.bk-media-blog-template__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}

.bk-media-blog-template__card-image.placeholder {
  background: var(--blog-border, var(--colorBorder, #e8e8e1));
}

.bk-media-blog-template__card-content {
  padding: 20px;
  position: relative;
}

.bk-media-blog-template__card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 12px;
  padding-inline-start: 60px;
}

.bk-media-blog-template__card-author-image-wrap {
  position: absolute;
  left: 20px;
  top: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--card-bg, var(--blog-bg, var(--colorBody, #fff)));
  z-index: 1;
}

.bk-media-blog-template__card-author-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bk-media-blog-template__card-author-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blog-border, var(--colorBorder, #e8e8e1));
  color: var(--blog-text, var(--colorTextBody, #30302f));
  font-weight: 600;
  font-size: 1rem;
}

.bk-media-blog-template__card-meta-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--blog-text-muted, var(--colorTextBody, #30302f));
}

.bk-media-blog-template__card-sep {
  opacity: 0.5;
}

.bk-media-blog-template__card-title {
  text-align: center;
  margin-block: 0 8px;
}

.bk-media-blog-template__card-tags {
  text-align: center;
  font-size: 0.75rem;
  color: var(--blog-text-subdued, var(--colorTextBody, #30302f));
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ========================================
   CART DISCOUNTED PRICE - MATCH PRODUCT CARDS
   ======================================== */

.drawer [data-subtotal] .sale-price,
.cart__footer [data-subtotal] .sale-price,
.cart__item .cart__price.sale-price {
  color: #789050 !important;
  font-weight: bold;
  font-size: 14px;
}

.drawer [data-subtotal] .cart__price--strikethrough,
.cart__footer [data-subtotal] .cart__price--strikethrough,
.cart__item .cart__price--strikethrough {
  text-decoration: line-through;
  color: #999;
  font-size: 12px;
}

/* ========================================
   CART LINE ITEM REVIEWS
   ======================================== */

.cart__item--reviews {
  margin-top: 4px;
  font-size: 12px;
}

.cart__item--reviews .jdgm-widget,
.cart__item--reviews .loox-rating {
  display: inline-flex;
  align-items: center;
}

/* ========================================
   PRODUCT GALLERY INFO BANNER
   ======================================== */

.pswp__hotspot-root {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
  transform: translateZ(0);
}

.pswp__hotspot-root:not(.pswp__hotspot-root--ready) {
  opacity: 0;
  visibility: hidden;
}

.pswp__hotspot-root.pswp__hotspot-root--ready {
  opacity: 1;
  visibility: visible;
}

.pswp--touch .pswp__hotspot-root .product-gallery__hotspot-dot {
  touch-action: manipulation;
}

.pswp__hotspot-root .product-gallery__hotspot-layer {
  position: absolute;
  inset: 0;
}

.product__main-photos--info-banner {
  overflow: visible;
}

.product-main-slide--has-gallery-hotspot .product-image-main .image-wrap {
  position: relative;
  z-index: 0;
}

.product-main-slide--has-gallery-hotspot .product-image-main .product__photo-zoom {
  z-index: 1;
}

.product-gallery__hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.product-gallery__hotspot {
  position: absolute;
  left: var(--hotspot-x, 50%);
  top: var(--hotspot-y, 50%);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  max-width: min(300px, calc(100vw - 48px));
}

[data-product-gallery-hotspot-root].is-hotspot-expanded {
  z-index: 90 !important;
}

.product-main-slide:has([data-product-gallery-hotspot-root].is-hotspot-expanded)
  [data-product-gallery-hotspot-root]:not(.is-hotspot-expanded)
  .product-gallery__hotspot-dot {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.product__photos--info-banner .product-main-slide:not(.is-selected) .product-gallery__hotspot-layer {
  pointer-events: none;
}

.product__photos--info-banner .product-main-slide:not(.is-selected) .product-gallery__hotspot {
  pointer-events: none;
}

.product-gallery__hotspot-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}

.product-gallery__hotspot-core {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--hotspot-dot, #124b3a);
  box-shadow:
    0 0 0 2px var(--hotspot-dot-outline, #ffffff),
    0 2px 8px rgb(0 0 0 / 0.35);
}

.product-gallery__hotspot-pulse {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: var(--hotspot-ring, #353531);
  opacity: 0.28;
}

@media screen and (max-width: 699px) {
  .product-gallery__hotspot-dot {
    width: 22px;
    height: 22px;
  }

  .product-gallery__hotspot-core {
    width: 11px;
    height: 11px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .product-gallery__hotspot-layer:not(.is-hotspot-expanded) .product-gallery__hotspot-pulse {
    animation: bk-media-hotspot-ping 2s ease-in-out infinite;
  }
}

.product-gallery__hotspot-layer.is-hotspot-expanded .product-gallery__hotspot-pulse {
  opacity: 0.35;
  animation: none;
}

@keyframes bk-media-hotspot-ping {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.35;
  }
}

.product-gallery__hotspot-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(calc(-50% + var(--hotspot-panel-nudge-x, 0px)));
  min-width: min(260px, calc(100vw - 40px));
  max-width: var(--hotspot-panel-max-w, min(420px, calc(100vw - 32px)));
  max-height: min(70vh, 520px);
  padding: 16px;
  margin: 0;
  text-align: left;
  background: var(--hotspot-panel-bg, rgb(53 53 49 / 0.45));
  color: var(--hotspot-panel-text, #fcf8f1);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.18);
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  font-size: calc(var(--typeBaseSize) - 2px);
  line-height: var(--typeBaseLineHeight, 1.5);
}

.product-gallery__hotspot-panel[hidden] {
  display: none !important;
}

.product-gallery__hotspot-panel.prose .product-gallery__hotspot-title {
  margin: 0 0 8px;
  color: inherit;
  font-size: calc(var(--typeBaseSize) - 2px);
  font-weight: bold;
}

.product-gallery__hotspot-panel .product-gallery__hotspot-body {
  margin: 0;
  color: inherit;
  font-size: calc(var(--typeBaseSize) - 2px);
}

.product-gallery__hotspot-panel .product-gallery__hotspot-body * {
  color: inherit;
  font-size: inherit;
}

.product-gallery__hotspot-panel .product-gallery__hotspot-body p,
.product-gallery__hotspot-panel .product-gallery__hotspot-body li {
  font-size: calc(var(--typeBaseSize) - 2px);
}

.product-gallery__hotspot-panel .product-gallery__hotspot-body h1,
.product-gallery__hotspot-panel .product-gallery__hotspot-body h2,
.product-gallery__hotspot-panel .product-gallery__hotspot-body h3,
.product-gallery__hotspot-panel .product-gallery__hotspot-body h4,
.product-gallery__hotspot-panel .product-gallery__hotspot-body h5,
.product-gallery__hotspot-panel .product-gallery__hotspot-body h6 {
  font-size: calc(var(--typeBaseSize) - 2px);
  margin: 0 0 0.5em;
}

@media screen and (max-width: 699px) {
  .product-gallery__hotspot-panel {
    font-size: 12px;
    line-height: 1.45;
  }

  .product-gallery__hotspot-panel.prose .product-gallery__hotspot-title {
    font-size: 12px;
  }

  .product-gallery__hotspot-panel .product-gallery__hotspot-body {
    font-size: 12px;
  }

  .product-gallery__hotspot-panel .product-gallery__hotspot-body * {
    font-size: 12px;
  }

  .product-gallery__hotspot-panel .product-gallery__hotspot-body p,
  .product-gallery__hotspot-panel .product-gallery__hotspot-body li {
    font-size: 12px;
  }

  .product-gallery__hotspot-panel .product-gallery__hotspot-body h1,
  .product-gallery__hotspot-panel .product-gallery__hotspot-body h2,
  .product-gallery__hotspot-panel .product-gallery__hotspot-body h3,
  .product-gallery__hotspot-panel .product-gallery__hotspot-body h4,
  .product-gallery__hotspot-panel .product-gallery__hotspot-body h5,
  .product-gallery__hotspot-panel .product-gallery__hotspot-body h6 {
    font-size: 12px;
  }
}

.product-gallery__hotspot-panel--flip {
  top: auto;
  bottom: calc(100% + 10px);
}

.product-gallery__hotspot-panel--place-right {
  left: calc(100% + 10px);
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(calc(-50% + var(--hotspot-panel-nudge-y, 0px)));
}

.product-gallery__hotspot-panel--place-left {
  left: auto;
  right: calc(100% + 10px);
  top: 50%;
  bottom: auto;
  transform: translateY(calc(-50% + var(--hotspot-panel-nudge-y, 0px)));
}

.product-gallery-info-banner__drawer-image {
  margin-bottom: 16px;
}

.product-gallery-info-banner__drawer-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.product-gallery-info-banner__rte {
  margin-top: 8px;
}

/* ========================================
   PRODUCT GALLERY INFO BANNER — MODAL
   ======================================== */

.modal--info-banner-gallery.modal--is-active {
  z-index: 10050;
}

.modal-open .product__main-photos--video-opener {
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.modal--info-banner-gallery .modal__inner {
  max-width: min(620px, calc(100vw - 32px));
  width: 100%;
  max-height: min(85vh, 880px);
  margin: 16px auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
}

@media only screen and (min-width: 590px) {
  .modal--info-banner-gallery .modal__inner {
    margin: 24px auto;
    max-width: min(620px, calc(100vw - 80px));
  }
}

.modal--info-banner-gallery .modal__centered {
  position: relative;
  width: 100%;
  max-height: min(85vh, 880px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}

.modal--info-banner-gallery.modal--square .modal__centered-content {
  max-width: 100% !important;
  width: 100%;
  max-height: min(70vh, 640px) !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 20px 20px 24px !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

@media only screen and (min-width: 590px) {
  .modal--info-banner-gallery.modal--square .modal__centered-content {
    padding: 24px 28px 28px !important;
    max-height: min(72vh, 680px) !important;
  }
}

.modal--info-banner-gallery .product-gallery-info-banner__modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.modal--info-banner-gallery .product-gallery-info-banner__modal-title-wrap {
  flex: 1;
  min-width: 0;
}

.modal--info-banner-gallery .product-gallery-info-banner__modal-title-wrap .h5 {
  margin: 0;
}

.modal--info-banner-gallery .product-gallery-info-banner__modal-header .drawer__close {
  flex-shrink: 0;
  width: auto;
  display: block;
  text-align: right;
  vertical-align: initial;
}

.modal--info-banner-gallery .product-gallery-info-banner__modal-header .drawer__close-button {
  right: 0;
  padding: 0;
  height: auto;
}

.modal--info-banner-gallery .product-gallery-info-banner__drawer-image {
  margin-bottom: 12px;
}

.modal--info-banner-gallery .product-gallery-info-banner__drawer-image img {
  max-width: 100%;
  max-height: min(38vh, 340px);
  width: auto;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: block;
  object-fit: contain;
}

