/* Шрифты */
@font-face {
    font-family: 'GT Eesti Pro Display';
    src: url('/fonts/GTEestiProDisplay-Light.woff2') format('woff2'),
         url('/fonts/GTEestiProDisplay-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Eesti Pro Display';
    src: url('/fonts/GTEestiProDisplay-Regular.woff2') format('woff2'),
         url('/fonts/GTEestiProDisplay-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Eesti Pro Display';
    src: url('/fonts/GTEestiProDisplay-Medium.woff2') format('woff2'),
         url('/fonts/GTEestiProDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Eesti Pro Display';
    src: url('/fonts/GTEestiProDisplay-Bold.woff2') format('woff2'),
         url('/fonts/GTEestiProDisplay-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'GT Eesti Pro Display', -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #001a34;
    background: #f5f7fa;
}

.fs-7 {
    font-size: 14px
}

.fs-8 {
    font-size: 12px
}

.p-2_5 {
    padding: 0.75rem;
}

.p-3_5 {
    padding: 1.25rem;
}

/* Main content */
.main {
    min-height: calc(100vh - 140px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.separator {
    width: 100%;
    height: 12px;
}

.oz-section {
    border-radius: 32px;
    padding: 24px;
    box-sizing: border-box;
}

/*.nav-link {*/
/*    color: #333 !important;*/
/*    transition: color 0.3s;*/
/*}*/

/*.nav-link:hover {*/
/*    color: #e44d26 !important;*/
/*}*/

/*.user-info {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 1rem;*/
/*}*/

/*.balance-info {*/
/*    background: #f8f9fa;*/
/*    padding: 0.5rem 1rem;*/
/*    border-radius: 4px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 0.5rem;*/
/*}*/

/*.balance-amount {*/
/*    color: #28a745;*/
/*    font-weight: bold;*/
/*}*/

/*.cashback-info {*/
/*    color: #e44d26;*/
/*    font-weight: bold;*/
/*}*/

/*.main-content {*/
/*    padding: 2rem 0;*/
/*}*/

/*Navbar*/
.oz-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.oz-navbar > .container {
    height: 64px;
    padding: 8px 24px;
    border-radius: 0 0 32px 32px;
    background: #ffffff;
}

/*.navbar {*/
/*    background-color: #fff;*/
/*    box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
/*}*/

.oz-navbar-brand {
    width: 140px;
    height: 44px;
    margin-right: 16px;
}

.oz-navbar-brand img {
    display: block;
    width: 100%;
}

.oz-navbar-item {
    position: relative;
    width: 76px;
    height: 44px;
    cursor: pointer;
    color: rgba(0, 26, 52, 0.4);
}

.oz-navbar-item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.oz-navbar-item:hover {
    color: #005bff;
}

.oz-navbar-item-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 14px;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e44d26;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-item {
    position: relative;
}

.nav-link:hover {
    color: #e44d26;
}

/* Carousel */
#carousel .carousel-inner {
    border-radius: 32px;
}

#carousel .carousel-inner,
#carousel .carousel-item {
    min-height: 300px;
    height: 300px;
}

#carousel .carousel-item img,
#carousel .carousel-item picture {
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    #carousel .carousel-inner {
        border-radius: 16px;
    }

    #carousel .carousel-inner,
    #carousel .carousel-item {
        min-height: 150px;
        height: 150px;
    }
}

/*Card*/
.oz-card {
    overflow: hidden;
}

.oz-card-poster {
    height: 200px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.oz-card-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oz-card-poster > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.oz-card-like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #000;
    background-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.oz-card-body {
    padding-top: 8px;
    box-sizing: border-box;
}

.oz-card-body > *:not(:last-child) {
    margin-bottom: 4px;
}

.oz-card-price {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #10c44c;
}

.oz-card-title {
    max-width: 100%;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-decoration: none;
    color: #070707;
    cursor: pointer;
}

.oz-card-title:hover {
    color: #005bff;
}

.oz-card-rating,
.oz-card-comments {
    margin-right: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}

.oz-card-rating {
    color: #070707;
}

.oz-card-comments {
    color: rgba(0, 26, 52, 0.4);
}

.oz-card-rating > svg,
.oz-card-comments > svg {
    margin-right: 2px;
}

/* Footer */
.footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    text-align: center;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #e44d26;
    color: white;
}

.btn-primary:hover {
    background-color: #c73e1d;
}

.btn-outline {
    border: 2px solid #e44d26;
    color: #e44d26;
}

.btn-outline:hover {
    background-color: #e44d26;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.oz-box-shadow-1 {
    box-shadow: 0px 20px 12px -16px rgba(0, 30, 85, 0.1), 0px 8px 24px 18px rgba(0, 30, 85, 0.05);
}

.oz-support-banner {
    background: #ffffff;
}

.oz-support-banner-description {
    color: #001A34;
    opacity: 0.6;
}

.oz-support-banner-description a {
    color: #005BFF;
}

.ozon-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ozon-auth-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 26, 52, 0.08);
    padding: 40px 32px 32px 32px;
    width: 100%;
    max-width: 400px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.ozon-auth-logo {
    font-size: 2rem;
    font-weight: 700;
    color: #005BFF;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ozon-auth-logo span {
    color: #001a34;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 0;
}

.ozon-auth-title {
    color: #001a34;
}

.ozon-auth-desc {
    color: #001a34;
}

.ozon-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ozon-auth-input {
    width: 100%;
    padding: 16px 14px;
    border: 2px solid #cfd8e3;
    border-radius: 8px;
    color: #001a34;
    background: #f9fafb;
    transition: border 0.2s;
}

.ozon-auth-input:focus {
    border-color: #005bff;
    outline: none;
    background: #fff;
}

.ozon-auth-error {
    color: #dc3545;
    font-size: 0.98rem;
    margin-bottom: 8px;
    margin-top: -10px;
}

.ozon-auth-btn {
    width: 100%;
    padding: 16px 0;
    background: #2563f6;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.ozon-auth-btn:hover {
    background: #005bff;
}

.ozon-auth-switch {
    margin-top: 32px;
    text-align: center;
    color: #001a34;
    font-size: 1.05rem;
}

.ozon-auth-switch a {
    color: #2563f6;
    text-decoration: none;
    margin-left: 6px;
}

.ozon-auth-switch a:hover {
    text-decoration: underline;
}
