/* ==========================================================================
   Envious Lashes - SHOP (/products/) stylesheet  v7
   ========================================================================== */

.woocommerce-result-count,
.woocommerce-ordering,
/* [BeRocket hide-rules removed 2026-07-08 - plugin deactivated] */

.el-shop-head {
    text-align: center;
    padding: 54px 0 8px;
}
.el-shop-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8a8f94;
}
.el-shop-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 400;
    font-size: 66px;
    line-height: 1.06;
    color: #3a3f44;
    margin: 12px 0 0;
}
.el-shop-sub {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-size: 28px;
    color: #bb8238;
    margin: 11px 0 0;
}

.el-spot-bubble,
.el-shop-panel {
    background: #eaf4f9;
    border-radius: 20px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.el-spot-bubble {
    margin-top: 28px;
    padding: 38px 46px;
    border: 1px solid #d8bd93;
}
.el-spot-eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #a06d2c;
    text-align: center;
    margin-bottom: 20px;
}
.el-spot {
    display: flex;
    align-items: center;
    gap: 50px;
}
.el-spot-media {
    flex: 0 0 42%;
    display: flex;
    justify-content: center;
}
.el-spot-stage {
    position: relative;
    width: 360px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.el-spot-ring { display: none !important; }
.el-spot-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    background: #c8e6f0;
    overflow: hidden;
    border: 2px solid #bb8238;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(58,63,68,.28), 0 0 0 6px rgba(216,189,147,.22);
}
.el-spot-photo img,
.el-spot-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}


.el-spot-info { flex: 1; }
.el-spot-name {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 400 !important;
    font-size: 46px !important;
    line-height: 1.1 !important;
    color: #3a3f44 !important;
    margin: 0 !important;
    text-transform: none !important;
}
.el-spot-name a { color: inherit; text-decoration: none; }
.el-spot-name a:hover { color: #bb8238; }
.el-spot-tag {
    font-family: "Playfair Display", Georgia, serif !important;
    font-style: italic !important;
    font-size: 21px !important;
    color: #22a1c4 !important;
    margin: 8px 0 0 !important;
}
.el-spot-price {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 34px !important;
    color: #bb8238 !important;
    margin: 18px 0 20px !important;
}
.el-spot-price del { color: #b4b2a9; font-size: .7em; margin-right: 8px; }
.el-spot-price ins { text-decoration: none; color: #bb8238; }
.el-spot-price .screen-reader-text { position: absolute; left: -9999px; }
.el-spot-cart .button,
.el-spot-cart a.button {
    display: inline-block;
    font-family: inherit;
    font-size: 11px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff !important;
    background: #bb8238 !important;
    border: 1px solid #bb8238 !important;
    border-radius: 0 !important;
    padding: 13px 30px !important;
    line-height: 1.2;
    transition: background .25s ease, border-color .25s ease;
    margin: 0;
}
.el-spot-cart .button:hover,
.el-spot-cart a.button:hover {
    background: #a06d2c !important;
    border-color: #a06d2c !important;
}
.el-spot-cart .added_to_cart { display: none; }

.el-shop-panel {
    margin-top: 18px;
    margin-bottom: 64px;
    padding: 30px 30px 38px;
}
.el-shop-panel-eyebrow {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #17809c;
    text-align: center;
    margin-bottom: 24px;
}

body.woocommerce-page ul.products.columns-3 {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 18px !important;
}
body.woocommerce-page ul.products.columns-3::before,
body.woocommerce-page ul.products.columns-3::after { content: none !important; }

body.woocommerce-page ul.products li.product.el-shop-card {
    list-style: none !important;
    float: none !important;
    width: 30% !important;
    max-width: 320px !important;
    margin: 0 !important;
    clear: none !important;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px 16px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.woocommerce-page ul.products li.product.el-shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(58,63,68,.12);
    border-color: #d8bd93;
}
.el-shop-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #c8e6f0;
    border-radius: 7px;
    overflow: hidden;
}
.el-shop-card-media img,
.el-shop-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.el-shop-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: #bb8238;
    padding: 4px 10px;
    border-radius: 3px;
}
body.woocommerce-page ul.products li.product .el-shop-card-title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 400 !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    color: #3a3f44 !important;
    margin: 10px 0 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.el-shop-card-title a { color: inherit; text-decoration: none; }
.el-shop-card:hover .el-shop-card-title a { color: #bb8238; }
body.woocommerce-page ul.products li.product .el-shop-card-tag {
    font-family: "Playfair Display", Georgia, serif !important;
    font-style: italic !important;
    font-size: 18px !important;
    color: #22a1c4 !important;
    margin: 7px 0 0 !important;
}
body.woocommerce-page ul.products li.product .el-shop-card-price {
    display: block;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 28px !important;
    color: #bb8238 !important;
    margin: 12px 0 0 !important;
    text-decoration: none !important;
}
.el-shop-card-price .screen-reader-text { position: absolute; left: -9999px; }
.el-shop-card-price del { color: #b4b2a9; font-size: .7em; margin-right: 6px; }
.el-shop-card-price ins { text-decoration: none; color: #bb8238; }

@media (max-width: 1024px) {
    .el-shop-title { font-size: 44px; }
    .el-spot { gap: 32px; }
    .el-spot-stage { width: 290px; }
    .el-spot-name { font-size: 32px !important; }
}

@media (max-width: 768px) {
    .el-shop-head { padding: 38px 0 4px; }
    .el-shop-title { font-size: 38px; }
    .el-shop-sub { font-size: 19px; }
    .el-spot-bubble { margin: 20px 10px 0; padding: 26px 18px; }
    .el-spot {
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }
    .el-spot-media { flex: none; width: 100%; }
    .el-spot-stage { width: 260px; }
    .el-spot-info { width: 100%; }
    .el-spot-name { font-size: 30px !important; }
    .el-spot-tag { font-size: 18px !important; }
    .el-spot-price { font-size: 28px !important; }
    .el-shop-panel { margin: 14px 10px 40px; padding: 24px 14px 28px; }
    body.woocommerce-page ul.products.columns-3 {
        gap: 12px !important;
    }
    body.woocommerce-page ul.products li.product.el-shop-card {
        width: 46% !important;
        max-width: none !important;
    }
    body.woocommerce-page ul.products li.product .el-shop-card-title { font-size: 18px !important; }
    body.woocommerce-page ul.products li.product .el-shop-card-tag { font-size: 14px !important; }
    body.woocommerce-page ul.products li.product .el-shop-card-price { font-size: 21px !important; }
}

@media (max-width: 460px) {
    body.woocommerce-page ul.products li.product.el-shop-card { width: 100% !important; max-width: none !important; }
    .el-spot-name { font-size: 28px !important; }
}

/* Beat parent's .container-fluid.prod-page padding rule (was forcing 0 27px). */
.woocommerce .container-fluid.prod-page ul.products li.product.el-shop-card,
body.woocommerce-page .container-fluid.prod-page ul.products li.product.el-shop-card {
    padding: 16px 16px 22px !important;
}

/* Match the gold hairline frame on the collection bubble too. */
.el-shop-panel { border: 1px solid #d8bd93; }

/* Beat parent .page-template-default h1 { margin-top:-25px } below 991px
   (was pulling "The Collection" up into the eyebrow). Scoped to our title only. */
@media (max-width: 991px) {
    body.page-template-default .el-shop-title,
    body.woocommerce-page .el-shop-title {
        margin-top: 14px !important;
    }
}

/* Desktop: wider blue + more space between tiles, tiles stay same size.
   Desktop-only (min-width:1025). Delete this block to revert. */
@media (min-width: 1025px) {
    .el-spot-bubble,
    .el-shop-panel { max-width: 1340px; }
    body.woocommerce-page ul.products li.product.el-shop-card {
        width: 305px !important;
        flex: 0 0 305px !important;
    }
    body.woocommerce-page ul.products.columns-3 {
        gap: 48px 96px !important;
    }
}

/* Desktop-only: reserve two lines of title height so one-line and two-line
   titles align taglines + prices across the row. Mobile untouched. */
@media (min-width: 1025px) {
    body.woocommerce-page ul.products li.product .el-shop-card-title {
        min-height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
