/* ===== banner.blade.php ===== */
.banner_skeleton {
    width: 100%;
    height: 702px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.banner_skeleton_item {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {
    .banner_skeleton {
        height: 497px;
    }
}

#banner_container .swiper-slide {
    width: 100%;
}

#banner_container .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== branding.blade.php ===== */
.branding_skeleton {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 7px;
    width: 100%;
}

.branding_skeleton_item {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 2px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 991px) {
    .branding_skeleton {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .branding_skeleton {
        grid-template-columns: repeat(2, 1fr);
    }
}

#branding_container.branding_items {
    display: grid;
}

/* ===== category.blade.php ===== */
.catalog2-product-skeleton {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.catalog2-img-wrap-skeleton {
    width: 100%;
    position: relative;
    aspect-ratio: 2/3;
    background: #fff;
    margin-bottom: 0;
}

.catalog2-skeleton-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.catalog2-skeleton-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 70px;
    height: 24px;
    background: linear-gradient(90deg, #d0d0d0 25%, #c0c0c0 50%, #d0d0d0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 2px;
}

.catalog2-info-skeleton {
    width: 100%;
    padding: 0 4px;
    margin-top: 15px;
    text-align: left;
}

.catalog2-skeleton-name {
    width: 90%;
    height: 18px;
    margin: 0 0 4px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.catalog2-skeleton-price {
    width: 45%;
    height: 22px;
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.latest-products-swiper .swiper-slide {
    height: auto;
}

.latest-products-swiper .catalog2-product {
    height: 100%;
}

#latest_products_wrapper .quantity-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e9ecef;
    color: #495057;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

#latest_products_wrapper .quantity-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

#latest_products_wrapper .quantity-btn:hover {
    background-color: #d6d8db;
    color: #212529;
}

#latest_products_wrapper .latest-products-prev-btn {
    left: 10px;
}

#latest_products_wrapper .latest-products-next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    #latest_products_wrapper .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    #latest_products_wrapper .quantity-btn svg {
        width: 20px;
        height: 20px;
    }
    
    #latest_products_wrapper .latest-products-prev-btn {
        left: 5px;
    }
    
    #latest_products_wrapper .latest-products-next-btn {
        right: 5px;
    }
}

/* ===== women_products.blade.php ===== */
.catalog2-product-skeleton {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.catalog2-img-wrap-skeleton {
    width: 100%;
    position: relative;
    aspect-ratio: 2/3;
    background: #fff;
    margin-bottom: 0;
}

.catalog2-skeleton-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.catalog2-skeleton-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 70px;
    height: 24px;
    background: linear-gradient(90deg, #d0d0d0 25%, #c0c0c0 50%, #d0d0d0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 2px;
}

.catalog2-info-skeleton {
    width: 100%;
    padding: 0 4px;
    margin-top: 15px;
    text-align: left;
}

.catalog2-skeleton-name {
    width: 90%;
    height: 18px;
    margin: 0 0 4px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.catalog2-skeleton-price {
    width: 45%;
    height: 22px;
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.women-products-swiper .swiper-slide {
    height: auto;
}

.women-products-swiper .catalog2-product {
    height: 100%;
}

#women_products_wrapper .quantity-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e9ecef;
    color: #495057;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

#women_products_wrapper .quantity-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

#women_products_wrapper .quantity-btn:hover {
    background-color: #d6d8db;
    color: #212529;
}

#women_products_wrapper .women-products-prev-btn {
    left: 10px;
}

#women_products_wrapper .women-products-next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    #women_products_wrapper .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    #women_products_wrapper .quantity-btn svg {
        width: 20px;
        height: 20px;
    }
    
    #women_products_wrapper .women-products-prev-btn {
        left: 5px;
    }
    
    #women_products_wrapper .women-products-next-btn {
        right: 5px;
    }
}

/* ===== men_products.blade.php ===== */
.catalog2-product-skeleton {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.catalog2-img-wrap-skeleton {
    width: 100%;
    position: relative;
    aspect-ratio: 2/3;
    background: #fff;
    margin-bottom: 0;
}

.catalog2-skeleton-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

.catalog2-skeleton-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 70px;
    height: 24px;
    background: linear-gradient(90deg, #d0d0d0 25%, #c0c0c0 50%, #d0d0d0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 2px;
}

.catalog2-info-skeleton {
    width: 100%;
    padding: 0 4px;
    margin-top: 15px;
    text-align: left;
}

.catalog2-skeleton-name {
    width: 90%;
    height: 18px;
    margin: 0 0 4px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.catalog2-skeleton-price {
    width: 45%;
    height: 22px;
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.men-products-swiper .swiper-slide {
    height: auto;
}

.men-products-swiper .catalog2-product {
    height: 100%;
}

#men_products_wrapper .quantity-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e9ecef;
    color: #495057;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

#men_products_wrapper .quantity-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

#men_products_wrapper .quantity-btn:hover {
    background-color: #d6d8db;
    color: #212529;
}

#men_products_wrapper .men-products-prev-btn {
    left: 10px;
}

#men_products_wrapper .men-products-next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    #men_products_wrapper .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    #men_products_wrapper .quantity-btn svg {
        width: 20px;
        height: 20px;
    }
    
    #men_products_wrapper .men-products-prev-btn {
        left: 5px;
    }
    
    #men_products_wrapper .men-products-next-btn {
        right: 5px;
    }
}

/* ===== customer_review.blade.php ===== */
.customer-review-section {
    background: #f8f9fa;
    margin: 40px 0;
}

.catalog2-product-skeleton {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.catalog2-img-wrap-skeleton {
    width: 100%;
    position: relative;
    aspect-ratio: 1/1;
    background: #fff;
    margin-bottom: 0;
}

.catalog2-skeleton-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.customer-review-swiper .swiper-slide {
    height: auto;
}

.customer-review-slide-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.customer-review-swiper .customer-review-card {
    flex: 1;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 650px;
    max-height: 650px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.customer-review-card-image {
    width: 100%;
    height: 100%;
    max-width: 650px;
    max-height: 650px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}

#customer_review_wrapper .quantity-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #e9ecef;
    color: #495057;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

#customer_review_wrapper .quantity-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

#customer_review_wrapper .quantity-btn:hover {
    background-color: #d6d8db;
    color: #212529;
}

#customer_review_wrapper .customer-review-prev-btn {
    left: 10px;
}

#customer_review_wrapper .customer-review-next-btn {
    right: 10px;
}

.customer-review-view-more-btn {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.customer-review-view-more-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.customer-review-view-more-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    #customer_review_wrapper .quantity-btn {
        width: 40px;
        height: 40px;
    }
    
    #customer_review_wrapper .quantity-btn svg {
        width: 20px;
        height: 20px;
    }
    
    #customer_review_wrapper .customer-review-prev-btn {
        left: 5px;
    }
    
    #customer_review_wrapper .customer-review-next-btn {
        right: 5px;
    }
    
    .customer-review-section {
        padding: 40px 0;
    }
    
    .customer-review-slide-container {
        flex-direction: column;
        gap: 15px;
    }

    .customer-review-swiper .customer-review-card,
    .customer-review-card-image {
        max-width: 320px;
        max-height: 320px;
    }
}

/* ===== video.blade.php ===== */
.home_video {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-top:45px;
}

.video_body {
    width: 100%;
    position: relative;
}

.video_body video {
    width: 100%;
    height: auto;
    display: block;
}

.video_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 60px 20px 40px;
    color: white;
    text-align: center;
}

.overlay_content {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.overlay_title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.overlay_description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Skeleton Loader Styles */
.video-skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-loading 2s ease-in-out infinite;
}

.skeleton-line.video-line {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .overlay_title {
        font-size: 22px;
    }
    
    .overlay_description {
        font-size: 1rem;
    }


    .video_overlay {
        padding: 40px 15px 30px;
    }
}

/* ===== trending.blade.php ===== */
.trending_skeleton {
    width: 100%;
    padding: 30px 0;
}

.trending_skeleton_title {
    width: 200px;
    height: 40px;
    margin: 0 auto 30px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.trending_skeleton_items {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 15px;
}

.trending_skeleton_left {
    width: 51%;
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.trending_skeleton_right {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.trending_skeleton_right .trending_skeleton_item {
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 768px) {
    .trending_skeleton_items {
        flex-direction: column;
    }
    
    .trending_skeleton_left,
    .trending_skeleton_right {
        width: 100%;
    }
    
    .trending_skeleton_right {
        grid-template-columns: repeat(2, 1fr);
    }
}

#trending_section .trending_item {
    position: relative;
    overflow: hidden;
}

#trending_section .trending_item img {
    width: 100%;
    height: auto;
    transition: 0.2s ease-in-out;
}

#trending_section .trending_item:hover img {
    transform: scale(1.02);
    transition: 0.2s ease-in-out;
}

#trending_section .trending_item_title_body {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

#trending_section .trending_item_title {
    margin-bottom: 0px;
    color: #fff;
    font-weight: 600;
    font-size: 35px;
    letter-spacing: 1.2px;
    text-shadow: 3px -1px 4px #454545;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    #trending_section .trending_item_title {
        font-size: 18px;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 575px) {
    #trending_section .trending_item_title {
        font-size: 25px;
        letter-spacing: 0.9px;
        font-weight: 600;
    }
}

/* ===== shop-category.blade.php ===== */
.shop_cat_skeleton {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    width: 100%;
}

.shop_cat_skeleton_item {
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 575px) {
    .shop_cat_skeleton {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }
}

#shop_cat_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    width: 100%;
}

@media (max-width: 575px) {
    #shop_cat_container {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }
}
