:root {
    --hero-height: 400px;
    --accent-color: #e63946;
    --card-gap: 16px;
    --items-per-view: 3;
}
.slideshow-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: var(--hero-height);
    overflow: hidden;
    background: #000;
}
.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}
.image-section {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease-out;
}
.hero-slide.active .hero-bg-img {
    transform: scale(1.08);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 2;
    transition: background 0.4s ease;
}

.slideshow-container:hover .hero-overlay {
    background: rgba(0,0,0,0.45);
}
.text-section {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 5;
}
.content-wrapper {
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.slideshow-container:hover .hero-slide.active .content-wrapper {
    opacity: 1;
    transform: translateY(0);
}
.hero-title {
    color: #ffffff;
    font-size: clamp(1.2rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}
.hero-desc {
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.85rem, 2vw, 1rem);
    margin-bottom: 1.8rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.hero-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff !important;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}
.hero-btn:hover {
    background-color: #ffffff;
    color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.slideshow-container:hover .nav-btn {
    opacity: 1;
}
.nav-btn.hidden-nav {
    display: none !important;
}
.prev-btn { left: 25px; }
.next-btn { right: 25px; }
.nav-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-50%) scale(1.05);
}
.category-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 35px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.marquee-content {
    display: flex;
    animation: scroll-linear 45s linear infinite;
    width: max-content;
    align-items: center;
}

.marquee-item { padding: 0 45px; }
.marquee-item img { 
    height: 40px; 
    filter: grayscale(100%); 
    opacity: 0.4; 
    transition: 0.4s ease; 
}
.marquee-item:hover img { 
    filter: grayscale(0%); 
    opacity: 1; 
    transform: scale(1.1);
}

@keyframes scroll-linear {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
#home-dual-display {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 15px;
    box-sizing: border-box;
    background-color: #fff;
    --items-per-view: 3;
    --card-gap: 16px;
}
.side-by-side-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 25px; 
    width: 100%; 
    align-items: stretch; 
}
.section-column { min-width: 0; position: relative; display: flex; flex-direction: column; }
.header-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 20px; 
    padding-bottom: 8px; 
    border-bottom: 1px solid #eee; 
}
.main-title { font-size: 16px; font-weight: 700; text-transform: uppercase; margin: 0; color: #222; }
.accent-box { height: 3px; width: 40px; margin-top: 5px; border-radius: 2px; }
.sale-gradient { background: #e74c3c; }
.new-gradient { background: #27ae60; }
.nice-nav-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.nice-nav-btn:hover { background: #27ae60; color: white; border-color: #27ae60; }
.carousel-window { overflow: hidden; width: 100%; position: relative; padding: 5px 2px; flex: 1; }
.track-list { display: flex; gap: var(--card-gap); overflow-x: hidden; scroll-behavior: smooth; }
.item-card {
    flex: 0 0 calc((100% - (var(--card-gap) * (var(--items-per-view) - 1))) / var(--items-per-view));
    max-width: calc((100% - (var(--card-gap) * (var(--items-per-view) - 1))) / var(--items-per-view));
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Image Logic - FIXED: No cutting, fits full image in same div */
.image-box {
    width: 100%;
    height: 170px; /* Height matching Template 1 */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.image-box a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures full image is visible, no cropping */
    display: block;
}

/* Hover Icons */
.hover-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transform: translateX(15px);
    transition: 0.3s ease;
}

.item-card:hover .hover-icons {
    opacity: 1;
    transform: translateX(0);
}

.icon-circle {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #eee;
}

.icon-circle:hover { background: #27ae60; color: #fff; border-color: #27ae60; }
.love-icon.active i { color: #e74c3c !important; }

/* Text & Pricing */
.item-title {
    font-size: 13px;
    height: 34px; /* Exactly 2 lines */
    overflow: hidden;
    color: #222;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    line-height: 1.3;
}
.item-title:hover { color: #27ae60; }

.price-wrap { margin-top: auto; margin-bottom: 10px; }
.new-price { color: #27ae60; font-weight: 700; font-size: 15px; }
.old-price { color: #999; text-decoration: line-through; font-size: 12px; margin-left: 5px; }

/* Ribbon/Badges */
.ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 20px;
    color: #fff;
    z-index: 2;
    font-weight: 600;
}
.ribbon.sale { background: #e74c3c; }
.ribbon.new { background: #27ae60; }
.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #27ae60;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.add-to-cart-btn:hover { background: #1e8449; }

/* product type & printer brand shared styles */
.type-tab-container, .brand-tab-container {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}
.type-btn, .brand-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}
.type-btn::after, .brand-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0%;
    height: 3px;
    background: #27ae60;
    transition: 0.3s;
}
.type-btn:hover, .brand-btn:hover { color: #27ae60; }
.type-btn.active, .brand-btn.active { color: #27ae60; }
.type-btn.active::after, .brand-btn.active::after { width: 100%; }

.type-section, .brand-section {
    display: none;
    position: relative;
    margin-bottom: 60px;
    padding: 0 40px;
}
.type-section.active, .brand-section.active { display: block; }

.empty-category-box {
    text-align: center;
    padding: 60px 20px;
    background: #fdfdfd;
    border: 2px dashed #e0e0e0;
    border-radius: 15px;
    color: #999;
    margin: 20px 0;
}
.empty-category-box i {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}
.empty-category-box p {
    font-size: 16px;
    font-weight: 500;
}

.card-row {
    display: flex;
    overflow: hidden;
    gap: 16px;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.card-item {
    flex: 0 0 calc((100% - 64px) / 5);
    max-width: calc((100% - 64px) / 5);
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 30px;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 170px;
    object-fit: contain;
    margin-bottom: 8px;
}

.product-title {
    font-size: 13px;
    height: 34px;
    overflow: hidden;
    color: #222;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}
.product-title:hover { color: #27ae60; }

.price-new {
    color: #27ae60;
    font-weight: 700;
    font-size: 15px;
}
.price-old {
    color: #999;
    font-size: 12px;
    margin-left: 4px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    background: #27ae60;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}
.add-to-cart-btn:hover { background: #1e8449; }
.btn-out-of-stock { background: #ccc; cursor: not-allowed; }

.star-rating {
    color: #f1c40f;
    font-size: 11px;
    margin-bottom: 6px;
}

.nav-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.arrow-left { left: 5px; }
.arrow-right { right: 5px; }

/* Select Type start */
.section-title-container {
    border-bottom: 1px solid #eee;
    margin-top: 40px;
    margin-bottom: 30px;
    display: block;
    width: 100%;
    position: relative;
}
.section-title {
    display: inline-block;
    font-size: 1.4rem;
    text-align: left;
    font-weight: 400; 
    color: #1a1a1a;
    position: relative;
    padding-bottom: 10px;
    margin: 0;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px; 
    height: 3px;
    width: 100%;
    background: #e74c3c;
    z-index: 1;
}
.icon-category-row {
    display: flex;
    flex-wrap: wrap; 
    justify-content: flex-start; 
    gap: 15px; 
    margin: 20px 0;
}
.icon-category-item {
    flex: 0 0 calc((100% / 6) - 13px); 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 10px 0;
}
.icon-wrapper {
    width: 110px; 
    height: 110px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    position: relative; 
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(3px); 
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-count {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.product-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.icon-label {
    font-size: 13px;
    font-weight: 500;
    color: #444;
    text-align: center;
    transition: color 0.3s ease;
}
.icon-category-item:hover {
    transform: translateY(-5px);
}

.icon-category-item:hover .icon-wrapper {
    border-color: #e74c3c;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-category-item:hover .icon-wrapper img {
    transform: scale(1.1);
}

.icon-category-item:hover .product-overlay {
    opacity: 1;
}

.icon-category-item:hover .icon-label {
    color: #e74c3c;
}

/* accessories start */
#accessories-section {
    position: relative;
    padding: 40px 0;
    font-family: 'Inter', sans-serif !important;
    background: transparent;
}
#accessories-section .carousel-container {
    position: relative;
    width: 100%;
    overflow: visible; 
    padding: 0 20px; 
    box-sizing: border-box;
}
#accessories-section .accessories-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 5px 0;
}
#accessories-section .accessories-grid::-webkit-scrollbar {
    display: none;
}
#accessories-section .card-set {
    flex: 0 0 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    box-sizing: border-box;
}
#accessories-section .product-card {
    display: flex; 
    flex-direction: row; 
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    height: 180px;
    flex: 0 0 calc(33.333% - 13.4px); 
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#accessories-section .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
#accessories-section .img-container {
    flex: 0 0 40%; 
    position: relative;
    background: #f9f9f9;
    border-right: 1px solid #eee;
    overflow: hidden;
}
#accessories-section .img-container img {
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}
#accessories-section .product-card:hover .img-container img {
    transform: scale(1.05);
}
#accessories-section .wishlist-icon {
    position: absolute; 
    top: 8px; 
    right: 8px;
    background: white; 
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(5px);
}
#accessories-section .product-card:hover .wishlist-icon {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
#accessories-section .wishlist-icon:hover {
    background: #27ae60 !important;
    transform: scale(1.1) !important;
}
#accessories-section .wishlist-icon:hover i {
    color: white !important;
}
#accessories-section .wishlist-icon.active i { 
    color: #e74c3c !important; 
}
#accessories-section .wishlist-icon.active:hover i {
    color: white !important;
}
#accessories-section .text-container {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
#accessories-section .stars { font-size: 0.85rem; margin-bottom: 5px; }
#accessories-section .stars .filled { color: #ffb400 !important; }
#accessories-section .stars .empty { color: #ddd !important; }
#accessories-section .price-container { 
    display: flex;
    align-items: center;
    gap: 8px;
}
#accessories-section .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30; 
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}
#accessories-section .carousel-prev {
    left: -10px; 
}
#accessories-section .carousel-next {
    right: -10px;
}
#accessories-section .carousel-nav:hover {
    background-color: #27ae60 !important;
    color: white !important;
    border-color: #27ae60 !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.3);
}
#accessories-section .position-indicator {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #666;
}

/* testimonials starts */
#testimonial-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf2 100%);
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
}
#testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}
#testimonial-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}
#testimonial-section .testimonial-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
    z-index: 2;
}
#testimonial-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}
#testimonial-section .section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6366f1;
    margin-bottom: 10px;
    padding: 6px 14px;
    background: rgba(99,102,241,0.1);
    border-radius: 100px;
}
#testimonial-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#testimonial-section .grid-window {
    overflow: hidden;
    width: 100%;
    border-radius: 24px;
}
#testimonial-section .testimonial-container {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
#testimonial-section .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 24px;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1),
                0 0 0 1px rgba(255,255,255,0.5) inset;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
}
#testimonial-section .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -15px rgba(0,0,0,0.2),
                0 0 0 2px rgba(255,255,255,0.8) inset;
    background: rgba(255, 255, 255, 1);
}
#testimonial-section .user-img-wrapper {
    position: relative;
    margin-bottom: 12px;
}
#testimonial-section .user-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 8px 15px -5px rgba(0,0,0,0.2);
}
#testimonial-section .user-img-wrapper::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 50%;
    z-index: 1;
    animation: rotate 3s linear infinite;
}
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#testimonial-section .rating {
    margin-bottom: 8px;
}
#testimonial-section .rating i {
    color: #fbbf24;
    margin: 0 2px;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(251,191,36,0.2);
}
#testimonial-section .user-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 3px;
}
#testimonial-section .user-role {
    font-size: 0.8rem;
    color: #6366f1;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#testimonial-section .user-message {
    color: #4a4a6a;
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    padding: 0 8px;
    max-height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
#testimonial-section .user-message::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -5px;
    color: #6366f1;
    opacity: 0.2;
    font-family: serif;
}
#testimonial-section .user-message::after {
    content: '"';
    font-size: 3rem;
    position: absolute;
    bottom: -30px;
    right: -5px;
    color: #ec4899;
    opacity: 0.2;
    font-family: serif;
}
#testimonial-section .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: none;
    box-shadow: 0 8px 15px -5px rgba(0,0,0,0.1),
                0 0 0 1px rgba(255,255,255,0.5);
    color: #1a1a2e;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
}
#testimonial-section .nav-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
#testimonial-section .nav-btn:hover:not(.hidden) {
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 25px -5px rgba(99,102,241,0.4);
}
#testimonial-section #testPrev { left: 0; }
#testimonial-section #testNext { right: 0; }
#testimonial-section .progress-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
#testimonial-section .progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(26,26,46,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}
#testimonial-section .progress-dot.active {
    width: 25px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
}
#testimonial-section .counter-badge {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}
#testimonial-section .counter-badge span {
    color: #6366f1;
    font-weight: 700;
}

/* service section start */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 40px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 30px 0;
}

.service-card {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.service-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .side-by-side-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .icon-category-item { flex: 0 0 calc((100% / 4) - 12px); }
    #accessories-section .product-card { flex: 0 0 calc(50% - 10px); }
    #accessories-section .carousel-prev { left: -5px; }
    #accessories-section .carousel-next { right: -5px; }
}
@media (max-width: 992px) {
    .card-item {
        flex: 0 0 calc((100% - 32px) / 3);
        max-width: calc((100% - 32px) / 3);
    }
    #testimonial-section .testimonial-card { flex: 0 0 calc(50% - 12px); }
    #testimonial-section .testimonial-wrapper { padding: 0 50px; }
    #testimonial-section { padding: 50px 0; }
}
@media (max-width: 768px) {
    :root { 
        --hero-height: 300px;
        --items-per-view: 2;
    }
    .nav-btn { display: none; }
    .content-wrapper { opacity: 1; transform: translateY(0); }
    .icon-category-item { flex: 0 0 calc((100% / 3) - 10px); }
    .icon-wrapper { width: 90px; height: 90px; }
    .item-card { flex: 0 0 calc(50% - 8px); }
    .best-seller-card { flex-direction: column; text-align: center; padding: 40px 20px 20px; }
    .bs-image, .bs-content { width: 100%; height: auto; }
    .bs-image { height: 180px; margin-bottom: 15px; }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    #accessories-section .carousel-nav {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    #testimonial-section h2 { font-size: 2rem; }
}
@media (max-width: 600px) {
    .type-section, .brand-section { padding: 0 20px; }
    .card-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    #accessories-section .product-card { flex: 0 0 100%; }
    #accessories-section .carousel-prev { left: -2px; }
    #accessories-section .carousel-next { right: -2px; }
    #accessories-section .carousel-nav {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
    #testimonial-section { padding: 40px 0; }
    #testimonial-section h2 { font-size: 1.6rem; }
    #testimonial-section .testimonial-card { flex: 0 0 100%; }
    #testimonial-section .testimonial-wrapper { padding: 0 40px; }
    #testimonial-section .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    #testimonial-section .user-message {
        -webkit-line-clamp: 2;
        max-height: 60px;
    }
}
@media (max-width: 480px) {
    :root { --items-per-view: 1; }
    .item-card { flex: 0 0 100%; }
    .services-grid {
        grid-template-columns: 1fr;
    }
}