.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;
}

/* Modern Product Share Component */
.product-share-section {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-text {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
    min-width: 50px;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn:active {
    transform: translateY(0);
}

.share-btn svg {
    transition: all 0.3s ease;
}

.share-btn:hover svg {
    transform: scale(1.1);
}

/* Individual platform colors */
.share-facebook {
    background: #1877f2;
    color: white;
}

.share-facebook:hover {
    background: #166fe5;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-twitter:hover {
    background: #1a91da;
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-whatsapp:hover {
    background: #22c55e;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.share-telegram {
    background: #0088cc;
    color: white;
}

.share-telegram:hover {
    background: #0077b3;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.share-copy {
    background: #6c757d;
    color: white;
}

.share-copy:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.share-copy.copied {
    background: #28a745;
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive design */
@media (max-width: 576px) {
    .share-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .share-buttons {
        gap: 0.75rem;
    }
    
    .share-btn {
        width: 44px;
        height: 44px;
    }
}

/* Share notification */
.share-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    font-weight: 500;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.share-notification.fade-out {
    animation: slideOutRight 0.3s ease;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Wishlist Button Loading State */
.js-add-wishlist:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.js-add-wishlist .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Wishlist Button Active State */
.js-add-wishlist.active svg,
.js-add-wishlist.filled-heart svg {
    fill: #dc3545 !important;
    color: #dc3545 !important;
}

.js-add-wishlist:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.js-add-wishlist:active {
    transform: scale(0.95);
}

/* Product Image Zoom Functionality */
.product-single__image-item {
    position: relative;
    overflow: hidden;
}

.product-single__image-item a[data-fancybox] {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
}

.product-single__image-item:hover a[data-fancybox] {
    opacity: 1;
    transform: scale(1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-single__image-item a[data-fancybox]:hover {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.product-single__image-item a[data-fancybox] svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Fancybox Custom Styling */
.fancybox-toolbar {
    background: rgba(0, 0, 0, 0.8) !important;
}

.fancybox-button {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
}

.fancybox-button:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.fancybox-caption {
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
}

/* Mobile Responsive Zoom Button */
@media (max-width: 768px) {
    .product-single__image-item a[data-fancybox] {
        opacity: 1;
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .product-single__image-item a[data-fancybox] svg {
        width: 14px;
        height: 14px;
    }
}

/* Featured Products Card Hover Effects */
.product-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-card .pc__info {
    position: relative;
    z-index: 2;
}

/* Hover Overlay Styling */
.product-card .anim_appear-bottom {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px !important;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover .anim_appear-bottom {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Keep original button styles - only fix overlay positioning */

/* Product Card Image Wrapper */
.product-card .pc__img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-card .pc__img {
    transition: all 0.4s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-card:hover .pc__img {
    transform: scale(1.05);
}

/* Product Info Styling */
.product-card .pc__title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.product-card .pc__title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card .pc__title a:hover {
    color: #e74c3c;
}

.product-card .product-card__price {
    margin-bottom: 0;
}

.product-card .money.price {
    font-size: 16px;
    font-weight: 600;
    color: #e74c3c !important;
}

.product-card .money.price s {
    color: #999 !important;
    font-weight: 400;
    margin-right: 8px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-card .anim_appear-bottom {
        padding: 12px !important;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .product-card:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .product-card .anim_appear-bottom {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: #f8f9fa !important;
        border-top: 1px solid #dee2e6 !important;
        margin-top: 10px !important;
        border-radius: 6px !important;
    }
}

/* Rating Stars Component Styles */
.review-stars-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-group {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.review-star {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Different star states */
.review-star--full {
    fill: #ffc107;
    color: #ffc107;
}

.review-star--half {
    fill: url(#star-half-gradient);
    color: #ffc107;
}

.review-star--empty {
    fill: #e9ecef;
    color: #e9ecef;
}

/* Size variations */
.review-star--small {
    width: 12px;
    height: 12px;
}

.review-star--large {
    width: 18px;
    height: 18px;
}

/* Reviews note text */
.reviews-note {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0;
}

/* Product card rating styles */
.product-card__rating {
    margin-bottom: 0.5rem;
}

.product-card__rating .rating-stars {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    margin-bottom: 0.25rem;
}

.product-card__rating .rating-star {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.product-card__rating .rating-star--filled {
    fill: #ffc107;
    color: #ffc107;
}

.product-card__rating .rating-star svg {
    width: 100%;
    height: 100%;
    display: block;
}

.product-card__rating .rating-count {
    font-size: 0.75rem;
    color: #6c757d;
    margin-left: 0.25rem;
}

/* Product details page rating */
.product-single__rating .review-stars-wrapper {
    margin-bottom: 1rem;
}

.product-single__rating .review-star {
    width: 16px;
    height: 16px;
}

/* Hover effects for interactive stars */
.star-rating__star-icon {
    cursor: pointer;
    transition: all 0.2s ease;
    fill: #e9ecef;
}

.star-rating__star-icon:hover,
.star-rating__star-icon.is-overed {
    fill: #ffc107;
    transform: scale(1.1);
}

.star-rating__star-icon.is-selected {
    fill: #ffc107;
}

/* Alternative approach for half stars using CSS */
.review-star--half {
    position: relative;
    fill: #e9ecef;
}

.review-star--half::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: #ffc107;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Ensure proper spacing in different contexts */
.reviews-summary .review-stars-wrapper {
    margin-bottom: 0.5rem;
}

.customer-review .review-stars-wrapper {
    margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .review-star {
        width: 12px;
        height: 12px;
    }
    
    .review-star--large {
        width: 16px;
        height: 16px;
    }
    
    .product-single__rating .review-star {
        width: 14px;
        height: 14px;
    }
}

/* Fix for SVG rendering issues */
.review-star svg {
    display: block;
    width: 100%;
    height: 100%;
}

.review-star path {
    pointer-events: none;
}