.footer-middle {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
}

.text-right {
    text-align: right;
}

.pt-90 {
    padding-top: 90px !important;
}

.my-account__address-list {
    display: flex;
    gap: 1.625rem;
}

.form-floating>.form-control,
.form-floating>.form-select {
    height: 48px;
}

/* Wishlist Button Styles */
.pc__btn-wl {
    transition: all 0.3s ease;
}

.pc__btn-wl.active {
    color: #ff4747 !important;
}

.pc__btn-wl.active svg {
    fill: #ff4747 !important;
}

.pc__btn-wl:hover {
    transform: scale(1.1);
}

.pc__btn-wl:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Animation for wishlist button */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.pc__btn-wl.active {
    animation: heartBeat 0.3s ease-in-out;
}

.product-options {
    margin: 1.5rem 0;
}

.option-group {
    margin-bottom: 1rem;
}

.option-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.option-values {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.option-value {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.option-value:hover {
    border-color: #333;
}

.option-value.selected {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* Share Menu Styles */
.share-button {
    position: relative;
    display: inline-block;
}

.share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 8px;
    display: none;
    z-index: 1000;
    min-width: 200px;
}

.share-menu.active {
    display: block;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s;
    border-radius: 4px;
}

.share-option:hover {
    background-color: #f5f5f5;
}

.share-option i {
    width: 20px;
    text-align: center;
}

.share-option span {
    font-size: 14px;
    color: #333;
}

/* Platform-specific colors */
.share-option[data-platform="facebook"] i {
    color: #1877f2;
}

.share-option[data-platform="twitter"] i {
    color: #1da1f2;
}

.share-option[data-platform="whatsapp"] i {
    color: #25d366;
}

.share-option.copy-link i {
    color: #666;
}

/* Cart Count Animation */
.cart-count {
    transition: transform 0.3s ease-out;
}

.cart-count-update {
    transform: scale(1.3);
    animation: cartCountPulse 0.3s ease-out;
}

@keyframes cartCountPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}


.language-switcher {
    position: relative;
    cursor: pointer;
    margin-left: 10px;
    z-index: 1001;
}

.language-switcher .current-lang {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.language-switcher .current-lang:hover {
    background: #f5f5f5;
}

.language-switcher .lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 5px 0;
    display: none;
    min-width: 150px;
}

.language-switcher:hover .lang-dropdown {
    display: block;
}

.language-switcher .lang-option {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}


.language-switcher .lang-option:hover {
    background: #f5f5f5;
}

.language-switcher img {
    width: 26px;
    height: 18px;
    object-fit: cover;
}

/* Category Dropdown Styles */
.category-switcher {
    position: relative;
}

.navigation__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 15px;
    justify-content: center;
    gap: 15px;
}


.category-dropdown {
    position: absolute;
    top: 100%;
    min-width: 220px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 1000;
}

html[dir="ltr"] .category-dropdown {
    left: 0;
}

html[dir="rtl"] .category-dropdown {
    right: 0;
}

.category-switcher:hover .category-dropdown {
    display: block;
}

.category-option {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    white-space: nowrap;
}

html[dir="rtl"] .category-option {
    text-align: right;
}

html[dir="ltr"] .category-option {
    text-align: left;
}

.category-option:hover {
    background: #f8f8f8;
    color: #c0a47a;
}

html[dir="rtl"] .category-option:hover {
    padding-right: 25px;
}

html[dir="ltr"] .category-option:hover {
    padding-left: 25px;
}

/* Navigation Link Styles */
.navigation__link {
    display: flex !important;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 5px;
    font-weight: 500;
}

.navigation__link:hover {
    color: #c0a47a;
}

.navigation__link .fa-angle-down {
    font-size: 12px;
    margin-top: 2px;
    transition: transform 0.3s ease;
}

.category-switcher:hover .navigation__link .fa-angle-down {
    transform: rotate(-180deg);
}

html[dir="rtl"] .category-switcher:hover .navigation__link .fa-angle-down {
    transform: rotate(180deg);
}




.product-single__meta {
    border-top: 1px solid #e5e5e5;
    padding-top: 1rem;
}

.product-single__meta-item {
    display: flex;
    margin-bottom: 0.5rem;
}

.product-single__meta-label {
    font-weight: 600;
    min-width: 120px;
}

.product-single__meta-value {
    color: #666;
}

.option-value {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-value:hover:not(.disabled) {
    border-color: #333;
}

.option-value.selected:not(.disabled) {
    background-color: #333;
    color: white;
    border-color: #333;
}

.option-value.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.price-adjustment {
    font-size: 0.85em;
    color: #666;
    margin-left: 5px;
}

.option-value.selected .price-adjustment {
    color: #fff;
}

.out-of-stock {
    font-size: 0.85em;
    color: #dc3545;
    margin-left: 5px;
}

.final-price {
    font-weight: bold;
    color: #28a745;
}

.price-change-up {
    animation: priceUp 0.3s ease-out;
}

.price-change-down {
    animation: priceDown 0.3s ease-out;
}

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

    50% {
        transform: translateY(-10px);
        opacity: 0;
    }

    51% {
        transform: translateY(10px);
        opacity: 0;
    }

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

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

    50% {
        transform: translateY(10px);
        opacity: 0;
    }

    51% {
        transform: translateY(-10px);
        opacity: 0;
    }

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

/* Loading State Styles */
.btn-addtocart {
    min-width: 140px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-addtocart.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.btn-addtocart.loading .spinner-border {
    display: inline-block !important;
}

/* Hide specific divs in mobile view */
@media (max-width: 767.98px) {
    .mb-3.mb-xl-5.pt-1.pb-4 {
        display: none !important;
    }
}

/* WhatsApp Contact Icon Styles */
.whatsapp-contact-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Entrance animation */
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease, opacity 0.3s ease;
}

.whatsapp-contact-icon:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-contact-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* Responsive adjustments for mobile */
@media (max-width: 767.98px) {
    .whatsapp-contact-icon {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-contact-icon svg {
        width: 24px;
        height: 24px;
    }
}