/* Custom Swiper Pagination Styling */
.swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 15px; /* Reduced from 20px for better vertical rhythm */
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* General slider styling */
.slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px; /* Reduced from 30px for consistency */
    height: 500px; /* Set fixed height for banner */
}

.main-slider {
    width: 100%;
    height: 100%; /* Full height of container */
    overflow: hidden;
    position: relative;
}

.main-slider .swiper-slide {
    width: 100%;
    height: 100%; /* Full height of slider */
    position: relative;
    overflow: hidden;
}

.main-slider .swiper-slide img,
.main-slider .swiper-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Cover the entire area */
    object-position: center; /* Center the image */
    position: absolute;
    top: 0;
    left: 0;
}

/* Custom pagination for main slider with better positioning */
.main-slider .swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Main slider bullets specific styling */
.main-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
    border: 2px solid transparent;
    margin: 0 4px;
}

.main-slider .swiper-pagination-bullet-active {
    background: #fff;
    width: 32px;
    height: 12px;
    border-radius: 6px;
    opacity: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Generic swiper pagination */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: #e0e0e0;
    opacity: 0.6;
    margin: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #333;
    width: 28px;
    border-radius: 5px;
    height: 8px;
}

/* Custom Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
    opacity: 0; /* Hide by default */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #000;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
}

/* Show buttons on hover */
.slider-container:hover .swiper-button-next,
.slider-container:hover .swiper-button-prev,
.product-slider:hover .swiper-button-next,
.product-slider:hover .swiper-button-prev,
.testimonials-slider:hover .swiper-button-next,
.testimonials-slider:hover .swiper-button-prev,
.new-arrivals-slider:hover .swiper-button-next,
.new-arrivals-slider:hover .swiper-button-prev,
.gallery-slider:hover .swiper-button-next,
.gallery-slider:hover .swiper-button-prev {
    opacity: 1;
}

/* Improved responsive styling */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination-bullet-active {
        width: 24px;
        height: 7px;
    }

    .main-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .main-slider .swiper-pagination-bullet-active {
        width: 28px;
        height: 10px;
    }
}

/* Consistent container styling for all sliders */
.product-slider,
.testimonials-slider,
.new-arrivals-slider,
.gallery-slider {
    padding-bottom: 20px; /* Reduced from 40px to balance with section margins */
    position: relative;
    margin-bottom: 0; /* Remove margin-bottom to let section handle spacing */
}

/* Slide content styling */
.slide-content {
    position: absolute;
    bottom: 70px;
    left: 50px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 5;
    max-width: 60%;
}

.slide-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.slide-content .subtitle {
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
}

.slide-content p {
    font-size: 18px;
    margin: 0;
}

/* Add overlay to make text more readable */
.slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.slide-link:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Responsive slide content */
@media (max-width: 768px) {
    .slide-content {
        left: 30px;
        bottom: 50px;
        max-width: 80%;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content .subtitle {
        font-size: 14px;
    }

    .slide-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slide-content {
        left: 20px;
        bottom: 30px;
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .slide-content .subtitle {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .slide-content p {
        font-size: 12px;
    }
}

/* Responsive heights for different screen sizes */
@media (max-width: 1200px) {
    .slider-container {
        height: 450px;
    }
}

@media (max-width: 992px) {
    .slider-container {
        height: 400px;
    }

    section {
        margin: 30px 0; /* Reduced spacing on medium screens */
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: 350px;
    }

    section {
        margin: 25px 0; /* Further reduced spacing on small screens */
    }

    .section-title {
        margin-bottom: 15px; /* Smaller spacing on small screens */
    }
}

@media (max-width: 576px) {
    .slider-container {
        height: 300px;
    }

    section {
        margin: 20px 0; /* Minimal spacing on very small screens */
    }
}

/* Override specific gallery slider styles for consistency */
.gallery-slider {
    padding-bottom: 20px; /* Reduced from 40px to match other sliders */
    margin-top: 0; /* Remove custom margin-top */
}

/* Standardize section spacing */
section {
    margin: 35px 0; /* Adjusted from 40px for better balance with slider padding */
}

/* Section title spacing */
.section-title {
    margin-bottom: 20px; /* Consistent bottom margin for all section titles */
}

/* Homepage-only elements */
.only-homepage {
    display: none;
}

.front_page .only-homepage {
    display: block;
}

/* Calendar Styling */
.ec-calendar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 15px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 10px;
    background-color: #fafafa;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.ec-calendar__month {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
    border: 1px solid #eaeaea;
}

.ec-calendar__title {
    display: none;
}

.ec-calendar th {
    padding: 6px 2px;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #e0e4e8;
    font-size: 0.8rem;
    color: #333;
    background-color: #f0f4f8;
}

.ec-calendar__sun {
    color: #dc3545;
}

.ec-calendar__sat {
    color: #007bff;
}

.ec-calendar td {
    padding: 6px 2px;
    text-align: center;
    border: 1px solid #f5f5f5;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
}

.ec-calendar td:hover {
    background-color: #f8f9fa;
}

.ec-calendar__day {
    color: #333;
}

.ec-calendar__holiday {
    color: #dc3545;
    font-weight: 500;
}

.ec-calendar__today {
    background-color: #fff8e1;
    color: #333;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #ffca28;
}

/* Calendar navigation buttons - positioned absolutely */
.ec-calendar-nav {
    position: relative;
    height: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ec-calendar-nav button {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    z-index: 10;
    font-size: 0.8rem;
}

#current-month-display {
    text-align: center;
    font-weight: 600;
    color: #4a6491;
    font-size: 0.95rem;
    flex-grow: 1;
}

.ec-calendar-nav button#prev-month-btn {
    margin-left: 5px;
}

.ec-calendar-nav button#next-month-btn {
    margin-right: 5px;
}

.ec-calendar-nav button:hover {
    background-color: #fff;
    border-color: #adb5bd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.ec-calendar-nav button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 100, 145, 0.2);
}

.ec-calendar-nav button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.ec-calendar-container {
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ec-calendar-container.hidden {
    display: none;
}

/* Note under calendar */
.ec-calendar-note {
    margin-top: 5px;
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Responsive calendar styling */
@media (max-width: 768px) {
    .ec-calendar {
        font-size: 0.85rem;
        padding: 8px;
    }

    .ec-calendar__title {
        padding: 6px;
        font-size: 0.9rem;
    }

    .ec-calendar th,
    .ec-calendar td {
        padding: 5px 2px;
        font-size: 0.75rem;
    }

    .ec-calendar-nav button {
        width: 26px;
        height: 26px;
    }

    .ec-calendar-nav button#prev-month-btn {
        margin-left: 3px;
    }

    .ec-calendar-nav button#next-month-btn {
        margin-right: 3px;
    }

    #current-month-display {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .ec-calendar__month {
        margin-bottom: 8px;
    }

    .ec-calendar th,
    .ec-calendar td {
        padding: 4px 1px;
        font-size: 0.7rem;
    }
}

/* Gallery Lightbox Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10001;
    transition: transform 0.3s ease;
    transform: scale(0.95);
}

.lightbox-modal.show .lightbox-content {
    transform: scale(1);
}

.lightbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 85vh;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.lightbox-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(0);
    animation: imageFadeIn 0.3s ease forwards;
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-lightbox {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-lightbox:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    bottom: -70px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(0);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 33, 33, 0.97);
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-popup.show {
    opacity: 1;
    visibility: visible;
    display: block !important;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu-content {
    padding: 70px 20px 40px;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-content > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-content a {
    display: block;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu-content .dropdown-menu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-content .dropdown-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 15px;
}

.mobile-menu-content .dropdown-content.show {
    display: block;
}

.mobile-menu-content .second-level > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
}

.mobile-menu-content .third-level-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 15px;
}

.mobile-menu-content .third-level-content.show {
    display: block;
}

.mobile-menu-content .third-level-content a {
    padding-left: 25px;
}

/* Fix: Ensure third-level-content is hidden by default */
.mobile-menu-content .second-level .third-level-content {
    display: none !important;
}

/* Only show third-level-content when parent is active or has show class */
.mobile-menu-content .second-level.active .third-level-content,
.mobile-menu-content .second-level .third-level-content.show {
    display: block !important;
}

/* Fix: Ensure dropdown-content is hidden by default in mobile menu */
.mobile-menu-content .dropdown-menu .dropdown-content {
    display: none !important;
}

/* Only show dropdown-content when parent is active or has show class */
.mobile-menu-content .dropdown-menu.active .dropdown-content,
.mobile-menu-content .dropdown-menu .dropdown-content.show {
    display: block !important;
}

.mobile-menu-content .dropdown-indicator {
    transition: transform 0.3s;
}

.mobile-menu-content .dropdown-menu.active > a .dropdown-indicator,
.mobile-menu-content .second-level.active > a .dropdown-indicator {
    transform: rotate(90deg);
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    /* Hide main navigation when mobile menu is active */
    .mobile-menu-popup.show + .main-nav .container > ul {
        display: none !important;
    }

    /* Force hide main navigation on mobile */
    body.mobile-menu-active .main-nav .container > ul {
        display: none !important;
    }

    /* Disable hover effect for second-level in mobile menu */
    .mobile-menu-content .second-level:hover .third-level-content {
        display: none !important;
    }

    /* Ensure only active or show class can display third-level-content */
    .mobile-menu-content .second-level.active .third-level-content,
    .mobile-menu-content .second-level .third-level-content.show {
        display: block !important;
    }

    /* Disable hover effect for dropdown-menu in mobile menu */
    .mobile-menu-content .dropdown-menu:hover .dropdown-content {
        display: none !important;
    }

    /* Ensure only active or show class can display dropdown-content */
    .mobile-menu-content .dropdown-menu.active .dropdown-content,
    .mobile-menu-content .dropdown-menu .dropdown-content.show {
        display: block !important;
    }
}

/* Product Tag Styles */
.product-tab {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 4px;
    font-weight: 600;
    background-color: #6a7d94;
    color: #fff;
}

/* Different tag colors */
.product-tab:nth-child(1) {
    background-color: #435878;
}

.product-tab:nth-child(2) {
    background-color: #826b5f;
}

/* Enhanced Ranking Styles */
.rank-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, #e5b93d, #f1c40f);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #95a5a6, #bdc3c7);
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #cd7f32, #e67e22);
}

.rank-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rank-1 .rank-ribbon {
    background: linear-gradient(90deg, rgba(229, 185, 61, 0.85), rgba(241, 196, 15, 0.85));
}

.rank-2 .rank-ribbon {
    background: linear-gradient(90deg, rgba(149, 165, 166, 0.85), rgba(189, 195, 199, 0.85));
}

.rank-3 .rank-ribbon {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.85), rgba(230, 126, 34, 0.85));
}

.quick-info-item {
    margin-bottom: 3px;
    background: rgba(0, 0, 0, 0.7);
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.quick-info-item:first-child {
    background: rgba(241, 196, 15, 0.9);
    color: #000;
    font-weight: 600;
}

.quick-info-item:nth-child(2) {
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Hover effect for ranking cards */
.ranking-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-card:hover .rank-badge {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    animation: none;
}

.ranking-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Payment Methods UI Fix */
.payment-methods {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-methods i {
    font-size: 24px;
    margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox-content {
        width: 98%;
    }

    .lightbox-container {
        height: 75vh;
    }

    .lightbox-nav {
        bottom: -60px;
        gap: 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
    }

    .close-lightbox {
        top: -45px;
        right: 0;
    }

    .rank-badge {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        top: -10px;
        left: -10px;
    }

    /* Hide sidebar on mobile */
    .sidebar {
        display: none;
    }

    .main-content {
        display: block;
    }

    .content {
        width: 100%;
    }

    /* Payment methods in one row on mobile */
    .payment-methods {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 10px;
        justify-content: flex-start;
    }

    .payment-methods span {
        margin-right: 8px;
        white-space: nowrap;
    }

    .payment-methods i {
        font-size: 20px;
        margin-right: 8px;
    }

    /* Mobile menu adjustments */
    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px;
    }

    .main-nav .container > ul {
        display: none;
    }
}

/* News List Style */
.news-list {
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f9f8f4;
}

.news-item .news-date {
    flex: 0 0 100px;
    margin-bottom: 0;
    font-weight: bold;
}

.news-item .news-title {
    flex: 1;
    margin: 0 20px;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .news-link {
    flex: 0 0 100px;
    text-align: right;
}

/* Mobile responsive news styles */
@media (max-width: 767px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .news-item .news-date {
        flex: none;
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .news-item .news-title {
        flex: none;
        width: 100%;
        margin: 0 0 10px 0;
        white-space: normal;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .news-item .news-link {
        flex: none;
        width: 100%;
        text-align: right;
        font-size: 0.9rem;
    }

    /* Hide payment methods in footer on mobile */
    .footer-bottom .payment-methods {
        display: none !important;
    }

    /* Optimize FAQ modal for mobile */
    .faq-container {
        padding: 20px 15px;
        max-height: 85vh;
    }

    .faq-container h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .faq-question {
        padding: 12px 10px;
    }

    .faq-question i {
        margin-right: 10px;
        font-size: 1rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 10px 15px 10px 15px;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.news-modal .close-modal {
    top: 10px;
    right: 10px;
    background: #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .news-modal .close-modal {
        top: 0;
        right: 0;
    }
}

.news-detail-container {
    padding: 30px;
}

.news-modal .news-detail-container {
    padding: 30px 30px 30px 30px;
}

@media (max-width: 767px) {
    .news-modal .close-modal {
        top: 0;
        right: 0;
    }

    .news-modal .news-detail-container {
        padding-top: 40px;
    }
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 133%; /* 4:3 aspect ratio */
}

.product-image-link-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.product-image-link-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-link img {
    transform: scale(1.05);
}

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    text-transform: uppercase;
}

.product-tag.limited {
    background-color: #e74c3c;
}

.product-tag.soldout {
    background-color: #7f8c8d;
}

.product-tag.recommended {
    background-color: #2980b9;
}

.product-tag.new {
    background-color: #27ae60;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    transform: translateX(0);
    opacity: 1;
}

.btn-wishlist, .btn-quickview {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wishlist:hover, .btn-quickview:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
}

.btn-wishlist.active, .btn-quickview.active {
    background-color: #f5f5f5;
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.product-description {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 2.8em; /* Ensures consistent height even when empty */
}

/* When product description is empty */
.product-info:not(:has(.product-description:not(:empty))) .product-price {
    margin-top: 15px;
}

.product-price {
    color: #333;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

.tax-included {
    font-size: 0.7rem;
    color: #999;
    font-weight: normal;
    margin-left: 5px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #666;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.pagination a:hover {
    background-color: #f5f5f5;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pagination a.active {
    background-color: #333;
    color: white;
}

.pagination a.next {
    background-color: #f5f5f5;
}

.pagination a.prev {
    background-color: #f5f5f5;
}

/* Filter Section Styles */
.product-filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-filter-section.filter-changed {
    background-color: #f9f9f9;
}

.product-count {
    font-weight: 500;
}

.product-display-options {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-display-dropdown, .product-sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-select {
    position: relative;
    min-width: 120px;
}

.custom-select select {
    appearance: none;
    padding: 8px 30px 8px 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-select select:hover, .custom-select.focused select {
    border-color: #aaa;
}

.select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
    transition: transform 0.2s ease;
}

.custom-select.focused .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* No Products Found Styles */
.no-products-found {
    background-color: white;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no-products-icon {
    font-size: 3rem;
    color: #aaa;
    margin-bottom: 20px;
}

.no-products-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-products-message {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-products-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    gap: 5px;
}

.no-products-btn:hover {
    background-color: #eee;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-filter-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .product-display-options {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }

    .pagination {
        gap: 3px;
    }

    .pagination a {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-display-options {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        width: 100%;
    }

    .product-display-dropdown, .product-sort-dropdown {
        width: auto;
        min-width: 45%;
        display: flex;
        align-items: center;
    }

    .product-display-dropdown label, .product-sort-dropdown label {
        display: inline-block;
        margin-right: 5px;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .custom-select {
        width: auto;
        flex: 1;
        min-width: 100px;
    }

    .custom-select select {
        width: 100%;
        padding: 6px 25px 6px 8px;
        font-size: 0.9rem;
    }

    .select-arrow {
        right: 8px;
    }
}

@media (max-width: 440px) {
    .product-filter-section {
        padding: 12px 15px;
    }

    .product-display-dropdown, .product-sort-dropdown {
        min-width: 100%;
        margin-bottom: 5px;
    }

    .product-display-dropdown label, .product-sort-dropdown label {
        min-width: 70px;
        font-weight: 500;
    }

    .custom-select {
        min-width: 120px;
    }
}

/* Sold out overlay */
.soldout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.soldout-indicator {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid white;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Modify existing product tag styles */
.product-tag.soldout {
    display: none;
}

@media (max-width: 768px) {
    .soldout-indicator {
        font-size: 16px;
        padding: 6px 16px;
    }
}

@media (max-width: 576px) {
    .soldout-indicator {
        font-size: 14px;
        padding: 5px 12px;
    }
}

/* Search keyword result styling */
.search-keyword-result {
    background-color: #f8f8f8;
    border-left: 3px solid #a67c52;
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 1rem;
    color: #333;
}

.search-keyword-result p {
    margin: 0;
}

/* Breadcrumb styling */
.breadcrumb-container {
    background-color: #f8f8f8;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb li a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb li a:hover {
    color: #a67c52;
    text-decoration: underline;
}

.breadcrumb li.active {
    color: #a67c52;
    font-weight: 500;
}

/* Responsive breadcrumb */
@media (max-width: 576px) {
    .breadcrumb-container {
        padding: 8px 0;
    }

    .breadcrumb li {
        font-size: 0.8rem;
    }

    .breadcrumb li:not(:last-child)::after {
        margin: 0 5px;
    }
}

/* Form Styling */
.form-error {
    display: block;
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
}

.required-tag {
    display: inline-block;
    background-color: #dc3545;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

/* Rating Stars Styling */
.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    float: right;
    cursor: pointer;
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 24px;
    margin-right: 5px;
}

.rating-stars label:before {
    content: "★";
}

.rating-stars input[type="radio"]:checked ~ label {
    color: #ffb700;
}

.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #ffd700;
}

.rating-stars input[type="radio"]:checked + label:hover,
.rating-stars input[type="radio"]:checked ~ label:hover,
.rating-stars input[type="radio"]:checked ~ label:hover ~ label,
.rating-stars label:hover ~ input[type="radio"]:checked ~ label {
    color: #ffc800;
}

/* Radio Button Styling */
.custom-radio {
    margin-bottom: 10px;
    display: block;
}

.custom-radio input[type="radio"] {
    margin-right: 8px;
}

/* Additional Form Responsive Styling */
@media (max-width: 767px) {
    .form-group {
        margin-bottom: 15px;
    }

    .rating-stars label {
        font-size: 20px;
    }

    .form-control {
        font-size: 16px; /* Prevent auto-zoom on iOS */
        padding: 10px;
    }

    .custom-radio {
        margin-bottom: 8px;
    }

    .form-error {
        font-size: 0.8rem;
    }

    .required-tag {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
}

/* Radio Button Row Layout */
.gender-group .custom-radio,
.ec-radio .ec-radio__item {
    display: inline-block;
    margin-right: 15px;
}

/* Required Label Styling */
.ec-required {
    display: inline-block;
    background-color: #DE5D50;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    padding: 0 5px;
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 3px;
}

/* Remove after pseudo-element from product review labels */
.product_review .ec-label:after {
    content: none !important;
}

/* Radio Button Row Layout - Fix conflict */
.product_review .ec-radio label {
    display: inline-flex !important;
    margin-bottom: 0 !important;
}

.product_review .ec-radio .ec-radio__item {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
}

/* SPRO01 Custom Theme CSS */
body.spro-theme {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--neutral-color);
}

/* Ensure theme customizer elements are not affected by theme changes */
#theme-customizer,
#theme-customizer *,
#export-popup,
#export-popup *,
#theme-customizer-btn,
#customizer-overlay {
    font-family: inherit;
    color: inherit;
    background-color: inherit;
    border-color: inherit;
    border-radius: initial;
    box-shadow: initial;
}

/* Hard-code customizer styles to prevent theme changes from affecting the UI */
#theme-customizer {
    background-color: white !important;
    color: #333333 !important;
    font-family: sans-serif !important;
}

#theme-customizer .customizer-header h3 {
    color: #333333 !important;
    font-family: sans-serif !important;
}

#theme-customizer .setting-group h4 {
    color: #333333 !important;
    font-family: sans-serif !important;
    border-bottom: 1px solid #eeeeee !important;
}

#theme-customizer button {
    background-color: #6b5b95 !important;
    color: white !important;
    font-family: sans-serif !important;
}

#theme-customizer .tab-btn {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    border-bottom-color: transparent !important;
}

#theme-customizer .tab-btn.active {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    border-bottom-color: #6b5b95 !important;
    font-weight: bold !important;
}

#export-popup {
    background-color: white !important;
    color: #333333 !important;
    font-family: sans-serif !important;
}

#export-popup h3 {
    color: #333333 !important;
    font-family: sans-serif !important;
}

#export-popup button {
    background-color: #6b5b95 !important;
    color: white !important;
    font-family: sans-serif !important;
}

#theme-customizer-btn {
    background-color: #6b5b95 !important;
    color: white !important;
    font-family: sans-serif !important;
}

.spro-theme h1, .spro-theme h2, .spro-theme h3,
.spro-theme h4, .spro-theme h5, .spro-theme h6 {
    font-family: var(--font-heading);
}

/* Header and navigation */
.spro-theme .header {
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow-color);
}

.spro-theme .logo-accent {
    color: var(--primary-color);
}

.spro-theme .nav-link:hover {
    color: var(--primary-color);
}

/* Buttons */
.spro-theme .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 4px;
}

.spro-theme .btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text);
    border-radius: 4px;
}

.spro-theme .btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 4px;
}

/* Section titles */
.spro-theme .section-title h2 {
    color: var(--secondary-color);
}

.spro-theme .section-title .subtitle {
    color: var(--primary-color);
}

/* Product cards */
.spro-theme .product-card {
    border-radius: 4px;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.spro-theme .product-tab {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 4px;
}

.spro-theme .product-title-link {
    color: var(--secondary-color);
}

.spro-theme .price {
    color: var(--primary-color);
}

/* Footer */
.spro-theme .footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.spro-theme .footer-heading {
    color: var(--accent-color);
}

/* Rounded corners for various elements */
.spro-theme .product-image,
.spro-theme .category-image,
.spro-theme .main-gallery-item,
.spro-theme .testimonial,
.spro-theme .news-item {
    border-radius: 4px;
    overflow: hidden;
}

/* Custom Page Styling */
.page-custom {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.page-custom .ec-pageHeader {
    margin: 30px 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.page-custom .ec-pageHeader h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.page-custom .ec-pageHeader h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #525263;
}

.page-custom .ec-off1Grid {
    margin-bottom: 30px;
}

.page-custom .ec-off1Grid__cell {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    padding: 25px 30px;
    border: 1px solid #f0f0f0;
}

.page-custom .ec-heading-bold {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.page-custom p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-custom .ec-off1Grid__cell {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive design */
@media (max-width: 767px) {
    .page-custom .ec-pageHeader h1 {
        font-size: 1.5rem;
    }

    .page-custom .ec-off1Grid__cell {
        padding: 20px;
    }

    .page-custom .ec-heading-bold {
        font-size: 1.2rem;
    }

    .page-custom p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .page-custom .ec-pageHeader h1 {
        font-size: 1.3rem;
    }

    .page-custom .ec-off1Grid__cell {
        padding: 15px;
    }

    .page-custom .ec-heading-bold {
        font-size: 1.1rem;
    }
}

/* Maintenance Alert Styles */
.ec-maintenanceAlert {
    background: #ff6b35;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ec-maintenanceAlert div {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

/* Responsive design for maintenance alert */
@media (max-width: 768px) {
    .ec-maintenanceAlert {
        padding: 12px 15px;
    }

    .ec-maintenanceAlert div {
        font-size: 0.9rem;
    }

    .ec-maintenanceAlert div:before {
        margin-right: 6px;
    }
}

@media (max-width: 576px) {
    .ec-maintenanceAlert {
        padding: 10px 12px;
    }

    .ec-maintenanceAlert div {
        font-size: 0.85rem;
    }
}

/* Social Media Share Buttons */
.share-container {
    margin: 25px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.share-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.share-buttons a i {
    font-size: 18px;
}

/* Individual social media colors */
.twitter-share {
    background-color: #1da1f2;
}

.twitter-share:hover {
    background-color: #0d8bd9;
}

.facebook-share {
    background-color: #4267b2;
}

.facebook-share:hover {
    background-color: #365899;
}

.pinterest-share {
    background-color: #e60023;
}

.pinterest-share:hover {
    background-color: #bd081c;
}

.line-share {
    background-color: #00c300;
}

.line-share:hover {
    background-color: #00a000;
}

/* Responsive design for share buttons */
@media (max-width: 768px) {
    .share-container {
        padding: 15px;
        margin: 20px 0;
    }

    .share-title {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .share-buttons {
        gap: 12px;
    }

    .share-buttons a {
        width: 40px;
        height: 40px;
    }

    .share-buttons a i {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .share-container {
        padding: 12px;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-buttons a {
        width: 38px;
        height: 38px;
    }

    .share-buttons a i {
        font-size: 15px;
    }
}