/* OGZ Astro Overrides — Zero jQuery, Zero Bootstrap JS, 100% Paridade Visual */

/* Language Dropdown in Header */
.ogz-lang-dropdown {
  position: relative;
  display: inline-block;
}
.ogz-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  color: #ffffff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ogz-lang-trigger:hover {
  border-color: #63AB45;
  background: rgba(255, 255, 255, 0.08);
}
.ogz-flag-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  flex-shrink: 0;
}
.ogz-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: #1d231f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px;
  margin: 0;
  list-style: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 1050;
}
.ogz-lang-dropdown.open .ogz-lang-menu {
  display: block;
}
.ogz-lang-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  color: #e5e7eb;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.ogz-lang-menu li a:hover,
.ogz-lang-menu li a.active {
  background: rgba(99, 171, 69, 0.2);
  color: #ffffff;
}

/* Native Selects (SearchSnorkel without jQuery nice-select) */
.ogz-native-select {
  width: 100%;
  height: 54px;
  padding: 0 36px 0 16px;
  background-color: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1d231f;
  cursor: pointer;
  appearance: auto;
}
.ogz-native-select:disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}
.booking-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Destaques Snorkel Cards */
.single-features-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}
.single-features-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.single-features-item:hover .img-holder img {
  transform: scale(1.07);
}
.single-features-item:hover .feature-icon {
  background-color: #63AB45;
  border-color: #63AB45;
  color: #ffffff;
  transform: translateX(3px) scale(1.08);
}
.single-features-item .img-holder {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #111111;
  aspect-ratio: 422 / 500;
}
.single-features-item .img-holder .feature-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  background-color: #63AB45;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.single-features-item .img-holder img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-features-item .img-holder .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.52) 58%, transparent 100%);
  padding: 40px 22px 22px;
  border-radius: 0 0 12px 12px;
  box-shadow: none;
}
.single-features-item .img-holder .content .text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.single-features-item .img-holder .content .text h4.title {
  color: #ffffff;
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
  width: auto;
  flex: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
.single-features-item .img-holder .content .text .feature-icon {
  background-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Global Search Modal (Zero Bootstrap JS) */
.ogz-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ogz-search-overlay.active {
  display: flex;
}
.ogz-search-dialog {
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.ogz-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #1d231f;
  color: #ffffff;
}
.ogz-search-header h5 {
  margin: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ogz-search-close {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.ogz-search-body {
  padding: 24px;
  overflow-y: auto;
}
.ogz-search-input-wrap {
  position: relative;
  margin-bottom: 20px;
}
.ogz-search-input-wrap input {
  padding-left: 46px;
  padding-right: 44px;
  height: 54px;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
}
.ogz-search-input-wrap input:focus {
  border-color: #63AB45;
  box-shadow: 0 0 0 3px rgba(99, 171, 69, 0.18);
}
.ogz-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
}
.ogz-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #6b7280;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ogz-search-state {
  text-align: center;
  padding: 32px 16px;
  color: #6b7280;
}
.ogz-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ogz-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.ogz-result-item:hover {
  border-color: #63AB45;
  background: #f9fafb;
  transform: translateX(4px);
}
.ogz-result-item .result-image {
  width: 84px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}
.ogz-result-item .result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ogz-result-item .result-content {
  flex: 1;
  min-width: 0;
}
.ogz-result-item .result-title {
  margin: 0 0 6px;
  font-weight: 600;
  color: #111827;
}
.ogz-result-item .result-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.ogz-result-item .result-description {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Product Gallery */
.product-gallery-area .product-big-image {
  overflow: hidden;
  border-radius: 15px;
}
.product-gallery-area .product-big-image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-thumb {
  transition: all 0.25s ease;
  opacity: 0.65;
  border: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
}
.product-thumb:hover,
.product-thumb.active {
  opacity: 1;
  border-color: #63AB45;
}

/* Phone Country Selector */
.phone-input-unified-wrapper,
.phone-input-container {
  position: relative;
  width: 100%;
}
.phone-input-with-button {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.country-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e1e1e1;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #f9fafb;
  color: #1d231f;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.phone-input-unified {
  border-radius: 0 8px 8px 0 !important;
  flex: 1;
}
.country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-width: 340px;
  max-height: 260px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
  z-index: 1040;
}
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  color: #111827;
  font-size: 14px;
  cursor: pointer;
}
.country-option:hover,
.country-option.selected {
  background: #ecfdf5;
}
.country-option .country-code {
  font-weight: 600;
  min-width: 44px;
}
.ogz-field-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
}
