* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Font', sans-serif;
    background-color: #070e1c;
    color: white;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    width: 100%;
    max-height: 700px;
    height: 700px;
    overflow: hidden;
    margin: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: local;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, var(--darkness, 0.3));
    z-index: 0;
    transition: background 0.3s ease;
}

.hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    width: 90%;
    max-width: 1500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 40px 0;
    gap: 120px;
}

.right-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.right-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.right-content h1 {
    font-size: 72px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 3px 3px 0 #ff6bbb,
                 6px 6px 0 rgba(255, 107, 187, 0.5);
}

.right-content h4 {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    padding: 12px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-filled {
    background-color: #ff6bbb;
    color: white;
    border: none;
}

.btn-filled:hover {
    background-color: #ff4ba8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 187, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #ff6bbb;
    border: 2px solid #ff6bbb;
}

.btn-outline:hover {
    background-color: rgba(255, 107, 187, 0.1);
    transform: translateY(-2px);
}

.divider {
    width: 100%;
    height: 1px;
    margin: 30px 0;
}

.gray-divider {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-section .swiper-section {
    width: 95%;
    background: #070e1c;
    border: 2px solid #ff6bbb;
    border-radius: 25px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.hero-section .swiper-container {
    width: 100%;
    height: 175px;
    position: relative;
    overflow: hidden;
}

.hero-section .swiper-wrapper {
    display: flex;
    align-items: center;
    width: max-content;
}

.hero-section .swiper-slide {
    width: 175px !important;
    height: 175px !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 1);
    flex-shrink: 0;
}

.hero-section .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-section .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hero-section .swiper-button-prev,
.hero-section .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    margin: 0;
}

.hero-section .swiper-button-prev {
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: linear-gradient(to left, #000, transparent);
}

.hero-section .swiper-button-next {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background: linear-gradient(to right, #000, transparent);
}

.hero-section .swiper-navigation-icon {
    max-width: 30px;
}

.left-content {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-rectangle {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    overflow: hidden;
    height: 80px;
}

.feature-rectangle::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: rotate(-5deg);
    z-index: -1;
}

.feature-icon {
    margin-left: 15px;
    width: 60px;
    height: 60px;
}

.pink-divider {
    background-color: #ff6bbb;
    height: 2px;
    margin: 15px 0;
}

.image-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 30px;
    padding-left: 30px;
}

.image-row a {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-row img {
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    max-width: 80px;
    max-height: 80px;
}

.glow-yellow { box-shadow: 0 0 20px 2px #ffff00; }
.glow-blue { box-shadow: 0 0 20px 2px #34ace1; }
.glow-darkblue { box-shadow: 0 0 20px 2px #5864f2; }

.image-row img:hover {
    transform: scale(1.1);
}

.hero-bottom-divider {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    position: absolute;
    bottom: 0;
    left: 0;
}

.categories-section {
    width: 100%;
    max-width: 1500px;
    min-width: 80px;
    margin: 40px auto;
    padding: 0 35px;
    background: linear-gradient(135deg, #0a1428 0%, #131f35 100%);
    border-radius: 30px;
    border: 3px solid #2a3b5a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.categories-section::before,
.categories-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.categories-section::before {
    left: 0;
    background: linear-gradient(to right, #000000, transparent);
}

.categories-section::after {
    right: 0;
    background: linear-gradient(to left, #000000, transparent);
}

.categories-swiper {
    width: 100%;
}

.category-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 25px;
    background: #070e1c;
    border: 3px solid #2a3b5a;
    transition: all 0.3s ease;
    height: 100px;
    width: 240px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-slide a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.category-slide::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ff6bbb;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-slide:hover {
    transform: scale(0.95);
    border-color: #ff6bbb;
    box-shadow: 0 8px 25px rgba(255, 107, 187, 0.3);
}

.category-slide:hover::before {
    transform: scaleX(1);
}

.category-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.category-slide:hover .category-name {
    color: #ff6bbb;
}

.category-slide:hover {
    color: white;
}

.categories-swiper .swiper-wrapper {
    padding: 15px 0;
    align-items: center;
}

.categories-swiper .swiper-slide {
    width: 240px;
    height: 100px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.error-message {
    color: #fff;
    background-color: #f946aa;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    width: 348px;
    font-weight: 500;
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    transition: 
        top 0.4s ease-out,
        opacity 0.4s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.error-message.show {
    top: 20px;
    opacity: 1;
}
.error-message.hide {
    top: -100px;
    opacity: 0;
}
.error-message::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    width: 100%;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 7s linear;
}
.error-message.show::after {
    transform: scaleX(0);
}

.best-products-section {
    position: relative;
    /* padding: 20px 0; */
    margin: 80px 0;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 107, 186, 0.7);
}

.best-products-category-section {
    position: relative;
    padding: 20px 0;
    margin: 80px auto;
    margin-top: 40px;
    max-width: 1400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #09162c;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(238, 107, 255, 0.1);
    z-index: 1;
}

.best-products-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.best-products-category-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.best-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 40px; */
    padding: 0 20px;
}

.best-products-title {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

.view-all-btn {
    background: linear-gradient(135deg, #ff6bbb, #e055a5);
    color: white;
    padding: 12px 30px;
    margin-top: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.view-all-btn:hover {
    background: transparent;
    border-color: #ff6bbb;
    color: #ff6bbb;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 107, 187, 0.5);
}

.view-all-btn-category {
    background: #080e1c;
    color: white;
    padding: 12px 30px;
    margin-top: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
}

.view-all-btn-category:hover {
    box-shadow: 0 8px 20px rgba(255, 107, 186, 0.5);
    transform: translateY(-5px);
}

.best-products-swiper {
    padding: 20px 10px 40px;
}

.best-product-card {
    background: #181c2c;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.best-product-card:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 0 15px 30px rgba(255, 107, 186, 0.5);
}

.best-product-card-category {
    background: #181c2c;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.best-product-card-category:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.5);
}

.best-product-card::before,
.best-product-card-category::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.best-product-card:hover::before,
.best-product-card-category:hover::before {
    opacity: 1;
}

.best-product-image-container {
    position: relative;
    width: 100%;
    max-height: 290px;
    padding-top: 100%;
    overflow: hidden;
}

.best-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.best-product-card:hover .best-product-image {
    transform: scale(1.1);
}

.best-product-details {
    padding: 20px;
    text-align: center;
}

.best-product-title {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: normal;
}

.best-product-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.best-product-title a:hover {
    color: #ff6bbb;
}

.best-product-rating {
    margin-bottom: 12px;
    color: #ffc107;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.best-product-price {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.original-price {
    text-decoration: line-through;
    color: #a0a8c0;
    font-size: 0.9rem;
    display: inline-block;
}

.current-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    display: inline-block;
}

.stock-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.stock-status.in-stock {
    background-color: #4CAF50;
    color: white;
}

.stock-status.out-of-stock {
    background-color: #f44336;
    color: white;
}

.best-product-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.best-product-actions form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.best-products-container .swiper-button-prev,
.best-products-container .swiper-button-next,
.best-products-category-container .swiper-button-prev,
.best-products-category-container .swiper-button-next {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    height: 90%;
    width: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    margin: 0;
    transition: all 0.3s ease;
}

.best-products-container .swiper-button-next,
.best-products-category-container .swiper-button-next {
    background: linear-gradient(to right, #000, transparent);
    border-radius: 25px 0 0 25px;
}

.best-products-container .swiper-button-prev,
.best-products-category-container .swiper-button-prev {
    background: linear-gradient(to left, #000, transparent);
    border-radius: 0 25px 25px 0;
}

.best-products-category-container .swiper-navigation-icon,
.best-products-container .swiper-navigation-icon {
    max-width: 30px;
}

.swiper-button-disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease;
}

.btn-wishlist {
    background-color: #2a344a;
    border: none;
    border-radius: 200px;
    cursor: pointer;
    padding: 8px 15px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-wishlist:hover {
    background-color: #ff6bbb;
}

.btn-wishlist img {
    width: 18px;
    height: 18px;
}

.add-to-cart-btn {
    background-color: #ff6bbb;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 200px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #e055a5;
}

.best-products-swiper .swiper-pagination {
    position: relative;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    width: 100% !important;
    left: 0 !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #6b7280 !important;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.2);
}

.preview-section {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.preview-section .container {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.preview-section .box {
    height: 160px;
    background: #0a1830;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 
                inset 0 0 30px rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

.preview-section .left-box {
    border-top-right-radius: 1000px;
    flex: 1;
}

.preview-section .center-box {
    width: 1000px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
}

.preview-section .center-box:hover {
    transform: scale(1.07);
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.7),
        0 0 25px rgba(255, 255, 255, 0.5),
        0 0 35px rgba(255, 255, 255, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.7);
}

.preview-section .right-box {
    border-top-left-radius: 1000px;
    flex: 1;
}

.preview-section .content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.preview-section .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

.preview-section .content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.08) 20%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 80%,
        transparent 100%
    );
    transform: skewX(-15deg);
    z-index: 2;
    pointer-events: none;
    animation: slowShine 8s infinite ease-in-out;
}

@keyframes slowShine {
    0% {
        left: -100%;
        opacity: 0.3;
    }
    10% {
        opacity: 0.7;
    }
    20% {
        left: 150%;
        opacity: 0.3;
    }
    100% {
        left: 150%;
        opacity: 0.3;
    }
}

.preview-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

@keyframes overlayPulse {
    0%, 100% {
        background: rgba(0, 0, 0, 0.5);
    }
    50% {
        background: rgba(0, 0, 0, 0.4);
    }
}

.comments-section {
    padding: 55px 20px;
    background: #081225;
    position: relative;
    border-radius: 10px 10px 100px 100px;
    margin: 60px auto;
    max-width: 1400px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.comments-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.emoji {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.comments-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.thick-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, rgb(255, 107, 157), transparent);
    margin: 40px auto;
    width: 100%;
    border: none;
    border-radius: 2px;
}

.comments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
    align-items: stretch;
}

.comment-card {
    background: linear-gradient(135deg, #0a1a35, #081225);
    border-radius: 25px 25px 40px 40px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.comment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 1);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.user-profile-image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product {
    color: rgb(255, 107, 157);
    font-size: 1rem;
    font-weight: 500;
    margin: 0 auto 10px auto;
    width: fit-content;
}

.comment-card a {
    text-decoration: none;
}

.rating-stars {
    font-size: 1.1rem;
    color: #ffd700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.comment-content-box {
    background: #071122;
    border: 2px solid #374151;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.comment-content-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4a5568, #718096, #4a5568);
    border-radius: 17px;
    z-index: -1;
    opacity: 0.3;
}

.comment-content {
    color: #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .hero-section {
        max-height: 600px;
        height: 600px;
    }
    
    .hero-content {
        gap: 60px;
        width: 95%;
    }
    
    .right-content h1 {
        font-size: 56px;
        text-shadow: 2px 2px 0 #ff6bbb,
                     4px 4px 0 rgba(255, 107, 187, 0.5);
    }
    
    .right-content h2 {
        font-size: 20px;
    }
    
    .right-content h4 {
        font-size: 16px;
    }
    
    .left-content {
        width: 30%;
    }
    
    .feature-rectangle {
        font-size: 18px;
        height: 70px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-section .swiper-slide {
        width: 150px !important;
        height: 150px !important;
    }
    
    .hero-section .swiper-container {
        height: 150px;
    }
    
    .image-row a {
        width: 70px;
        height: 70px;
    }
    
    .image-row img {
        max-width: 70px;
        max-height: 70px;
    }
    
    .categories-section {
        max-width: 95%;
        margin: 30px auto;
    }
    
    .best-products-container,
    .best-products-category-container {
        max-width: 95%;
    }

    .best-product-image-container {
        max-height: 200px;
    }
    
    .best-products-title {
        font-size: 1.7rem;
    }
    
    .comments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .preview-section .center-box {
        width: 700px;
    }
    
    .preview-section .box {
        height: 140px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        max-height: 800px;
        height: 800px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        padding: 30px 0;
        text-align: center;
        width: 90%;
    }
    
    .right-content {
        width: 100%;
        order: 1;
        padding: 0 20px;
    }
    
    .left-content {
        width: 100%;
        order: 2;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .right-content h1 {
        font-size: 48px;
        text-shadow: 2px 2px 0 #ff6bbb,
                     4px 4px 0 rgba(255, 107, 187, 0.5);
        margin-bottom: 15px;
    }
    
    .right-content h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .right-content h4 {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .feature-rectangle {
        flex: 1;
        min-width: 200px;
        font-size: 16px;
        height: 65px;
        padding: 10px 15px;
        justify-content: flex-start;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-left: 12px;
    }
    
    .hero-section .swiper-section {
        width: 100%;
        margin: 0 auto;
    }
    
    .hero-section .swiper-slide {
        width: 140px !important;
        height: 140px !important;
    }
    
    .hero-section .swiper-container {
        height: 140px;
    }
    
    .divider {
        margin: 25px 0;
    }
    
    .image-row {
        justify-content: center;
        gap: 25px;
        padding: 0;
    }
    
    .image-row a {
        width: 70px;
        height: 70px;
    }
    
    .image-row img {
        max-width: 70px;
        max-height: 70px;
    }
    
    .categories-section {
        max-width: 92%;
        margin: 35px auto;
        padding: 0 20px;
    }
    
    .category-slide {
        width: 180px;
        height: 85px;
    }
    
    .categories-swiper .swiper-slide {
        width: 180px;
        height: 85px;
    }
    
    .category-name {
        font-size: 16px;
    }
    
    .best-products-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .best-products-title {
        font-size: 1.8rem;
    }
    
    .view-all-btn,
    .view-all-btn-category {
        margin-top: 0;
        padding: 12px 28px;
    }
    
    .best-products-swiper {
        padding: 20px 10px 35px;
    }
    
    .comments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
    }
    
    .comments-title {
        font-size: 2rem;
    }
    
    .emoji {
        font-size: 1.8rem;
    }
    
    .preview-section .container {
        flex-direction: row;
        gap: 10px;
        padding: 0 20px;
    }
    
    .preview-section .left-box,
    .preview-section .right-box {
        display: block;
        flex: 0.5;
    }
    
    .preview-section .center-box {
        width: 600px;
        flex: 2;
    }
    
    .preview-section .box {
        height: 130px;
    }
    
    .best-products-category-section {
        max-width: 92%;
        margin: 35px auto;
    }
    
    .error-message {
        width: 320px;
        font-size: 15px;
    }
    
    .best-product-card,
    .best-product-card-category {
        margin: 0 5px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        max-width: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        max-height: 850px;
        height: 850px;
    }
    
    .hero-content {
        gap: 30px;
        padding: 25px 0;
        width: 75%;
    }
    
    .right-content {
        padding: 0 15px;
    }
    
    .right-content h1 {
        font-size: 36px;
        text-shadow: 1px 1px 0 #ff6bbb,
                     3px 3px 0 rgba(255, 107, 187, 0.5);
        margin-bottom: 12px;
    }
    
    .right-content h2 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .right-content h4 {
        font-size: 15px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .btn {
        width: 200px;
        padding: 11px 20px;
        font-size: 15px;
    }
    
    .left-content {
        gap: 12px;
    }
    
    .feature-rectangle {
        min-width: 100%;
        font-size: 15px;
        height: 55px;
        padding: 8px 12px;
        justify-content: right;
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        margin-left: 10px;
        margin-right: 8px;
    }
    
    .hero-section .swiper-section {
        border-radius: 20px;
    }
    
    .hero-section .swiper-slide {
        width: 110px !important;
        height: 110px !important;
    }
    
    .hero-section .swiper-container {
        height: 110px;
    }
    
    .divider {
        margin: 20px 0;
    }
    
    .image-row {
        gap: 20px;
    }
    
    .image-row a {
        width: 60px;
        height: 60px;
    }
    
    .image-row img {
        max-width: 60px;
        max-height: 60px;
    }
    
    .categories-section {
        max-width: 90%;
        margin: 25px auto;
        padding: 0 15px;
        border-radius: 25px;
    }
    
    .category-slide {
        width: 150px;
        height: 70px;
        border-radius: 20px;
    }
    
    .categories-swiper .swiper-slide {
        width: 150px;
        height: 70px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .best-products-section {
        margin: 30px 0;
    }
    
    .best-products-header {
        gap: 15px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .best-products-title {
        font-size: 1.5rem;
    }
    
    .view-all-btn,
    .view-all-btn-category {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .best-products-swiper {
        padding: 15px 5px 30px;
    }
    
    .best-product-details {
        padding: 15px 12px;
    }
    
    .best-product-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .best-product-title a {
        line-height: 1.3;
    }
    
    .best-product-rating {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .best-product-price {
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    .best-product-actions {
        display: none;
    }
    
    .best-product-actions form {
        display: none;
    }
    
    .btn-wishlist,
    .add-to-cart-btn {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .btn-wishlist img {
        width: 16px;
        height: 16px;
    }
    
    .comments-section {
        padding: 35px 15px;
        margin: 30px auto;
        max-width: 92%;
        border-radius: 10px 10px 60px 60px;
    }
    
    .comments-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }
    
    .comments-title {
        font-size: 1.6rem;
    }
    
    .emoji {
        font-size: 1.5rem;
    }
    
    .comments-header {
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .thick-divider {
        margin: 30px auto;
        height: 3px;
    }
    
    .comment-card {
        padding: 18px;
        border-radius: 20px 20px 35px 35px;
    }
    
    .comment-header {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .user-profile-image {
        width: 50px;
        height: 50px;
    }
    
    .user-name {
        font-size: 1rem;
    }
    
    .product {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .rating-stars {
        font-size: 1rem;
    }
    
    .comment-content-box {
        padding: 12px;
        border-radius: 12px;
    }
    
    .comment-content {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .preview-section .container {
        flex-direction: column;
        gap: 8px;
        padding: 0 15px;
    }
    
    .preview-section .left-box,
    .preview-section .right-box {
        display: none;
    }
    
    .preview-section .center-box {
        width: 100%;
        flex: none;
        border-radius: 15px;
        height: 70px;
    }
    
    .preview-section .box {
        height: 70px;
    }
    
    .preview-section .content img {
        max-height: 70px;
        object-fit: cover;
    }
    
    .error-message {
        width: 280px;
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .best-products-container .swiper-button-prev,
    .best-products-container .swiper-button-next,
    .best-products-category-container .swiper-button-prev,
    .best-products-category-container .swiper-button-next {
        width: 35px;
        height: 93%;
        transform: translateY(-49%);
    }
    
    .swiper-navigation-icon {
        max-width: 18px;
    }
    
    .sale-badge {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .stock-status {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }
}

.page-load-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-load-animation.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-section { transition-delay: 0.1s; }
.categories-section { transition-delay: 0.2s; }
.best-products-section { transition-delay: 0.3s; }
.preview-section { transition-delay: 0.4s; }
.best-products-category-section { transition-delay: 0.5s; }
.comments-section { transition-delay: 0.6s; }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.left-content .feature-rectangle {
    animation: slideInLeft 0.8s ease-out 0.5s both;
}

.left-content .feature-rectangle:nth-child(2) {
    animation-delay: 0.7s;
}

.left-content .feature-rectangle:nth-child(3) {
    animation-delay: 0.9s;
}

.right-content h2,
.right-content h1,
.right-content h4 {
    animation: fadeInUp 0.8s ease-out both;
}

.right-content h2 { animation-delay: 0.4s; }
.right-content h1 { animation-delay: 0.6s; }
.right-content h4 { animation-delay: 0.8s; }

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.swiper-section {
    animation: scaleIn 0.8s ease-out 1.2s both;
}

.categories-section {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.best-products-section {
    animation: fadeInUp 0.8s ease-out 1s both;
}

.preview-section {
    animation: scaleIn 0.8s ease-out 1.2s both;
}

.best-products-category-section {
    animation: fadeInUp 0.8s ease-out both;
}

.best-products-category-section:nth-of-type(1) { animation-delay: 1.4s; }
.best-products-category-section:nth-of-type(2) { animation-delay: 1.6s; }
.best-products-category-section:nth-of-type(3) { animation-delay: 1.8s; }

.comments-section {
    animation: fadeInUp 0.8s ease-out 2s both;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #070e1c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 107, 187, 0.3);
    border-top: 4px solid #ff6bbb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.best-product-card,
.best-product-card-category,
.comment-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

img {
    transition: opacity 0.4s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

.hero-section .swiper-slide:first-child {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
}

.hero-section .swiper-slide.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
}

.hero-section .swiper-slide:not(:first-child):not(.swiper-slide-active):hover {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1.5);
    z-index: 10;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    .hero-section .swiper-button-prev,
    .hero-section .swiper-button-next {
        display: none;
    }
}