.text-size-14 { font-size: 14px!important; }
.text-size-16 { font-size: 16px!important; }
.text-size-18 { font-size: 18px!important; }
.text-size-20 { font-size: 20px!important; }
.text-size-22 { font-size: 22px!important; }
.text-size-28 { font-size: 28px!important; }
.text-size-30 { font-size: 30px!important; }

.text-color-theme {
    color: var(--theme);
}

.bg-digital {
    background-color: #633dc0;
}

.header-1 .header-main .header-right {
    gap: 25px;
}

.btn-header {
    border-radius: 100px;
    background: var(--theme);
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: var(--white);
    font-size: 0.77rem;
}

.btn-header.guest {
    border-radius: 100px;
    border: var(--theme) 1px solid;
    background: var(--white);
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: var(--theme);
}

.shop-default-wrapper .main-sidebar .single-sidebar-widget .wid-title h6 {
    position: relative;
    padding-bottom: 10px;
    border-image-slice: 2;
    display: inline-block;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    text-transform: capitalize;
}

.shop-default-wrapper .main-sidebar .single-sidebar-widget .wid-title h6::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 2px;
    width: 83px;
    background: linear-gradient(90deg, var(--theme) 4.85%, rgba(1, 46, 74, 0) 96.39%);
}

.shop-default-wrapper .main-sidebar .single-sidebar-widget .wid-title.h6 {
    margin-bottom: 17px;
}

.shop-default-wrapper .main-sidebar .single-sidebar-widget .range__barcustom .price-input .field-price {
    font-size: 18px;
}

.shop-default-wrapper .main-sidebar .single-sidebar-widget .range__barcustom .field-price input {
    height: 100%;
    outline: none;
    background: transparent;
    border: unset;
    font-size: 16px;
    font-weight: 500;
    color: var(--header);
    padding: 0;
    width: 50px;
    text-align: right;
}

.shop-default-wrapper .main-sidebar .single-sidebar-widget .range__barcustom .price-input .field-price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--header);
}

.shop-box-items .shop-content .price-list li.price {
    font-size: 20px;
    color: var(--theme);
}

.shop-box-items .shop-content .price-list li.price del {
    font-weight: 500;
    color: rgba(92, 112, 126, 0.8);
}

.shop-box-items .book-thumb .post-box li {
    font-size: 0.8rem;
}

.shop-box-items .book-thumb .post-box li.digital, .shop-details-image .product-badge.digital {
    background-color: #633dc0;
}

.shop-box-items .book-thumb .post-box li.sale {
    background-color: #d51c4b;
}

.shop-box-items .book-thumb .post-box li.sold {
    background-color: #60636c;
}

.shop-box-items .book-thumb .post-box li.featured {
    background-color: #608a2c;
}

.section-padding-product {
    padding: 50px 0;
}
@media (max-width: 1199px) {
    .section-padding-product {
        padding: 40px 0;
    }
}
@media (max-width: 991px) {
    .section-padding-product {
        padding: 30px 0;
    }
}

.shop-details-wrapper .shop-details-content .price-list h3 del {
    font-size: 24px;
    color: #9e9e9e;
    font-weight: 300;
}

.shop-details-image .product-badge {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1rem;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-input {
    -moz-appearance: textfield;
}

.nav-pills .nav-link.customer-menu:hover {
    color: var(--bs-nav-pills-link-active-color)!important;
    background-color: var(--theme);
}

.post-content .subtitle {
    color: var(--text);
    text-transform: none;
    font-weight: 500;
}

.main-sidebar .single-sidebar-widget .recent-post-area .recent-items .recent-content ul li {
    font-size: 0.8em;
}

.breadcrumb-wrapper.bg-cover.section-padding {
    padding: 64px 0;
}

.footer-section {
    margin-top: 50px;
    /*border-top: 1px solid var(--border);*/
    background-color: var(--bg);
}

.gallery-cart-items {
    margin-top: 30px;
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(92, 112, 126, 0.2);
}

.gallery-cart-items .gallery-image {
    position: relative;
    overflow: hidden;
}
.gallery-cart-items .gallery-image .post-box {
    position: absolute;
    top: 40px;
    left: 40px;
    background-color: var(--theme);
    color: var(--white);
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1;
    z-index: 9;
}
.gallery-cart-items .gallery-image img {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    object-fit: cover;
    /*-webkit-transition: all 500ms ease;
    transition: all 500ms ease;*/
    padding: 20px 20px 0 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.gallery-cart-items .news-content {
    padding: 25px 30px;
}
.gallery-cart-items .news-content ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 10px;
}
.gallery-cart-items .news-content ul li {
    font-size: 14px;
    font-weight: 500;
}
.gallery-cart-items .news-content ul li i {
    color: var(--theme);
    margin-right: 8px;
}
.gallery-cart-items .news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.gallery-cart-items .news-content h3 a:hover {
    color: var(--theme);
}
.gallery-cart-items .news-content .theme-btn-2 {
    color: var(--text);
    font-weight: 600;
}
.gallery-cart-items .news-content .theme-btn-2:hover {
    color: var(--theme);
}
.gallery-cart-items.style-2 {
    border: none;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.06);
}
.gallery-cart-items:hover .gallery-image img {
    filter: grayscale(0%);
}

.header-top-wrapper .contact-list {
    gap: 10px;
}
.header-top-wrapper .contact-list li i {
    color: var(--theme);
    margin-right: 0;
}
.header-top-wrapper .contact-list li:not(:last-child) {
    padding-right: 10px;
}

.top-ratting-book-wrapper.books-page {
    background-color: var(--white);
    padding: 0;
    border-radius: 0;
}

.top-ratting-book-wrapper .top-ratting-box-items .book-thumb {
    max-width: 225px;
}
.top-ratting-book-wrapper .top-ratting-box-items {
    align-items: flex-start;
}

.fotorama__caption {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

.list-group-item.active {
    background-color: var(--theme);
    border-color: var(--theme);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 768px) {
    .grid-cols-md-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .grid-cols-lg-3 { grid-template-columns: repeat(3, 1fr); }
}


.grid-layout {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1410px) {
    .grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

.header-main .main-menu ul li .submenu {
    min-width: 280px;
}


#HomeSlider {
    width: 100%;
    height: 700px;
    margin-top: 10px;
}

#HomeSlider .swiper-slide {

}

#HomeSlider .swiper-slide .slider-content {
    display: flex;
    flex-direction: column; /* stack items vertically */
    /*align-items: center;     horizontal alignment */
    justify-content: center; /* vertical alignment */
    height: 100%;
    padding: 0 90px;
}

#HomeSlider .swiper-slide .slider-content .slide-title {
    font-size: 65px;
    font-weight: 700;
    line-height: 70px;
    color: #135292;
}

#HomeSlider .swiper-slide .slider-content .slide-text {
    font-size: 21px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px 14px;
    border-radius: 9px;
    color: #595960;
}



#HomeSlider .swiper-slide .slider-image {
    height: 100%;
}

#HomeSlider .swiper-slide .slider-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Styles for 960px to 1200px */
@media (min-width: 768px) and (max-width: 1200px) {
    #HomeSlider {
        height: 480px;
    }
    #HomeSlider .swiper-slide .slider-content {
        background-image: none !important;
    }
}

/* 3. Styles for less than 960px */
@media (max-width: 767px) {
    #HomeSlider {
        height: 320px;
    }
    #HomeSlider .swiper-slide .slider-image {
        display: none;
    }
    #HomeSlider .swiper-slide .slider-content .slide-title {
        font-size: 36px;
        line-height: 45px;
    }

    #HomeSlider .swiper-slide .slider-content .slide-text {
        font-size: 17px;
    }

    #HomeSlider .swiper-slide .slider-content .slide-link {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    #HomeSlider .swiper-slide .slider-content {
        background-image: none !important;
    }
}

.fotorama__nav-wrap {
    margin-top: 20px;
}


/* Custom select for languages */
.custom-select {
    position: relative;
    width: 220px;
    font-family: sans-serif;
}

.selected {
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    position: relative;
}

/* стрелка */
.selected::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

/* список */
.options {
    display: none;
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    border-top: none;
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
}

.options li a {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: #000;
}

.options li a:hover,
.options li.active a {
    background: #f0f0f0;
}

/* открыто */
.custom-select.active .options {
    display: block;
}

/* фокус */
.selected:focus {
    outline: 2px solid #4a90e2;
}


.about-section p {
    margin-top: 1rem !important;
}

.bibl-block img {
    max-width: 100%;
    height: auto;
}
.bibl-block {
    margin-bottom: 3rem;
}

.description {
    font-size: 0.9rem;
    margin-top: 5px;
}

.place-order-btn {
    line-height: 2;
    width: 100%;
    font-size: 1.2rem;
}

.checkout-items-item p {
    font-size: 15px!important;
    font-weight: 500!important;
    margin: 5px 0!important;
}

.checkout-order-area h3 {
    margin-bottom: 40px;
}

.order-status .status {
    padding: 3px 6px;
    border-radius: 5px;
}

.status.pending {
    background-color: #ffecf2;
    color: #e77d93;
}

.status.placed {
    background-color: #fff7ed;
    color: #f97316;
}

.status.confirmed {
    background-color: #e6fff5;
    color: #07c297;
}

.status.processing {
    background-color: #f0e6ff;
    color: #7631e0;
}

.status.shipped {
    background-color: #ecfeff;
    color: #06b6d4;
}

.status.completed {
    background-color: #f0fdf4;
    color: #0f9402;
}

.status.canceled {
    background-color: #fef2f2;
    color: #ef4444;
}

.rate-now .rating {
    display: inline-flex;
    flex-direction: row-reverse;
}

/* hide radios */
.rate-now .rating input {
    display: none;
}

/* default (empty) */
.rate-now .rating label {
    font-size: 30px;
    color: #ccc;
    cursor: pointer;
}

/* hover */
.rate-now .rating label:hover,
.rate-now .rating label:hover ~ label {
    color: gold;
}

/* ONLY checked and previous */
.rate-now .rating input:checked + label,
.rate-now .rating input:checked + label ~ label {
    color: gold;
}

.news-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-content .theme-btn {
    margin-top: auto;
}

.news-standard-items {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-standard-wrapper .col {
    display: flex;
}

.page-item.active .page-link {
    background-color: var(--theme);
    color: #FFFFFF;
}

.page-item .page-link {
    color: var(--theme);
}
