/* ============================================================
   Product Hero BG Slider  v3.0
   ============================================================ */

/* ── Wrapper ── */
.phs-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    font-family: inherit;
    user-select: none;
}

/* ─────────────────────────────────
   BACKGROUND SLIDE TRACK
───────────────────────────────── */
.phs-track-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.phs-track {
    display: flex;
    height: 100%;
    will-change: transform;
    /* JS sets transition */
}

.phs-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ─────────────────────────────────
   OVERLAY
───────────────────────────────── */
.phs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.20);
    pointer-events: none;
    z-index: 1;
}

/* ─────────────────────────────────
   FIXED CONTENT LAYER
───────────────────────────────── */
.phs-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ─────────────────────────────────
   TOP: TITLE (Left + Right split)
   Exactly like Tequila Reposado design
───────────────────────────────── */
.phs-titles {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2vw 3vw 0;
    width: 100%;
    box-sizing: border-box;
    pointer-events: none;
}

.phs-title {
    display: block;
    font-size: 8vw;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.9px;
    line-height: 1.0;
    font-family: 'Azeret Mono';
}

.phs-title-left  { align-self: flex-start; }
.phs-title-right { align-self: flex-start; text-align: right; }

/* ─────────────────────────────────
   BOTTOM RIGHT: INFO PANEL
───────────────────────────────── */
.phs-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 0 3vw 4vh;
    max-width: 400px;
    align-self: flex-end;
    gap: 28px;
}

/* Description */
.phs-desc {
    font-size: 0.85rem;
    line-height: 1.65;
    color: #fff;
    margin: 0;
    width: 700px;
}

.phs-desc p { margin: 0; color: inherit; }

/* Price */
.phs-price {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.4);
}

.phs-price .woocommerce-Price-amount,
.phs-price .amount,
.phs-price bdi,
.phs-price ins  { color: inherit !important; font-size: inherit; text-decoration: none; }
.phs-price del  { opacity: 0.55; font-size: 0.72em; margin-right: 8px; }

/* ─────────────────────────────────
   QUANTITY
───────────────────────────────── */
.phs-qty-row {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(255,255,255,0.8);
    overflow: hidden;
}

.phs-qty-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.phs-qty-btn:hover { background: rgba(255,255,255,0.15); }

.phs-qty-input {
    width: 50px;
    height: 38px;
    background: transparent;
    border: none;
    border-left: 1.5px solid rgba(255,255,255,0.8);
    border-right: 1.5px solid rgba(255,255,255,0.8);
    color: #fff;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    -moz-appearance: textfield;
    outline: none;
}

.phs-qty-input::-webkit-outer-spin-button,
.phs-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ─────────────────────────────────
   ADD TO CART BUTTON
───────────────────────────────── */
.phs-btn-cart {
    display: inline-block;
    background: #111;
    color: #fff;
    text-decoration: none !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 14px 28px;
    cursor: pointer;
    border: none;
    transition: background 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
}

.phs-btn-cart:hover {
    background: #ffffff !important;
    transform: translateY(-1px);
    color: #000000 !important;
}

.phs-btn-cart.phs-adding { opacity: 0.75; pointer-events: none; }
.phs-btn-cart.phs-added  { background: #28a745 !important; }

/* ─────────────────────────────────
   IMAGE NAVIGATION: arrows + dots
───────────────────────────────── */
.phs-img-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 100px;
    z-index: 2;
}

/* Arrows */
.phs-arrow {
    background: rgba(0,0,0,0.42);
    color: #fff;
    /*border: 1.5px solid rgba(255,255,255,0.65);*/
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    padding: 14px 14px;
    border-radius: 0;
}


.elementor-3586 .elementor-element.elementor-element-b16544b .phs-arrow:hover {
    background-color: #ffffff;
    color: #000000;
}

.phs-arrow:hover { background: rgba(0,0,0,0.75); }

/* Dots */
.phs-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}

.phs-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.38);
    border: 1.5px solid rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.2s;
}

.phs-dot.phs-active,
.phs-dot:hover {
    background: #fff;
    transform: scale(1.35);
}

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 768px) {
    .phs-title       { font-size: 12vw; }
    .phs-titles      { padding: 5vw 4vw 0; }
    .phs-panel       { max-width: 95vw; padding: 0 4vw 5vh; }
}