html {
    scroll-behavior: smooth;
}

body {
    background-color: #fafafa !important;
}

html, body {
    /*overflow: auto;
    scrollbar-width: none;
    height: 100%;*/
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }*/

ul {
    list-style-type: none;
    padding-left: 0 !important;
}


* {
    margin: 0px;
    border: border-box;
}

a {
    text-decoration: none !important;
    color: #000000;
}

    a:hover {
        text-decoration: none !important;
        color: #000000 !important;
    }

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

button {
    border-radius: 0 !important;
    /*background: none;
  border: none !important;*/
}

section {
    margin: 5rem 0
}

/* Minimal page refinements */
:root {
    --brand: #0d6efd;
}

.thumb {
    cursor: pointer;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    overflow: hidden;
}

    .thumb.active {
        outline: 2px solid var(--brand);
    }

.price .mrp {
    text-decoration: line-through;
    color: #6c757d;
}

.price .sale {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc3545;
}

.badge-save {
    background: #198754;
}

.gallery-sticky {
    position: sticky;
    top: 1rem;
}

.small-muted {
    font-size: .9rem;
    color: #6c757d;
}

.related .card {
    transition: transform .2s ease, box-shadow .2s ease;
}

    .related .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    }

.alert-danger {
    background: #f3e2e4a8;
    border: solid 1px #d7bdc0 !important;
    color: #000;
}

.budget-box {
    border: 5px solid #f28c8c;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

    .budget-box:hover {
        background-color: #f28c8c;
        color: white;
        transform: translateY(-5px);
    }

    .budget-box h5 {
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 10px;
    }

    .budget-box p {
        font-size: 1.3rem;
        font-weight: 600;
        margin: 0;
    }

.trend-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

    .trend-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .trend-card:hover img {
        transform: scale(1.05);
    }

.trend-text {
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 1.1rem;
}

/*.featured-logos {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 15px 0;
    scrollbar-width: thin;
}

    .featured-logos::-webkit-scrollbar {
        height: 6px;
    }

    .featured-logos::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .featured-logos img {
        height: 60px;
        object-fit: contain;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

        .featured-logos img:hover {
            transform: scale(1.1);
        }*/
.logo-carousel img {
    height: 110px;
    object-fit: contain;
    margin: 0 30px;
}
/*#featured .carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: #000;
}*/


#featured .carousel-control-next, #featured .carousel-control-prev {
    background-color: #000;
    height: 50px;
    border-radius: 5px !important;
    padding: 5px;
    width: 50px;
}


.arrow1 {
}

    .arrow1 li {
        padding-left: 22px;
        position: relative;
        margin-bottom: 5px;
    }

        .arrow1 li:before {
            font-family: var(--fa-style-family, "Font Awesome 6 Free");
            font-weight: var(--fa-style, 900);
            content: "\f061";
            position: absolute;
            left: 0;
        }

.contact-section {
    background: url('https://picsum.photos/1920/1080?blur=2') no-repeat center center/cover;
    position: relative;
    color: #fff;
    padding: 60px 0 0 0;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-info i {
    font-size: 1.3rem;
    margin-right: 10px;
    color: #ffc107;
}

.contact-section .card {
    background: rgba(255,255,255,0.9);
}







/*small screen 
@media screen and (max-width: 992px)*/
@media screen and (max-width: 576px) {
    .header {
        height: 4rem;
    }

    .header-sm-container {
        height: 4rem;
    }

    header .logo {
        height: 40px;
        width: auto;
    }

    .section-padding-top {
        padding-top: 4rem;
    }

    .selected-currency img {
        width: 2rem;
        height: 2rem;
    }

    .header-icon {
        font-size: 1rem;
    }

    .cart img {
        width: 1rem;
    }

    .search-wrapper {
        flex-direction: column;
        align-items: flex-end;
    }

    #searchInput {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 1rem;
        width: 100%;
        max-width: 260px;
        box-sizing: border-box;
        z-index: 10;
        height: 2.2rem;
    }

    .search-wrapper.active #searchInput {
        opacity: 1;
        pointer-events: auto;
    }

    .loginbutton {
        padding: 0.3rem 0.8rem !important;
        font-size: 0.8rem !important;
    }

    .profile-dropdown li {
        padding: 0.2rem 0.8rem;
    }


    .profile-dropdown {
        top: 2rem;
    }

    .nav-bar {
        width: 2rem;
        height: 3px;
    }

    .sidepanel-list a,
    .dropdown-toggle-heading {
        font-size: 1rem;
    }

    .story-row {
        margin-top: 4rem;
        justify-content: flex-start;
    }

    .carousel-nav {
        bottom: 0.3rem;
    }

    .story-box-wrapper {
        flex-direction: column;
    }

    .story-box {
        width: min(100vw, 400px);
        height: 100%;
    }

        .story-box.prev,
        .story-box.next {
            display: none;
        }

    .story-nav-btn.left {
        left: 0.5rem;
    }

    .story-nav-btn.right {
        right: 0.5rem;
    }

    .category-circle img {
        width: 6rem;
        height: 6rem;
    }

    .category-circle p {
        font-size: 0.8rem;
    }

    .product-name {
        display: -webkit-box;
        -webkit-line-clamp: 2;  
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        line-height: 1.2;
        max-width: 100%;
    }

    .add-to-cart {
        padding: 7px 10px;
        font-size: 0.9rem;
    }

    #cart-count {
        font-size: 0.5rem;
    }

    .view-all {
        padding: 0.6rem 1.4rem;
        font-size: 0.8rem;
    }

    .jewelcat p {
        font-size: 0.9rem;
    }

    .p-footer, .subscribe-form button, .subscribe-form input {
        font-size: 0.9rem;
    }

    .title-footer {
        font-size: 1rem;
    }

    .socials {
        font-size: 1.2rem;
    }
}
/*Medium Screen
@media only screen and (min-width: 600px)*/
@media screen and (min-width: 577px) and (max-width: 1023px) {
    .header {
        height: 5rem;
    }

    header .logo {
        height: 50px;
        width: auto;
    }

    .selected-currency img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .header-icon {
        font-size: 1.6rem;
    }

    .cart img {
        width: 2rem;
    }

    .search-wrapper {
        flex-direction: column;
        align-items: flex-end;
        margin: 0rem 1rem;
    }

    #searchInput {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 1rem;
        width: 100%;
        max-width: 260px;
        box-sizing: border-box;
        z-index: 10;
        height: 3rem;
    }

    .search-wrapper.active #searchInput {
        opacity: 1;
        pointer-events: auto;
    }

    .section-padding-top {
        padding-top: 5rem;
    }

    .profile-dropdown {
        top: 3rem;
    }

        .profile-dropdown li {
            padding: 0.4rem 0.8rem;
        }

    .loginbutton {
        padding: 0.6rem 1rem !important;
        font-size: 1rem !important;
    }

    .nav-bar {
        width: 3.2rem;
        height: 5px;
    }

    .sidepanel-list a,
    .dropdown-toggle-heading {
        font-size: 1.5rem;
    }

    .story-box {
        width: 80vw;
        height: 90vh;
    }

    .story-row {
        margin-top: 5rem;
        justify-content: flex-start;
    }

    .carousel-nav {
        bottom: 1rem;
    }

    .category-circle img {
        width: 7rem;
        height: 7rem;
    }

    .category-circle p {
        font-size: 0.8rem;
    }


    .product-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
        font-size: 1rem;
    }

    .add-to-cart {
        padding: 7px 10px;
        font-size: 0.9rem;
    }

    #cart-count {
        font-size: 0.7rem;
    }

    .view-all {
        padding: 0.6rem 1.4rem;
        font-size: 0.8rem;
    }

    .jewelcat p {
        font-size: 1.2rem;
    }

    .p-footer, .subscribe-form button, .subscribe-form input {
        font-size: 1rem;
    }

    .title-footer {
        font-size: 1.1rem;
    }

    .socials {
        font-size: 1.4rem;
    }
}


/* width: 1024 */
@media screen and (width: 1024px) {
    .header {
        height: 5.2rem;
    }

    header .logo {
        height: 50px;
        width: auto;
    }

    .selected-currency img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .header-icon {
        font-size: 1.6rem;
    }

    .cart img {
        width: 2rem;
    }

    .search-wrapper {
        margin-left: 1.8rem;
    }

    .section-padding-top {
        padding-top: 5.2rem;
    }

    .profile-dropdown {
        top: 3rem;
    }

        .profile-dropdown li {
            padding: 0.4rem 0.8rem;
        }

    .loginbutton {
        padding: 0.6rem 1rem !important;
        font-size: 1.2rem !important;
    }

    .nav-bar {
        width: 4rem;
        height: 5px;
    }

    .sidepanel-list a,
    .dropdown-toggle-heading {
        font-size: 1.7rem;
    }

    .story-box {
        width: 70vw;
        height: 90vh;
    }

    .story-row {
        margin-top: 5.2rem;
        justify-content: center;
    }

    .carousel-nav {
        bottom: 1rem;
    }

    .category-circle img {
        width: 7.5rem;
        height: 7.5rem;
    }

    .category-circle p {
        font-size: 1rem;
    }

    .add-to-cart {
        padding: 7px 10px;
        font-size: 0.9rem;
    }

    #cart-count {
        font-size: 0.7rem;
    }

    .view-all {
        padding: 0.7rem 1.6rem;
        font-size: 0.9rem;
    }

    .jewelcat p {
        font-size: 1.2rem;
    }

    .p-footer, .subscribe-form button, .subscribe-form input {
        font-size: 1rem;
    }

    .title-footer {
        font-size: 1.1rem;
    }

    .socials {
        font-size: 1.4rem;
    }
}


/*large screen */
@media screen and (min-width: 1025px) {
    .header {
        height: 5.2rem;
    }

    header .logo {
        height: 50px;
        width: auto;
    }

    .selected-currency img {
        width: 2.5rem;
        height: 2.5rem;
    }

    .header-icon {
        font-size: 1.6rem;
    }

    .cart img {
        width: 2rem;
    }

    .search-wrapper {
        margin-left: 1.8rem;
    }

    .section-padding-top {
        padding-top: 5.2rem;
    }


    .profile-dropdown {
        top: 3rem;
    }

        .profile-dropdown li {
            padding: 0.6rem 0.8rem;
        }

    .loginbutton {
        padding: 0.6rem 1rem !important;
        font-size: 1.2rem !important;
    }

    .nav-bar {
        width: 4.5rem;
        height: 5px;
    }

    .sidepanel-list a,
    .dropdown-toggle-heading {
        font-size: 1.3rem;
    }

    .story-box {
        width: 450px;
        height: 90vh;
    }

    .story-row {
        margin-top: 5.2rem;
        justify-content: center;
    }

    .carousel-nav {
        bottom: 1rem;
    }

    .category-circle img {
        width: 7.5rem;
        height: 7.5rem;
    }

    .category-circle p {
        font-size: 1rem;
    }

    #cart-count {
        font-size: 0.7rem;
    }

    .view-all {
        padding: 0.7rem 1.6rem;
        font-size: 0.9rem;
    }

    .jewelcat p {
        font-size: 1.4rem;
    }

    .p-footer, .subscribe-form button, .subscribe-form input {
        font-size: 1rem;
    }

    .title-footer {
        font-size: 1.1rem;
    }

    .socials {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1500px;
        padding: 0 40px;
    }
}

/* -------------------- Preloader ---------------------- */
#loadingSpinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    #loadingSpinner.preload-finish {
        opacity: 0;
        visibility: hidden;
    }


.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #e95858;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* -----------------------------------------------------------
Header and Sidepanel
-----------------------------------------------------------*/

.header {
    background-color: #ffffff;
    box-shadow: 0px -8px 20px 0px #00000096;
}

nav li {
    list-style-type: none;
}

.button-blue {
    background-color: #142654 !important;
    color: #ffffff !important;
}

    .button-blue:hover {
        background-color: #294282 !important;
    }

.wishlist {
    color: #000000 !important;
}

.sidepanel {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #ffffff;
    overflow-y: hidden;
    transition: 0.5s;
}

.sidepanel-content {
    height: 100%;
    overflow: visible;
}

.nav-panel {
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 8px;
    padding-bottom: 8rem;
    max-height: calc(100vh - 20px);
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.story-row::-webkit-scrollbar, .category-row::-webkit-scrollbar {
    display: none;
}

.sidepanel-list a,
.dropdown-toggle-heading {
    color: #404040 !important;
}

    .sidepanel-list a:hover,
    .dropdown-toggle-heading:hover {
        color: #000000;
        font-weight: 500;
    }

.sidepanel-menu-close {
    font-size: 1.5rem;
}

.nav-list {
    position: relative;
    list-style: none;
    border-bottom: #ff8888 solid 1.8px;
}

.dropdown-toggle-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-right: 10px;
}

.dropdown-toggle-list {
    display: none;
    padding-left: 15px !important;
    margin-top: 10px;
    border-left: #ff8888 solid 1px;
}

    .dropdown-toggle-list li {
        padding: 6px 0;
    }

        .dropdown-toggle-list li a {
            display: block;
        }

.nav-list.open > .dropdown-toggle-list {
    display: block;
}

.openbtn {
    border: none;
    background-color: white;
}


/* -------------------------------------------- CURRENCY DROPDOWN ------------------------------------------ */
.currency-dropdown {
    position: relative;
    display: inline-block;
}

.currency-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background-color: #fff;
    border-radius: 3px;
    box-shadow: 4px 6px 15px #00000096;
    width: 260px;
    max-height: 250px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
}

    .currency-list.show {
        display: block;
    }

    .currency-list li {
        padding: 8px 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: #c9c9c9 solid 1px;
    }

        .currency-list li:hover {
            background-color: #f2f2f2;
        }

.selected-currency img {
    border-radius: 50%;
    border: solid black 2px;
    object-fit: cover;
    padding: 2px;
}

.selected-currency {
    cursor: pointer;
    padding: 10px 0px 10px 5px;
    user-select: none;
}

/* ------------------------ Search Bar --------------------------- */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#searchIcon {
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

#searchInput {
    width: 0;
    opacity: 0;
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: width 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    margin-left: 8px;
}

.search-wrapper.active #searchInput {
    width: 220px;
    opacity: 1;
    pointer-events: auto;
}

/* ------------------------------ LOGIN/PROFILE --------------------------- */
.loginbutton {
    border: #000000 solid 2px !important;
    color: #000000 !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
}

    .loginbutton:hover {
        background-color: #ffe7e7 !important;
    }

#profileIcon {
    cursor: pointer;
}

.profile-dropdown {
    display: none;
    position: absolute;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 120px;
    box-shadow: 4px 6px 15px #00000096;
    z-index: 2000;
}

    .profile-dropdown li {
        cursor: pointer;
        transition: background 0.2s;
    }

        .profile-dropdown li:hover {
            background-color: #f1f1f1;
        }

#profileWrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* ----------------------------- STORY CAROUSEL --------------------------- */
.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

.story-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.story-box {
    position: relative;
    background: black;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: grab;
    transition: transform 0.4s ease, opacity 0.4s ease, z-index 0.4s;
    z-index: 2;
}

.story-media {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .story-media img,
    .story-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.story-navbar {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 5px;
    z-index: 1001;
}

.story-nav-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.story-nav-bar-fill {
    height: 100%;
    background: white;
    width: 0%;
    animation: none;
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.story-header {
    position: absolute;
    top: 2.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-category-name {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: start;
    flex: 1;
}

.story-controls {
    display: flex;
    gap: 0.5rem;
}

.toggle-btn,
.close-btn-story {
    font-size: 1.2rem;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    z-index: 1002;
    transition: background 0.3s;
}

    .story-nav-btn.left {
        left: 1rem;
    }

    .story-nav-btn.right {
        right: 1rem;
    }

.story-carousel {
    background: #fff;
}

.story-row-wrapper, .category-row-wrapper {
    overflow-x: hidden;
    padding: 0 0.3rem;
}

.story-row, .category-row {
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 10px;
    padding: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .story-row::-webkit-scrollbar, .category-row::-webkit-scrollbar {
        display: none;
    }

.story-circle, .category-circle {
    flex: 0 0 auto;
    text-align: center;
    cursor: pointer;
}

    .story-circle img,
    .story-circle video {
        width: 5rem;
        height: 5rem;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #ff8888;
        padding: 3px;
    }

    .story-circle p {
        font-size: 0.75rem;
        margin: 0;
    }

.story-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 1rem;
    border-radius: 50%;
}

    .story-loader .spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #ccc;
        border-top-color: #e95858;
        border-radius: 50%;
        animation: spin 0.7s linear infinite;
    }

.hidden {
    display: none;
}


/* ------------------------------------
BODY
--------------------------------------- */

/* ----------------------------- CAROUSEL ---------------------- */
.custom-carousel {
    width: 100%;
    overflow: hidden;
    background: #f9f9f9;
}

.carousel-container {
    margin: auto;
    position: relative;
}

.carousel-track {
    position: relative;
    height: auto;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: auto;
}

    .carousel-slide.active {
        display: block;
    }

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-bar {
    position: relative;
    background: #cccccca6;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

.nav-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: white;
    animation-timing-function: linear;
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ------------------------------ CATEGORY CIRCLE ROW LIST ---------------------------------- */

.category-circle img {
    border-radius: 50%;
    object-fit: cover;
}

.category-circle p, .jewelcat p, .section-title {
    font-weight: 500;
    letter-spacing: 3px;
    color: #000000;
    margin-top: 10px;
}

/* ------------------------------ Product Container ---------------------------------------- */
.product-container {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.prod-cont-border {
    border-radius: 0px;
    border: 1px solid #c8c8c8;
    height: 100%;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease-in-out;
}

.main-image {
    z-index: 1;
    opacity: 1;
}

.hover-image {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

.product-image-container:hover .hover-image {
    opacity: 1;
}

.product-image-container:hover .main-image {
    opacity: 0;
}

.wishlist-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 6px;
    border-radius: 50%;
    z-index: 100;
}

.sale-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: black;
    color: white;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 3;
}

.product-info {
    padding: 10px 0 0;
}


/*.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.4; 
    max-width: 100%;
    font-weight: 500;
    margin-bottom: 10px;
    height: calc(1.4em * 2);  
}*/
.product-name {
    position: relative;
    height: calc(1.4em * 2);  
    max-width: 100%;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 10px;
    overflow: hidden;
}
    .product-name span {
        position: absolute;
        bottom: 0;  
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }



.product-price {
    font-size: 0.8rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 2px;
    font-weight: bold;
    margin-bottom: 5px;
}

    .product-price del {
        color: grey;
        margin-left: 6px;
        font-weight:normal;
    }

.discount {
    color: green;
    font-size: 0.85rem;
    margin-left: auto;
    font-weight: normal;
}

.product-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 10px 0;
}

.size-dropdown {
    padding: 5px;
    font-size: 0.9rem;
    width: 100%;
    transition: border 0.3s ease;
}

.page-link {
    border-radius: 0 !important;
    color: #000;
}

.cart {
    position: relative;
}

.add-to-cart {
    background: black;
    color: white;
    border: none;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
    width: 100%;
}

#cart-count {
    position: absolute;
    background: red;
    color: white;
    border-radius: 50%;
    top: -7px;
    right: -10px;
    padding: 2px 6px;
}

.view-all {
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* -------------------------------- SHOP BY CATEGORY ------------------------------- */

.square-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

    .square-image-wrapper img {
        position: absolute;
        top: 50%;
        left: 50%;
        object-fit: cover;
        object-position: center center;
        transform: translate(-50%, -50%);
    }

/* ------------------------------ */
/* FOOTER */
/* ------------------------------ */
main {
    flex: 1;
}

footer {
    background-color: #ffd9d9;
    box-shadow: 1px 2px 20px 0px #00000096;
}

.title-footer {
    font-weight: 500;
    letter-spacing: 3px;
}

.p-footer {
    color: #333;
}

/* .subscribe-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
} */

.subscribe-form input[type="email"] {
    padding: 0.5rem 1rem;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.subscribe-form button {
    padding: 0.5rem 1.2rem;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

    .subscribe-form button:hover {
        background-color: #e95858;
    }

.subscribe-message {
    margin-top: 0.5rem;
    color: green;
    font-size: 0.9rem;
}

#subscribe-message {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    height: 1.5rem; /* reserve space to prevent layout shift */
}

    #subscribe-message.show {
        opacity: 1;
    }

.socials {
    color: #333;
}
