#im,
#im_news {
    transition: .2s ease-in-out
}

.cover,
.cover_news {
    width: 100%
}

.nowrap,
.suggest-author {
    white-space: nowrap
}

.nav-link.dropdown-toggle::after,
.read-more-link i {
    transition: transform .3s
}

.fasi,
h1,
h2,
h4,
h5 {
    font-display: swap
}

.cover {
    object-fit: contain;
    background: #f5f5f5
}

.card-img-top,
.coverFull,
.cover_news,
.thumb-img {
    object-fit: cover
}

.partners,
.partners:hover {
    max-height: 60px;
    transition: .3s
}

.cover:hover,
.coverFull:hover,
.cover_news:hover {
    transform: scale(1);
    opacity: .7;
    transition: .7s;
    cursor: pointer
}

#im_news {
    height: 250px
}

.overlay-section {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: rgb(0 0 0 / .5)
}

.overlay-section .fixed-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/uploads/book1.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1
}

.overlay-content {
    position: relative;
    z-index: 1
}

.overlay-content a,
.overlay-content h2,
.overlay-content p {
    color: #fff;
    text-shadow: 1px 1px 2px rgb(0 0 0 / .7)
}

.chosen-select {
    height: 40px !important;
    font-size: 16px !important;
    color: #413e3e !important;
    width: 100% !important
}

.form-select {
    flex-grow: 1;
    height: 50px
}

.cookie-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #ccc;
    z-index: 9999;
    font-size: 14px
}

.genre-badge:hover {
    background-color: #dff0ff !important;
    color: #000 !important;
    border-color: #007bff !important;
    transition: .3s;
    cursor: pointer
}

body.dark-mode .genre-badge {
    background-color: #2c2c2c !important;
    color: #e0e0e0 !important
}

.fixed-col {
    flex: 0 0 25%;
    max-width: 25%
}

.partners {
    border: 1px solid transparent !important
}

.partners:hover {
    border: 1px solid #000 !important
}

.suggest-box {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 0;
    z-index: 5000;
    max-height: 320px;
    overflow: auto
}

.suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    cursor: pointer
}

.suggest-item:hover {
    background: #f8f9fa
}

.suggest-item .thumb-bg {
    width: 42px;
    height: 56px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0
}

.suggest-text {
    line-height: 1.2;
    min-width: 0;
    display: block
}

.suggest-author {
    display: block;
    opacity: .75;
    font-size: 12px !important;
    overflow: hidden;
    text-overflow: ellipsis
}

.suggest-item.suggest-sold {
    opacity: .6
}

.suggest-title {
    position: relative;
    padding-right: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600
}

.sold-badge,
.suggest-sold-badge {
    position: absolute;
    font-size: 11px;
    padding: 2px 6px;
    color: #fff
}

body.dark-mode .suggest-title {
    color: #f1f1f1
}

.suggest-sold-badge {
    right: 0;
    top: 0;
    background: #e80202;
    border-radius: 4px;
    line-height: 1.2
}

.sold-badge {
    top: 5px;
    left: 5px;
    background: #dc3545;
    border-radius: 3px;
    font-weight: 600
}

.book-number,
.book-title,
.card h5,
.card-title,
.custom-bubble,
.read-more-link {
    font-weight: 700
}

.animated-title,
.down,
.hero-content,
.hero-section,
.image-zoom-wrap,
.tiktok-icon,
.youtube-icon {
    position: relative
}

.image-zoom-lens,
.image-zoom-result {
    position: absolute;
    display: none;
    pointer-events: none
}

.image-zoom-lens {
    width: 140px;
    height: 140px;
    border: 1px solid rgb(0 0 0 / .25);
    background: rgb(255 255 255 / .15);
    border-radius: 4px
}

.image-zoom-result {
    top: 0;
    left: calc(100% + 16px);
    width: 420px;
    height: 420px;
    border: 1px solid #eee;
    background: no-repeat #fff;
    box-shadow: 0 8px 24px rgb(0 0 0 / .08);
    z-index: 20
}

.hero-section,
.section-title {
    display: flex;
    position: relative
}

.hero-section {
    animation: 18s ease-in-out infinite heroZoom;
    background-image: url(/uploads/book9.webp) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 250px;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    border-radius: 10px
}

@keyframes heroZoom {

    0%,
    100% {
        background-size: 100% auto
    }

    50% {
        background-size: 110% auto
    }
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / .3), rgb(0 0 0 / .6))
}

.genre-scroll.dropdown-menu {
    z-index: 1050 !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important
}

@media (min-width:992px) {
    .cover {
        max-height: 300px
    }

    .container {
        padding: 0 !important
    }
}

.nav-link.dropdown-toggle.show::after {
    transform: rotate(180deg)
}

.chosen-container-single .chosen-single {
    height: 40px !important;
    line-height: 40px;
    font-size: 16px !important;
    color: #413e3e !important
}

.hero-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0 0 0 / .5);
    z-index: 1
}

.section-title::before,
body.dark-mode .section-title::before {
    height: 25px;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: transform .5s
}

.hero-content {
    z-index: 2;
    top: 12px;
    color: #fff;
    text-shadow: 1px 1px 2px rgb(0 0 0 / .7)
}

.section-title {
    font-size: 24px;
    color: #2c3e50;
    padding-bottom: 20px;
    align-items: left;
    justify-content: center;
    padding-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.section-title i,
body.dark-mode .section-title i {
    font-size: 28px;
    color: #d7dae2;
    margin-right: 10px
}

.section-title::before {
    content: '';
    position: absolute;
    width: 100%;
    background: linear-gradient(to right, #f0f1f5, #bfc2c2);
    top: 0;
    transform: scaleX(0);
    transform-origin: bottom right
}

.section-title:hover::before,
body.dark-mode .section-title:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

.animated-title {
    font-size: 28px;
    color: #fff;
    padding: 15px 30px;
    display: inline-block;
    background-color: #3498db;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgb(0 0 0 / .3);
    animation: 1.5s ease-out forwards slide-in, 3s infinite color-pulse;
    transition: transform .3s, background-color .5s
}

.animated-title:hover {
    background-color: #e74c3c;
    transform: scale(1.05)
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes color-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px #3498db, 0 0 30px #3498db
    }

    50% {
        box-shadow: 0 0 20px #e74c3c, 0 0 40px #e74c3c
    }
}

.popular-book-item {
    font-size: 16px;
    padding: 5px 0
}

.book-author {
    color: #555;
    font-style: italic
}

.book-details {
    font-size: 14px;
    color: #777
}

.card.mb-3 {
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgb(0 0 0 / .1)
}

.card h5 {
    margin-bottom: 15px;
    font-size: 18px
}

.read-more-link {
    color: #3498db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color .3s;
    float: right
}

.read-more-link i {
    margin-left: 5px;
    font-size: 16px
}

.read-more-link:hover {
    color: #2c3e50
}

.read-more-link:hover i {
    transform: translateX(5px)
}

.down {
    top: 2px !important
}

.navbar {
    transition: background-color .3s, top .3s;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #f3f4f6 !important;
    padding-bottom: 26px
}

.modal-backdrop {
    z-index: 1040 !important
}

.modal {
    z-index: 1050 !important
}

.navbar.scrolled {
    background-color: #2b4a8d !important;
    box-shadow: 0 6px 8px rgb(0 0 0 / .1)
}

.navbar.scrolled ul li a {
    color: #523a3a !important
}

.btn-primary {
    background-color: #d7dae2 !important;
    border-color: #ccc;
    color: #523a3a
}

.btn-light {
    color: #333 !important
}

.color-blue {
    color: #1d4ed8 !important
}

.btn:disabled,
button[disabled] {
    color: #4a4a4a !important
}

#cookie-consent,
#cookie-consent *,
footer,
footer a {
    color: #fff !important
}

.badge.bg-danger,
.badge.bg-success {
    color: #fff !important;
    font-weight: 600 !important
}

#cookie-consent {
    background: #212529 !important;
    border: 1px solid rgb(255 255 255 / .6) !important;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000
}

#cookie-consent a {
    color: #0d6efd !important;
    font-weight: 600;
    text-decoration: none !important
}

#cookie-consent a:hover {
    text-decoration: none !important;
    color: #a8afba !important
}

footer a {
    opacity: 1 !important
}

.text-muted {
    color: #fff
}

.btn-primary:hover {
    background-color: #ccc !important;
    border-color: #ccc;
    color: #000 !important
}

@font-face {
    font-family: liFont;
    src: url(../fonts/bpg_boxo-boxo.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

button,
input,
li,
select,
span {
    font-family: liFont, sans-serif !important;
    font-display: swap
}

.styled-input::placeholder {
    line-height: 1.5;
    transform: translateY(2px)
}

.card {
    transition: transform .2s, box-shadow .2s
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgb(0 0 0 / .15)
}

.image-container {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem
}

.card-img-top {
    height: 200px;
    transition: transform .3s
}

.card-img-top:hover {
    transform: scale(1.05)
}

.card-title {
    margin-top: 10px
}

.categoria {
    background-color: #fff;
    color: #757373;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    font-size: 1rem;
    transition: border-color .2s ease-in-out
}

.kalata,
.kalata3,
.kalata:hover {
    padding: 0 10px
}

.fb-icon,
.insta-icon,
.tiktok-icon,
.youtube-icon {
    transition: color .3s, transform .3s
}

.categoria:focus,
.load-more-btn:focus,
.search-load-btn:focus {
    outline: 0
}

.submit-search {
    background: #4d4c4c;
    color: #fff;
    border: 0 !important
}

.submit-search:hover {
    background: #1b4661;
    color: #c6c8c9
}

@font-face {
    font-family: h1Font;
    src: url(../fonts/alk-tommaso-webfont.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

h1,
h2,
h5 {
    font-family: h1Font, sans-serif !important
}

@font-face {
    font-family: h4Font;
    src: url(../fonts/bpg-glaho-web-caps-webfont.ttf) format('truetype');
    font-weight: bolder;
    font-style: normal;
    font-display: swap
}

h4 {
    font-family: h4Font, sans-serif !important;
    font-size: 1.125rem
}

.fb-icon,
.insta-icon {
    color: #fff;
    margin-right: 10px
}

.fb-icon-top:hover,
.fb-icon:hover,
body.dark-mode .fb-icon-top:hover {
    color: #00f !important;
    transform: scale(1.2) !important
}

body.dark-mode .fb-icon:hover {
    color: #00f !important;
    transform: scale(1.2)
}

.fb-icon-top,
.insta-icon-top,
.youtube-icon-top,
body.dark-mode .fb-icon-top {
    color: #504646;
    margin-right: 10px;
    transition: color .3s, transform .3s
}

.insta-icon-top:hover,
.insta-icon:hover {
    background: #833ab4;
    background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
    transform: scale(1.2)
}

.facebook-btn {
    background-color: #3b5998;
    border: none
}

.kalata,
.kalata2,
.kalata2:hover,
.kalata3,
.kalata:hover {
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px
}

.facebook-btn:hover {
    background-color: #2d4373
}

.youtube-icon-top:hover,
.youtube-icon:hover,
body.dark-mode .youtube-icon:hover {
    color: red !important;
    transform: scale(1.2) !important
}

.youtube-icon {
    color: #fff;
    margin-right: 10px;
    top: 3px
}

.circle,
.custom-bubble {
    top: -4px;
    text-align: center
}

.tiktok-icon {
    color: #fff !important;
    margin-right: 22px !important
}

.tiktok-icon:hover {
    color: #111;
    filter: drop-shadow(2px 0 0 #FD3E3E) drop-shadow(-2px -2px 0 #4DE8F4);
    transform: scale(1.2)
}

.kalata:hover,
.sticky-cart-summary,
div .rame {
    background-color: #fff
}

.kalata2,
.kalata2:hover {
    padding: 0 5px;
    color: #cacaca !important;
    margin-left: 10px
}

.kalata2 {
    background-color: #4d4c4c
}

.kalata2:hover {
    background-color: #383737
}

.circle {
    display: inline-block;
    width: 17px;
    height: 17px;
    font-size: 12px;
    background-color: #be0a0a;
    color: #fff;
    line-height: 20px;
    border-radius: 50%;
    position: absolute;
    margin-left: -5px
}

.custom-bubble {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff0;
    color: #d80303;
    border-radius: 0 4px;
    padding: 0;
    font-size: 9px;
    border: 1px solid #5e5b5b;
    min-width: 15px;
    max-height: 13px
}

.custom-bubble::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 55%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid #fff0;
    border-right: 5px solid #fff0;
    border-top: 5px solid #5e5b5b
}

.genre-scroll {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px
}

.genre-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px
}

.thumb-img:hover {
    border: 2px solid #0d6efd;
    transform: scale(1.04);
    box-shadow: 0 2px 8px rgb(0 0 0 / .2)
}

.thumbnail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 5px;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box
}

.thumb-img {
    transition: transform .2s, box-shadow .2s, border .2s;
    border: 2px solid #fff0;
    flex: 1;
    height: 70px;
    width: 70px;
    border-radius: 6px;
    cursor: pointer;
    padding-right: 5px
}

@media (max-width:480px) {
    .thumb-img {
        height: 65px;
        max-width: 23%
    }
}

@media (min-width:768px) {
    .thumb-img {
        height: 90px;
        max-width: 23%
    }
}

.search-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 3px solid #ccc;
    border-top-color: #c00505;
    border-radius: 50%;
    animation: .7s linear infinite spin;
    display: none;
    z-index: 20
}

.search-results {
    border-top: 1px solid #e5e5e5
}

.search-row {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
    color: inherit;
    transition: background-color .15s
}

.search-row:hover {
    background-color: #ffe3e3
}

.search-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 15px
}

.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px
}

.search-content {
    line-height: 1.2
}

.search-badge {
    display: inline-block;
    background-color: #f8caca;
    color: darkred;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 4px
}

.search-title {
    font-size: 15px;
    font-weight: 600
}

.search-author {
    font-size: 13px;
    color: #666
}

.deliveryFull,
body.dark-mode .deliveryFull {
    font-size: 12px !important;
    position: relative
}

#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999
}

.loader {
    width: 35px;
    height: 35px;
    border: 4px solid #ccc;
    border-top-color: #745d08;
    border-radius: 50%;
    animation: .6s linear infinite spin
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
        transform: rotate(360deg)
    }
}

.navbar .dropdown-menu {
    z-index: 9999 !important;
    position: absolute !important;
    top: 100%;
    background-color: #fff !important
}

@media (min-width:992px) {

    .container,
    .navbar,
    .navbar-nav,
    body {
        position: relative !important;
        z-index: auto !important
    }
}

.navbar+.navbar {
    z-index: 1 !important;
    position: relative !important
}

#topStickyNavbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 56px;
    z-index: 1055559999 !important;
    background-color: #212529;
    transition: background-color .3s, box-shadow .3s
}

#topStickyNavbar.scrolled {
    background-color: #d8dae2 !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / .1)
}

#mainNavbar {
    transition: top .3s;
    position: fixed !important;
    top: 65px;
    z-index: 1050;
    width: 100%;
    min-height: 60px
}

#mainNavbar.hide {
    top: -150px !important
}

@media (max-width:767.98px) {
    nav .navbar-nav {
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
        width: 100%
    }

    .navbar-nav .nav-item.kalata {
        margin: 0 10px
    }
}

body {
    padding-top: 40px !important
}

.book-item {
    display: flex;
    align-items: center
}

.book-item img,
.hr-with-text:not(:empty)::before,
body.dark-mode .hr-with-text:not(:empty)::before {
    margin-right: 10px
}

.hr-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #333;
    margin: 20px 0
}

.hr-with-text::after,
.hr-with-text::before {
    content: '';
    flex: 1;
    border-bottom: 2px solid #333;
    margin-top: -25px
}

.hr-with-text:not(:empty)::after,
body.dark-mode .hr-with-text:not(:empty)::after {
    margin-left: 10px
}

.hr-with-text:hover::after,
.hr-with-text:hover::before {
    border-bottom: 2px solid #2d83da;
    transition: width .4s ease-in-out, border-color .4s ease-in-out;
    width: 120%
}

.sticky-cart-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px;
    box-shadow: 0 -2px 10px rgb(0 0 0 / .1)
}

.book-card,
.book-card:hover {
    box-shadow: rgb(0 0 0 / .24) 0 3px 8px
}

.book-card {
    transition: .3s;
    border: 1px solid #dbdbdb
}

.book-card:hover {
    border: 1px solid #3498db
}

.image-and-share-container {
    max-width: 100%;
    text-align: center;
    margin-top: 20px
}

.share-buttons {
    display: flex;
    justify-content: space-around;
    max-width: 100%;
    gap: 10px
}

.share-buttons a {
    flex: 1;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    color: #fff;
    transition: background-color .3s;
    display: inline-block;
    font-size: 20px
}

.twitter-btn {
    background-color: #1da1f2;
    border: none
}

.twitter-btn:hover {
    background-color: #1a91da
}

.whatsapp-btn {
    background-color: #25d366;
    border: none
}

.whatsapp-btn:hover {
    background-color: #20b358
}

.form-check-input[type=radio] {
    border: 1px solid #000;
    position: relative;
    top: 1px
}

body.dark-mode,
body.dark-mode .deliveryFull,
body.dark-mode .dropdown-menu,
body.dark-mode .mobileSearch,
body.dark-mode .navbar,
body.dark-mode .navbar.navbar-expand-lg,
body.dark-mode .navbar.navbar-light {
    background-color: #464343 !important
}

#cookie-consent button {
    background-color: #721c24;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 5px
}

#cookie-consent button:hover {
    background-color: #d9534f
}

.img-thumbnail {
    height: 80px !important;
    width: 120px
}

@media (max-width:768px) {
    .img-thumbnail {
        height: 50px !important;
        width: 70px;
        padding-right: 5px !important
    }
}

.coverFull {
    width: 100%;
    height: 500px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 5px
}

.page-item.active .page-link {
    background-color: #8a93b9 !important;
    color: #fff !important;
    border-color: #f0f1f5 !important
}

.page-item .page-link {
    background-color: #f0f1f5;
    color: #343a40;
    border: 1px solid #dee2e6;
    transition: background-color .3s, color .3s
}

.bi-moon-fill::before,
.bi-sun,
body.dark-mode,
body.dark-mode .navbar .dropdown-menu a,
body.dark-mode .navbar .nav-link,
body.dark-mode .navbar .navbar-brand,
body.dark-mode a,
body.dark-mode li,
body.dark-mode p,
body.dark-mode span {
    color: #e0e0e0 !important
}

.page-item .page-link:hover {
    background-color: #8a93b9;
    color: #000;
    border-color: #8a93b9
}

.pagination-wrapper {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none
}

.pagination-wrapper::-webkit-scrollbar {
    display: none
}

.small-thumbnail:hover {
    border: 2px solid #4d78b8
}

body.dark-mode .text-dark {
    color: #e0e0e0 !important;
    font-weight: 100 !important
}

body.dark-mode .filter,
body.dark-mode ul li:hover {
    background-color: #333 !important
}

@media (max-width:991.98px) {

    .navbar-collapse,
    body.dark-mode .navbar-collapse {
        position: relative;
        margin-top: 10px;
        padding: 10px 10px 15px
    }

    .image-zoom-lens,
    .image-zoom-result {
        display: none !important
    }

    .navbar-collapse {
        background-color: #f3f4f6
    }

    body.dark-mode .navbar-collapse {
        background-color: #333
    }
}

.nav-item.dropdown.kalata2 .nav-link.dropdown-toggle::after {
    display: none !important
}

body.dark-mode .tabhover .nav-link {
    color: #272626 !important;
    background-color: inherit !important
}

body.dark-mode #mobileMenuToggle,
body.dark-mode .navbar-toggler {
    color: #bebaba !important;
    border-color: #bebaba !important
}

body.dark-mode .bi-search::before {
    color: #bebaba !important
}

body.dark-mode .dropdown-item:hover {
    background-color: #3a3a3a !important
}

body.dark-mode .card {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important
}

body.dark-mode .btn-primary {
    background-color: #333 !important;
    color: #e0e0e0 !important;
    border-color: #555 !important
}

body.dark-mode .btn-primary:hover {
    background-color: #555 !important
}

body.dark-mode .form-control {
    background-color: #2c2c2c !important;
    color: #e0e0e0 !important;
    border-color: #444 !important
}

body.dark-mode input::placeholder {
    color: #999 !important
}

body.dark-mode .page-item .page-link {
    background-color: #2c2c2c !important;
    color: #e0e0e0 !important;
    border-color: #555 !important
}

body.dark-mode .page-item.active .page-link {
    background-color: #555 !important;
    color: #e0e0e0 !important;
    border-color: #555 !important
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span {
    color: #e0e0e0 !important;
    font-weight: 400 !important
}

body.dark-mode .hr-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #e0e0e0 !important;
    margin: 20px 0
}

body.dark-mode .hr-with-text::after,
body.dark-mode .hr-with-text::before {
    content: '';
    flex: 1;
    border-bottom: 2px solid #e0e0e0;
    margin-top: -25px
}

body.dark-mode .hr-with-text:hover::after,
body.dark-mode.hr-with-text:hover::before {
    border-bottom: 2px solid #b9b8b8;
    transition: width .4s ease-in-out, border-color .4s ease-in-out
}

body.dark-mode .hr-with-text:hover::after,
body.dark-mode .hr-with-text:hover::before {
    width: 120%
}

body.dark-mode .section-title::before {
    content: '';
    position: absolute;
    width: 100%;
    background: linear-gradient(to right, #4a4a4d, #bfc2c2);
    top: 0;
    transform: scaleX(0);
    transform-origin: bottom right
}

body.dark-mode #topStickyNavbar.scrolled {
    background-color: #2c2c2c !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / .1)
}

body.dark-mode .input-group-text {
    background-color: #333 !important;
    border: #000
}

body.dark-mode label {
    color: #8d8b8b !important
}

body.dark-mode .payment-option {
    background-color: #000 !important
}

body.dark-mode .chosen-container .chosen-drop,
body.dark-mode .chosen-container .chosen-results,
body.dark-mode .chosen-container .chosen-results li,
body.dark-mode .chosen-container .chosen-search input,
body.dark-mode .chosen-container .chosen-single {
    background-color: #333 !important;
    color: #fff !important
}

body.dark-mode .chosen-container .chosen-single span {
    color: #aaa !important;
    background-color: #333
}

body.dark-mode .chosen-container .chosen-results li.highlighted {
    background-color: #555 !important;
    color: #fff !important
}

body.dark-mode .chosen-container .chosen-search input::placeholder {
    color: #ccc !important;
    opacity: 1 !important
}

body.dark-mode td,
body.dark-mode th {
    color: #ccc !important
}

body.dark-mode .chosen-container-single .chosen-single {
    padding: 0 !important
}

.load-more-btn,
.search-load-btn {
    background: linear-gradient(135deg, #e63946, #d7263d);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 40px;
    border: none;
    letter-spacing: .3px;
    box-shadow: 0 10px 28px rgb(215 38 61 / .25);
    transition: .25s ease-in-out
}

.load-more-btn:hover,
.search-load-btn:hover {
    background: linear-gradient(135deg, #d7263d, #b71d2a);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgb(215 38 61 / .35)
}

@media (max-width:768px) {

    .fixed-background,
    .hero-section {
        background-attachment: scroll !important;
        background-size: auto !important
    }

    .book-detail-page .direct-play-btn,
    .book-detail-page .toggle-cart-btn {
        font-size: 18px !important;
        padding: 14px 20px !important;
        width: 100% !important;
        display: block;
        text-align: center;
        border-radius: 10px
    }

    .book-detail-page .toggle-cart-btn i {
        font-size: 22px !important;
        margin-right: 8px
    }

    .book-detail-page .input-group .btn,
    .book-detail-page .quantity-input {
        font-size: 14px !important;
        padding: 4px 8px !important
    }

    .book-detail-page .input-group {
        max-width: 100px
    }

    .book-detail-page .cart-control-mobile {
        display: flex;
        gap: 10px;
        align-items: center
    }

    .dropdown-menu.genre-scroll {
        position: fixed !important;
        top: 45px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 100vh !important;
        height: auto !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
        background-color: #fff !important;
        z-index: 9999 !important
    }

    body.dark-mode .dropdown-menu.genre-scroll {
        background-color: #464343 !important
    }

    .circle {
        display: none
    }

    .deletion {
        color: #fff
    }

    .deletion:hover {
        color: red
    }

    .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: -100px !important;
        right: auto !important;
        z-index: 9999 !important;
        margin-top: .5rem;
        max-height: 300px;
        overflow-y: auto;
        background: #fff;
        border-radius: 6px
    }

    #topStickyNavbar,
    .navbar,
    nav.navbar {
        overflow: visible !important
    }

    .nav-item.dropdown {
        position: relative !important
    }

    .mobileSearch.visible {
        display: block !important
    }

    .mobileSearch.hidden {
        display: none !important
    }

    #mobileSearchIcon i {
        color: #000;
        transition: transform .2s
    }

    #mobileSearchIcon i:hover {
        transform: scale(1.2)
    }

    #mobileSearchToggle {
        border: 1px solid #dee2e6;
        border-radius: 5px;
        padding: 3px 16px;
        box-shadow: 0 1px 2px rgb(0 0 0 / .05);
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    #mobileSearchToggle i {
        font-size: 16px;
        line-height: 1
    }

    .search-row {
        justify-content: flex-start !important;
        flex-direction: column !important;
        align-items: stretch !important
    }

    .search-row>a {
        width: 100%;
        display: flex;
        align-items: flex-start
    }

    .search-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 8px
    }

    #load-more,
    #load-more-books,
    button.load-more-btn,
    button.search-load-btn {
        -webkit-appearance: none !important;
        appearance: none !important;
        background: linear-gradient(135deg, #e63946, #d7263d) !important;
        background-color: #d7263d !important;
        color: #fff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 14px 40px !important;
        border-radius: 40px !important;
        border: none !important;
        outline: 0 !important;
        display: -webkit-inline-flex !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-shadow: 0 12px 30px rgb(215 38 61 / .35) !important
    }
}

.image-container {
    width: 100%;
    height: 300px;
    overflow: hidden
}

.image-container .cover,
.image-container .img-fluid {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block
}

.img-fluid-full {
    width: 100% !important;
    height: 400px !important;
    object-fit: contain !important;
    display: block;
    background-color: #f3f4f6
}

#imageModal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

#imageModal img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain
}

.search-see-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    margin: 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border: 1px solid #e5e5e5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #222;
    transition: all .2s ease
}

.search-see-more:hover {
    background: #0d6efd;
    color: #fff
}

.search-see-more:hover i {
    color: #fff
}

.search-see-more .see-more-icon {
    color: #0d6efd;
    font-size: 16px
}

.search-see-more .see-more-arrow {
    color: #999;
    transition: transform .2s ease
}

.search-see-more:hover .see-more-arrow {
    transform: translateX(4px)
}

#mobileSearchOverlay form {
    position: relative
}

@media (max-width:991.98px) {
    #searchSuggestMobile {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
        z-index: 2147483647 !important;
        border-radius: 0 !important
    }

    #searchSuggestMobile .search-see-more {
        position: sticky;
        bottom: 0;
        background: linear-gradient(135deg, #f8f9fa, #ffffff);
        border-top: 1px solid #ddd;
        z-index: 2
    }
}

@media (max-width:991.98px) {
    #searchSuggestMobile {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 60vh;
        overflow-y: auto;
        background: #fff;
        z-index: 10000;
        border-radius: 8px;
        box-shadow: 0 10px 24px rgb(0 0 0 / .18)
    }
}

.auction-gold-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px
}

.auction-gold-icon i {
    font-size: 26px;
    color: #d4af37;
    animation: slow-coin-rotate 9s linear infinite;
    transform-origin: center
}

.auction-top-item {
    margin: 0 12px 0 4px;
}

.auction-top-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 5px 12px !important;
    border: 1px solid rgba(212, 175, 55, .58);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 249, 222, .98), rgba(255, 255, 255, .86));
    box-shadow: 0 5px 16px rgba(128, 98, 19, .13);
    color: #473919 !important;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.auction-top-link:hover {
    border-color: rgba(212, 175, 55, .95);
    background: linear-gradient(135deg, #fff3b8, #fffdf2);
    color: #2f260f !important;
    transform: translateY(-1px);
}

.auction-top-link .auction-gold-icon {
    width: 26px;
    height: 26px;
    margin-right: 0;
}

.auction-top-link .auction-gold-icon i {
    font-size: 24px;
}

.auction-top-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auction-top-label {
    color: inherit !important;
}

.auction-top-badge {
    font-size: 10px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    #topStickyNavbar {
        min-height: 56px;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    #topStickyNavbar>.container {
        justify-content: center !important;
        padding-left: 8px;
        padding-right: 8px;
    }

    #topStickyNavbar .navbar-nav {
        width: 100%;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 8px;
    }

    #topStickyNavbar .nav-link {
        padding-left: 6px;
        padding-right: 6px;
    }

    #topStickyNavbar .forum-highlight {
        padding-right: 0 !important;
    }

    .auction-top-item {
        margin: 0;
    }

    .auction-top-link {
        min-height: 34px;
        padding: 4px 7px !important;
        gap: 3px;
        font-size: 12px;
        box-shadow: 0 4px 12px rgba(128, 98, 19, .1);
    }

    .auction-top-link .auction-gold-icon {
        width: 18px;
        height: 18px;
    }

    .auction-top-link .auction-gold-icon i {
        font-size: 17px;
    }

    .auction-top-copy {
        gap: 0;
    }

    .auction-top-label {
        font-size: 12px;
    }

    .auction-top-badge {
        display: none;
    }
}

@keyframes slow-coin-rotate {
    0% {
        transform: rotateY(0deg)
    }

    50% {
        transform: rotateY(180deg)
    }

    100% {
        transform: rotateY(360deg)
    }
}

.auction-rules-card {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 18px 20px;
    background: #fafafa
}

.auction-rules-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 14px
}

.auction-rules-header i {
    color: #198754;
    font-size: 18px
}

.auction-rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0
}

.auction-rules-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    padding: 6px 0;
    color: #333
}

.auction-rules-list li i {
    color: #6c757d;
    margin-top: 2px
}

.auction-rules-btn {
    width: fit-content;
    border-radius: 999px;
    padding: 6px 14px
}

.auction-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap
}

.auction-title {
    font-size: 32px;
    font-weight: 700
}

.auction-subtitle {
    color: #6c757d;
    margin-top: 6px
}

.auction-actions {
    display: flex;
    gap: 10px
}

.auction-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(0 0 0 / .06);
    transition: transform .2s ease, box-shadow .2s ease
}

.auction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgb(0 0 0 / .1)
}

.auction-image {
    position: relative;
    background: #f8f9fa
}

.auction-image img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 12px
}

.auction-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgb(0 0 0 / .75);
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px
}

.auction-body {
    padding: 18px
}

.auction-book-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px
}

.auction-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f1f3f5;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 15px
}

.auction-price strong {
    font-size: 18px
}

.ending-soon {
    background: #dc3545 !important;
    animation: pulse 1.4s infinite
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(220 53 69 / .6)
    }

    70% {
        box-shadow: 0 0 0 10px #fff0
    }

    100% {
        box-shadow: 0 0 0 0 #fff0
    }
}

.auction-price i.bi-arrow-up {
    animation: priceUp .8s ease
}

@keyframes priceUp {
    from {
        transform: translateY(6px);
        opacity: 0
    }

    to {
        transform: none;
        opacity: 1
    }
}

.auction-container.list-view .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%
}

.auction-container.list-view .auction-card {
    display: flex;
    height: 200px
}

.auction-container.list-view .auction-image img {
    height: 100%;
    width: 200px
}

.auction-image:hover img {
    transform: scale(1.02)
}

.auction-image img {
    transition: transform .25s ease
}

.auction-book-title a:hover {
    text-decoration: underline
}

.auction-category {
    display: inline-block;
    font-size: 13px;
    color: #6c757d;
    background: #f1f3f5;
    border-radius: 999px
}

.auction-actions select.btn {
    padding: 10px 14px;
    line-height: 1.5;
    height: auto;
    font-weight: 400
}

.auction-category-select {
    height: 38px;
    border-radius: 6px;
    font-size: 14px;
    color: #787c80;
    background-color: #fff;
    border: 1px solid #83898f
}

.auction-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

@media (max-width:768px) {
    .auction-hero {
        flex-direction: column;
        align-items: stretch;
        gap: 16px
    }

    .auction-hero>div:first-child {
        text-align: left
    }

    .auction-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%
    }

    .auction-actions .btn,
    .auction-actions .form-select,
    .auction-actions form {
        width: 100%
    }

    .view-toggle {
        width: 100%
    }

    .view-toggle .btn {
        flex: 1
    }
}

/* Publishing page redesign (scoped to resources/views/publishing/home.blade.php markup) */
.pub-page {
    margin: 0 calc(50% - 50vw) !important;
    overflow: hidden;
    background: #f6f7f8 !important;
    color: #17191c !important;
    font-family: liFont, sans-serif !important
}

.pub-page * {
    box-sizing: border-box
}

.pub-page .pub-wrap {
    width: min(1040px, calc(100% - 32px)) !important;
    margin-left: auto !important;
    margin-right: auto !important
}

.pub-page .pub-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 48px !important;
    align-items: center !important;
    min-height: auto !important;
    padding: 72px 0 64px !important
}

.pub-page .pub-title,
.pub-page .pub-section-head h2,
.pub-page .pub-contact h2 {
    font-family: h1Font, liFont, sans-serif !important;
    letter-spacing: -.02em !important
}

.pub-page .pub-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
    padding: 8px 12px !important;
    border: 1px solid #e3e5e8 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #5d646d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 30px rgba(18, 22, 28, .04) !important
}

.pub-page .pub-eyebrow span {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #8d1b1f !important
}

.pub-page .pub-title {
    max-width: 640px !important;
    margin: 0 0 18px !important;
    color: #16191d !important;
    font-size: clamp(36px, 4.8vw, 58px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important
}

.pub-page .pub-lead {
    max-width: 620px !important;
    margin: 0 0 28px !important;
    color: #5c6470 !important;
    font-size: 16px !important;
    line-height: 1.85 !important
}

.pub-page .pub-actions {
    gap: 12px !important
}

.pub-page .pub-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 44px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    border: 1px solid #15191d !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease !important
}

.pub-page .pub-btn:hover {
    transform: translateY(-1px);
    text-decoration: none !important
}

.pub-page .pub-btn-primary {
    background: #15191d !important;
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(21, 25, 29, .16) !important
}

.pub-page .pub-btn-primary:hover {
    background: #8d1b1f !important;
    border-color: #8d1b1f !important;
    color: #fff !important
}

.pub-page .pub-btn-outline {
    background: #fff !important;
    color: #15191d !important;
    border-color: #d9dde2 !important
}

.pub-page .pub-btn-outline:hover {
    color: #8d1b1f !important;
    border-color: rgba(141, 27, 31, .35) !important;
    box-shadow: 0 12px 24px rgba(18, 22, 28, .07) !important
}

.pub-page .pub-visual {
    position: relative !important;
    min-height: 360px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: linear-gradient(145deg, #1b1f24 0%, #101214 100%) !important;
    box-shadow: 0 24px 54px rgba(17, 19, 21, .18) !important
}

.pub-page .pub-visual:before {
    content: 'Publishing Studio';
    position: absolute;
    left: 26px;
    top: 24px;
    z-index: 3;
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase
}

.pub-page .pub-visual:after {
    content: '';
    position: absolute;
    right: -62px;
    top: -62px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(141, 27, 31, .42);
    filter: blur(2px)
}

.pub-page .pub-visual-main {
    position: absolute !important;
    left: 52px !important;
    right: 52px !important;
    top: 82px !important;
    bottom: 54px !important;
    border-radius: 20px !important;
    overflow: visible !important;
    background: #f8f9fa !important;
    box-shadow: 0 22px 45px rgba(0, 0, 0, .24) !important
}

.pub-page .pub-visual-main img {
    position: absolute !important;
    left: 34px !important;
    bottom: 28px !important;
    width: 92px !important;
    height: 142px !important;
    object-fit: cover !important;
    border-radius: 7px 14px 14px 7px !important;
    opacity: .92 !important;
    filter: grayscale(.18) contrast(.98) !important;
    transform: rotate(-7deg) !important;
    box-shadow: 88px -18px 0 #8d1b1f, 176px 8px 0 #e9ecef, 0 18px 28px rgba(0, 0, 0, .18) !important
}

.pub-page .pub-visual-main:before {
    content: 'იდეა → რედაქტურა → წიგნი';
    position: absolute;
    left: 28px;
    right: 28px;
    top: 26px;
    color: #17191c;
    font-family: h1Font, liFont, sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.25
}

.pub-page .pub-visual-main:after {
    content: '';
    position: absolute;
    left: 28px;
    right: 28px;
    top: 96px;
    height: 7px;
    border-radius: 999px;
    background: #dfe3e7;
    box-shadow: 0 18px 0 #eef0f2, 0 36px 0 #eef0f2
}

.pub-page .pub-note {
    left: 26px !important;
    right: 26px !important;
    bottom: 22px !important;
    max-width: none !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
    backdrop-filter: blur(12px) !important
}

.pub-page .pub-note strong {
    font-size: 15px !important
}

.pub-page .pub-note p {
    margin: 3px 0 0 !important;
    color: rgba(255, 255, 255, .68) !important;
    font-size: 13px !important;
    line-height: 1.55 !important
}

.pub-page .pub-band {
    padding: 62px 0 !important;
    border-top: 1px solid #e5e8ec !important;
    border-bottom: 1px solid #e5e8ec !important;
    background: #eef0f2 !important
}

.pub-page .pub-section-head {
    align-items: flex-end !important;
    gap: 28px !important;
    margin-bottom: 26px !important
}

.pub-page .pub-section-head h2 {
    margin: 0 !important;
    color: #17191c !important;
    font-size: clamp(30px, 3.4vw, 44px) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important
}

.pub-page .pub-section-head p {
    max-width: 560px !important;
    color: #606873 !important;
    font-size: 15px !important;
    line-height: 1.75 !important
}

.pub-page .pub-services {
    gap: 18px !important;
    background: transparent !important;
    border: 0 !important
}

.pub-page .pub-service {
    min-height: 190px !important;
    padding: 24px !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 18px 40px rgba(18, 22, 28, .06) !important
}

.pub-page .pub-service i {
    width: 38px !important;
    height: 38px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
    border-radius: 12px !important;
    background: #15191d !important;
    color: #fff !important;
    font-size: 18px !important
}

.pub-page .pub-service h3,
.pub-page .pub-item h3 {
    color: #17191c !important;
    font-weight: 900 !important
}

.pub-page .pub-service p,
.pub-page .pub-item p {
    color: #68707a !important
}

.pub-page .pub-showcase {
    padding: 70px 0 !important;
    background: #f8f9fa !important
}

.pub-page .pub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important
}

.pub-page .pub-item {
    border: 1px solid #e0e4e8 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(18, 22, 28, .07) !important;
    transition: transform .18s ease, box-shadow .18s ease !important
}

.pub-page .pub-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(18, 22, 28, .11) !important
}

.pub-page .pub-item-image {
    background: #edf0f2 !important
}

.pub-page .pub-item-body {
    padding: 20px !important
}

.pub-page .pub-category {
    color: #8d1b1f !important;
    font-weight: 900 !important
}

.pub-page .pub-contact {
    padding: 70px 0 78px !important;
    background: #101214 !important;
    color: #fff !important
}

.pub-page .pub-form {
    padding: 26px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .07) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2) !important
}

.pub-page .pub-form .form-control {
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #f5f6f7 !important
}

@media (max-width:991px) {
    .pub-page .pub-hero {
        grid-template-columns: 1fr !important;
        padding-top: 42px !important
    }

    .pub-page .pub-visual {
        max-width: 420px;
        width: 100%
    }

    .pub-page .pub-services,
    .pub-page .pub-grid {
        grid-template-columns: 1fr 1fr !important
    }
}

@media (max-width:575px) {
    .pub-page .pub-wrap {
        width: min(100% - 24px, 1040px) !important
    }

    .pub-page .pub-hero {
        gap: 28px !important;
        padding: 34px 0 46px !important
    }

    .pub-page .pub-title {
        font-size: 34px !important
    }

    .pub-page .pub-visual {
        min-height: 330px !important;
        border-radius: 22px !important
    }

    .pub-page .pub-visual-main {
        left: 24px !important;
        right: 24px !important;
        top: 72px !important;
        bottom: 64px !important
    }

    .pub-page .pub-visual-main:before {
        font-size: 21px
    }

    .pub-page .pub-services,
    .pub-page .pub-grid {
        grid-template-columns: 1fr !important
    }

    .pub-page .pub-section-head {
        display: block !important
    }

    .pub-page .pub-section-head h2 {
        margin-bottom: 12px !important
    }
}