@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    /* border: 1px solid red; */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    overflow-x: hidden;
    top: 0 !important;
}


:root {
    --text-dark: #121212;
    --blue-color: #0A5EB0;
    --green-color: #1C4D35;
    --second-green: #1E741B;
    --price-color: #B52929;
    --orange-color: #FC7703;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    font-family: "Poppins", serif;
}

nav {
    transition: 0.6s;
    background-color: rgba(255, 255, 255, 0.279);
}

.scroll-down nav {
    transform: translate3d(0, -100%, 0);
}

.scroll-up nav {
    background-color: white;
    filter: drop-shadow(0 -10px 10px rgba(66, 65, 65, 0.279));
    padding: 0;
}


.navbar-nav .nav-link {
    padding: 0 !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--second-green);
    position: relative;
}

.navbar-nav .nav-link.active::before {
    content: '';
    height: 3px;
    width: 100%;
    background-color: var(--second-green);
    position: absolute;
    top: -69% !important;
    left: 0;
}

.navbar-toggler:focus {
    border: 0 !important;
    box-shadow: none !important;

}

.navbar-toggler {
    border: 0 !important;
}

.nav-user-account {
    font-size: .9rem;
    font-weight: bold;
}

.offcanvas {
    height: 100vh !important;
    position: fixed;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
}

.dropdown-menus {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.user-menu-dropdown[data-bs-popper] {
    left: -120px !important;
    top: 140% !important;
}

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-lg,
.navbar>.container-md,
.navbar>.container-sm,
.navbar>.container-xl,
.navbar>.container-xxl {
    flex-wrap: nowrap;
}

.navbar-toggler {
    padding: .2rem .5rem !important;
    font-size: 16px !important;
}

.ov-hide {
    display: none !important;
}

.sector {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.navbar .top-section {
    padding-inline: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar .logo {
    display: flex;
    gap: .5rem;
    align-items: flex-end;
}

.navbar .logo p {
    font-family: "Poppins", serif;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.navbar .logo .green {
    color: var(--green-color);
}

.navbar .logo img {
    width: 110px;
}

.searches-wrapper {
    position: relative;
}

.wrapper-mobiles {
    display: none;
    border: 1px solid black;
}

.searches-wrapper .button button {
    border: 0;
    outline: 0;
    border-radius: 100%;
    background-color: var(--blue-color);
    padding: .6rem;
    transition: .3s ease-in-out;
}

.searches-wrapper .button svg {
    width: 24px;
    height: 24px;
}

.searches-wrapper .button button:hover {
    background-color: #05417c;
}

.search-box {
    position: absolute;
    right: 0;
    top: 8vh;
    width: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, max-height 0.3s ease-out;
}

.search-box input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.search-box.show {
    max-height: 50px;
    opacity: 1;
    transform: translateY(0);
}

.search-box.expand {
    width: 900px;
    transition: width 0.4s ease-out 0.3s;
}

.search-box.shrink {
    width: 0;
    transition: width 0.4s ease-out;
}

.search-results {
    position: absolute;
    top: 100px;
    right: 0;
    width: 900px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.search-results.show {
    display: block;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li {
    padding: 10px;
    cursor: pointer;
    display: none;
}

.search-results li:hover {
    background: #f0f0f0;
}

.loading {
    text-align: center;
    padding: 10px;
    font-style: italic;
    color: gray;
    display: none;
}

.no-data {
    text-align: center;
    padding: 10px;
    color: red;
    font-weight: bold;
    display: none;
}


.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--blue-color);
    transition: 0.3s;
}

.line-wrapper .line {
    content: '';
    height: 25px;
    width: 1.1px;
    background-color: #787878;
}

.cart {
    position: relative;
    margin: 0 !important;
}

.cart svg {
    width: 40px;
    height: 40px;
}

.cart .qty {
    padding-inline: 7px;
    padding-block: 2.5px;
    background-color: var(--blue-color);
    border-radius: 100%;
    color: white;
    font-size: .7rem;
    position: absolute;
    transform: translateX(50%) translateY(-65%);
}

.cart-menu[data-bs-popper] {
    top: 100%;
    left: -800% !important;
    min-width: 400px;
    width: 100%;
    padding-inline: .8rem;
    padding-block: 1rem;
}

.about-book h6 {
    font-size: 1rem;
    font-family: "Libre Baskerville", serif;
    font-weight: bold;
    color: var(--green-color);
    text-transform: capitalize;
}

.about-book p {
    font-weight: 400;
    font-size: .9rem;
    color: #474747;
    font-family: "Poppins", serif;
}

.cart-menu .price {
    font-family: "Libre Baskerville", serif;
    font-size: .8rem;
}

.close button {
    cursor: pointer;
    background-color: transparent;
    outline: 0;
    border: 0;
}

.cart-menu .total .total-text {
    font-family: "Libre Baskerville", serif;
    font-weight: bold;
}

.cart-menu .total-price {
    font-family: "Libre Baskerville", serif;
    color: var(--price-color);
    font-weight: bold;
}

.holine {
    width: 100%;
    position: relative;
}

.holine .line {
    content: '';
    height: 1px;
    background-color: #DDDDDD;
    width: 100%;
}


main {
    padding-block-start: 120px;
}

/* Ukuran default (desktop & tablet besar) */
.carousel {
    width: 100%;
    max-width: 1400px;
    /* Bisa disesuaikan */
    margin: 0 auto;
}

.carousel-item img {
    width: 100%;
    height: 80vh;
    /* Default tinggi */
    object-fit: cover;
    /* Pastikan gambar tidak terdistorsi */
}

.carousel-control-next,
.carousel-control-prev {
    width: 10% !important;
}

.carousel-control-prev .wrapper,
.carousel-control-next .wrapper {
    background-color: rgba(0, 0, 0, 0.071);
    padding: 1rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}


.images-slider-wrapper {
    max-width: 1485px;
    width: 100%;
    margin: 0 auto;
    padding-inline: 2.5rem;
}

.indicator-slider {
    margin-block-start: .7rem;
}

.indicator-slider .buble {
    padding-inline: 15px;
    padding-block: 2.8px;
    border-radius: 100px;
    background: #a1a1a1;
}

.indicator-slider .active {
    background-color: var(--blue-color);
}

.indicator-slider .bubles {
    display: flex;
    gap: .5rem;
    display: flex;
    justify-content: center;
}

.book-released {
    max-width: 1485px;
    margin: 0 auto;
    padding-inline-start: 2.5rem;
    margin-block-start: 80px;
}

.book-content h2 {
    font-family: "Libre Baskerville", serif;
    font-weight: 700;
    color: var(--green-color);
}

.book-content .content {
    margin-block-start: 40px;
    overflow-x: scroll;
    cursor: grab !important;
}

.book-content .content::-webkit-scrollbar {
    display: none;
}

.book-released .cover img {
    width: 220px;
    /* box-shadow: 6px 5px 1px rgb(55, 55, 55); */
}

.book-released .books {
    max-width: 228px;
    min-width: 230px;
    min-height: 520px;
}

.book-released .description {
    padding-block-start: 3vh;
    gap: 1rem;
}

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

.book-released .stars svg {
    fill: rgb(232, 176, 35);
    width: 24px;
    height: 24px;
}

.book-released .stars p {
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: rgb(70, 70, 70);
}

.book-content .title h4 {
    font-family: "Libre Baskerville", serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--green-color);
    padding-block-end: 10px;
}

.book-content .price p {
    color: var(--price-color);
    font-family: "Libre Baskerville", serif;
}

.book-released .button {
    width: 100%;
}

.book-month .content.active,
.book-content .content.active {
  cursor: grabbing !important;
  user-select: none !important;
}



input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.button .cart-button {
    position: relative;
    padding: 10px 20px;
    width: 100%;
    background-color: transparent;
    color: var(--blue-color);
    border: 1px solid var(--blue-color);
    border-radius: 1px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    text-transform: uppercase;
    text-decoration: none;
}

.button .quantity-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.button .quantity-controls button {
    background-color: transparent;
    color: var(--blue-color);
    border: .5px solid lightgrey;
    padding: 3px 9px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.button .quantity-controls button:active {
    background-color: var(--blue-color);
    color: white;
}

.button .quantity-controls input {
    background-color: transparent;
    width: 40px;
    text-align: center;
    font-size: 14px;
    border: none;
    padding: 5px;
}

.button .check-icon {
    font-size: 18px;
    cursor: pointer;
    background-color: var(--second-green);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    border: none;
}


.book-content .description .price p {
    margin: 0;
    padding: 0;
}

.dropdown-toggle::after {
    display: none;
}

.catalogs-wrapper {
    margin-block-start: 100px;
}

.catalogs-content {
    max-width: 1485px;
    margin: 0 auto;
    padding-inline: 2.5rem;
}

.catalogs-content h2 {
    color: var(--green-color);
    font-family: "Libre Baskerville", serif;
    text-align: center;
    font-weight: bold;
}

.catalogs-content .sub-title {
    text-align: center;
    font-family: "Libre Baskerville", serif;
    color: #787878;
    font-size: 1.1rem;
}

.hr-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr {
    content: '';
    height: 1.5px;
    width: 100px;
    display: flex;
    justify-content: center;
    background-color: #b3b3b3;
}

.catalogs-wrapper .content {
    margin-block-start: 60px;
}

.catalogs-content .card {
    position: relative;
    overflow: hidden;
    max-height: 230px;
}

.catalogs-content .card img {
    width: 100%;
    height: 100%;
    filter: brightness(30%);
}

.catalogs-content .card h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    color: white !important;
    font-size: 1.2rem;
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.316);
    font-weight: 400;
    font-family: "Libre Baskerville", serif;
}

.quote {
    min-height: 210px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.wrapper-quote {
    padding-inline: 2.5rem;
}


.quote-content {
    position: relative;
    display: flex;
    margin-block-start: 100px;
    align-items: center;
    justify-content: center;
}

.quote .images img {
    filter: brightness(20%);
}

.quote-content h4 {
    font-family: "Libre Baskerville", serif;
    /* position: absolute; */
    text-align: center;
    z-index: 5;
    color: rgb(227, 227, 227);
    font-weight: 400;
    width: 1000px;
    margin-block-end: 0;
}

.book-month {
    margin-block-start: 6.25rem;
}

.book-month-content {
    max-width: 92.8125rem;
    margin: 0 auto;
    padding-inline-start: 2.5rem;
    /* 40px */
}

.book-month-content h2 {
    color: var(--green-color);
    font-family: "Libre Baskerville", serif;
    font-weight: bold;
    font-size: 2rem;
}

.book-month .content {
    display: flex;
    gap: 1.5rem;
    overflow-x: scroll;
    margin-block-start: 3.125rem;
    /* 50px */
    scroll-snap-type: x mandatory;
    cursor: grab !important;
}

.book-month .content::-webkit-scrollbar {
    display: none;
}

.book-month .content .book {
    scroll-snap-align: center;
    display: flex;
    gap: 2.5rem;
    max-width: 37.5rem;
    min-width: 42.5rem;
    height: 27.5rem;
    align-items: center;
    height: 100%;
}

.book-month .content .book .cover img {
    width: 18.125rem;
}

.book-month .content .book .detail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.book-month .content .book .stars {
    display: flex;
    align-items: center;
}

.book-month .content .book .stars svg {
    fill: rgb(231, 175, 35);
    width: 1.25rem;
    /* 20px */
    height: 1.25rem;
    /* 20px */
}

.book-month .content .book .stars p {
    margin: 0;
    font-size: 0.9rem;
    /* 14.4px */
    color: rgb(82, 82, 82);
}

.book-month .title h3 {
    color: var(--green-color);
    font-size: 1.5rem;
    /* 24px */
    font-weight: bold;
    font-family: "Libre Baskerville", serif;
}

.book-month .detail p {
    color: #555555;
    font-family: "Poppins", serif;
    font-size: 0.9rem;
    /* 14.4px */
}

.book-month .price p {
    font-family: "Libre Baskerville", serif;
    font-size: 1.4rem;
    /* 22.4px */
    color: var(--price-color);
    font-weight: bold;
}

.book-month .detail .button .text {
    color: var(--blue-color);
    font-size: 1rem;
    /* 16px */
}


.shop-btn {
    padding-inline: 3rem;
    padding-block: .6rem;
    border-radius: 1px;
    border: 1px solid white;
    display: flex;
    background-color: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    position: relative;
    font-family: "Poppins", serif;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
}

.shop-btn:hover {
    background-color: var(--blue-color);
    border: 1px solid var(--blue-color);
}

.shop-btn:hover .iconsnext {
    transform: translateX(20px);
    border-radius: 40px;
    transition-duration: .5s;
    fill: white;
}


.nextbtn {
    padding-inline: 1.5rem;
    width: 100%;
    padding-block: .6rem;
    border-radius: 1px;
    border: 1px solid var(--blue-color);
    display: flex;
    background-color: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    position: relative;
    font-family: "Poppins", serif;
    text-decoration: none;
    color: var(--blue-color) !important;
}

.iconsnext {
    width: 21px;
    height: 12px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    transition-duration: .5s;
}

.nextbtn:hover {
    background-color: var(--blue-color);
    color: white !important;
}

.nextbtn .text {
    height: 100%;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    z-index: 1;
    transition: .5s;
    font-size: 1;
    font-weight: 500;
    margin-block-end: 0;
}

.nextbtn:hover .iconsnext {
    transform: translateX(20px);
    border-radius: 40px;
    transition-duration: .5s;
    fill: white;
}

.nextbtn:hover .carts {
    fill: white;
    transition-duration: .1s;
}

.nextbtn:hover .text {
    transition-duration: .5s;
    color: white !important;
}

.nextbtn:active {
    transform: scale(0.95);
    transition-duration: .1s;
    background: transparent;
}

.carts {
    fill: var(--blue-color);
}

.hook {
    margin-block-start: 110px;
}

.hook-content {
    max-width: 1485px;
    padding-inline: 2.5rem;
}

.hook-content img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: 0 -100px;
    filter: brightness(60%);
    position: relative;
}

.hook-content .content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hook .content h1 {
    font-family: "Libre Baskerville", serif;
    text-shadow: 0 4px 5px rgba(0, 0, 0, 0.456);
    font-size: 3rem;
    width: 80%;
}

.hook .content p {
    color: rgb(229, 229, 229);
    font-size: 1rem;
    font-family: "Poppins", serif;
}

.btn-disabled {
    width: 100%;
    padding-inline: 3.1rem;
    padding-block: .5rem;
    border-radius: 1px;
    border: 1px solid #ccc;
    display: flex;
    background-color: #ccc;
    color: #727272;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    transition-duration: .5s;
    overflow: hidden;
    position: relative;
    font-family: "Poppins", serif;
    text-decoration: none;
}

.primary {
    padding-inline: 3.1rem;
    padding-block: .8rem;
    border-radius: 1px;
    border: 1px solid var(--blue-color);
    display: flex;
    background-color: var(--blue-color);
    color: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    position: relative;
    font-family: "Poppins", serif;
    text-decoration: none;
}

.primary:hover {
    background-color: transparent;
    color: var(--blue-color);
}

.primary:hover .iconsnext {
    transform: translateX(20px);
    border-radius: 40px;
    transition-duration: .5s;
    fill: white;
}

.primary:hover .carts {
    fill: white;
    transition-duration: .1s;
}

.primary:hover .text {
    transition-duration: .5s;
    color: var(--blue-color);
}

.primary:active {
    transform: scale(0.95);
    transition-duration: .1s;
    background: transparent;
}

.primary-carts {
    fill: white;
}


.welcomes {
    margin-block-start: 100px;
    position: relative;
}

.welcomes .card {
    background-color: var(--green-color);
    border-radius: 1px;
    max-width: 1100px;
    min-height: 100%;
    height: 550px !important;
    padding-inline-start: 4rem;
    padding-inline-end: 25rem;
    position: relative;
    overflow: hidden;
}

.welcomes .card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.welcomes .image {
    position: absolute;
    right: 0;
    top: 20%;
}

.welcomes .image img {
    width: 760px;
    max-width: 100%;
}

.welcomes .content {
    z-index: 1;
}

.welcomes .content .pre-title {
    text-transform: uppercase;
    font-family: "Poppins", serif;
    letter-spacing: 3px;
    color: #EFF9FF;
}

.welcomes .content h1 {
    width: 60%;
    font-size: 2.5rem;
    font-weight: bold;
    color: #EFF9FF;
    font-family: "Libre Baskerville", serif;
    margin-block-end: 25px;
}

.welcomes .line .lines {
    content: '';
    height: 2px;
    width: 100px;
    background-color: #EFF9FF;
}

.welcomes .content .description {
    color: #d7e2e9;
    font-family: 'Poppins', serif;
    font-size: .9rem;
    font-weight: 300;
    margin-block-start: 25px;
    margin-block-end: 25px;
}

.pattern {
    position: absolute;
    top: 0;
    left: 0;
}

.pattern img {
    width: 100%;
    mix-blend-mode: multiply;
    opacity: 30%;
}


.button .secondary {
    padding-inline: 3.1rem;
    padding-block: .8rem;
    border-radius: 1px;
    border: 1px solid #EFF9FF;
    display: flex;
    background-color: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.103);
    position: relative;
    font-family: "Poppins", serif;

}

.button .secondary:hover {
    background-color: var(--blue-color);
    border: 1px solid var(--blue-color);
}

.button .secondary:hover .iconsnext {
    transform: translateX(20px);
    border-radius: 40px;
    transition-duration: .5s;
    fill: white;
}

.button .secondary:hover .carts {
    fill: white;
    transition-duration: .1s;
}

.button .secondary:hover .text {
    /* transform: translate(10px, 0px); */
    transition-duration: .5s;
    color: white;
}

.button .secondary:active {
    transform: scale(0.95);
    transition-duration: .1s;
    background: transparent;
}

.welcomes .button .text {
    color: #EFF9FF;
}

.button .secondary-carts {
    fill: white;
}

.comments {
    margin-block-start: 160px;
}

.comment-name {
    color: var(--orange-color) !important;
}

.comments-content {
    max-width: 1485px;
    margin: 0 auto;
}

.comments h2 {
    text-align: center;
    font-weight: bold;
    color: var(--green-color);
    font-family: "Libre Baskerville", serif;
}

.comments .sub-title {
    text-align: center;
    font-family: "Libre Baskeville", serif;
    color: #787878;
    font-size: 1.1rem;
}

.hr-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hr {
    content: '';
    height: 1.5px;
    width: 100px;
    display: flex;
    justify-content: center;
    background-color: #b3b3b3;
}

.comments .content {
    gap: 1rem;
    margin-block-start: 30px;
    cursor: pointer;
    user-select: none;
}

.comments .card {
    max-width: 550px;
    min-width: 500px;
    padding-inline: 1.5rem !important;
    padding-block: 1.5rem !important;
    border-radius: 0px;
}



.comments .stars svg {
    fill: rgb(228, 173, 35);
    width: 20px;
    height: 20px;
}

.comments .titles h5 {
    font-family: "Libre Baskerville", serif;
    margin-block-start: 10px;
    color: var(--green-color);
    font-weight: bold;
}

.comments .say p {
    font-family: 'Libre Baskerville', serif;
    font-size: .8rem;
    line-height: 25px;
    color: #555555;
}

.comments .profile {
    display: flex;
    gap: .9rem;
    align-items: center;
}

.comments .profile .about h6 {
    font-family: 'Poppins', serif;
    color: var(--green-color);
    font-size: 1.1rem;
    margin-block-end: 0;
}

.comments .profile .about p {
    font-size: .8rem;
    margin: 0;
    font-family: 'Poppins', serif;
    color: #555555;
}

.comments .img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comments .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background-color: var(--green-color);
    padding-block-start: 3rem;
    padding-block-end: 1rem;
    margin-block-start: 100px;
}


footer img {
    width: 200px;
    filter: invert(1) brightness(5);
}

footer p {
    color: #c2cfd7;
    font-family: "Poppins", serif;
    line-height: 30px;
    font-size: .9rem;
    font-weight: 300;
    margin-block-start: 20px;
}

footer h4 {
    color: #EFF9FF;
    font-family: "libre baskerville", serif;
    font-weight: bold;
    font-size: 1.3rem;
}


footer a {
    color: #d2dbdf;
    text-decoration: none;
    font-family: 'Poppins', serif;
    font-weight: 300;
    font-size: .9rem;
}


.copyright {
    max-width: 1485px;
    margin: 0 auto;
    padding-inline: 2.5rem;
    margin-block-start: 50px;
}

.copyright .line {
    content: '';
    height: 1px;
    width: 100%;
    background-color: rgb(229, 229, 229);
}

.copyright p {
    color: #EFF9FF;
    margin-block-start: 20px;
    font-family: "Libre Baskerville", serif;
    font-size: .8rem;
    font-weight: 400;
}

.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.switch>span {
    position: absolute;
    top: 8px;
    pointer-events: none;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 50%;
    text-align: center;
}

.switch>span.on {
    left: 0;
    padding-left: 2px;
}

.switch>span.off {
    right: 0;
    padding-right: 2px;
}

.switch .check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.switch .check-toggle+label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switch input.check-toggle-round-flat+label {
    padding: 2px;
    width: 97px;
    height: 35px;
    background-color: var(--green-color);
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

.switch input.check-toggle-round-flat+label:before,
.switch input.check-toggle-round-flat+label:after {
    display: block;
    position: absolute;
    content: "";
}

.switch input.check-toggle-round-flat+label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: var(--green-color);
    -webkit--moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

.switch input.check-toggle-round-flat+label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 45px;
    background-color: #fff;
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
}

.switch input.check-toggle-round-flat:checked+label:after {
    margin-left: 44px;
}

.switch img {
    width: 20px;
    height: 20px;
}


#backTop {
    bottom: 10%;
    right: 30px;
    padding: .8rem;
    border-radius: 100%;
    background-color: var(--green-color);
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

#backTop svg {
    stroke: white;
    width: 24px;
    height: 24px;
}

#backTop.show {
    opacity: 1;
    visibility: visible;
    animation: bounceInUp .5s ease forwards;
}

#backTop.hide {
    animation: slideExitDown .5s ease forwards;
    visibility: visible;
}


/* Animasi muncul */
.modal-container.show {
    display: flex;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Awalnya sembunyi */
.modal-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animasi hilang */
.modal-container.hide {
    opacity: 0;
    transition: opacity 0.3s ease;
}


.modal-container .card {
    width: 350px;
    height: 360px;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    gap: 13px;
    position: fixed;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    overflow: hidden;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
}

.modal-container #cookieSvg {
    width: 50px;
}

.modal-container #cookieSvg g path {
    fill: rgb(97, 81, 81);
}

.modal-container .cookieHeading {
    font-family: "Libre Baskerville";
    font-size: 1.3rem;
    font-weight: 800;
    color: rgb(26, 26, 26);
}

.modal-container .cookieDescription {
    text-align: center;
    font-family: "Poppins", serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgb(99, 99, 99);
}

.modal-container .buttonContainer {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

.modal-container .acceptButton {
    width: 80px;
    height: 30px;
    background-color: #7b57ff;
    transition-duration: .2s;
    border: none;
    color: rgb(241, 241, 241);
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
}

.modal-container .declineButton {
    width: 80px;
    height: 30px;
    background-color: rgb(218, 218, 218);
    transition-duration: .2s;
    color: rgb(46, 46, 46);
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
}

.modal-container .declineButton:hover {
    background-color: #ebebeb;
    transition-duration: .2s;
}

.modal-container .acceptButton:hover {
    background-color: #9173ff;
    transition-duration: .2s;
}

@keyframes bounceInUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    60% {
        transform: translateY(-10%);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
    }

}

@keyframes slideExitDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}


@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1405px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding-block: 5px;
        display: flex;
        justify-content: start;
        gap: .5rem;
        width: 100%;
    }

    .navbar-nav {
        gap: 1.5rem !important;
    }

    .sector {
        display: none;
    }

    .navbar .logo p {
        display: none;
    }

    .company-logo {
        width: 90px;
    }

    .menus-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-user-account {
        display: none;
    }

    /* fixx start */
    .searches-wrapper {
        display: none;
    }

    .dropdown-menus {
        align-items: start;
        justify-content: start;
    }

    .navbar-nav .nav-link.active::before {
        display: none;
    }

    .goog-te-gadget .goog-te-combo {
        width: 100%;
    }

    #google_translate_element {
        width: 100%;
    }

    .ov-hide {
        display: inline !important;
    }

    main {
        margin-block-start: -45px;
    }


    /* fixx end */


    .carousel {
        padding-inline: 1rem;
        width: 100%;
        margin: 0 auto;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 15% !important;
        /* Perkecil tombol navigasi */
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .carousel-item img {
        height: 19vh;
        /* Sesuaikan tinggi untuk tablet */
    }

    .cart {
        position: relative;
    }

    .cart svg {
        width: 28px;
        height: 28px;
    }


    .book-released {
        padding-inline: 1rem;
        margin-block-start: 30px;
    }

    .book-content h2 {
        font-family: "Libre Baskerville", serif;
        font-weight: 700;
        color: var(--green-color);
        font-size: 1.1rem;
    }

    .book-content .content {
        margin-block-start: 15px;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .book-released .cover img {
        width: 170px;
    }

    .book-released .books {
        scroll-snap-align: center;
        max-width: 228px;
        min-width: 178px;
        min-height: 430px;
    }

    .book-released .description {
        padding-block-start: 3vh;
        gap: 1rem;
    }

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

    .book-released .stars svg {
        width: 15px;
        height: 15px;
    }

    .book-released .stars p {
        font-size: .8rem;
    }

    .book-content .title h4 {
        font-size: .9rem;
    }

    .book-content .price p {
        font-family: "Libre Baskerville", serif;
        font-size: .8rem;
    }

    .button .cart-button,
    .button .btn-disabled {
        width: 100%;
        font-size: 12px;
        padding: 8px 12px;
        height: auto;
    }

    .button .quantity-controls input {
        width: 30px;
        font-size: 12px;
        padding: 4px;
    }

    .button .quantity-controls button,
    .button .check-icon {
        padding: 4px 6px;
        font-size: 14px;
    }

    .button .primary {
        padding-inline: 2rem;
        padding-block: .8rem;
        border-radius: 1px;
    }

    .nextbtn {
        padding-inline: 3rem;
        padding-block: .6rem;
        border-radius: 1px;
    }

    .shop-btn {
        padding-inline: 2rem;
        padding-block: .5rem;
        font-size: .8rem;
    }


    .button .text {
        font-size: .6rem;
    }


    .loading {
        text-align: center;
        padding: 10px;
        font-style: italic;
        color: gray;
        display: none;
    }


    .no-data {
        text-align: center;
        padding: 10px;
        color: red;
        font-weight: bold;
        display: none;
    }

    .wrapper-mobiles {
        max-width: 200px;
        display: inline;
        border: 0;
    }

    .wrapper-mobiles svg {
        width: 18px;
        height: 18px;
        stroke: black !important;
    }

    .wrapper-mobiles .results-mobile {
        max-height: 300px;
    }

    .wrapper-mobiles .result-item {
        font-size: .7rem;
        padding: 5px;
    }

    .wrapper-mobiles .loading,
    .wrapper-mobiles .no-data {
        font-size: 16px;
    }


    .wrapper-mobiles .search-container-mobile {
        margin: 0 auto;
        position: relative;
    }

    .wrapper-mobiles .wrappers {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding-inline-start: .5rem !important;
        border: 1px solid #ccc;
        border-radius: 100px;
        padding: .3rem;
        font-size: 14px;
        width: 100%;
    }

    .wrapper-mobiles .search-input {
        border: 0;
        outline: 0;
        background-color: transparent;
        width: 100%;
        font-size: .8rem;
    }

    .wrapper-mobiles .results-mobile {
        width: 100%;
        border-radius: 4px;
        background: #fff;
        position: absolute;
        top: 40px;
        left: 0;
        display: none;
        overflow-y: auto;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .wrapper-mobiles .result-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }

    .wrapper-mobiles .result-item:hover {
        background: #f0f0f0;
    }

    .wrapper-mobiles .loading {
        text-align: center;
        padding: 10px;
        font-style: italic;
        color: gray;
    }

    .wrapper-mobiles .no-data {
        text-align: center;
        padding: 10px;
        font-weight: bold;
        color: red;
    }

    .wrapper-mobiles .data-list-mobile {
        display: none;
    }

    .VIpgJd-ZVi9od-ORHb-OEVmcd {
        display: none;
    }



    /* CATALOGS */
    .catalogs-wrapper {
        margin-block-start: 50px;
    }

    .catalogs-content {
        padding-inline: 1rem;
    }

    .catalogs-content h2 {
        font-weight: bold;
        font-size: 1.3rem;
    }

    .catalogs-content .card {
        max-height: 115px;
    }

    .catalogs-content .card h2 {
        font-size: .9rem;
    }

    .catalogs-content .sub-title {
        font-size: .8rem;
    }

    .hr {
        height: .1px !important;
        background-color: #d0d0d0;
        margin: 0;
    }

    .book-month {
        margin-block-start: 20px;
    }

    .book-month-content {
        padding-inline: 1rem;
    }

    .book-month .content {
        margin-block-start: 20px;
    }

    .book-month-content h2 {
        font-size: 1.3rem;
        /* 28px */
    }

    .book-month .content .book {
        min-width: 23rem;
        height: 16rem;
        gap: 1rem;
    }

    .book-month .content .description p {
        margin: .2rem;
    }

    .book-month .content .book .stars svg {
        width: .750rem;
        height: .750rem;
    }

    .book-month .content .book .stars p {
        font-size: .5rem;
    }

    .book-month .content .book .cover img {
        width: 10.5rem;
        /* 200px */
    }

    .book-month .title h3 {
        font-size: .9rem;
        margin: 0;
    }

    .book-month .price p {
        font-size: .7rem !important;
        margin: 0;
    }

    .book-month .detail p {
        font-size: 0.6rem;
    }

    .book-month .detail .button .text {
        font-size: .6rem;
    }


    .quote {
        min-height: 210px;
        position: relative;
        overflow: hidden;
        text-align: center;
    }

    .wrapper-quote {
        padding-inline: 1.5rem;
    }

    .quote-content {
        position: relative;
        display: flex;
        margin-block-start: 20px;
        align-items: center;
        justify-content: center;
    }

    .quote .images img {
        filter: brightness(20%);
        width: 145%;
        min-height: 160px !important;
        object-fit: cover;
    }

    .quote-content h4 {
        font-weight: 400;
        width: 1000px;
        margin-block-end: 0;
        font-size: .8rem;
    }

    .hook {
        margin-block-start: 60px;
    }

    .hook-content {
        max-width: 1400px;
        padding-inline: 1rem;
        max-height: 300px;
    }

    .hook-content img {
        width: 100%;
        height: 560px;
        object-fit: cover;
        /* object-position: -400px -155px; */
        object-position: center;
        filter: brightness(60%);
        position: relative;
    }

    .hook-content .content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hook .content h1 {
        font-family: "Libre Baskerville", serif;
        text-shadow: 0 4px 5px rgba(0, 0, 0, 0.456);
        font-size: 1.5rem;
        width: 90vw !important;
    }

    .hook .content p {
        color: rgb(229, 229, 229);
        font-size: .8rem;
        font-family: "Poppins", serif;

    }

    .welcomes {
        margin-block-start: 30px;
        width: 100%;
    }

    .welcomes .card {
        background-color: var(--green-color);
        border-radius: 1px;
        max-width: 1400px;
        width: 100%;
        min-height: 100%;
        height: 440px !important;
        padding-inline-start: 1rem;
        margin: 0 auto;
        padding-inline-end: 1rem;
        height: 100%;
    }



    .welcomes .image {
        display: none;
    }

    .welcomes .content .pre-title {
        text-transform: uppercase;
        font-family: "Poppins", serif;
        letter-spacing: 3px;
        color: #EFF9FF;
        font-size: .8rem;
    }

    .welcomes .content h1 {
        width: 100%;
        font-size: 1.6rem;
        font-weight: bold;
        color: #EFF9FF;
        font-family: "Libre Baskerville", serif;
        margin-block-end: 25px;
    }

    .welcomes .line .lines {
        height: 1.5px;
    }

    .welcomes .content .description {
        font-size: .7rem;
        line-height: 21px;
    }

    .pattern {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }

    .pattern img {
        width: 100%;
        mix-blend-mode: multiply;
        opacity: 30%;
        height: 100%;
        object-fit: cover;
    }


    .comments {
        margin-block-start: 40px;
    }

    .comments-content {
        max-width: 1400px;
        margin: 0 auto;
    }

    .comments h2 {
        font-size: 1.2rem;
    }

    .comments .sub-title {
        font-size: .8rem;
    }

    .hr {
        height: 1px;
        width: 70px;
    }

    .comments .content {
        gap: 1rem;
        margin-block-start: 20px;
        cursor: pointer;
    }

    .comments .card {
        max-width: 380px;
        min-width: 350px;
        padding-inline: 1.5rem !important;
        padding-block: 1.5rem !important;
        border-radius: 0px;
    }

    .comments .stars svg {
        width: 15px;
        height: 15px;
    }

    .comments .titles h5 {
        font-size: 1rem;
    }

    .comments .say p {
        font-size: .7rem;
    }

    .comments .profile {
        display: flex;
        gap: .9rem;
        align-items: center;
    }

    .comments .profile .about h6 {
        font-size: .8rem;
    }

    .comments .profile .about p {
        font-size: .6rem;
    }

    .comments .img {
        width: 45px;
        height: 45px;
    }

    .comments .img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #backTop {
        bottom: 5%;
        right: 10px;
        padding-inline: .5rem;
        padding-block: .55rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #backTop svg {
        width: 18px;
        height: 18px;
    }

    .copyright {
        padding-inline: .9rem;
    }

    footer p,
    footer a {
        font-size: .8rem;
    }

    footer img {
        width: 120px;
    }


}