/* Modal */
.modal-content{
    border:0;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 25px 70px rgba(0,0,0,.18);
}

.modal-body{
    padding:40px 35px;
    background:#fff;
}

/* Close */
.modal-content .close{
    width:38px;
    height:38px;
    border-radius:50%;
    background:#f3f6fb;
    color:#6b7280;
    font-size:24px !important;
    line-height:38px;
    text-align:center;
    transition:.25s;
}

.modal-content .close:hover{
    background:#0D6EFD;
    color:#fff;
    opacity:1 !important;
}

/* Logo */
.store-img{
    display:flex;
    justify-content:center;
    margin-bottom:28px;
}

.store-img img{
    max-width:220px;
    max-height:70px;
    width:auto;
    object-fit:contain;
}

/* Discount */
.off{
    display:flex;
    justify-content:center;
    align-items:baseline;
    gap:8px;
    font-size:42px;
    font-weight:800;
    color:#0D6EFD;
    margin-bottom:14px;
}

.off span{
    font-size:18px;
    color:#6b7280;
    font-weight:600;
    text-transform:uppercase;
}

/* Title */
.go-store-web h3{
    text-align:center;
    font-size:26px;
    line-height:1.35;
    color:#111827;
    margin-bottom:28px;
}

/* Coupon code */
.codeBox{
    height:56px;
    border:2px dashed #0D6EFD;
    border-radius:12px;
    background:#f8fbff;
    color:#0D6EFD;
    text-align:center;
    font-size:22px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:18px;
}

/* CTA */
.gt-btn{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:56px;
    border-radius:12px;
    background:#0D6EFD;
    color:#fff !important;
    font-weight:700;
    text-decoration:none !important;
    transition:.25s;
}

.gt-btn:hover{
    background:#0b5ed7;
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(13,110,253,.25);
}

/* Note */
.copy-area p{
    margin-top:18px;
    color:#6b7280;
    line-height:1.6;
}

#dots, #more{
    display: none;
}

/* success message */
.success-msg {
  display: none;
  background: var(--green-100);
  border-radius: 14px;
  padding: 24px 28px;
  text-align: center;
  margin-top: 20px;
}

.success-msg.show {
  display: block;
}

.success-msg h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 6px;
}

.success-msg p {
  font-size: .875rem;
  color: var(--ink-soft);
}

.search-wrap {
  position: relative;
}

#homeSearch {
  display: flex;
  gap: 0;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 6px;
  width: 380px;
  box-shadow: var(--shadow);
}

input#homeSearch {
  padding: 12px 18px;
  font-size: 15px;
  font-family: inherit;
}

/* ── DROPDOWN CONTAINER ── */
.search-response {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #FAFAF7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28), 0 4px 12px rgba(0, 0, 0, .18);
  border: 1px solid rgba(0, 0, 0, .06);
  z-index: 999;
  padding: 0;
  margin-top: 0;
}

/* ── RESULT ROWS ── */
.search-results-list {
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #F0EBE1;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #e0e0e0;
}

.search-result-item:hover .search-result-name {
  color: var(--pine-dark);
}

/* ── STORE LOGO ── */
.search-result-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #E4DDD5;
  background: #F0EBE1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.search-result-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ── TEXT ── */
.search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: #1C1C1A;
  transition: color 0.15s;
}

/* ── NO RESULT ── */
.search-no-result {
  padding: 20px 16px;
  font-size: 13px;
  color: #9A9690;
  text-align: center;
}

/* ── LOADER ── */
.loader {
  width: 22px;
  height: 22px;
  border: 2.5px solid #E4DDD5;
  border-top-color: var(--pine);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 16px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width:576px){

    .modal-body{
        padding:28px 20px;
    }

    .off{
        font-size:34px;
    }

    .go-store-web h3{
        font-size:22px;
    }

    .codeBox{
        font-size:18px;
        letter-spacing:1px;
    }
}

@media (max-width: 768px) {

    .nav-row{
        position: relative;
        flex-wrap: wrap;
    }

    .search-bar{
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all .35s ease;
        order: 3;
    }

    .site.menu-open .search-bar{
        max-height: 120px;
        opacity: 1;
        margin-top: 12px;
    }

    .search-bar form{
        width:100%;
    }

    .search-wrap{
        width:100%;
    }

    .search-wrap input{
        width:100%;
    }

    .menu-toggle.active span:nth-child(1){
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2){
        opacity:0;
    }

    .menu-toggle.active span:nth-child(3){
        transform: translateY(-6px) rotate(-45deg);
    }

}