@font-face {
    font-family: "OpenSans-Light";
    src: url('../fonts/OpenSans-Light.ttf');
}

@font-face {
    font-family: "OpenSans-Regular";
    src: url('../fonts/OpenSans-Regular.ttf');
}

@font-face {
    font-family: "Oswald-Regular";
    src: url('../fonts/Oswald-Regular.ttf');
}

body.rr-store-body {
    margin: 0;
    color: #f4f0e7;
    font-family: "Golos Text", sans-serif;
    background:
        radial-gradient(circle at top center, rgba(216, 186, 116, 0.08), transparent 32%),
        linear-gradient(180deg, #0b0c10 0%, #11141a 55%, #0d0f13 100%);
}

.rr-store-body a {
    color: inherit;
}

.rr-store-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 12px auto 32px;
}

.rr-store-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding-top: 8px;
}

.rr-topbar,
.rr-subbar,
.rr-panel,
.rr-hero,
.rr-footer,
.rr-store-card,
.rr-store-item,
.rr-store-sidebar-card {
    border: 1px solid rgba(208, 176, 104, 0.18);
    background: rgba(18, 20, 26, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
}

.rr-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    border-radius: 22px 22px 12px 12px;
}

.rr-subbar {
    margin-top: 8px;
    border-radius: 12px 12px 18px 18px;
    padding: 10px 16px;
    color: #9ea7b8;
    font-size: 0.92rem;
    text-align: center;
}

.rr-nav {
    display: flex;
    gap: 10px;
}

.rr-nav-left {
    justify-self: start;
}

.rr-nav-right {
    justify-self: end;
}

.rr-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(208, 176, 104, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.1));
    text-decoration: none;
    transition: 0.18s ease;
}

.rr-nav a:hover,
.rr-nav a.active {
    color: #161719;
    background: linear-gradient(180deg, #eed9a3 0%, #c89f56 100%);
    border-color: rgba(255, 220, 146, 0.55);
}

.rr-brand {
    display: inline-flex;
    align-items: center;
    justify-self: center;
    text-decoration: none;
}

.rr-brand img {
    width: 140px;
    height: auto;
    display: block;
}

.rr-hero {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rr-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rr-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 10, 12, 0.24) 0%, rgba(12, 10, 12, 0.46) 52%, rgba(12, 10, 12, 0.68) 100%);
}

.rr-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 40px 28px;
}

.rr-hero-copy h1,
.rr-panel h2,
.rr-panel h3,
.rr-store-title {
    font-family: "Cinzel", serif;
}

.rr-hero-copy h1 {
    color: #f2bb4b;
    text-shadow: 0 2px 0 rgba(54, 14, 0, 0.9), 0 0 18px rgba(255, 95, 31, 0.24);
    font-size: clamp(62px, 10vw, 116px);
    line-height: 0.92;
    margin: 0 0 22px;
}

.rr-hero-copy p,
.rr-panel p,
.rr-panel li {
    color: #f3f4f7;
    font-size: 18px;
    line-height: 1.65;
}

.rr-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.rr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 66px;
    padding: 0 28px;
    font-family: "Golos Text", sans-serif;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 0.02em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.rr-button.primary {
    background: linear-gradient(180deg, #ff2a2a 0%, #b10e0e 100%);
}

.rr-button.secondary {
    background: linear-gradient(180deg, #6e6d79 0%, #45434d 100%);
}

.rr-content {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.rr-panel {
    border-radius: 22px;
    padding: 24px;
}

.rr-panel h2,
.rr-panel h3 {
    color: #ff9f1c;
    margin: 0 0 14px;
}

.rr-panel ul {
    margin: 0;
    padding-left: 22px;
}

.rr-alert {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 90, 90, 0.3);
    background: rgba(110, 15, 15, 0.18);
    color: #ffd3d3;
    font-weight: 600;
}

.rr-store-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.rr-store-sidebar,
.rr-store-products {
    display: grid;
    gap: 18px;
}

.rr-store-sidebar-card,
.rr-store-card {
    border-radius: 20px;
    padding: 18px;
}

.rr-store-sidebar-card h4,
.rr-store-card h3,
.rr-store-card h4 {
    margin: 0 0 14px;
    color: #d8ba74;
    font-family: "Cinzel", serif;
}

.rr-store-sidebar-card label {
    display: block;
    margin-bottom: 8px;
    color: #d8ba74;
    font-weight: 600;
}

.rr-store-sidebar-card input,
.rr-store-sidebar-card button,
.rr-store-sidebar-card select {
    width: 100%;
}

.rr-input,
.rr-qty-input {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(208, 176, 104, 0.18);
    background: rgba(13, 15, 19, 0.92);
    color: #f4f0e7;
}

.rr-store-sidebar-card .btn,
.rr-add-btn {
    min-height: 44px;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(180deg, #ff2a2a 0%, #b10e0e 100%);
    color: #fff;
    font-weight: 700;
}

.rr-secondary-link {
    color: #9ea7b8;
    text-decoration: none;
}

.rr-category-list,
.rr-cart-list {
    display: grid;
    gap: 10px;
}

.rr-category-link,
.rr-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(208, 176, 104, 0.12);
    background: rgba(13, 15, 19, 0.76);
    color: #f4f0e7;
    text-decoration: none;
}

.rr-category-link .badge {
    background: rgba(216, 186, 116, 0.18);
    color: #eed9a3;
    border-radius: 999px;
    padding: 4px 10px;
}

.rr-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rr-store-item {
    border-radius: 22px;
    padding: 18px;
    display: grid;
    gap: 14px;
}

.rr-store-item-image {
    display: grid;
    place-items: center;
    min-height: 122px;
    border-radius: 18px;
    background: rgba(13, 15, 19, 0.82);
    border: 1px solid rgba(208, 176, 104, 0.12);
    padding: 14px;
}

.rr-store-item-image img {
    max-width: 96px;
    max-height: 96px;
    width: auto;
    height: auto;
}

.rr-store-title {
    font-size: 1.05rem;
    color: #f4f0e7;
}

.rr-price {
    font-size: 1.15rem;
    color: #ffb85b;
    font-weight: 700;
}

.rr-price strike {
    color: #9ea7b8;
    margin-left: 8px;
}

.rr-store-item form {
    display: grid;
    gap: 10px;
}

.rr-qty-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.rr-empty {
    color: #9ea7b8;
}

.rr-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 20px;
}

.rr-footer p {
    margin-top: 6px;
    color: #9ea7b8;
}

@media (max-width: 980px) {
    .rr-topbar,
    .rr-store-layout,
    .rr-products-grid {
        grid-template-columns: 1fr;
    }

    .rr-topbar {
        justify-items: center;
    }

    .rr-nav-left,
    .rr-nav-right {
        justify-self: center;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .rr-store-shell {
        width: min(100% - 16px, 1180px);
    }

    .rr-hero-copy h1 {
        font-size: clamp(46px, 12vw, 72px);
    }

    .rr-button {
        min-width: 100%;
        font-size: 24px;
    }

    .rr-qty-row {
        grid-template-columns: 1fr;
    }
}
