@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    /* overflow-x: hidden; */
    background-color: rgb(25 23 19);
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Bodoni Moda", serif;
    color: rgb(222, 203, 94);
}
p {
    font-family: "EB Garamond", serif;
    color: rgb(223, 212, 146);
    word-break: break-word;
}
a{
    text-decoration: none;
}
/* strat offer  */
.offer-bar {
    width: 100%;
    background-color: rgb(32, 28, 21);
    color: rgb(184, 171, 97);
    font-size: 20px;
    font-weight: bolder;
    font-family: "Bodoni Moda", serif;
    padding: 8px 0;
}

.offer-item {
    white-space: nowrap;
}

/* end offer  */

/* start navbar  */

.navbar-home {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999999999999999;
    background-color: rgb(25 23 19);
    box-shadow: 0 0 2px rgb(164, 140, 4);
}

.content-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 20%;
    background-color: rgb(25 23 19);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;

    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;

    z-index: 999999;
    transition: 1s;

    overflow-y: auto;
    overflow-x: hidden;

    height: calc(100vh - 70px);
}

.mobile-menu a {
    color: rgb(186, 167, 62);
    text-decoration: none;
    font-family: "EB Garamond", serif;
    font-size: 20px;
    font-weight: bold;
}

.mobile-menu.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}
.menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 5px;
}

.menu-btn:hover {
    opacity: 0.7;
}

.menu-btn i {
    transition: 0.3s;
}

.icon-btn {
    position: relative;
    display: inline-block;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;

    background: rgb(176, 161, 73);
    color: #fff;

    font-size: 11px;
    font-weight: bold;

    min-width: 18px;
    height: 18px;
    padding: 2px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

@media only screen and (max-width: 770px) {
    .mobile-menu {
        width: 40%;
    }
    .mobile-menu a {
        font-size: 18px;
    }
}

@media only screen and (max-width: 450px) {
    .mobile-menu {
        width: 50%;
    }
    .mobile-menu a {
        font-size: 16px;
    }
}

@media only screen and (max-width: 370px) {
    .mobile-menu a {
        font-size: 15px;
    }
}

.page-content {
    transition: 0.3s;
}

.menu-open .page-content {
    opacity: 0.3;
}

/* overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.799);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 999;
}

.menu-open .overlay {
    opacity: 1;
    pointer-events: all;
}
/* end navbar  */

/* start header home */
.header-home {
    background:
        linear-gradient(rgba(25, 23, 19, 0.681)), url(../img/1773791607556.png);
    height: 500px;
    background-position: center;
    background-size: cover;
}
.header-home p {
    color: rgb(184, 171, 97);
    margin-top: 20px;
    font-size: 20px;
}
.header-home h5 {
    color: rgb(184, 171, 97);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 14px;
}
.header-home h1 {
    font-weight: bolder;
    color: white;
    font-size: 60px;
}
.header-home span {
    color: rgb(211, 183, 20);
}
@media only screen and (max-width: 450px) {
    .header-home {
        height: 400px;
    }
    .header-home p {
        font-size: 13px;
    }
    .header-home h1 {
        font-size: 40px;
    }
    .header-home h5 {
        margin-top: -15px;
        font-size: 12px;
    }
}
@media only screen and (max-width: 370px) {
    .header-home p {
        font-size: 9px;
    }
    .header-home h1 {
        font-size: 35px;
    }
}
/* end header home */

/* strat best sellers home  */

.premium .best hr {
    border: 1px gold solid;
    width: 7%;
    margin: auto;
    margin-top: 10px;
}

.products-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.products-scroll::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 50%;
    scroll-snap-align: start;
    padding: 10px;
    text-align: center;
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {
    .product-card {
        flex: 0 0 33%;
    }
}

@media (min-width: 1024px) {
    .product-card {
        flex: 0 0 33%;
    }

    .products-scroll::after {
        content: "";
        flex: 0 0 50px;
    }
}

/* hover */
.product-card:hover {
    transform: scale(1.03);
}

.product-card h3 {
    font-size: 14px;
    margin: 10px 0 5px;
}
.product-card p {
    font-size: 16px;
}
.product-card p:nth-of-type(1) {
    text-decoration: line-through;
    opacity: 0.5;
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    height: 200px;
}

.product-card p {
    color: #c5a47e;
}
@media only screen and (max-width: 770px) {
    .product-card img {
        height: 120px;
    }
    .product-card p {
        font-size: 12px;
    }
}
@media only screen and (max-width: 450px) {
    .premium .best hr {
        width: 15%;
    }
    .premium .best h1 {
        font-size: 18px;
    }
}

/* end best sellers home  */

/* start show perfume */
.show-perfume img {
    border-radius: 5px;
    box-shadow: 0 0 3px rgb(222, 203, 94);
}
.show-perfume p:nth-of-type(1) {
    text-decoration: line-through;
    opacity: 0.5;
    font-size: 25px;
}
.show-perfume p:nth-of-type(2) {
    font-size: 25px;
}
.show-perfume p:nth-of-type(3) {
    color: white;
    letter-spacing: 2px;
    word-spacing: 2px;
    opacity: 0.8;
    margin-top: 10px;
}
.show-perfume .content-perfume {
    box-shadow: 0 0 3px rgb(222, 203, 94);
    border-radius: 5px;
    width: 95%;
    margin: 0 auto;
}

.show-perfume .content-perfume hr {
    border: 1px rgb(222, 203, 94) solid;
}

.show-perfume .content-perfume .review input {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
    border-radius: 10px;
    margin-top: 5px;
}
.show-perfume .content-perfume .review textarea {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
    border-radius: 10px;
    margin-top: 5px;
}
.show-perfume .content-perfume .review input:focus {
    background-color: transparent;
    color: rgb(222, 203, 94);
}
.show-perfume .content-perfume .review textarea:focus {
    background-color: transparent;
    color: rgb(222, 203, 94);
}
.sizes {
    width: 90%;
    display: flex;
    gap: 10px;
}

.size-btn {
    padding: 10px 20px;
    border: 1px solid rgb(222, 203, 94);
    color: white;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 5px;
    width: 23%;
    font-size: 12px;
    font-weight: bold;
}

.size-btn.active {
    border-color: rgb(222, 203, 94);
    background: rgba(222, 203, 94, 0.265);
    color: white;
}

.hidden {
    display: none;
}

#reviewForm {
    margin-top: 15px;
}

.rating {
    font-size: 30px;
    cursor: pointer;
}

.star {
    color: #ccc;
    transition: 0.2s;
}

.star.active {
    color: gold;
}
/* end show perfume */

/* start footer  */

.contact p a {
    color: rgb(223, 212, 146);
}
.copy {
    opacity: 0.7;
}
.copy a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
@media only screen and (max-width: 450px) {
    .contact p {
        font-size: 12px;
    }
    .contact h6 {
        font-size: 12px;
    }
}

/* end footer  */

/* start login  */
.login {
    background:
        linear-gradient(rgba(0, 0, 0, 0.912)), url(../img/1773791607556.png);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login .border-form {
    box-shadow: 0 0 5px rgb(222, 203, 94);
    border-radius: 10px;
}
.login form .input {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
}
.login form input {
    border-radius: 10px;
}
.login form input::placeholder {
    color: rgb(222, 203, 94);
    opacity: 0.6;
}
.login form {
    box-shadow: 0 0 7px rgb(222, 203, 94);
    border-radius: 10px;
}
.login form hr {
    border: 1px rgb(222, 203, 94) solid;
}
.login form a {
    text-decoration: underline;
    text-decoration-color: rgb(222, 203, 94);
}
/* end login  */

/* start cart  */

.cart-items img {
    border-radius: 10px;
    width: 100px;
    height: 120px;
}
.cart-items .cart-qty a {
    text-decoration: none;
}
.cart-items .remove {
    text-decoration: none;
}
.cart-items .cart-back a {
    text-decoration: none;
}
.cart-summary {
    box-shadow: 0 0 7px rgb(222, 203, 94);
    border-radius: 10px;
}
.cart-summary form input {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
    border-radius: 10px;
}
.cart-summary form .select {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    border-radius: 10px;
    color: rgb(222, 203, 94);
    opacity: 0.6;
}
.cart-summary form .select option {
    color: black;
}
.cart-summary form input::placeholder {
    color: rgb(222, 203, 94);
    opacity: 0.6;
}

.cart-summary form input:focus {
    background-color: transparent;
    color: rgb(222, 203, 94);
}
.cart-summary form .note {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    border-radius: 10px;
    color: rgb(222, 203, 94);
    opacity: 0.6;
}
.cart-summary form .note::placeholder {
    color: rgb(222, 203, 94);
}
@media only screen and (max-width: 450px) {
    .cart-summary {
        width: 90%;
        margin: auto;
    }
    .cart-items .size-name h4 {
        font-size: 15px;
    }
    .cart-items .size-name p {
        font-size: 10px;
    }
    .cart-items img {
        width: 70px;
        height: 90px;
    }
    .cart-items .price {
        font-size: 13px;
    }
}
/* end cart  */

/* start navbar dashboard  */
.navbar {
    box-shadow: 0 0 1px rgb(135, 135, 135);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999999999;
    background-color: rgb(27, 25, 22);
}

.custom-menu .nav-link {
    font-family: "Bodoni Moda", serif;
    color: rgb(222, 203, 94);
    font-size: 20px;
}

.custom-menu {
    display: flex;
    flex-direction: column !important;
    align-items: flex-end;
    background-color: rgb(25 23 19);
    border-radius: 6px;
    transition: 0.3s;
}
.custom-menu .nav-link.active {
    background-color: #424242;
    color: rgb(222, 203, 94);
    border-radius: 10px;
}
.custom-menu .nav-item {
    width: 100%;
    text-align: right;
}
.custom-menu .name-user {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.navbar-nav.custom-menu {
    flex-direction: column !important;
}

/* Desktop */
@media (min-width: 780px) {
    .custom-menu {
        position: fixed !important;
        top: 0;
        right: 0;
        height: 100vh;
        width: 220px;
        padding: 20px;
        background-color: rgb(27, 25, 22);
        box-shadow: 0 0 1px rgb(135, 135, 135);
        z-index: 9999;
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 780px) {
    .custom-menu {
        align-items: flex-start;
        position: static;
        width: 100%;
        height: auto;
    }
}

.dashboard {
    width: 85%;
}
.dashboard form input {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
    border-radius: 10px;
    margin-top: 5px;
}
.dashboard form textarea {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
    border-radius: 10px;
    margin-top: 5px;
}
.dashboard form label {
    color: rgb(222, 203, 94);
}
.dashboard form input:focus {
    background-color: transparent;
    color: rgb(222, 203, 94);
}
.dashboard form textarea:focus {
    background-color: transparent;
    color: rgb(222, 203, 94);
}
.dashboard form select {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    border-radius: 10px;
    color: rgb(222, 203, 94);
    opacity: 0.6;
}
.dashboard form select option {
    color: black;
}
.dashboard-count {
    width: 85%;
}
#searchDashboard {
    background-color: transparent;
    border: 2px solid rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    border-radius: 10px;
}
#searchDashboard::placeholder{
    color: white;
}

@media only screen and (max-width: 770px) {
    .dashboard {
        width: 100%;
        margin: auto;
    }
    .dashboard-count {
        width: 100%;
        margin: auto;
    }

    .table-responsive table td {
        font-size: 15px;
    }
    .table-responsive table th {
        font-size: 15px;
    }
}
@media only screen and (max-width: 450px) {
    .table-responsive table td {
        font-size: 12px;
    }
    .table-responsive table th {
        font-size: 12px;
    }
}

/* end navbar dashboard  */

.custom-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 90%;
    border: none;
    border-radius: 10px;
}

.custom-alert1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 90%;
    border: none;
    border-radius: 10px;
}

#searchToggle:focus {
    outline: none;
    box-shadow: none;
}
.search-box {
    position: absolute;
    top: 70px;
    right: 6%;
    padding: 10px;
    border-radius: 10px;
    display: none;
    z-index: 9999;
}
.search-results {
    border-radius: 15px;
    padding: 10px;
    overflow-y: auto;
    width: 100%;
    display: none;
}

.search-item {
    padding: 8px;
    cursor: pointer;
}

.search-item:hover {
    background: #f2f2f2;
}

#searchInput {
    background-color: transparent;
    border: 2px solid rgb(222, 203, 94);
    color: rgb(222, 203, 94);
    border-radius: 10px;
    width: 400px;
    transition: all 2s ease;
}

#searchInput:focus {
    background-color: transparent;
    color: rgb(222, 203, 94);
}

@media only screen and (max-width: 770px) {
    #searchInput {
        background-color: rgb(25 23 19);
        border: 2px solid rgb(222, 203, 94);
        color: rgb(222, 203, 94);
        border-radius: 10px;
        width: 300px;
    }

    #searchInput:focus {
        background-color: rgb(25 23 19);
        color: rgb(222, 203, 94);
    }
}
@media only screen and (max-width: 450px) {
    #searchInput {
        width: 250px;
        margin-right: 20px;
        margin-top: -5px;
    }
}
