/* ========================================
   Base
======================================== */
.pops-masthead,
.pops-masthead * {
  box-sizing: border-box;
}

.pops-masthead {
  position: relative;
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 28px;
  color: #515151;
}

.pops-masthead a {
  text-decoration: none;
}

.pops-masthead button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pops-masthead :focus-visible {
  outline: 3px solid limegreen;
  outline-offset: 4px;
}

.pops-layout-container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Hero Structure
======================================== */
.pops-hero {
  position: relative;
  width: 100%;
  background: #fff;
  isolation: isolate;
  overflow-x: clip;
}

.pops-hero__stage {
  position: relative;
  overflow: visible;
}

.pops-hero__slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 780px;
  padding: 245px 0 85px;
  isolation: isolate;
  overflow: visible;
}

.pops-hero__slide[hidden] {
  display: none !important;
}

/* Background extends beyond the container */
.pops-hero__background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -2;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
  transform: none;
  animation: none;
}

/* Only the image layer scales; the box and text stay stationary. */
.pops-hero__background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  pointer-events: none;
  transform-origin: center center;
  animation: pops-background-arrive 5s ease-out both;
}

.pops-hero__slide::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.80),
      rgba(0, 0, 0, .60) 30%,
      rgba(0, 0, 0, .0) 65%
    ),
    linear-gradient(
      0deg,
      transparent 65%,
      rgba(0, 0, 0, .35)
    );
}

/* ========================================
   Hero Text
======================================== */
.pops-hero__copy {
  position: relative;
  max-width: 600px;
  width: 58%;
  animation: pops-text-arrive .8s .15s ease both;
}

.pops-hero__eyebrow {
  margin: 40px 0 14px;
  color: limegreen;
  font-size: 12px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pops-hero__eyebrow span {
  margin: 0 8px;
}

.pops-hero__title {
  margin: 0 0 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 62px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: break-word;
}

.pops-hero__subtitle {
  margin: 0 0 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  line-height: 32px;
  font-weight: 400;
  color: #fff;
}

.pops-hero__description {
  margin: 0 0 24px;
  color: #eee;
  font-size: 16px;
  line-height: 28px;
}

/* ========================================
   Hero Tags & Actions
======================================== */
.pops-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.pops-hero__tags span {
  border: 1px solid #ffffff50;
  padding: 4px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
}

.pops-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.pops-hero__price {
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

/* ========================================
   Carousel Selection Bar
======================================== */
.pops-hero__selection {
  position: relative;
  isolation: isolate;
  background: #fff;
  border-bottom: 0 !important;
}

/* Extend white background to both screen edges */
.pops-hero__selection::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -2px;
  left: calc(50% - 50vw);
  width: 100vw;
  background: #fff;
  z-index: -1;
}

.pops-hero__bar {
  background: #fff;
  border-bottom: 0 !important;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.pops-hero__thumbs {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.pops-hero__thumbs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ========================================
   Carousel Selection Cards
======================================== */
.pops-hero__thumb {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  min-width: 240px;
  min-height: 92px;

  border: 1px solid transparent;
  border-radius: 8px;
  background: #f9f9f9;
  color: #1d2228;
  text-align: left;
  box-shadow: 0 3px 12px #191f211a;

  transition:
    background .3s,
    color .3s;
}

.pops-hero__thumb img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.pops-hero__thumb-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pops-hero__thumb-copy > span {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.pops-hero__thumb small {
  font-size: 12px;
  line-height: 20px;
  color: #515151;
}

.pops-hero__thumb:hover {
  background: rgba(199, 63, 12, .15);
}

.pops-hero__thumb[aria-current="true"] {
  background: rgba(122, 34, 1, .95);
  color: #fff;
}

.pops-hero__thumb[aria-current="true"] small {
  color: #fff;
}

/* ========================================
   Carousel Controls
======================================== */
.pops-hero__controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.pops-hero__control {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;

  border: 1px solid #eee;
  border-radius: 50%;
  background: #f9f9f9;
  color: #1d2228;
  font-size: 20px !important;

  transition:
    background .3s,
    color .3s;
}

.pops-hero__control:hover {
  background: limegreen;
  border-color: limegreen;
  color: #fff;
}

.pops-hero__count {
  font-size: 12px;
  min-width: 52px;
  text-align: center;
}

.pops-hero__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.header-transparent {
	background: rgba(0,0,0,0.5);
	padding-bottom: 10px;
}

/* ========================================
   Hero Button - Animated Hover + Lift
======================================== */

.pops-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 1;

  padding: 12px 30px;
  border: 0;
  border-radius: 25px;

  background-color: limegreen;
  color: #fff !important;

  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none !important;

  box-shadow: 4px 3px 24px rgba(50, 205, 50, .5);

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

/* Expanding hover background */
.pops-hero__button::before {
  content: "";
  position: absolute;
  inset: 0;

  background-color: #10A510;
  border-radius: inherit;

  z-index: -1;
  pointer-events: none;

  transform: scale(0);
  transform-origin: center;

  transition: transform .3s ease;
}

/* Hover: Expand background + lift button */
.pops-hero__button:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 4px 6px 28px rgba(50, 205, 50, .55);
}

.pops-hero__button:hover::before,
.pops-hero__button:focus-visible::before {
  transform: scale(1);
}

/* Keyboard focus */
.pops-hero__button:focus-visible {
  outline: 3px solid limegreen;
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pops-hero__button,
  .pops-hero__button::before {
    transition: none;
  }
}

/* ========================================
   Fix Original Button Hover Text Overlap
======================================== */

.btn-custom {
  position: relative;
  isolation: isolate;
  z-index: 1;
  overflow: hidden;
}

/* Animated background stays behind text */
.btn-custom::before {
  z-index: -1;
  pointer-events: none;
}

/* Prevent other pseudo-elements from covering text */
.btn-custom::after {
  pointer-events: none;
}

/* ========================================
   Animations
======================================== */
@keyframes pops-background-arrive {
  from {
    transform: scale(1.065);
  }

  to {
    transform: scale(1);
  }
}

@keyframes pops-text-arrive {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Desktop Navigation — 992px and Above
======================================== */
@media (min-width: 992px) {
  .pops-header__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .pops-header__logo {
    justify-self: start;
  }

  .pops-header__nav {
    margin-left: 0;
    justify-content: center;
    text-align: center;
  }

  .pops-header__order {
    justify-self: end;
  }

  .pops-header__dropdown {
    text-align: left;
  }
}

/* ========================================
   Responsive — 1199px and Below
======================================== */
@media (max-width: 1199px) {
  .pops-header__main {
    gap: 18px;
  }

  .pops-header__nav {
    gap: 24px;
  }

  .pops-header__logo img {
    width: 240px;
  }

  .pops-header__order {
    padding: 12px 20px;
    font-size: 13px;
  }

  .pops-hero__title {
    font-size: 56px;
  }
}

/* ========================================
   Responsive — 991px and Below
======================================== */
@media (max-width: 991px) {
  .pops-header__main {
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }

  .pops-header__logo img {
    width: 180px;
    max-height: 100px;
  }

  .pops-header__toggle {
    display: block;
    margin-left: auto;
    padding: 0;
    width: 44px;
    height: 44px;
    border: 1px solid #ffffff60;
    border-radius: 4px;
    color: #fff;
    background: transparent;
    font-size: 23px !important;
  }

  .pops-header__nav {
    display: none;
    order: 4;
    width: 100%;
    margin: 0;
    padding: 10px 20px;
    background: #0d0d0d;
    border-radius: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 60vh;
    overflow-y: auto;
  }

  .pops-header__nav.is-open {
    display: flex;
  }

  .pops-header__nav > a,
  .pops-header__menus > a {
    padding: 12px 0;
  }

  .pops-header__menus {
    flex-wrap: wrap;
  }

  .pops-header__menus > a {
    flex: 1;
  }

  .pops-header__dropdown {
    position: static;
    width: 100%;
    border: 0;
    box-shadow: none;
    border-radius: 4px;
  }

  .pops-header__contacts a:last-child {
    display: none;
  }

  .pops-hero__slide {
    min-height: 710px;
    padding-top: 220px;
    padding-bottom: 65px;
  }

  .pops-hero__copy {
    width: 85%;
  }

  .pops-hero__title {
    font-size: 48px;
  }

  .pops-hero__bar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .pops-hero__thumbs {
    flex-basis: 100%;
  }

  .pops-hero__controls {
    width: 100%;
    justify-content: flex-end;
  }

  .pops-hero__count {
    margin-right: auto;
    text-align: left;
  }
}

/* ========================================
   Responsive — 767px and Below
======================================== */
@media (max-width: 767px) {
  .pops-header__contacts {
    justify-content: center;
    font-size: 11px;
  }

  .pops-header__main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 15px;
  }

  .pops-header__logo img {
    display: block;
    width: clamp(95px, 25vw, 145px);
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;
  }

  .pops-header__order {
    order: 2;
    flex: 0 0 auto;
    padding: 12px 20px;
    border: 0;
    border-radius: 30px;
    background: #fff;
    color: limegreen !important;
    font-size: 12px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: none;
    transform: none;
  }

  .pops-hero__slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
  }

  .pops-hero__copy {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    text-align: left;
  }

  .pops-hero__slide::after {
    display: none;
    background: none;
  }

  .pops-hero__title {
    margin: 0 0 16px;
    color: #1d2228;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 7.5vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    overflow-wrap: break-word;
  }

  .pops-hero__subtitle {
    margin: 0 0 26px;
    color: #1d2228;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(20px, 4vw, 26px);
    line-height: 1.4;
    font-weight: 400;
  }

  .pops-hero__description {
    margin: 0 0 20px;
    color: #515151;
    font-size: 14px;
    line-height: 25px;
  }

  .pops-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .pops-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 30px;
    background: limegreen;
    color: #fff !important;
    font-size: 13px;
    line-height: 24px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 4px 3px 24px rgba(50, 205, 50, .5);
  }

  .pops-hero__thumb {
    transform: none;
    filter: none;
    animation: none;
    transition: none;
    flex: 0 0 auto;
    min-width: 210px;
    padding: 14px;
    gap: 12px;
  }

  .pops-hero__thumb img {
    display: block;
    transform: none;
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .pops-hero__bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 6px;
    padding-bottom: 20px;
  }

  .pops-hero__background {
    position: relative;
    inset: auto;
    left: calc(50% - 50vw);
    order: -1;
    flex: 0 0 auto;
    width: 100vw;
    height: clamp(480px, 90vw, 625px);
    z-index: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    filter: none;
    transform: none;
    overflow: hidden;
    animation: none;
  }

  .pops-hero__slide > .pops-layout-container {
    position: relative;
    isolation: isolate;
    padding: 28px 15px 30px;
  }

  .pops-hero__slide > .pops-layout-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    background: #fff;
    z-index: -1;
  }

  .pops-hero__eyebrow {
    margin: 0 0 16px;
    color: limegreen;
    font-size: 11px;
    line-height: 20px;
    font-weight: 700;
    letter-spacing: .05em;
  }

  .pops-hero__tags {
    gap: 8px;
    margin: 0 0 24px;
  }

  .pops-hero__tags span {
    padding: 5px 10px;
    border-color: #ddd;
    background: #f9f9f9;
    color: #515151;
    font-size: 11px;
    line-height: 18px;
  }

  .pops-hero__price {
    color: #1d2228;
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 700;
  }

  .pops-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    background: limegreen;
    color: #fff;
  }

  .pops-header__top {
    display: none;
  }

  .pops-header__logo {
    order: 1;
    flex: 0 0 auto;
    margin: 0 auto 0 0;
  }

  .pops-header__order:hover {
    background: #f5f5f5;
    color: #10a510 !important;
    transform: none;
  }

  .pops-header__toggle {
    position: relative;
    order: 3;
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0 !important;
  }

  .pops-header__toggle::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 4px;
    width: 28px;
    height: 2px;
    background: #fff;
    box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
  }

  .pops-header__toggle::after {
    content: none;
  }

  .pops-header__nav {
    order: 4;
    display: none;
    flex: 0 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 10px 16px;
    border-radius: 8px;
    background: #0d0d0d;
    text-align: left;
    max-height: 60vh;
    overflow-y: auto;
  }

  .pops-header__nav.is-open {
    display: flex;
  }

  .pops-header__nav > a,
  .pops-header__menus > a {
    padding: 12px 0;
    color: #fff;
    font-size: 15px;
  }

  .pops-header__menus {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  .pops-header__menus > a {
    flex: 1;
  }

  .pops-header__dropdown-toggle {
    color: #fff;
  }

  .pops-header__dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #1d2228;
    box-shadow: none;
  }

  .pops-header__dropdown[hidden] {
    display: none;
  }

  .pops-hero__slide::after,
  .pops-hero__background::after {
    display: none;
    background: none;
  }

  .pops-hero__eyebrow span {
    margin: 0 6px;
  }

  .pops-hero__description,
  .pops-hero__tags {
    display: none;
  }

  .pops-hero__selection {
    position: relative;
    isolation: isolate;
    background: #fff;
    border: 0;
  }

  .pops-hero__selection::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -2px;
    left: calc(50% - 50vw);
    width: 100vw;
    background: #fff;
    z-index: -1;
  }

  .pops-hero__thumbs {
    position: relative;
    transform: none;
    filter: none;
    scroll-behavior: auto;
    flex: 1 1 100%;
    min-width: 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 2px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .pops-hero__thumbs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .pops-hero__thumb-copy > span {
    font-size: 18px;
    line-height: 24px;
  }

  .pops-hero__controls {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .pops-hero__count {
    margin-right: auto;
    text-align: left;
  }

  .header-transparent {
    background: rgba(0,0,0,0.0);
  }
	
  .main-header,
  .main-header.header-absolute,
  .main-header.can-sticky,
  .main-header.sticky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0,0,0,0.65);
  }

  .main-header .top-header {
    display: none;
  }

  .main-header > .container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
  }

  .main-header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 0;
  }

  .main-header .navbar-brand {
    display: block;
    flex: 0 0 auto;
    width: clamp(95px, 25vw, 145px);
    margin: 0;
    padding: 0;
  }

  .main-header .navbar-brand img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: left center;
  }

  .main-header .navbar > .navbar-nav {
    display: none;
  }

  .main-header .header-controls {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 16px;
    margin: 0 !important;
    padding: 0;
    background: transparent;
  }

  .main-header .header-controls-inner {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0;
    list-style: none;
  }

  .main-header .header-controls-inner li {
    margin: 0;
    padding: 0;
  }

  /* .main-header .header-controls .btn-custom.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 12px 22px;
    border: 0;
    border-radius: 30px;
    background-color: #fff;
    color: limegreen !important;
    font-size: 13px;
    line-height: 24px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: none;
  }

  .main-header .header-controls .btn-custom.primary::before,
  .main-header .header-controls .btn-custom.primary::after {
    content: none;
    display: none;
  }

  .main-header .header-controls .btn-custom.primary:hover,
  .main-header .header-controls .btn-custom.primary:focus {
    background-color: #f5f5f5;
    color: #10a510 !important;
  }

  .main-header .header-controls .btn-custom.primary i {
    margin: 0;
    color: inherit;
  } */

  .main-header .aside-toggler {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    cursor: pointer;
  }

  .main-header .aside-toggler span {
    display: block;
    width: 28px;
    height: 2px;
    margin: 0 0 6px;
    border-radius: 2px;
    background-color: #fff;
  }

  .main-header .aside-toggler span:first-child {
    width: 18px;
    margin-right: auto;
  }

  .main-header .aside-toggler span:last-child {
    width: 18px;
    margin-bottom: 0;
    margin-left: auto;
  }

  .main-header .aside-toggler:hover span {
    background-color: #fff;
  }

  .main-aside.open {
    transform: translateX(0);
  }

  .aside-overlay {
    display: block;
  }
	
  .pops-hero {
	overflow: hidden;
  }

}

/* ========================================
   Responsive — 575px and Below
======================================== */
@media (max-width: 575px) {
  .pops-header__main {
    gap: 8px;
  }

  .pops-header__logo img {
    width: 140px;
  }

  .pops-header__order {
    padding: 10px 12px;
    font-size: 10px;
  }

  .pops-header__toggle {
    width: 36px;
    height: 40px;
  }

  .pops-hero__title {
    font-size: 36px;
    line-height: 44px;
  }
}

/* ========================================
   Reduced Motion
======================================== */
@media (prefers-reduced-motion: reduce) {
  .pops-masthead *,
  .pops-masthead *::before,
  .pops-masthead *::after,
  .pops-hero__background::before {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}



/* ========================================
   POP'S PIZZERIA - HOME IMAGE CAROUSEL
======================================== */

/* Gallery Container */
.pops-home-gallery {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .10);
  overflow: hidden;
}

/* Slick Carousel Wrapper */
.pops-home-gallery .pops-home-slider {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Slick Track */
.pops-home-gallery .slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.pops-home-gallery .slick-track {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.pops-home-gallery .slick-slide {
  display: block;
  float: none;
  height: auto;
  min-height: 1px;
}

.pops-home-gallery .slick-slide > div {
  height: 100%;
}

/* ========================================
   Image Slides
======================================== */

.pops-home-gallery .pops-home-slide {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #f4f4f4;
}

.pops-home-gallery .pops-home-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border: 0;
  border-radius: 0;
  transform: none;
  filter: none;
}

/* ========================================
   Previous / Next Navigation
======================================== */

.pops-home-gallery .pops-gallery-prev,
.pops-home-gallery .pops-gallery-next {
  position: absolute;
  top: 50%;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0 0 3px;

  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;

  background-color: rgba(0, 0, 0, .55);
  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
  opacity: .85;

  transform: translateY(-50%);

  transition:
    background-color .3s ease,
    border-color .3s ease,
    opacity .3s ease,
    box-shadow .3s ease;
}

/* Arrow Positions */
.pops-home-gallery .pops-gallery-prev {
  left: 15px;
}

.pops-home-gallery .pops-gallery-next {
  right: 15px;
}

/* Arrow Hover */
.pops-home-gallery .pops-gallery-prev:hover,
.pops-home-gallery .pops-gallery-next:hover {
  background-color: limegreen;
  border-color: limegreen;
  color: #fff;
  opacity: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}

/* Keyboard Focus */
.pops-home-gallery .pops-gallery-prev:focus-visible,
.pops-home-gallery .pops-gallery-next:focus-visible {
  outline: 3px solid limegreen;
  outline-offset: 3px;
}

/* Disabled Arrows */
.pops-home-gallery .slick-arrow.slick-disabled {
  opacity: .35;
  cursor: default;
}

/* ========================================
   Pagination Dots
======================================== */

.pops-home-gallery .slick-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  z-index: 10;

  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;

  width: 100%;
  margin: 0;
  padding: 0 65px;

  list-style: none;
  line-height: 1;
}

/* Pagination Items */
.pops-home-gallery .slick-dots li {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Dot Buttons */
.pops-home-gallery .slick-dots li button {
  display: block;
  width: 9px;
  height: 9px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .65);

  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;

  box-shadow: 0 1px 5px rgba(0, 0, 0, .2);

  transition:
    width .3s ease,
    background-color .3s ease,
    border-radius .3s ease;
}

/* Hide Slick's Default Dot Pseudo-Element */
.pops-home-gallery .slick-dots li button::before,
.pops-home-gallery .slick-dots li button::after {
  content: none !important;
  display: none !important;
}

/* Active Pagination */
.pops-home-gallery .slick-dots li.slick-active button {
  width: 25px;
  border-radius: 10px;
  background-color: limegreen;
}

/* Dot Hover */
.pops-home-gallery .slick-dots li:not(.slick-active) button:hover {
  background-color: #fff;
}

/* Keyboard Focus */
.pops-home-gallery .slick-dots li button:focus-visible {
  outline: 2px solid limegreen;
  outline-offset: 4px;
}

/* ========================================
   Responsive - 1199px and Below
======================================== */

@media (max-width: 1199px) {

  .pops-home-gallery .pops-home-slide {
    aspect-ratio: 4 / 5;
  }

}

/* ========================================
   Responsive - 991px and Below
======================================== */

@media (max-width: 991px) {

  .pops-home-gallery {
    max-width: 650px;
    margin: 0 auto 30px;
  }

  .pops-home-gallery .pops-home-slide {
    aspect-ratio: 4 / 3;
  }

}

/* ========================================
   Responsive - 767px and Below
======================================== */

@media (max-width: 767px) {

  .pops-home-gallery {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
  }

  .pops-home-gallery .pops-home-slide {
    aspect-ratio: 4 / 3;
  }

  .pops-home-gallery .pops-gallery-prev,
  .pops-home-gallery .pops-gallery-next {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .pops-home-gallery .pops-gallery-prev {
    left: 10px;
  }

  .pops-home-gallery .pops-gallery-next {
    right: 10px;
  }

  .pops-home-gallery .slick-dots {
    bottom: 15px;
    gap: 6px;
    padding: 0 55px;
  }

}

/* ========================================
   Responsive - 575px and Below
======================================== */

@media (max-width: 575px) {

  .pops-home-gallery {
    max-width: 100%;
    margin-bottom: 25px;
    border-radius: 8px;
  }

  .pops-home-gallery .pops-home-slide {
    aspect-ratio: 1 / 1;
  }

  .pops-home-gallery .pops-gallery-prev,
  .pops-home-gallery .pops-gallery-next {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .pops-home-gallery .pops-gallery-prev {
    left: 8px;
  }

  .pops-home-gallery .pops-gallery-next {
    right: 8px;
  }

  .pops-home-gallery .slick-dots {
    bottom: 12px;
    gap: 5px;
    padding: 0 48px;
  }

  .pops-home-gallery .slick-dots li button {
    width: 8px;
    height: 8px;
  }

  .pops-home-gallery .slick-dots li.slick-active button {
    width: 20px;
  }

}

/* ========================================
   Reduced Motion Accessibility
======================================== */

@media (prefers-reduced-motion: reduce) {

  .pops-home-gallery .pops-gallery-prev,
  .pops-home-gallery .pops-gallery-next,
  .pops-home-gallery .slick-dots li button {
    transition: none;
  }

}

/* ========================================
   Home Carousel - Full Bleed Images
======================================== */

.pops-home-gallery {
  padding: 0 !important;
  margin-left: 0;
  margin-right: 0;
  border: 0;
  overflow: hidden;
  border-radius: 10px;
}

.pops-home-gallery .pops-home-slider,
.pops-home-gallery .slick-list,
.pops-home-gallery .slick-track,
.pops-home-gallery .slick-slide,
.pops-home-gallery .slick-slide > div,
.pops-home-gallery .pops-home-slide {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Images fill the entire slide */
.pops-home-gallery .pops-home-slide {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.pops-home-gallery .pops-home-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Hide any decorative border behind carousel */
.ct-single-img-wrapper:has(.pops-home-gallery) .ct-dots {
  display: none;
}

/* ========================================
   Hero Carousel - Image Preloading
======================================== */

/* Keep hero slides hidden until first image is ready */
.pops-hero:not(.pops-hero--ready) .pops-hero__stage {
  visibility: hidden;
}

/* Reveal carousel after preload */
.pops-hero.pops-hero--ready .pops-hero__stage {
  visibility: visible;
}


