/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
 .sgc-activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 1rem 0 2rem;
}

.sgc-activity-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sgc-activity-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.sgc-discount-top {
  position: absolute;
  top: 0;
  right: 0;
  background: #ff5a00;
  color: white;
  padding: 0.4rem 0.75rem;
  font-weight: bold;
  font-size: 0.875rem;
  border-bottom-left-radius: 6px;
  z-index: 2;
}

.sgc-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 20%, transparent 90%);
  z-index: 1;
}

.sgc-overlay-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.sgc-location {
  font-size: 0.75rem;
  font-weight: 600;
}

.sgc-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #ccc;
}

.sgc-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .25rem;
}

.sgc-provider {
  font-size: 1rem;
  font-weight: 500;
}

.sgc-activity-type {
    font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sgc-book-now {
  display: inline-block;
  background: #ffd700;
  color: black;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sgc-book-now:hover {
  background: #ffc400;
}


.sgc-chip-wrapper {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sgc-chip {
  background: #e2e8f0;
  color: #333;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

.sgc-chip button {
  background: none;
  border: none;
  margin-left: 0.5rem;
  color: #555;
  font-weight: bold;
  cursor: pointer;
}

/* Filter form layout */
.sgc-filter-form {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.sgc-filter-row {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-end;
}

/* Checkbox styling */
.sgc-filter-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.sgc-filter-form input[type="checkbox"] {
  accent-color: #ff5a00;
}

.sgc-active-filters-row {
  grid-column: 1 / -1;
}

/* Active filters bar and chip buttons */
.sgc-active-filters {
  background: #f4f4f4;
  border-radius: 8px;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  white-space: nowrap;
}

.sgc-active-filters strong {
  margin-right: 0.75rem;
}

.sgc-temp-active-filters {
  display: flex;
  gap: 8px;
}

.sgc-filter-chip {
  background: #6a0dad;
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}


.sgc-filter-chip:hover {
  background: #7a15c2;
}

.sgc-filter-chip button {
  margin-left: 0.5rem;
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.sgc-filter-chip button:hover,
.sgc-filter-chip button:focus {
  color: #ffb3b3;
}


.sgc-chip-form {
  display: inline;
}
.tom-select .ts-control .item {
  display: none !important;
}

.tom-select {
  min-width: 100%;
}

/* Tom Select option checkboxes and indentation styling */
.ts-option-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ts-option-checkbox input[type="checkbox"] {
  pointer-events: none;
}

.ts-option-checkbox input[type="checkbox"]:checked {
  accent-color: #ff5a00;
}

.sgc-filter-form .sgc-island-option {
  margin: 0;
}

.sgc-filter-form .sgc-checkbox-label {
  display: inline-block;
  background-color: #e2e8f0;
  color: #333;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  margin-right: 0.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  padding: 12px;
  border-radius: 6px;
}

.sgc-filter-form .sgc-checkbox-label input[type="checkbox"] {
  display: none;
}


.sgc-filter-form .sgc-checkbox-label input[type="checkbox"]:checked {
  /* no visible effect directly on input since it's hidden */
}

.sgc-filter-form .sgc-checkbox-label input[type="checkbox"]:checked ~ span {
  background-color: #FFC107;
  color: black;
}

/* Make select full width */
.sgc-filter-form select[name="activity_setting[]"] {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.625rem !important;
  border: 1px solid #ccc;
  background-color: white;
  line-height: 1.4;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M70 90L40 50h60z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px;
}

.ts-control>input {
  border-radius: 6px !important;
}

/* Clear filters button */
.sgc-filter-form button[type="reset"] {
  background-color: #e2e8f0;
  color: #333;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sgc-filter-form button[type="reset"]:hover {
  background-color: #d6d6d6;
}

/* BOOSTRAP */
.sgc-navbar {
  margin-bottom: 20px;
  background-image: -webkit-linear-gradient(top, #fffcf2 0%, #f3edda 100%);
  background-image: -o-linear-gradient(top, #fffcf2 0%, #f3edda 100%);
  background-image: linear-gradient(to bottom, #fffcf2 0%, #f3edda 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffffcf2', endColorstr='#fff3edda', GradientType=0);
  padding: 0;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
}
.sgc-navbar .navbar-nav > li > a {
  font-size: 18px;
  font-weight: normal;
  color: #777777;
  color: #004a80;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px;
}
.sgc-navbar .navbar-nav > li > a:hover {
  color: #333333;
}
.sgc-navbar .navbar-nav > li {
  border-right: 1px solid #d6d6d6;
    display: flex;
}


/* Additional filter chip transitions and hover styles */
.sgc-chip-close:hover {
  cursor: pointer;
}

.sgc-chip-close:hover::before {
  content: "";
}

.sgc-chip-close:hover {
  background-color: transparent;
}

.sgc-chip-close:hover {
  color: inherit;
}

.sgc-chip-close:hover:parent {
  background-color: red;
}

.sgc-filter-chip.hovered-via-close {
  background-color: red;
}

.sgc-filter-islands {
  width: max-content;
}

.tom-select .ts-dropdown .ts-dropdown-content .option {
  padding: 0.75rem 1rem !important;
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: pointer;
}

.tom-select .ts-dropdown .ts-dropdown-content .option:hover {
  background-color: #f3f4f6;
}


.sgc-site-header {
  background-image: linear-gradient(to bottom, #fffcf2 0%, #ede2a6 100%);
  margin-bottom: 24px;
}

.sgc-site-header .shaka-gold-logo {
  width: 160px;
  height: auto;
}

.sgc-site-header .tagline {
  font-family: 'PT Sans', sans-serif;
float: left;
font-size: 28px;
font-weight: bold;
font-style: italic;
margin-top: 40px;
margin-left: -20px;
color: #92500f;
}

@media (max-width: 600px) {
  .sgc-site-header .tagline {
    margin-top: 10px;
    margin-left: -10px;
    line-height: 115%;
  }

  .sgc-site-header .tagline span {
    font-size: 18px;
    font-weight: 700;
  }

  .sgc-site-header .login {
    width: 100%;
    padding-bottom: 16px;
  }
  .sgc-site-header .login button {
    margin: 0 auto;
  }

  .sgc-site-header .sgc-hawaii-info {
    width: 100%;
    text-align: center;
  }

}

.sgc-site-header .btn-primary {
  background-color: #004a80 ;
}

.sgc-site-header .btn-primary:hover {
  background-color: #002d4d ;
}

.sgc-site-header .tagline span {
font-family: 'Droid Serif', serif;
font-weight: normal;
font-style: italic;
color: #c06914;
}

.sgc-hawaii-info {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  gap: 1.5rem;
  margin-top: 0.5rem;
  color: #92500f;
}

.sgc-site-header .row {
background: transparent url(https://shakagoldcard.com/goldcard/images/bg-white-star.png) no-repeat 100px -120px;
padding: 16px;;
}

.hawaii-time {
  margin-block-end: 0 !important;
  margin-bottom: 0 !important;
}

footer {
  background-color: #f6f1e0;
  padding: 24px;
}
footer strong,
footer a {
  color: #004a80;
}