/*
Theme Name: Juba Shop
Theme URI: https://shop.jubaopen.fun
Author: JubaOpen
Description: STARFILL-inspired storefront theme for WooCommerce.
Version: 0.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: juba-shop
*/

html,
body {
    margin: 0;
    padding: 0;
}

.juba-language-dialog {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 38, 34, .58);
}
.juba-language-panel { width: min(560px, 100%); max-height: 80vh; overflow: auto; padding: 24px; border-radius: 16px; background: #fff; color: #003b35; box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.juba-language-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.juba-language-head h2 { margin: 0; font-size: 24px; }
.juba-language-close { border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.juba-language-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.juba-language-grid a { padding: 13px 15px; border: 1px solid #d7e0de; border-radius: 10px; color: #003b35; text-decoration: none; font-weight: 600; }
.juba-language-grid a:hover, .juba-language-grid a[aria-current="true"] { border-color: #003b35; background: #edf3f1; }
html[dir="rtl"] body { direction: rtl; }

body.admin-bar .juba-template-shell {
    padding-top: 32px;
}

/* Current Bitrefill-inspired homepage hero, scoped so catalog pages retain
   their source-template presentation. */
.home ._image_d6dme_17 {
    min-height: 420px;
    overflow: hidden;
    background: var(--background-primary, #fff);
}

.home ._image_d6dme_17 > img {
    visibility: hidden;
}

.home ._image_d6dme_17 ._content_d6dme_55 {
    inset: 0;
    width: auto;
    padding: 38px 32px;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.home ._image_d6dme_17 ._label_d6dme_83,
.home ._image_d6dme_17 ._label_d6dme_83 + span {
    display: none !important;
}

.home ._image_d6dme_17 ._title_d6dme_93 {
    max-width: 570px;
    margin: 3px 0 18px;
    color: #003b35;
    font-size: clamp(36px, 4.1vw, 64px);
    line-height: .9;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.juba-sales-count {
    display: inline-block;
    padding: 0 6px;
    background: #f4ef00;
    color: #003b35;
    font-size: clamp(34px, 4vw, 62px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.04em;
}

.juba-crypto-dots {
    display: flex;
    gap: 7px;
    margin-bottom: 25px;
}

.juba-crypto-dots i {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #f7931a;
}
.juba-crypto-dots i:nth-child(2) { background: #627eea; }
.juba-crypto-dots i:nth-child(3) { background: #2775ca; }
.juba-crypto-dots i:nth-child(4) { background: #8247e5; }
.juba-crypto-dots i:nth-child(5) { background: #26a17b; }
.juba-crypto-dots i:nth-child(6) { background: #00aae4; }

.juba-hero-stats {
    display: flex;
    gap: 42px;
    margin-bottom: 27px;
    color: #355c57;
    font-size: 13px;
    line-height: 1.25;
}

.juba-hero-stats strong {
    display: block;
    color: #003b35;
    font-size: 25px;
    line-height: 1;
}

.juba-browse-button {
    pointer-events: none;
}

@media (max-width: 767px) {
    .home ._image_d6dme_17 { min-height: 340px; }
    .home ._image_d6dme_17 ._content_d6dme_55 { padding: 25px 20px; }
    .home ._image_d6dme_17 ._title_d6dme_93 { font-size: 37px; }
    .juba-sales-count { font-size: 35px; }
    .juba-hero-stats { gap: 25px; }
}

@media screen and (max-width: 782px) {
    body.admin-bar .juba-template-shell {
        padding-top: 46px;
    }
}
