/* ══════════════════════════════════════════
   HAIR IDEA SLIDESHOW v2.0
   Image TOP — Text BOTTOM — Overlay Arrows
   ══════════════════════════════════════════ */

/* ── Wrapper ── */
.hs-wrapper {
    max-width: 600px;
    margin: 0 auto 40px;
    font-family: 'Times New Roman', Times, serif;
    background: #fff;
}

/* ── Top Counter Bar (centered, no buttons) ── */
.hs-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
}

.hs-counter {
    font-size: 12px;
    color: #555;
    letter-spacing: 1.5px;
    font-family: 'Century Gothic', sans-serif;
    text-transform: uppercase;
}

/* ── Slide Track ── */
.hs-track-outer {
    overflow: hidden;
    width: 100%;
}

.hs-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

/* ── Single Slide ── */
.hs-slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* ── Image Wrap — position:relative for overlay arrows ── */
.hs-img-wrap {
    width: 100%;
    line-height: 0;
    position: relative;
    overflow: hidden;
}

.hs-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 680px;
    object-fit: cover;
}

/* ── Overlay Arrow Buttons (on image) ── */
.hs-arrow-overlay {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10;
    background: rgba(255,255,255,0.92) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111 !important;
    transition: background 0.2s, transform 0.15s !important;
    line-height: 1 !important;
}

.hs-arrow-left {
    left: 12px !important;
}

.hs-arrow-right {
    right: 12px !important;
}

.hs-arrow-overlay:hover {
    background: rgba(255,255,255,1) !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.35) !important;
    transform: translateY(-50%) scale(1.07) !important;
}

.hs-arrow-overlay:active {
    transform: translateY(-50%) scale(0.95) !important;
}

/* ── Save Button ── */
.hs-save-wrap {
    text-align: center;
    margin: 0;
}

.hs-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #111;
    color: #fff;
    border: none;
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Century Gothic', sans-serif;
    transition: background 0.2s;
    box-sizing: border-box;
}

.hs-save-btn:hover {
    background: #333;
}

/* ── Title ── */
.hs-title {
    padding: 16px 14px 6px;
}

.hs-title h1,
.hs-title h2,
.hs-title h3 {
    font-size: 1.4rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

/* ── Description ── */
.hs-desc {
    padding: 0 14px 24px;
}

.hs-desc p {
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
    margin: 0 0 12px;
    font-family: 'Times New Roman', Times, serif;
}

.hs-desc a {
    color: #000;
    border-bottom: 2px solid #004eff;
    text-decoration: none;
}

/* ══════════════════════════════════════════
   EMAIL POPUP
   ══════════════════════════════════════════ */

#hs-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 99998;
}

#hs-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    padding: 28px 24px 22px;
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 99999;
    text-align: center;
    box-shadow: 2px 6px 80px rgba(0,0,0,0.9);
    box-sizing: border-box;
    animation: hsPop 0.2s ease;
}

@keyframes hsPop {
    from { opacity: 0; transform: translate(-50%, -47%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hs-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.hs-close:hover { color: #111; }

#hs-popup-img {
    width: 160px;
    height: auto;
    border-radius: 4px;
    margin: 0 auto 14px;
    display: block;
}

.hs-popup-title {
    font-size: 18px;
    font-weight: bold;
    color: #111;
    margin: 0 0 8px;
    font-family: Georgia, serif;
}

.hs-popup-sub {
    font-size: 13px;
    color: #666;
    margin: 0 0 14px;
    line-height: 1.5;
}

.hs-email-input {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.hs-email-input:focus { border-color: #111; }

.hs-check-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    margin-bottom: 12px;
}

.hs-check-row input { margin-top: 3px; flex-shrink: 0; }

.hs-check-row label {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.hs-submit {
    width: 100%;
    padding: 13px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.hs-submit:hover { background: #333; }
.hs-submit:disabled { background: #999; cursor: not-allowed; }

#hs-popup small {
    font-size: 11px;
    color: #aaa;
}

#hs-msg {
    font-size: 14px;
    color: #333;
    margin: 10px 0 0;
    line-height: 1.6;
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .hs-arrow-overlay { width: 36px !important; height: 36px !important; font-size: 16px !important; }
    .hs-arrow-left { left: 8px !important; }
    .hs-arrow-right { right: 8px !important; }
    .hs-title h2 { font-size: 1.2rem; }
    .hs-desc p { font-size: 0.95rem; }
    #hs-popup { padding: 22px 16px 18px; }
    #hs-popup-img { width: 130px; }
}

/* ── Pinterest PIN THIS Button ── */
.hs-pin-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 20;
    background: #E60023 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.28) !important;
    transition: background 0.2s, transform 0.15s, opacity 0.2s !important;
    opacity: 1;
}

.hs-pin-btn:hover {
    background: #ad081b !important;
    transform: scale(1.05) !important;
    opacity: 1 !important;
}

@media (max-width: 600px) {
    .hs-pin-btn {
        opacity: 1 !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
        top: 8px !important;
        right: 8px !important;
    }
}
