body {
  background: #f8f9f9;

}

.page-container {
  background: #fff;
  padding: 0;
}

/* ================= NAVBAR ================= */

.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 19px 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #888888;
}

.navbar-nav .nav-link:hover,
.more,
.footer-right span:hover {
  color: #ff4977;
}

.main-navbar {
  position: fixed;
}

.main-navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 2px;
  background: #ff4977;
  box-shadow:
    0 6px 10px rgba(0,0,0,.18),
    0 12px 20px rgba(0,0,0,.12);
}
.viator-sidebar{
  position: sticky;
  top: 0;
}
.ap-deal-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-top: 12px;
  overflow: hidden;
  transition: .25s ease;
}

.ap-deal-card:hover {
  border-color: #ff4977;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.ap-deal-card-top {
   display: flex;
  align-items: center;
  padding: 15px;
}



.ap-deal-card-footer {
  border-top: 1px solid #eee;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

/* ================= DEAL CONTENT ================= */

.ap-deal-logo {
  width: 120px;
  padding: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ap-deal-logo img {
  max-width: 80px;
}

.ap-deal-content {
  flex: 1;
  padding: 0 18px;
}

.ap-deal-content h4 {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}

.ap-deal-content p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.ap-deal-code {
  text-align: right;
  min-width: 160px;
}
.ap-deal-card-top {
  display: flex;
  flex-wrap: wrap;     
  gap: 12px;
}

.ap-deal-logo {
  flex: 0 0 auto;
}

.ap-deal-content {
  flex: 1 1 300px;    
}

.ap-deal-code {
  flex: 0 0 auto;
}


/* ================= COUPON BUTTON ================= */

.ap-coupon-wrap {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  padding-top: 23px;
}

.ap-coupon-btn,
.ap-copy-btn,
.ap-go-store-btn {
  background: #ff4977;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.ap-coupon-btn {
  padding: 10px 28px 10px 16px; /* 👈 extra right space */
  position: relative;
  overflow: visible;
  background: #ff4977;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  z-index: 1;
}

.ap-coupon-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: -14px;
  width: 28px;
  height: 100%;
  background: #ff4977;
  transform: skewX(-20deg);
  transition: right 0.25s ease;
  z-index: -1; /* 👈 stays behind text */
}

/* ONLY the slanted part moves */
.ap-coupon-btn:hover::after {
  right: -6px;
}

/* ================= COUPON CODE ================= */

.ap-coupon-text,
.ap-coupon-code-box {
  border: 2px dashed #ff4977;
  background: #fff;
  font-weight: 700;
}

.ap-coupon-text {
  padding: 8px 14px;
  margin-left: -18px;
  width: 70px;
  overflow: hidden;
  white-space: nowrap;
}

/* ================= TOOLTIP ================= */

.ap-coupon-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #222;
  color: #fff;
  padding: 6px 10px;
  font-size: 11px;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  white-space: nowrap;
}

.ap-coupon-btn:hover .ap-coupon-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}


/* ================= MODAL ================= */

.ap-coupon-code-box-wrapper {
  max-width: 480px;
  margin: auto;
}

.ap-code-copy-row {
  display: flex;
}

.ap-coupon-code-box {
  flex: 1;
  padding: 14px 18px;
  border-radius: 6px 0 0 6px;
}

.ap-coupon-code-text {
  font-size: 22px;
  letter-spacing: 1px;
}

.ap-copy-btn {
  padding: 0 18px;
  border-radius: 0 6px 6px 0;
}

.ap-store-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.ap-go-store-btn {
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
}

.ap-coupon-detail {
  margin-top: 6px;
  text-align: right;
  font-size: 12px;
  color: #777;
}
.deal-share {
  cursor: pointer;
}

.deal-share:hover {
  color: #ff4977;
}
.deal-email:hover {
  color: #ff4977;
}
.deal-comments:hover {
  color: #ff4977;
}

