@charset "UTF-8";
/* Iceland Project 
by John Wong Cheuk Bun, 2025
(john.wong@uniqlo.eu)
UNIQLO EUROPE LIMITED
*/
#hero {
  position: relative;
}
@media (min-width: 769px) {
  #hero {
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }
}
#hero img {
  width: 100%;
  height: max(500px, 40vh);
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
#hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
  text-align: center;
  z-index: 10;
}

/* Photo Grid Collages */
.three-columns {
  display: flex;
}
@media (min-width: 769px) {
  .three-columns {
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (max-width: 768px) {
  .three-columns {
    flex-direction: column;
    gap: 1em;
  }
}

.two-columns {
  display: flex;
  flex-flow: row nowrap;
  gap: 1em;
}
@media (max-width: 768px) {
  .two-columns {
    flex-flow: column nowrap;
  }
}

@media (min-width: 768px) {
  #skiwear,
  #look2,
  #look4 {
    flex-direction: row-reverse;
  }
}

.left {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .left img {
    aspect-ratio: 1/1;
    -o-object-fit: cover;
       object-fit: cover;
    height: max(50vh, 50%);
  }
}
@media (min-width: 769px) {
  .left img {
    aspect-ratio: 2/3;
  }
}

.right {
  flex: 1;
  min-width: 0;
}

@media (min-width: 769px) {
  #layering-guide-1 .right,
  #layering-guide-2 .right {
    display: flex;
    flex-direction: column;
    aspect-ratio: 2/3;
  }
  #layering-guide-1 .right3row,
  #layering-guide-2 .right3row {
    min-height: 0;
    overflow: hidden;
    /* .fr-bff-products {
    	transform: scale(0.85); // Shrink content to 85%
    	transform-origin: top left;
    	width: 117%; // Compensate for the scale (100/0.85 ≈ 117%)
    } */
  }
}

.square-collage {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  aspect-ratio: 1;
}
.square-collage img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ============================================
   SHOPPABLE IMAGE SYSTEM - CSS-only Popups
   ============================================
*/
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden; /* Prevents horizontal scroll on mobile */
  }
}

/* The image wrapper
   ========================
   position: relative creates a "positioning context"
   This means any child with position: absolute will be positioned
   relative to THIS element, not the whole page
*/
.shoppable-image {
  position: relative;
  overflow: visible; /* Allow popup to overflow outside the image bounds */
  /* Make the image fill the container */
}
.shoppable-image a {
  display: block; /* Remove inline spacing issues */
}
.shoppable-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* The clickable dot button
   ================================
    <button> instead of <div> for accessibility:
*/
.shoppable-dot {
  /* Reset default button styles */
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: absolute;
  transform: translate(-50%, -50%);
  /* z-index puts this on top of other elements */
  z-index: 10;
}

/* The visual dot indicator
   ================================
   This is the actual circle you see
   Using a separate element allows more styling flexibility
*/
.dot-indicator {
  display: block;
  width: 24px;
  height: 24px;
  /* The dot appearance */
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
  border: 2px solid rgba(255, 255, 255, 0.8); /* White border */
  border-radius: 50%; /* Makes it a circle (50% of width/height) */
  /* Add a subtle shadow for depth */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  /* Smooth transition for hover effect on the dot itself */
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Optional: Make the dot grow slightly on hover */
.shoppable-dot:hover .dot-indicator,
.shoppable-dot:focus .dot-indicator {
  transform: scale(1.2); /* Grow to 120% size */
  background-color: rgba(0, 0, 0, 0.9); /* Darker on hover */
}

/* The popup container
   ===========================
   HIDDEN STATE (default):
   - opacity: 0 = invisible
   - visibility: hidden = can't be clicked/focused
   - BOTH: invisible, not clickable, AND can animate smoothly
*/
.shoppable-popup {
  /* Positioning: appear below and to the right of the dot */
  position: absolute;
  top: 100%; /* Start at the bottom of the dot */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust to truly center */
  /* Spacing */
  margin-top: 8px; /* Gap between dot and popup */
  padding: 12px;
  /* Appearance */
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  /* Size constraints */
  min-width: 200px;
  max-width: 280px;
  /* Mobile: constrain width to fit viewport */
  /* THE HIDDEN STATE */
  opacity: 0;
  visibility: hidden;
  /* THE FADE ANIMATION
     transition: [property] [duration] [easing]
     - opacity 0.2s = fade takes 0.2 seconds
     - ease = smooth acceleration/deceleration curve
  */
  transition: opacity 0.2s ease, visibility 0.2s ease;
  /* Ensure popup is above other content */
  z-index: 100 !important;
}
@media (max-width: 768px) {
  .shoppable-popup {
    min-width: 180px;
    max-width: calc(100vw - 32px);
  }
}

/* Show popup on hover OR focus*/
.shoppable-dot:hover,
.shoppable-dot:focus,
.shoppable-dot:focus-within {
  /* Raise the entire dot above all other dots so popup isn't overlapped */
  z-index: 1000;
}

.shoppable-dot:hover .shoppable-popup,
.shoppable-dot:focus .shoppable-popup,
.shoppable-dot:focus-within .shoppable-popup {
  opacity: 1; /* Make visible */
  visibility: visible; /* Make interactive */
}

/* Popup arrow (optional visual touch)
   ===========================================
   Creates a small triangle pointing up toward the dot
   using CSS borders trick
*/
.shoppable-popup::before {
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  bottom: 100%; /* Position above the popup */
  /* Use CSS variable for arrow position, fallback to 50% (centered) */
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  /* Smooth transition when arrow moves */
  transition: left 0.15s ease;
  border: 8px solid transparent;
  border-bottom-color: #ffffff; /* Only bottom border is visible = points up */
}

/* Remove focus outline (we're providing our own visual feedback)But keep it for keyboard users who need it
*/
.shoppable-dot:focus {
  outline: none;
}

.shoppable-dot:focus-visible {
  /* Only show outline when using keyboard navigation */
  outline: 2px solid #007bff;
  outline-offset: 2px;
  border-radius: 50%;
}

/* Social Media Tags */
.hero-image-container {
  position: relative;
}

.social-media-tag {
  display: inline-block;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
}
.social-media-tag p,
.social-media-tag a {
  font-size: 0.75rem;
  color: #eeeeee;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}

.social-media-tag-top-right {
  display: inline-block;
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.social-media-tag-top-right p,
.social-media-tag-top-right a {
  font-size: 0.75rem;
  color: #eeeeee;
  text-shadow: 1px 1px 3px rgb(0, 0, 0);
}

/* BFF Product Card Fix - Colour chips overlapping gender text */
.fr-bff-product_colorChipsAndFavorite {
  margin-bottom: 8px;
}

.fr-bff-product_content {
  margin-top: 4px;
}

/* Utilities */
.mt1 {
  margin-top: 1rem;
}

.mt2 {
  margin-top: 2rem;
}

.mb1 {
  margin-bottom: 1rem;
}

.mb2 {
  margin-bottom: 2rem;
}

.p1 {
  padding: 1rem;
}

.p2 {
  padding: 2rem;
}

@media (max-width: 768px) {
  .p1-m {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .p2-m {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .mt1-m {
    margin-top: 1rem;
  }
}

.mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}

.desktop-only {
  display: block;
}
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

@media (min-width: 769px) {
  .align-center-desktop {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   CUSTOM SWIPER SLIDER STYLES
   ============================================
*/
.slides {
  position: relative;
  overflow: hidden;
  width: 100%;
}
@media (min-width: 769px) {
  .slides {
    aspect-ratio: 2/3;
  }
}
@media (max-width: 768px) {
  .slides {
    aspect-ratio: 1/1;
    height: max(50vh, 50%);
  }
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.slides-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.slides-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

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

.slides-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  padding: 0;
}
.slides-pagination-bullet:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.slides-pagination-bullet-active {
  background-color: #fff;
}

.slides-button-prev,
.slides-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 0%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}
.slides-button-prev:hover,
.slides-button-next:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.1);
}
.slides-button-prev::after,
.slides-button-next::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
}
@media (max-width: 768px) {
  .slides-button-prev,
  .slides-button-next {
    width: 32px;
    height: 32px;
  }
}

.slides-button-prev {
  left: 16px;
}
.slides-button-prev::after {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.slides-button-next {
  right: 16px;
}
.slides-button-next::after {
  transform: rotate(45deg);
  margin-right: 4px;
}/*# sourceMappingURL=iceland-john.css.map */