.next-slide-guide {
  position: fixed;
  z-index: 18;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  max-width: min(430px, calc(100vw - 32px));
  padding: 11px 14px 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 23, 34, 0.88);
  box-shadow: 0 12px 35px rgba(3, 23, 34, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    opacity 0.25s,
    transform 0.25s,
    background 0.25s;
}
.next-slide-guide:hover {
  background: #07384b;
  transform: translateX(-50%) translateY(-2px);
}
.next-slide-guide[hidden] {
  display: none;
}
.next-slide-guide small {
  display: block;
  color: #8fd9e6;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 8px;
}
.next-slide-guide strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}
.next-slide-guide b {
  margin-left: auto;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  color: #082436;
  background: #d9f8fb;
  font-size: 17px;
}
@media (max-width: 760px) {
  .next-slide-guide {
    bottom: 14px;
    min-width: 0;
    width: calc(100vw - 86px);
    left: 16px;
    transform: none;
    padding: 9px 10px 9px 14px;
  }
  .next-slide-guide:hover {
    transform: translateY(-2px);
  }
  .next-slide-guide strong {
    font-size: 11px;
  }
  .next-slide-guide b {
    height: 31px;
    flex-basis: 31px;
  }
  .pager {
    bottom: 74px !important;
  }
  .hint {
    display: none !important;
  }
  .slide {
    padding-bottom: 132px !important;
  }
  .product-detail-mode .product-stage.panel-story {
    height: auto !important;
    min-height: 0 !important;
    margin-top: 12px !important;
    place-items: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px;
    transform: none !important;
    overflow: visible !important;
  }
  .product-detail-mode .panel-story .product-gallery-nav {
    order: -1;
    position: static !important;
    inset: auto !important;
    justify-content: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 4px !important;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }
  .product-detail-mode .panel-story .product-gallery-nav::-webkit-scrollbar {
    display: none;
  }
  .product-detail-mode .panel-story .product-gallery-nav button {
    flex: 0 0 74px !important;
    width: 74px !important;
    height: 58px !important;
  }
  .product-detail-mode .panel-story .detail-slot-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    position: static !important;
  }
  .product-detail-mode .panel-story .halo {
    display: none !important;
  }
}
.product-stage.has-home-carousel > .managed-product-image,
.product-stage:has(> .durovin-home-carousel) > .managed-product-image,
.product-stage.has-home-carousel > .tub,
.product-stage.has-home-carousel > .halo,
.product-stage.has-home-carousel > p {
  display: none !important;
}
.durovin-home-carousel {
  width: min(48vw, 760px);
  height: min(67vh, 700px);
  position: relative;
  display: grid;
  place-items: center;
}
.home-featured-main {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0 74px;
}
.home-featured-main img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: contain;
  filter: drop-shadow(0 32px 38px rgba(8, 55, 70, 0.2));
  animation: productFloat 5.5s ease-in-out infinite alternate;
}
.home-featured-main span {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 18px;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid rgba(8, 55, 70, 0.16);
  border-radius: 12px;
  background: rgba(244, 253, 252, 0.82);
  backdrop-filter: blur(12px);
}
.home-featured-main small {
  grid-column: 1 / -1;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #3e6976;
  font-size: 8px;
}
.home-featured-main strong {
  font:
    400 clamp(18px, 2vw, 29px) Lora,
    serif;
}
.home-featured-main em {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 8px;
}
.home-featured-dots {
  position: absolute;
  right: 7%;
  top: 8%;
  display: flex;
  gap: 6px;
}
.home-featured-dots button {
  width: 20px;
  height: 2px;
  border: 0;
  background: rgba(8, 55, 70, 0.25);
  cursor: pointer;
}
.home-featured-dots button.active {
  width: 38px;
  background: #087d96;
}
@media (max-width: 760px) {
  .durovin-home-carousel {
    width: 100%;
    height: 52vh;
    min-height: 410px;
  }
  .home-featured-main {
    padding-bottom: 82px;
  }
  .home-featured-main img {
    height: calc(100% - 42px);
  }
  .home-featured-main span {
    left: 0;
    right: 0;
    bottom: 8px;
    padding: 12px 14px;
  }
  .home-featured-main strong {
    font-size: 18px;
  }
  .home-featured-dots {
    top: 3%;
    right: 3%;
  }
}
@media (min-width: 761px) {
  .next-slide-guide {
    left: 24%;
    bottom: 22px;
    transform: translateX(-50%);
    cursor: grab;
    touch-action: none;
  }
  .next-slide-guide:hover {
    transform: translateX(-50%) translateY(-2px);
  }
  .next-slide-guide.is-user-positioned:hover {
    transform: translateY(-2px) !important;
  }
  .next-slide-guide.is-dragging {
    cursor: grabbing;
    transition: none;
    user-select: none;
  }
}
@media (max-width: 760px) {
  #trang-chu.slide {
    height: 100svh !important;
    max-height: none !important;
    display: block !important;
    padding: 104px 18px 150px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch;
  }
  #trang-chu .copy {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 10px 0 24px !important;
  }
  #trang-chu .copy h1 {
    margin: 28px 0 18px !important;
    font-size: clamp(48px, 13vw, 62px) !important;
    line-height: 0.98 !important;
  }
  #trang-chu .copy .description {
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.55 !important;
  }
  #trang-chu .copy .cta {
    position: static !important;
    margin: 22px 0 8px !important;
  }
  #trang-chu .product-stage.has-home-carousel {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    display: block !important;
    transform: none !important;
    overflow: visible !important;
  }
  #trang-chu .home-featured-head {
    margin: 0 2px 10px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .next-slide-guide {
    transition: none;
  }
}
@media (max-width: 760px) {
  .product-detail-mode .product-gallery-nav {
    position: static !important;
    inset: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 18px 0 12px !important;
    padding: 0 0 5px !important;
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    transform: none !important;
  }
  .product-detail-mode .product-gallery-nav::-webkit-scrollbar {
    display: none;
  }
  .product-detail-mode .product-gallery-nav button {
    flex: 0 0 74px !important;
    width: 74px !important;
    min-width: 74px !important;
    height: 58px !important;
  }
  .product-detail-mode .variant-selector {
    clear: both;
    margin-top: 14px !important;
  }
}
.durovin-home-carousel {
  width: min(44vw, 620px) !important;
  height: auto !important;
  display: block !important;
}
.home-featured-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 4px 9px;
  color: #315d69;
  font-size: 8px;
  letter-spacing: 0.16em;
}
.home-featured-head b {
  color: #082436;
  font-size: 10px;
}
.home-featured-frame {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 55, 70, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 72% 24%,
      rgba(255, 255, 255, 0.9),
      transparent 36%
    ),
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(215, 241, 242, 0.7));
  box-shadow: 0 24px 60px rgba(5, 46, 59, 0.16);
}
.home-featured-frame::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3, 35, 47, 0.08));
}
.home-featured-image {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  cursor: e-resize;
  background: transparent;
}
.home-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s;
  filter: saturate(0.96) contrast(1.02);
}
.home-featured-image:hover img {
  transform: scale(1.025);
  filter: saturate(1.02) contrast(1.04);
}
.home-featured-image > span {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 16px;
  color: #244e5b;
  padding: 7px 10px;
  border: 1px solid rgba(8, 55, 70, 0.15);
  border-radius: 999px;
  background: rgba(244, 253, 252, 0.82);
  backdrop-filter: blur(10px);
  font-size: 7px;
  letter-spacing: 0.09em;
}
.home-featured-info {
  position: absolute;
  z-index: 4;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3px 14px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  color: #082436;
  background: rgba(242, 252, 251, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(3, 35, 47, 0.12);
}
.home-featured-info small {
  grid-column: 1 / -1;
  color: #3b6975;
  font-size: 7px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.home-featured-info strong {
  font:
    400 clamp(17px, 1.6vw, 25px) Lora,
    serif;
}
.home-featured-info p {
  grid-column: 1;
  position: static !important;
  bottom: auto !important;
  opacity: 1 !important;
  margin: 0;
  color: #496b75;
  font-size: 8px;
  letter-spacing: 0.03em;
}
.home-featured-detail {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
  border: 1px solid rgba(8, 55, 70, 0.35);
  border-radius: 999px;
  padding: 9px 12px;
  color: #fff;
  background: #073b4d;
  cursor: pointer;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-featured-arrow {
  position: absolute;
  z-index: 6;
  top: 43%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #073b4d;
  background: rgba(244, 253, 252, 0.86);
  box-shadow: 0 8px 22px rgba(3, 35, 47, 0.12);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.home-featured-arrow.previous {
  left: 12px;
}
.home-featured-arrow.next {
  right: 12px;
}
.home-featured-thumbs {
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin-top: 9px;
  overflow-x: auto;
  scrollbar-width: none;
}
.home-featured-thumbs::-webkit-scrollbar {
  display: none;
}
.home-featured-thumbs > button:not(.home-featured-all) {
  flex: 0 0 64px;
  height: 58px;
  position: relative;
  overflow: hidden;
  padding: 3px;
  border: 1px solid rgba(8, 55, 70, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}
.home-featured-thumbs > button.active {
  border: 2px solid #087d96;
  box-shadow: 0 7px 18px rgba(8, 75, 93, 0.16);
}
.home-featured-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.home-featured-thumbs span {
  position: absolute;
  left: 4px;
  bottom: 3px;
  padding: 2px 4px;
  color: #fff;
  background: rgba(3, 35, 47, 0.82);
  font-size: 6px;
}
.home-featured-all {
  flex: 0 0 92px;
  border: 1px solid rgba(8, 55, 70, 0.28);
  border-radius: 8px;
  color: #073b4d;
  background: rgba(231, 248, 248, 0.8);
  cursor: pointer;
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .durovin-home-carousel {
    width: 100% !important;
  }
  .home-featured-frame {
    border-radius: 14px;
  }
  .home-featured-image > span {
    top: 10px;
    left: 10px;
    font-size: 6px;
  }
  .home-featured-info {
    left: 9px;
    right: 9px;
    bottom: 9px;
    grid-template-columns: 1fr;
    padding: 10px 11px;
  }
  .home-featured-info strong {
    font-size: 18px;
  }
  .home-featured-info p {
    font-size: 7px;
  }
  .home-featured-detail {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    padding: 7px 10px;
  }
  .home-featured-arrow {
    width: 34px;
    height: 34px;
  }
  .home-featured-thumbs > button:not(.home-featured-all) {
    flex-basis: 58px;
    height: 54px;
  }
}
