/* ================================
   RESET
================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* ================================
   GLOBAL SECTION STYLES
================================ */
section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

/* Section Backgrounds */
.banner-wrapper {
  background-color: #fff;
  position: relative;
  height: 225px;
  width: 100%;
  overflow: hidden;
}

.navbar-section {
  background-color: #000;
}

.shop-section,
.content-section {
  background-color: #fff;
}

.shop-section {
  margin-bottom: 10px; /* space above footer */
  min-height: 750px;
}

@media (max-width: 768px) {
  .shop-grid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ================================
   SHOP GRID
================================ */
.shop-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1100px;
  margin: 20px auto 0;
  gap: 10px;
}

.shop {
  width: 545px;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.shop a {
  display: block;
  width: 100%;
  height: 100%;
}

.shop img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.shop:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .shop {
    width: 100%;
  }
}


.content-section {
  max-width: 1100px;
  margin: 20px 10px;
  padding: 25px;
  text-align: left;
  box-sizing: border-box;
}

.footer-section {
  background-color: #333;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================================
   BANNER
================================ */
.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/kudosads/Kudos-Avenue.jpg");
  background-repeat: repeat-x;
  background-position: top left;
  background-size: auto 100%;
  z-index: 0;
}

.overlay-image {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 125px;
  height: 225px;
  z-index: 1;
}

.overlay-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}


/* ================================
   COOL MENU DROPDOWN
================================ */
.menu-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.cool-dropdown {
  appearance: none;
  padding: 10px 10px;
  font-size: 12px;
  font-weight: normal;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #2d7162, #23a27c);
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cool-dropdown:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.cool-dropdown option {
  color: #333;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  background: #000;
  padding: 10px 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 1100px;
  width: 100%;
}

.menu {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.menu-item {
  position: relative;
  list-style: none;
}

.menu-item a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: inline-block;
  border-radius: 6px;
  transition: 0.3s;
}

.menu-item a:hover {
  background: #23a27c;
}

/* Dropdown Menu */
.dropdown {
  display: none;
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  min-width: 150px;
  z-index: 9999;
}

.dropdown a {
  display: block;
  padding: 10px;
  color: #fff;
  transition: 0.3s;
}

.dropdown a:hover {
  background: #23a27c;
}

.menu-item:hover .dropdown {
  display: block;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 2px solid white;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3px;
  cursor: pointer;
  background: transparent;
}

.hamburger div {
  width: 24px;
  height: 3px;
  background: white;
  border-radius: 3px;
  margin: 1px 0;
  transition: 0.3s;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #000;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    border-radius: 10px;
    overflow: hidden;
    z-index: 9999;
  }

  .menu.show {
    display: flex;
  }

  .menu-item {
    text-align: center;
  }

  .dropdown {
    position: static;
    transform: none;
    background: #000;
  }

  .hamburger {
    display: flex;
    margin: 0 auto 10px;
  }
}

/* ================================
   FOOTER
================================ */
.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.footer-text {
  color: #fff;
  font-size: 14px;
}

/* ================================
   SHOP DETAILS & HEADER
================================ */
.shop-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.shop-column {
  flex: 1 1 50%;
  padding: 5px;
  min-height: 200px;
  color: #000;
}

@media (max-width: 768px) {
  .shop-container {
    flex-direction: column-reverse;
  }
  .shop-column {
    flex: 1 1 100%;
  }
}

.shop-details {
  max-width: 800px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  line-height: 22px;
}

.shop-details p {
  margin-bottom: 15px;
}

.shop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.shop-label,
.shop-value {
  width: 100%;
  display: block;
  margin-bottom: 5px;
}

.shop-label {
  font-weight: normal;
}

.shop-value {
  font-weight: normal;
}

.shop-header {
  max-width: 800px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  color: #444;
  text-align: left;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: -1px;
  line-height: 30px;
}

/* ================================
   GALLERY
================================ */
.gallery {
  max-width: 900px;
  margin-top: 10px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
}

.main-image-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.main-image-wrapper img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease-in-out;
}

/* Navigation Arrows */
.nav {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  transition: background 0.3s;
}

.nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* Caption */
.caption {
  margin: 14px 0;
  font-size: 1.3rem;
  font-weight: normal;
  color: #222222;
}

.loading {
  color: #777777;
  font-style: normal;
}

/* Thumbnails */
.thumb-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.thumb-container img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.thumb-container img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.thumb-container img.active {
  border-color: #61d4bb;
  box-shadow: 0 0 0 2px #61d4bb;
}

@media (max-width: 768px) {
  .thumb-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav {
    font-size: 1.8rem;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .thumb-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .caption {
    font-size: 1.1rem;
  }
}

/* ================================
   CATEGORY LIST GRID
================================ */
.catlist-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.catlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-items: center;
}

.catlist-item {
  width: 545px;
  text-align: center;
}

.catlist-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.catlist-item img:hover {
  transform: scale(1.05);
}

.catlist-item p {
  margin-top: 8px;
  font-size: 1rem;
  color: #333;
}

@media (max-width: 1100px) {
  .catlist-grid {
    grid-template-columns: 1fr;
  }

  .catlist-item {
    width: 100%;
    max-width: 545px;
  }
}

/* ================================
   VIDEO CONTAINER
================================ */
.video-container {
  position: relative;
  margin-top: 20px;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================
   TYPOGRAPHY
================================ */
h1,
.h1 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-weight: bold;
  letter-spacing: -1px;
  color: #2d7162;
}

h2,
.h2 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: bold;
  color: #2d7162;
  letter-spacing: -1px;
  padding-bottom: 4px;
}

/* Headings styled as .h3 and .h3-tight */
.h3,
.h3-tight {
  display: block;                /* behave like headings (block-level) */
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: #444444;
  margin: 1em 0 0.5em;           /* add space before and after heading */
}

/* Tight variant with less line spacing */
.h3-tight {
  line-height: 14px;
  margin: 0.8em 0 0.3em;         /* slightly tighter spacing */
}

/* Restore paragraph spacing */
p {
  margin: 0 0 1em;               /* add bottom margin between paragraphs */
  line-height: 1.6;
  color: #444444;
}

.visit-btn {
  width: auto;                  /* ensures no stretching */
  padding: 10px 22px;
  background-color: #23a27c;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  white-space: nowrap;          /* prevents wrapping if text is short */
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.visit-btn:hover {
      background-color: #2d7162;
}

.visit-btn:active {
      background-color: #23a27c;
      transform: translateY(0);
}

/* === hideshow component === */
.hideshow-container {
  width: 100%;
  font-family: Arial, sans-serif;
  color: #333333;
}

/* Hide the checkbox */
.hideshow-toggle {
  display: none;
}

/* Label as toggle button */
.hideshow-label {
  display: inline-block;
  background-color: #23a27c;
  color: #FFFFFF;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
}

.hideshow-label:hover {
  background-color: #2d7162;
}

/* Hidden content */
.hideshow-content {
  margin-top: 15px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: none;
}

/* Show content when checkbox is checked */
.hideshow-toggle:checked ~ .hideshow-content {
  display: block;
}

/* =====================================================
   SCOPED SHOP SECTION STYLES
   ===================================================== */
.shopcols-container, 
.shopcols-container * {
  box-sizing: border-box;
}

/* Shop layout container */
.shopcols-container {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #FFF;
  padding: 20px 0;
  clear: both;           /* ensures banner/menu not overlapped */
  position: relative;
  z-index: 1;
}

.shopcols-main {
  width: 100%;
  max-width: 1100px;      /* allows shrinking below 1100px */
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  padding: 0 15px;        /* add small side padding for mobile */
}

.shopcols-left,
.shopcols-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  background: transparent;
}

/* Responsive: stack columns */
@media (max-width: 768px) {
  .shopcols-main {
    flex-direction: column-reverse;
    max-width: 100%;      /* full width on mobile */
    padding: 0 10px;      /* small padding for edge breathing */
  }

  .shopcols-left,
  .shopcols-right {
    width: 100%;          /* take full available width */
    min-width: auto;      /* remove rigid 300px limit */
    flex: 1 1 100%;
  }
}

/* Hide empty left if no video/gallery */
.shopcols-left:empty {
  display: none;
}

.shopcols-left:empty + .shopcols-right {
  flex: 1 1 100%;
  width: 100%;
}


/* --- Shared Container Styles --- */
.kudospage-container,
.generic-container {
  width: 100%;
  min-height: 650px;          /* consistent min height */
  display: block;             /* make sure container itself is not flex */
  background: #FFF;
  padding: 20px 0;
  clear: both;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  text-align: center;         /* centers inner block horizontally */
}

/* --- Shared Main Styles --- */
.kudospage-main,
.generic-main {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;             /* centers horizontally inside container */
  height: auto;               /* adjusts to content height */
  text-align: left;           /* reset text alignment if needed */
  box-sizing: border-box;
  padding: 0 15px;
}




/* Full-width section */
.free-cat {
    width: 100%;                       
    padding: 5px;                      
    box-sizing: border-box;
    background: #fff;                  
    max-width: 1100px;                  /* Centered max width */
    margin: 0 auto;                     
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    text-align: center;                    /* Center text */
    line-height: 1.0;                   /* Tighten spacing between lines */
}

/* Links stacked, full width */
.free-cat a {
    display: block;                      /* Each link on its own line */
    color: green;                        
    text-decoration: none;               
    margin-bottom: 6px;                  /* Reduced space between links */
    transition: color 0.3s;
}

.free-cat a:hover {
    color: red;                          
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .free-cat {
        font-size: 22px;                
        padding: 0 5px;                 
        line-height: 1.2;               /* Keep tight spacing */
    }
}

/* =================== UNIQUE CONTACT FORM STYLES =================== */


.kudos-contact-container {
  font-family: Arial, sans-serif;
  background: #fff;
  max-width: 1100px;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  margin: 0 auto;
}

.kudos-contact-container h1 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-size: 38px;
  font-weight: bold;
  letter-spacing: -1px;
  color: #2d7162;
}

.kudos-contact-form {
  display: flex;
  flex-direction: column;
}

.kudos-contact-form label {
  margin-top: 15px;
  color: #444;
  font-weight: bold;
}

.kudos-contact-form input,
.kudos-contact-form textarea {
  padding: 10px;
  border: 1px solid #2d7162;
  border-radius: 6px;
  margin-top: 5px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  background-color: #f8f8f8;
}

.kudos-contact-form textarea {
  resize: vertical;
}

.kudos-contact-form .required {
  color: red;
}

/* Styled and centered checkbox */
.kudos-contact-form .checkbox {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.kudos-contact-form .checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #2d7162;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.kudos-contact-form .checkbox input[type="checkbox"]:checked {
  background-color: #2d7162;
  border-color: darkgreen;
}

.kudos-contact-form .checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  color: white;
  font-weight: bold;
  position: absolute;
  top: -1px;
  left: 4px;
  font-size: 16px;
}

.kudos-contact-form .checkbox label {
  margin-left: 0;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}

/* Submit Button */
.kudos-contact-form button {
  margin-top: 25px;
  padding: 12px;
  background-color: #23a27c;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.kudos-contact-form button:hover {
  background-color: #2d7162;
}

/* Success & error messages */
.kudos-message {
  text-align: center;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.kudos-success {
  background: #d4edda;
  color: #155724;
}

.kudos-error {
  background: #f8d7da;
  color: #721c24;
}

/* Responsive Design */
@media (max-width: 992px) {
  .kudos-contact-container {
    padding: 30px;
  }
}

@media (max-width: 600px) {
  .kudos-contact-container {
    padding: 20px;
    border-radius: 8px;
  }
}

.badge-container-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 25px 0;
}

.badge-container {
    font-family: Arial, sans-serif;
    text-align: center;
    background: #fff;
    padding: 25px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 350px;
}

.badge-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.badge-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.badge-btn {
    padding: 10px 22px;
    background-color: #23a27c;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.badge-btn:hover {
    background-color: #2d7162;
}

.badge-message {
    font-size: 17px;
    color: #2d7162;
    font-weight: bold;
    line-height: 17px;
    margin: 8px 0 0;
}

.badge-stats {
    font-size: 15px;
    color: #2d7162;
    margin-top: 10px;
    font-weight: bold;
}




.menu-section {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 15px;
}

.menu-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}

/* MOBILE / TABLET FIX */
@media (max-width: 768px) {
  .menu-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .cool-dropdown {
    width: 100%;
  }

  .search-container {
    width: 100%;
  }

  .search-container input {
    width: 100%;
  }
}

.cool-dropdown {
  padding: 10px;
  font-size: 1rem;
  min-width: 240px;
}

.search-container {
  display: flex;
  width: 100%;
}

.search-container input {
  flex: 1;
  font-family: arial, helvetica, sans-serif;
  font-size: 16px;
  padding: 10px;
  border: 1px solid #23a27c;
  background-color: #f8f8f8;
  border-radius: 10px 0 0 10px;
}

.search-container button {
  font-family: arial, helvetica, sans-serif;
  font-size: 16px;
  padding: 10px 16px;
  border: 1px solid #23a27c;
  border-left: none;
  background: #23a27c;
  color: #fff;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-container button:hover {
  background: #2d7162;
  border-color: #2d7162;
}

/* Remove ALL browser default button styling */
#refreshShopsTop,
#refreshShopsBottom {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    /* background: none;  <-- REMOVED so the button stays visible */
    -webkit-appearance: none;
    appearance: none;
}

/* Remove border/outline on any interaction state */
#refreshShopsTop:focus,
#refreshShopsTop:active,
#refreshShopsTop:focus-visible,
#refreshShopsBottom:focus,
#refreshShopsBottom:active,
#refreshShopsBottom:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Your button styling */
.refresh-btn {
    width: auto;
    padding: 10px 22px;
    background-color: #23a27c;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.refresh-btn:hover {
    background-color: #2d7162;
}

.refresh-btn:active {
    background-color: #23a27c;
    transform: translateY(0);
}

/* ================================
   RESULT SHOP SECTION
================================ */
.result-shop-section {
  max-width: 1100px;
  min-height: 750px;
  margin: 0 auto 10px;
  text-align: center;
  background-color: #fff;
}

.result-shop-section h2 {
  margin-top: 20px;
}

/* ================================
   RESULT SHOP GRID
================================ */
.result-shop-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 10px; /* <— FIX: adds 10px left/right spacing */
}

/* Card wrapper (NOT rounded) */
.result-shop {
  flex: 1 1 calc(50% - 20px); /* Two per row on desktop */
  max-width: 545px;           /* But never exceed your original design */
  transition: transform 0.3s ease;
}

/* Hover effect */
.result-shop:hover {
  transform: scale(1.05);
}

/* Clickable area (NOT rounded) */
.result-shop a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* The ONLY rounded element */
.result-image-wrapper {
  border-radius: 10px;
  overflow: hidden;     /* REAL FIX */
}

/* Image with perfect rounded corners */
.result-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text (outside rounded container) */
.result-shop p {
  margin: 10px 0 15px;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Mobile */
@media (max-width: 768px) {
  .result-shop {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

