.hero-bg {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: var(--hero-text-color);
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(18, 20, 22, 0.55),
        rgba(18, 20, 22, 0.75)
    );
    z-index: 2;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 6s ease;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.08);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content .badge p,
.hero-content .btn p {
    margin: 0;
    display: inline;
}

.hero-bg h1,
.hero-bg p {
    color: var(--hero-text-color);
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero-bg h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

.hero-bg .badge {
    background-color: var(--hero-badge-color) !important;
    color: #000;
}

.hero-bg .btn-info {
    background-color: var(--hero-badge-color) !important;
    border-color: var(--hero-badge-color) !important;
    color: #000;
}

.hero-bg .btn-info:hover {
    filter: brightness(0.9);
    color: #000;
}

.category-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: #3498db !important;
}

.category-card i {
    transition: 0.3s;
}

.category-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #121416 !important;
}

.category-card h5 {
    font-weight: 600;
    color: #333;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(52, 152, 219, 0.05)
    );
    opacity: 0;
    transition: 0.3s;
}

.category-card:hover::before {
    opacity: 1;
}

.product-carousel {
    position: relative;
}

.pc-viewport {
    overflow: hidden;
    width: 100%;
}

.pc-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform .45s ease;
    will-change: transform;
}

.pc-track .product-item-grid {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.pc-track template {
    display: none !important;
}

.pc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 5;
}

.pc-btn.prev { left: -20px; }
.pc-btn.next { right: -20px; }

@media (max-width: 767px) {
    .pc-track .product-item-grid {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pc-btn.prev { left: 5px; }
    .pc-btn.next { right: 5px; }
}

.blog-content-box {
    padding: 2rem 0;
}

.blog-image-wrapper {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-image-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
    display: block;
}

.blog-image-wrapper:hover img {
    transform: scale(1.03);
}

.blog-text-area p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #555;
}

.home-banner-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f0f0f0;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pbs-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.pbs-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.pbs-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    display: block;
}

.pbs-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0,0,0,0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.2s ease;
}

.pbs-btn.prev { left: 10px; padding-right: 2px; }
.pbs-btn.next { right: 10px; padding-left: 2px; }

.pbs-btn:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transform: translateY(-50%) scale(1.1);
}

.pbs-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.pbs-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pbs-dot.active {
    background: #0d6efd;
    width: 18px;
    border-radius: 10px;
    border-color: transparent;
}

@media (max-width: 768px) {
    .home-banner-slider {
        max-height: 300px;
    }
}