:root {
    --baramex-ink: #26232b;
    --baramex-muted: #6f6b76;
    --baramex-purple: #403b8d;
    --baramex-purple-light: #efedff;
    --baramex-orange: #f58220;
    --baramex-paper: #fbf8f3;
    --baramex-border: #e9e5df;
}

.store-header {
    background: #fff;
    border-bottom: 1px solid var(--baramex-border);
    box-shadow: 0 5px 24px rgb(38 35 43 / 5%);
}

.technical-ribbon {
    background: var(--baramex-ink);
    color: #f5f2ee;
    text-align: center;
    font-size: 12px;
    padding: 8px 16px;
}

.technical-ribbon span {
    color: #ffad54;
    font-weight: 800;
    margin-left: 8px;
}

.main-bar-inner {
    min-height: 94px;
    gap: 24px;
}

.store-brand {
    gap: 12px;
    flex: 0 0 auto;
}

.store-brand img {
    display: block;
    width: clamp(145px, 17vw, 220px);
    height: auto;
    object-fit: contain;
}

.store-brand .site_title {
    display: none;
}

.header-actions {
    gap: 10px;
}

.baramex-home {
    padding-bottom: 56px;
    color: var(--baramex-ink);
    background: linear-gradient(180deg, #fff 0, var(--baramex-paper) 510px, #fff 900px);
}

.baramex-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: 24px;
    min-height: 350px;
    margin-top: 20px;
    padding: clamp(24px, 4vw, 48px);
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    background: radial-gradient(circle at 88% 15%, rgb(245 130 32 / 23%), transparent 32%), linear-gradient(120deg, #27242e 0%, #35316f 70%, #403b8d 100%);
    box-shadow: 0 22px 54px rgb(43 38 88 / 18%);
}

.baramex-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.baramex-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--baramex-orange);
    font-size: 13px;
    font-weight: 800;
}

.baramex-eyebrow .mud-icon-root {
    font-size: 19px;
}

.baramex-hero h1 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1.55;
}

.baramex-hero h1 strong {
    color: #ffad54;
    font-weight: 900;
}

.baramex-hero-copy > p {
    max-width: 580px;
    margin: 0;
    color: rgb(255 255 255 / 80%);
    font-size: 16px;
    line-height: 1.9;
}

.baramex-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.baramex-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

.baramex-button:hover,
.baramex-service-band > a:hover {
    transform: translateY(-2px);
}

.baramex-button-primary {
    color: #241d15;
    background: var(--baramex-orange);
}

.baramex-button-primary:hover {
    color: #241d15;
    background: #ffa34c;
}

.baramex-button-quiet {
    border: 1px solid rgb(255 255 255 / 25%);
    color: #fff;
    background: rgb(255 255 255 / 7%);
}

.baramex-button-quiet:hover {
    color: #fff;
    background: rgb(255 255 255 / 14%);
}

.baramex-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: rgb(255 255 255 / 79%);
    font-size: 12px;
}

.baramex-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.baramex-hero-trust .mud-icon-root {
    color: #ffad54;
    font-size: 17px;
}

.baramex-hero-art {
    position: relative;
    min-height: 240px;
}

.baramex-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.baramex-orbit-one {
    width: 290px;
    height: 290px;
}

.baramex-orbit-two {
    width: 220px;
    height: 220px;
}

.baramex-box {
    position: absolute;
    top: 50%;
    left: 48%;
    width: 156px;
    height: 132px;
    border: 3px solid #d58b44;
    border-radius: 10px;
    background: linear-gradient(145deg, #e6b477, #c88748);
    box-shadow: 0 23px 45px rgb(0 0 0 / 24%);
    transform: translate(-50%, -50%) rotate(-8deg);
}

.baramex-box::before {
    position: absolute;
    top: -3px;
    left: 44%;
    width: 20px;
    height: 100%;
    background: #f5d09d;
    content: "";
}

.baramex-box::after {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 23px;
    border: 3px solid #d58b44;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #edc28e;
    content: "";
}

.baramex-box span,
.baramex-box i {
    position: absolute;
    z-index: 1;
    top: -29px;
    left: 45%;
    width: 24px;
    height: 28px;
    border: 3px solid #f5d09d;
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
}

.baramex-box i {
    left: 36%;
    transform: rotate(-35deg);
}

.baramex-envelope {
    position: absolute;
    right: 4%;
    bottom: 25px;
    width: 125px;
    height: 82px;
    border: 1px solid rgb(255 255 255 / 50%);
    border-radius: 8px;
    background: linear-gradient(145deg, #fff, #d9d5ed);
    box-shadow: 0 16px 30px rgb(0 0 0 / 18%);
    transform: rotate(10deg);
}

.baramex-envelope::after {
    position: absolute;
    inset: 0;
    border-bottom: 1px solid #aaa5ce;
    background: linear-gradient(35deg, transparent 49%, #aaa5ce 50%, transparent 51%), linear-gradient(-35deg, transparent 49%, #aaa5ce 50%, transparent 51%);
    content: "";
}

.baramex-art-label {
    position: absolute;
    bottom: 5px;
    left: 8%;
    padding: 9px 14px;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 999px;
    color: #fff;
    background: rgb(255 255 255 / 9%);
    font-size: 11px;
}

.baramex-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.baramex-categories > a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 17px 16px;
    border: 1px solid var(--baramex-border);
    border-radius: 16px;
    color: var(--baramex-ink);
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 22px rgb(38 35 43 / 4%);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.baramex-categories > a:hover {
    border-color: rgb(64 59 141 / 35%);
    color: var(--baramex-purple);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgb(38 35 43 / 9%);
}

.baramex-categories > a.is-selected {
    border-color: var(--baramex-purple);
    background: #f9f8ff;
    box-shadow: 0 0 0 2px rgb(64 59 141 / 10%);
}

.baramex-categories > a.baramex-category-all {
    border-color: var(--baramex-purple);
    color: #fff;
    background: var(--baramex-purple);
}

.baramex-categories > a.baramex-category-all .baramex-category-icon {
    color: var(--baramex-purple);
    background: #fff;
}

.baramex-categories > a.baramex-category-all:hover {
    border-color: #514bb0;
    color: #fff;
    background: #514bb0;
}

.baramex-categories-empty {
    grid-column: 1/-1;
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--baramex-border);
    border-radius: 14px;
    color: var(--baramex-muted);
    background: #fff;
    text-align: center;
    font-size: 12px;
}

.baramex-category-icon {
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 13px;
    color: var(--baramex-purple);
    background: var(--baramex-purple-light);
}

.baramex-category-icon .mud-icon-root {
    font-size: 22px;
}

.baramex-categories b,
.baramex-categories small {
    display: block;
}

.baramex-categories b {
    font-size: 13px;
}

.baramex-categories small {
    margin-top: 4px;
    color: var(--baramex-muted);
    font-size: 10px;
    line-height: 1.8;
}

.baramex-category-arrow {
    margin-right: auto;
    color: var(--baramex-orange);
    font-size: 19px;
}

.baramex-catalog {
    padding-top: 64px;
    scroll-margin-top: 22px;
}

.baramex-catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.baramex-catalog-heading h2 {
    margin: 7px 0 5px;
    color: var(--baramex-ink);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 900;
}

.baramex-catalog-heading p {
    margin: 0;
    color: var(--baramex-muted);
    font-size: 13px;
}

.baramex-clear-category {
    display: inline-block;
    margin-top: 9px;
    color: var(--baramex-purple);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.baramex-size-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.baramex-size-tags span {
    padding: 7px 11px;
    border: 1px solid #e6e2f5;
    border-radius: 999px;
    color: var(--baramex-purple);
    background: #f7f6ff;
    direction: ltr;
    font-size: 11px;
    font-weight: 800;
}

.baramex-catalog .product-card {
    border-color: var(--baramex-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgb(38 35 43 / 6%);
}

.baramex-catalog .product-image-wrap {
    position: relative;
    overflow: hidden;
    background: var(--baramex-paper);
}

.baramex-catalog .product-card-image {
    transition: transform .25s ease;
}

.baramex-catalog .product-card:hover .product-card-image {
    transform: scale(1.035);
}

.baramex-catalog .product-title a {
    color: var(--baramex-ink);
}

.baramex-catalog .product-price span {
    color: var(--baramex-purple);
}

.baramex-service-band {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-top: 62px;
    padding: 27px 30px;
    border: 1px solid #e6e2f5;
    border-radius: 21px;
    background: linear-gradient(110deg, #f7f6ff, #fff8f0);
}

.baramex-service-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    color: var(--baramex-purple);
    background: #fff;
    box-shadow: 0 8px 22px rgb(64 59 141 / 10%);
}

.baramex-service-icon .mud-icon-root {
    font-size: 30px;
}

.baramex-service-band h2 {
    margin: 5px 0;
    color: var(--baramex-ink);
    font-size: 17px;
    font-weight: 900;
}

.baramex-service-band p {
    margin: 0;
    color: var(--baramex-muted);
    font-size: 12px;
    line-height: 1.9;
}

.baramex-service-band > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 11px;
    color: #fff;
    background: var(--baramex-purple);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s ease;
}

.store-footer {
    border-top: 4px solid var(--baramex-orange);
    background: #29262f;
}

.footer-brand {
    gap: 9px;
    color: #fff !important;
}

.footer-brand img {
    width: 145px;
    height: auto;
    padding: 5px;
    border-radius: 7px;
    background: #fff;
}

.store-footer h2 {
    color: #ffad54;
}

.store-footer p,
.store-footer section > a:not(.footer-brand) {
    color: rgb(255 255 255 / 77%);
}

.store-footer .trust-seals a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgb(255 255 255 / 77%);
    text-decoration: none;
}

.store-footer .copyright {
    border-top-color: rgb(255 255 255 / 14%);
    color: rgb(255 255 255 / 62%);
}

@media (max-width: 900px) {
    .baramex-hero {
        grid-template-columns: minmax(0, 1fr) minmax(230px, .65fr);
        min-height: 320px;
        padding: 28px;
    }

    .baramex-hero-art {
        min-height: 210px;
        transform: scale(.75);
    }

    .baramex-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .technical-ribbon {
        font-size: 10px;
    }

    .main-bar-inner {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .store-brand img {
        width: 145px;
    }

    .header-actions {
        margin-right: auto;
    }

    .baramex-hero {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: 0;
        margin-top: 15px;
        padding: 22px 18px 14px;
        border-radius: 23px;
    }

    .baramex-hero h1 {
        font-size: 27px;
        line-height: 1.45;
    }

    .baramex-hero-copy > p {
        font-size: 12px;
        line-height: 1.8;
    }

    .baramex-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 14px;
    }

    .baramex-button {
        min-height: 45px;
        font-size: 12px;
    }

    .baramex-hero-trust {
        gap: 8px 14px;
        margin-top: 12px;
        font-size: 10px;
    }

    .baramex-hero-art {
        min-height: 125px;
        margin-top: -6px;
        transform: scale(.68);
        transform-origin: center top;
    }

    .baramex-categories {
        gap: 9px;
        margin-top: 12px;
    }

    .baramex-categories > a {
        gap: 8px;
        padding: 12px 10px;
        border-radius: 13px;
    }

    .baramex-category-icon {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
        border-radius: 11px;
    }

    .baramex-categories b {
        font-size: 11px;
    }

    .baramex-categories small {
        font-size: 9px;
    }

    .baramex-category-arrow {
        display: none;
    }

    .baramex-catalog {
        padding-top: 43px;
    }

    .baramex-catalog-heading {
        display: block;
    }

    .baramex-catalog-heading p {
        font-size: 11px;
    }

    .baramex-size-tags {
        margin-top: 13px;
    }

    .baramex-service-band {
        grid-template-columns: auto 1fr;
        gap: 13px;
        margin-top: 38px;
        padding: 19px 16px;
    }

    .baramex-service-icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
    }

    .baramex-service-band h2 {
        font-size: 14px;
    }

    .baramex-service-band p {
        font-size: 10px;
    }

    .baramex-service-band > a {
        grid-column: 1/-1;
    }

    .footer-brand img {
        width: 120px;
    }
}
