/* ==========================================================================
   Envious Lashes - SINGLE PRODUCT stylesheet  v1  (Jul 6 2026)
   ========================================================================== */

body.single-product .container-fluid.prod-page {
    background: var(--c-blue-pale-2);
    border: 1px solid var(--c-gold-light);
    border-radius: 20px;
    max-width: 1180px;
    margin: 30px auto 60px;
    padding: 40px 44px 48px !important;
    box-sizing: border-box;
    display: flex;
    gap: 48px;
    align-items: flex-start;
}














body.single-product .summary.entry-summary {
    flex: 1;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.el-prod-back {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 1180px;
    margin: 26px auto -14px;
    padding: 0 6px;
}
.el-prod-back a {
    color: #17809c;
    text-decoration: none;
}
.el-prod-back a:hover { color: var(--c-gold); }

body.single-product h1.el-prod-title {
    font-family: var(--f-serif) !important;
    font-weight: 400 !important;
    font-size: 40px !important;
    line-height: 1.12 !important;
    color: var(--c-grey-dark) !important;
    margin: 0 !important;
    text-transform: none !important;
}
.el-prod-tag {
    font-family: var(--f-serif) !important;
    font-style: italic;
    font-size: 19px;
    color: var(--c-blue);
    margin: 7px 0 0;
}

body.single-product .summary .woocommerce-product-details__short-description,
body.single-product .summary .woocommerce-product-details__short-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #5d574f;
    margin: 14px 0 0;
    max-width: 54ch;
}

body.single-product .summary p.price,
body.single-product .summary span.price {
    font-family: var(--f-serif) !important;
    font-size: 40px !important;
    color: var(--c-gold) !important;
    margin: 16px 0 0 !important;
    display: block;
}
body.single-product .summary p.price del,
body.single-product .summary span.price del {
    color: var(--c-line-2) !important;
    font-size: .6em;
    margin-right: 10px;
    opacity: 1 !important;
}
body.single-product .summary p.price ins,
body.single-product .summary span.price ins {
    text-decoration: none;
    color: var(--c-gold) !important;
}
body.single-product .summary .price .screen-reader-text { left: -9999px; }

body.single-product form.cart {
    margin: 18px 0 0 !important;
    gap: 14px;
}
body.single-product form.cart .quantity input.qty {
    width: 64px;
    height: 44px;
    border: 1px solid var(--c-gold-light);
    border-radius: 0;
    background: var(--c-white);
    text-align: center;
    font-size: 15px;
    color: var(--c-grey-dark);
}
body.single-product .single_add_to_cart_button {
    flex: 0 0 auto;
    font-family: inherit !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--c-white) !important;
    background: var(--c-gold) !important;
    border: 1px solid var(--c-gold) !important;
    border-radius: 0 !important;
    padding: 14px 34px !important;
    line-height: 1.2 !important;
    transition: background .25s ease, border-color .25s ease;
    height: auto;
}
body.single-product .single_add_to_cart_button:hover {
    background: var(--c-gold-dark) !important;
    border-color: var(--c-gold-dark) !important;
    color: var(--c-white) !important;
}

body.single-product .summary .product_meta { display: none; }

@media (max-width: 900px) {
    body.single-product .container-fluid.prod-page {
        flex-direction: column;
        gap: 26px;
        margin: 16px 12px 40px;
        padding: 24px 18px 30px !important;
    }
    
    body.single-product h1.el-prod-title { font-size: 30px !important; }
    .el-prod-tag { font-size: 17px; }
    body.single-product .summary p.price,
    body.single-product .summary span.price { font-size: 28px !important; }
}

/* --- TUNING ROUND 2 --- */

/* Button: beat the parent's display:block for real. */
body.single-product .summary form.cart .single_add_to_cart_button,
body.single-product .single_add_to_cart_button.button,
body.single-product button.single_add_to_cart_button {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
}

/* Tighten the right column (kill the dead air). */
body.single-product .summary .woocommerce-product-details__short-description { margin-top: 12px; }
body.single-product .summary p.price,
body.single-product .summary span.price { margin-top: 14px !important; }
body.single-product form.cart { margin-top: 16px !important; }

/* Endorsement bubble: white, gold hairline, below the blue bubble. */
.el-prod-endorse {
    background: var(--c-white);
    border: 1px solid var(--c-gold-light);
    border-radius: 16px;
    margin: 26px auto 60px;
    padding: 28px 36px 24px;
    text-align: center;
}
.el-prod-endorse-quote {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
    color: var(--c-grey-dark);
    margin: 0;
}
.el-prod-endorse-name {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--c-gold-dark);
    margin: 14px 0 0;
}
@media (max-width: 768px) {
    .el-prod-endorse { margin: 18px 12px 40px; padding: 22px 20px 20px; }
    .el-prod-endorse-quote { font-size: 16px; }
}

/* --- BUTTON FIX (verified): flex-basis was stretching it; span carried 22px/60px --- */
body.single-product form.cart button.single_add_to_cart_button {
    flex: 0 0 auto;
    align-self: center;
}
body.single-product button.single_add_to_cart_button span {
    font-size: 12px !important;
    letter-spacing: 2px !important;
    padding: 0 !important;
    display: inline !important;
}
/* hide the duplicate hover-swap span */
body.single-product button.single_add_to_cart_button span + span {
    display: none !important;
}

/* --- PRICE + BUTTON side by side at the bottom of the info column --- */

body.single-product .summary p.price,
body.single-product .summary span.price {
    display: inline-block;
    margin: 14px 18px 0 0 !important;
}


/* ==========================================================================
   SERUM PRODUCT LAYOUT (endorsement product only) - consolidated, authoritative.
   Blue box is flex-wrap. Order: gallery(1), summary(2), quote(3), buy(4).
   Quote = full-width white bubble tight under photo row.
   Buy = price centered over button, pair anchored bottom-right.
   ========================================================================== */
body.single-product .container-fluid.prod-page {
    flex-wrap: wrap;
    align-items: flex-start;
}

body.single-product .summary.entry-summary { order: 2; }
body.single-product .container-fluid.prod-page .el-prod-endorse { order: 3; }


/* Quote bubble - full width, tight under the photo/text row */
body.single-product .container-fluid.prod-page .el-prod-endorse {
    flex: 1 1 100%;
    max-width: none !important;
    margin: 6px 0 0 !important;
    padding: 24px 56px 20px !important;
}

/* Buy row - price centered over button, pair to the right */




/* Safety net: hide any zoom clone if a script still slips through */


/* Photo not clickable - no lightbox, no opening the image in a tab */


/* --- CUSTOM GALLERY --- */
body.single-product .el-gallery {
    flex: 0 0 42%;
    max-width: 42%;
}
body.single-product .el-gallery-main img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid var(--c-gold);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(58,63,68,.22), 0 0 0 5px rgba(216,189,147,.22);
    background: var(--c-blue-soft);
}
body.single-product .el-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
body.single-product .el-gallery-thumb {
    padding: 0;
    border: 1px solid var(--c-gold-light);
    border-radius: 8px;
    background: none;
    overflow: hidden;
    width: 64px;
    height: 64px;
    opacity: .7;
    transition: opacity .2s ease, border-color .2s ease;
}
body.single-product .el-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.single-product .el-gallery-thumb:hover { opacity: 1; }
body.single-product .el-gallery-thumb.el-thumb-active {
    opacity: 1;
    border: 2px solid var(--c-gold);
}
@media (max-width: 900px) {
    body.single-product .el-gallery { flex: none; max-width: 100%; }
}

/* Buy row now lives inside summary, under the description - center it there */




/* Buy row: centered under the description, tight gap. */




/* Force buy row to the bottom of the summary column (below description) */
body.single-product .summary.entry-summary { display: flex !important; flex-direction: column; }
body.single-product .summary .el-prod-title { order: 1; }
body.single-product .summary .el-prod-tag { order: 2; }
body.single-product .summary .woocommerce-product-details__short-description { order: 3; }

body.single-product .summary .product_meta { order: 5; display: none !important; }

/* Center buy row to the PARAGRAPH (which is narrower than the column) + pull up.
   Paragraph spans the column left edge to ~486px wide; match that so centers align. */


/* Close the two empty gaps (measured): buy row up + kill the 48px row-gap above quote */
body.single-product .container-fluid.prod-page {
    column-gap: 48px;
    row-gap: 0;
}


/* Price directly above ADD TO CART (grouped at bottom of summary). All products. */
body.single-product .summary.entry-summary { display: flex !important; flex-direction: column; }
body.single-product .summary .el-prod-title { order: 1; }
body.single-product .summary .el-prod-tag { order: 2; }
body.single-product .summary .woocommerce-product-details__short-description { order: 3; }
body.single-product .summary .price { order: 4; margin: 8px 0 12px !important; }
body.single-product .summary form.cart { order: 5; }
body.single-product .summary .product_meta { order: 6; display: none !important; }

/* Center price + ADD TO CART in the summary column. All products. */
body.single-product .summary.entry-summary {
    align-items: center;
    text-align: center !important;
}
body.single-product .summary .price {
    text-align: center !important;
    width: 100% !important;
}
body.single-product .summary form.cart {
    justify-content: center !important;
}

/* Give the product page a real way out: pin the full white header (#menu-sticky —
   logo->home, Menu->nav, Book Now, cart, Sign In) at the top, in place of the
   stripped social/Sign-In bar that leaves shoppers with no logo and no menu. */
.single-product #header { display: none; }
.single-product #menu-sticky,
.single-product #menu-sticky.scrollup {
    position: relative;
    top: 0;
    box-shadow: none;

}
