.ahg-tour-wrap{max-width:1420px;margin:28px auto;color:#111827;font-family:inherit;font-size:16px;line-height:1.55}
.ahg-tour-layout-v2{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 8px 28px rgba(17,24,39,.05)}
.ahg-tour-header{display:none}
.ahg-tour-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 430px;gap:22px;align-items:start}
.ahg-tour-booking-panel{position:sticky;top:24px}
.ahg-tour-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 6px 20px rgba(17,24,39,.035);padding:18px;margin:14px 0}
.ahg-tour-card h2,.ahg-booking-form h2{font-size:20px;line-height:1.3;margin:0 0 12px;font-weight:700;color:#111827}
.ahg-tour-card p{margin:0 0 10px;color:#374151}.ahg-tour-card p:last-child{margin-bottom:0}
.ahg-two-front{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ahg-note-card{margin-bottom:0}

.ahg-gallery-v2{display:grid;grid-template-columns:minmax(0,1fr) 125px;gap:12px;margin:0 0 18px}
.ahg-gallery-v2:not(:has(.ahg-gallery-thumbs)){grid-template-columns:1fr}
.ahg-gallery-main,.ahg-gallery-thumb{position:relative;display:block;overflow:hidden;border-radius:14px;background:#f3f4f6;cursor:zoom-in;text-decoration:none}
.ahg-gallery-main{height:395px}.ahg-gallery-main img,.ahg-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.ahg-gallery-main:hover img,.ahg-gallery-thumb:hover img{transform:scale(1.025)}
.ahg-gallery-thumbs{display:grid;grid-template-rows:repeat(4,1fr);gap:10px}.ahg-gallery-thumb{height:91px}
.ahg-expand{position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:10px;background:rgba(17,24,39,.72);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.ahg-more{position:absolute;inset:0;background:rgba(17,24,39,.5);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700}
.ahg-hidden-gallery-link{display:none!important}

.ahg-tour-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}
.ahg-tour-summary div{display:grid;grid-template-columns:42px 1fr;grid-template-areas:'icon label' 'icon value';align-items:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:15px}
.ahg-tour-summary div:nth-child(3){background:#fff7fb}.ahg-info-icon{grid-area:icon;display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:12px;background:#eef6ff;color:#2563eb;font-weight:700}
.ahg-tour-summary div:nth-child(2) .ahg-info-icon{background:#ecfdf5;color:#059669}.ahg-tour-summary div:nth-child(3) .ahg-info-icon{background:#fff1f2;color:#f97316}
.ahg-tour-summary strong{grid-area:label;color:#4b5563;font-size:14px;line-height:1.1;font-weight:600}
.ahg-tour-summary span:last-child{grid-area:value;display:block;font-size:17px;font-weight:700;margin-top:4px;color:#111827}

.ahg-booking-form{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 28px rgba(17,24,39,.05);padding:18px}
.ahg-booking-details-grid,.ahg-guest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 14px}
.ahg-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;color:#1f2937}.ahg-field em{color:#ef4444;font-style:normal}
.ahg-booking-form input,.ahg-booking-form textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;background:#fff;padding:13px 14px;font:inherit;color:#111827;outline:none;transition:border-color .18s ease,box-shadow .18s ease}
.ahg-booking-form input:focus,.ahg-booking-form textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(147,197,253,.22)}
.ahg-booking-form textarea{resize:vertical;min-height:118px}.ahg-full{grid-column:1/-1}


.ahg-payment-box{display:flex;align-items:center;gap:14px;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:12px;padding:16px;margin:2px 0 22px}
.ahg-payment-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#dff8ef;color:#065f46;font-weight:700}
.ahg-payment-box strong{display:block;margin-bottom:4px;color:#1f2937;font-weight:700}.ahg-payment-box div span{display:block;color:#166534}
.ahg-total-box{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;margin:15px 0 22px}
.ahg-total-box span{font-weight:600;color:#4b5563}.ahg-total-box strong{font-size:24px;font-weight:700;color:#111827}
.ahg-submit{width:100%;border:0;border-radius:10px;padding:15px 22px;background:var(--ahg-tour-primary,#111827);color:#fff;font-weight:700;font-size:16px;cursor:pointer;margin-top:10px}
.ahg-submit:hover{filter:brightness(1.08)}.ahg-secure-note{margin:18px 0 4px;background:#f8fafc;border-radius:10px;padding:14px 16px;color:#6b7280;font-size:13px}

.ahg-booking-form .iti{width:100%;display:block}.ahg-booking-form .iti input{width:100%}
.ahg-booking-form .iti__country-list{z-index:100001;border-radius:10px;box-shadow:0 12px 30px rgba(17,24,39,.16);font-size:14px}
.ahg-booking-form .iti__selected-flag{border-radius:10px 0 0 10px}
.ahg-booking-form .ahg-field .ahg-label-text{display:inline-flex;align-items:center;gap:4px;width:max-content;font-size:14px;font-weight:600;line-height:1.25;color:#1f2937}
.ahg-booking-form .ahg-field .ahg-label-text em{display:inline-flex;align-items:center;color:#ef4444;font-style:normal;line-height:1;margin:0;padding:0}

.ahg-tour-list{display:grid;gap:24px;max-width:1200px;margin:0 auto}
.ahg-tour-list-cols-1{grid-template-columns:1fr}.ahg-tour-list-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ahg-tour-list-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ahg-tour-list-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ahg-tour-item{border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(17,24,39,.04);transition:transform .2s ease,box-shadow .2s ease}
.ahg-tour-item:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(17,24,39,.08)}
.ahg-tour-item a{display:block;color:inherit;text-decoration:none}.ahg-tour-item-image{height:230px;background:#f3f4f6}
.ahg-tour-item-image img,.ahg-tour-item img{width:100%;height:100%;object-fit:cover;display:block}.ahg-tour-item-body{padding:16px}
.ahg-tour-item h3{margin:0 0 10px;font-size:18px;line-height:1.3;font-weight:700;color:#111827}
.ahg-tour-item-meta{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.ahg-tour-item-meta span{background:#f3f4f6;border-radius:999px;padding:5px 10px;color:#4b5563;font-size:13px}
.ahg-tour-item-price{display:flex;align-items:baseline;gap:8px}.ahg-tour-item-price span{color:#6b7280;font-size:13px}
.ahg-tour-item-price strong{display:block;color:var(--ahg-tour-primary,#111827);font-size:20px;font-weight:700}.ahg-no-tours{grid-column:1/-1;margin:0;color:#6b7280}

.ahg-tour-card .ahg-section-title{font-size:20px;line-height:1.3;margin:0 0 12px;font-weight:700;color:#111827}
.ahg-tour-card .ahg-tour-content{color:#374151}
.ahg-tour-card .ahg-tour-content h2,.ahg-tour-card .ahg-tour-content h3,.ahg-tour-card .ahg-tour-content h4{color:#111827;font-weight:700;line-height:1.35;margin:18px 0 10px}
.ahg-tour-card .ahg-tour-content h2{font-size:22px}.ahg-tour-card .ahg-tour-content h3{font-size:19px}.ahg-tour-card .ahg-tour-content h4{font-size:17px}
.ahg-tour-card .ahg-tour-content p{margin:0 0 12px;color:#374151}
.ahg-tour-card .ahg-tour-content ul,.ahg-tour-card .ahg-tour-content ol{margin:0;padding:0;list-style:none}
.ahg-two-front .ahg-tour-content li{position:relative;margin:8px 0 0;padding-left:26px;color:#374151}
.ahg-two-front .ahg-tour-content li:before{position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:999px;font-size:11px;line-height:15px;text-align:center;font-weight:700}
.ahg-included-content .ahg-tour-content li:before{content:'✓';border:1px solid #10b981;color:#059669}
.ahg-excluded-content .ahg-tour-content li:before{content:'×';border:1px solid #ef4444;color:#dc2626;line-height:14px}
.ahg-editor-field{margin:16px 0}.ahg-editor-field > strong{display:block;margin:0 0 8px;font-weight:700}.ahg-editor-two{align-items:start}

.ahg-lightbox{position:fixed;inset:0;background:rgba(2,6,23,.88);z-index:99999;display:none;align-items:center;justify-content:center;padding:52px 78px}
.ahg-lightbox.is-open{display:flex}.ahg-lightbox-open{overflow:hidden}
.ahg-lightbox-img{display:block;max-width:min(1120px,92vw);max-height:82vh;object-fit:contain;border-radius:18px;box-shadow:0 25px 80px rgba(0,0,0,.45)}
.ahg-lightbox-close,.ahg-lightbox-prev,.ahg-lightbox-next{position:fixed;border:0;background:rgba(255,255,255,.96);color:#111827;border-radius:999px;cursor:pointer;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(0,0,0,.22);z-index:100000}
.ahg-lightbox-close{top:24px;right:24px;width:54px;height:46px;font-size:30px}.ahg-lightbox-prev,.ahg-lightbox-next{top:50%;transform:translateY(-50%);width:62px;height:54px;font-size:40px}
.ahg-lightbox-prev{left:24px}.ahg-lightbox-next{right:24px}

@media(max-width:1180px){
  .ahg-tour-main-grid{grid-template-columns:1fr}
  .ahg-tour-booking-panel{position:static}
  .ahg-gallery-main{height:390px}
  .ahg-tour-list-cols-4,.ahg-tour-list-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .ahg-tour-layout-v2{padding:14px}
  .ahg-tour-header h1{font-size:28px}
  .ahg-gallery-v2{grid-template-columns:1fr}
  .ahg-gallery-main{height:300px}
  .ahg-gallery-thumbs{grid-template-columns:repeat(4,1fr);grid-template-rows:none}
  .ahg-gallery-thumb{height:78px}
  .ahg-tour-summary,.ahg-booking-details-grid,.ahg-guest-grid,.ahg-two-front{grid-template-columns:1fr}
  .ahg-booking-details-grid{gap:15px!important}
  .ahg-tour-list-cols-4,.ahg-tour-list-cols-3,.ahg-tour-list-cols-2{grid-template-columns:1fr!important}
  .ahg-lightbox{padding:48px 14px}
  .ahg-lightbox-close{top:14px;right:14px;width:50px;height:42px}
  .ahg-lightbox-prev,.ahg-lightbox-next{width:50px;height:46px;font-size:34px}
  .ahg-lightbox-prev{left:8px}.ahg-lightbox-next{right:8px}
  .ahg-lightbox-img{max-width:92vw;max-height:76vh}
}

@media(max-width:900px) and (min-width:761px){
  .ahg-tour-list-cols-3,.ahg-tour-list-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.ahg-tour-list{
  max-width:100% !important;
  width:100% !important;
  margin:40px 0 !important;
}

.ahg-tour-list-cols-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr) !important;
  gap:24px;
}

.ahg-tour-list-cols-4{
  display:grid;
  grid-template-columns:repeat(4, 1fr) !important;
  gap:24px;
}
@media (max-width: 760px){
  .ahg-tour-list,
  .ahg-tour-list-cols-1,
  .ahg-tour-list-cols-2,
  .ahg-tour-list-cols-3,
  .ahg-tour-list-cols-4{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
    margin:24px 0 !important;
    gap:20px !important;
  }

  .ahg-tour-item{
    width:100% !important;
    max-width:100% !important;
  }

  .ahg-tour-item-image{
    height:220px !important;
  }
}

/* AHG safe mobile date input fix */
.ahg-booking-form input[type="date"]{
  display:block;
  width:100%;
  height:46px;
  min-height:46px;
  max-height:46px;
  padding:10px 14px;
  font-size:16px;
  line-height:1.2;
  border-radius:10px;
  box-sizing:border-box;
  background:#fff;
}

@media (max-width:760px){
  .ahg-booking-form input[type="date"]{
    height:46px !important;
    min-height:46px !important;
    max-height:46px !important;
    padding:10px 14px !important;
    font-size:16px !important;
    line-height:1.2 !important;
    -webkit-appearance:none !important;
    appearance:none !important;
  }

  .ahg-booking-form input[type="date"]::-webkit-date-and-time-value{
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    font-size:16px !important;
    line-height:1.2 !important;
    text-align:left !important;
  }

  .ahg-booking-form input[type="date"]::-webkit-calendar-picker-indicator{
    opacity:1 !important;
    width:18px !important;
    height:18px !important;
    padding:0 !important;
    margin:0 !important;
  }
}

.ahg-turnstile-wrap{
  margin:16px 0 12px;
  display:flex;
  justify-content:center;
}


/* AHG person count mobile picker select */
.ahg-booking-form select.ahg-person-select{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d1d5db;
  border-radius:10px;
  background:#fff;
  padding:13px 42px 13px 14px;
  font:inherit;
  color:#111827;
  outline:none;
  min-height:46px;
  appearance:auto;
  -webkit-appearance:menulist;
}

.ahg-booking-form select.ahg-person-select:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(147,197,253,.22);
}


.ahg-gallery-more-trigger .ahg-more{font-size:15px;text-align:center;padding:0 8px;line-height:1.25;backdrop-filter:blur(1px)}

/* AHG tour list Book Now button - premium CTA */
.ahg-tour-item-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:14px;
}

.ahg-tour-book-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 18px;
  border-radius:12px;
  background:linear-gradient(135deg,#2563eb,#1e40af);
  color:#fff;
  font-size:14px;
  font-weight:700;
  letter-spacing:.3px;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(37,99,235,.25);
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
}

.ahg-tour-book-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.4),transparent);
  transition:all .6s ease;
}

.ahg-tour-item:hover .ahg-tour-book-btn,
.ahg-tour-book-btn:hover{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 10px 24px rgba(37,99,235,.35);
  background:linear-gradient(135deg,#1e40af,#1e3a8a);
}

.ahg-tour-item:hover .ahg-tour-book-btn::before,
.ahg-tour-book-btn:hover::before{
  left:100%;
}

.ahg-tour-book-btn:active{
  transform:scale(.96);
  box-shadow:0 4px 10px rgba(0,0,0,.2);
}

@media(max-width:600px){
  .ahg-tour-item-footer{
    align-items:flex-start;
  }

  .ahg-tour-book-btn{
    min-height:36px;
    padding:8px 13px;
    font-size:13px;
    border-radius:10px;
  }
}

/* AHG similar tours */
.ahg-similar-tours{
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid #e5e7eb;
}

.ahg-similar-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
}

.ahg-similar-kicker{
  display:block;
  margin:0 0 4px;
  color:#2563eb;
  font-size:13px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.ahg-similar-title{
  margin:0;
  color:#111827;
  font-size:26px;
  line-height:1.25;
  font-weight:800;
}

.ahg-similar-head p{
  margin:0;
  color:#6b7280;
  font-size:14px;
}

.ahg-similar-grid{
  max-width:100% !important;
  margin:0 !important;
}

@media(max-width:760px){
  .ahg-similar-tours{
    margin-top:24px;
    padding-top:22px;
  }

  .ahg-similar-head{
    display:block;
  }

  .ahg-similar-title{
    font-size:22px;
  }

  .ahg-similar-head p{
    margin-top:6px;
  }
}

/* AHG Best Seller badge */
.ahg-tour-item-image{
  position:relative;
}

.ahg-best-seller-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:linear-gradient(135deg,#f59e0b,#f97316);
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1;
  letter-spacing:.02em;
  box-shadow:0 8px 18px rgba(249,115,22,.28);
}

/* AHG private/group price and contact button */
.ahg-group-price-fields .ahg-person-count-field{
  display:none;
}

.ahg-private-tour-note{
  margin:10px 0 12px;
  padding:11px 13px;
  border-radius:10px;
  background:#eff6ff;
  color:#1e3a8a;
  font-size:13px;
  line-height:1.45;
}

.ahg-contact-booking-box{
  text-align:center;
}

.ahg-contact-booking-text{
  margin:0 0 14px;
  color:#4b5563;
  line-height:1.55;
}

.ahg-contact-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:11px 18px;
  border-radius:12px;
  background:linear-gradient(135deg,#2563eb,#1e40af);
  color:#fff!important;
  font-weight:800;
  text-decoration:none!important;
  box-shadow:0 8px 18px rgba(37,99,235,.25);
  transition:all .22s ease;
}

.ahg-contact-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(37,99,235,.34);
  background:linear-gradient(135deg,#1e40af,#1e3a8a);
}

.ahg-tour-contact-btn-small{
  cursor:pointer;
}

/* AHG private tour time selector */
.ahg-private-time-field{
  display:none;
}

.ahg-group-price-fields .ahg-private-time-field{
  display:flex;
}

.ahg-booking-form input[type="time"]{
  display:block;
  width:100%;
  height:46px;
  min-height:46px;
  max-height:46px;
  padding:10px 14px;
  font-size:16px;
  line-height:1.2;
  border-radius:10px;
  box-sizing:border-box;
  background:#fff;
}

@media(max-width:760px){
  .ahg-booking-form input[type="time"]{
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    padding:10px 14px!important;
    font-size:16px!important;
    line-height:1.2!important;
  }
}
