/* High-fidelity match layer for ref 3 (largebeachrentals / Envato orange) */

body.has-ref-header .ref-envato-crumb {
  background: #fff;
}

body.has-ref-header {
  --bottom-bar: 56px;
}

body.has-ref-header .bottom-bar {
  display: none !important;
}

.ref-envato-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
}

.ref-envato-bottom .iNhugoa2 {
  width: 100%;
}

.ref-hero-thumbs-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 40px;
  scroll-behavior: smooth;
}

.ref-hero-thumbs-row button {
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.ref-hero-thumbs-row button.is-active {
  border-color: var(--orange, #ff8200);
}

.ref-hero-thumbs-row img {
  display: block;
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
}

.ref-envato-keywords.is-collapsed ul.LTyNgPJu > li.LDWqu7Z4:nth-child(n + 9) {
  display: none;
}

body.has-ref-header .page-wrap.inner-page-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 32px;
}

.site-internal-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 28px;
  background: #fff;
  border-top: 1px solid #e6e6e6;
}

.site-internal-links__title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.site-internal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.site-internal-links a {
  color: var(--orange-dark, #e65100);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-internal-links a:hover {
  text-decoration: underline;
}

.inner-page {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 24px 20px;
}

.inner-page__head h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0 0 12px;
  line-height: 1.25;
}

.inner-page__lead {
  color: #555;
  margin: 0 0 20px;
  line-height: 1.6;
}

.inner-page__cta {
  margin-top: 24px;
}

.inner-page .meta-list {
  margin: 16px 0;
}

.inner-page .meta-list dt {
  font-weight: 600;
  margin-top: 12px;
}

.inner-page .meta-list dt:first-child {
  margin-top: 0;
}

.inner-page .meta-list dd {
  margin: 4px 0 0;
  color: #555;
}

body.has-ref-header #main {
  padding-bottom: calc(var(--bottom-bar) + env(safe-area-inset-bottom, 0px));
}

body.has-ref-header .site-footer {
  margin-top: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.ref-envato-footer {
  color-scheme: light;
}

.ref-envato-main,
.ref-envato-keywords {
  color-scheme: light;
}

body.has-ref-header .page-wrap {
  border: none;
  max-width: none;
  padding: 0;
  background: transparent;
}

.ref-envato-chrome {
  position: relative;
  z-index: 500;
}

body.has-ref-header .skip-link {
  z-index: 10001;
}

:root {
  --orange: #ff8200;
  --orange-dark: #e65100;
  --orange-light: #ffa040;
  --header-dark: #1c1c1c;
}

/* Ref popup */
.popup-overlay {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.popup-box {
  max-width: 420px;
  background: linear-gradient(145deg, #000, #000);
  border-radius: 20px;
  border: 1px solid rgba(162, 0, 255, 0.45);
  box-shadow: 0 20px 40px #ff8200, 0 0 0 1px #ff8200;
  animation: popupRotateIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), popupGoldPulse 3.5s infinite ease-in-out;
  overflow: hidden;
  padding-bottom: 12px;
}

@keyframes popupGoldPulse {
  0%,
  100% {
    box-shadow: 0 20px 40px #ff8200, 0 0 20px #ff8200, 0 0 0 1px #ff8200;
  }
  50% {
    box-shadow: 0 20px 40px #ff8200, 0 0 30px #ff8200, 0 0 0 1px #ff8200;
  }
}

@keyframes popupRotateIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.popup-box::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 45%, #ff8200 50%, rgba(255, 255, 255, 0) 55%);
  animation: popupShine 5s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes popupShine {
  0% {
    transform: translate(-100%, -100%) rotate(30deg);
  }
  100% {
    transform: translate(100%, 100%) rotate(30deg);
  }
}

.popup-luxury-border {
  position: absolute;
  inset: 0;
  border: 1px solid #ff8200;
  border-radius: 20px;
  pointer-events: none;
  z-index: 4;
}

.popup-close {
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(167, 55, 212, 0.3);
  color: transparent;
  font-size: 0;
  position: relative;
}

.popup-close::before,
.popup-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  background: #fff;
  margin: -1px 0 0 -8px;
}

.popup-close::before {
  transform: rotate(45deg);
}

.popup-close::after {
  transform: rotate(-45deg);
}

.popup-close:hover {
  background: rgba(174, 0, 255, 0.8);
  transform: rotate(90deg);
}

.popup-hero-img {
  max-height: none;
  border-bottom: 1px solid rgba(149, 55, 212, 0.15);
  position: relative;
  z-index: 3;
}

.popup-actions {
  padding: 25px 20px 15px;
  gap: 15px;
  position: relative;
  z-index: 3;
}

.popup-actions .btn-orange {
  border-radius: 30px;
  padding: 18px 0;
  letter-spacing: 1.5px;
  background: linear-gradient(to left, #ff8200 15%, #ff8200 50%, #ff8200 85%);
  box-shadow: inset 0 0 5px 3px #ff8200, inset 0 2px 0 0 #fff, inset 0 0 0 2px #ff8200, 3px 3px 3px 1px rgba(0, 0, 0, 0.2);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
}

.popup-foot {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  padding: 10px 10px 16px;
  position: relative;
  z-index: 3;
}

/* Header ref */
.top-header {
  background: var(--header-dark);
}

.top-header__row {
  padding: 12px 16px;
}

.header-logo-img {
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.btn-togel {
  background: rgba(255, 130, 0, 0.25);
  border: 1px solid rgba(255, 130, 0, 0.5);
  cursor: pointer;
  font: inherit;
}

.license-bar {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
}

.license-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.license-bar a {
  color: #333;
  text-decoration: none;
}

.license-bar a:hover {
  color: var(--orange);
}

.license-bar__cta {
  font-weight: 700;
  text-decoration: underline;
}

/* Mega flyout desktop */
.mega-flyout-host {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .mega-flyout-host {
    display: block;
  }

  .mega-strip button[data-mega-flyout] {
    position: relative;
  }
}

.mega-flyout {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 7000;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  max-height: 70vh;
  overflow-y: auto;
}

.mega-flyout.is-open {
  display: block;
}

.mega-flyout__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-flyout__col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 0.04em;
}

.mega-flyout__item {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #1a1a1a;
}

.mega-flyout__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.mega-flyout__item span {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.mega-flyout__item:hover strong {
  color: var(--orange);
}

.mega-flyout__brand-row {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mega-flyout__brand-row a {
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  font-size: 13px;
}

/* Hero thumbs */
.hero-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hero-thumbs button {
  flex: 0 0 72px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #eee;
}

.hero-thumbs button.is-active {
  border-color: var(--orange);
}

.hero-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.made-by {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.made-by a {
  font-weight: 700;
  color: var(--orange-dark);
}

/* FAQ ref (indonesiashrimp) */
.indonesiashrimp-faq-container {
  max-width: 100%;
  margin: 24px 0 0;
  background-color: #ff8200;
  border-radius: 10px;
  padding: 30px;
  color: #fff;
}

.indonesiashrimp-faq-container h2 {
  text-align: left;
  font-size: clamp(1.25rem, 4vw, 30px);
  font-weight: 700;
  margin: 0 0 25px;
}

.indonesiashrimp-faq-item {
  background: #111;
  border: 1px solid #222;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
}

.indonesiashrimp-faq-item .faq-q {
  padding: 18px 25px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: #1a1a1a;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.indonesiashrimp-faq-item .faq-q:hover {
  background: #222;
}

.indonesiashrimp-faq-item .faq-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.indonesiashrimp-faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.indonesiashrimp-faq-answer {
  display: none;
  padding: 18px 25px;
  font-size: 15px;
  color: #ccc;
  background: #111;
  border-top: 1px solid #ff8200;
  line-height: 1.6;
}

.indonesiashrimp-faq-item.active .indonesiashrimp-faq-answer {
  display: block;
}

.faq-section__head {
  display: none;
}

.faq-section {
  margin-top: 0;
  border-radius: 0;
  overflow: visible;
}

.product-layout {
  border: none;
  padding: 0;
  background: transparent;
}

.page-wrap {
  background: #fff;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

@media (min-width: 1024px) {
  .mega-strip {
    position: relative;
  }

  .mega-flyout-host {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 7000;
  }

  .mega-flyout {
    position: relative;
    top: auto;
  }
}
