:root {
    --primary: #006934;
    --primary-dark: #004d26;
    --primary-light: #e8f5e9;
    --secondary: #f5a623;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light-bg: #f8faf8;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

.top-bar {
    background: var(--primary-dark);
    color: #fff;
    font-size: 0.8rem;
    padding: 6px 0;
}

.top-bar a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.top-bar a:hover { color: #fff; }

.navbar-main {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: all 0.3s;
}

.navbar-main.scrolled { padding: 8px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.navbar-brand-custom .logo-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

.navbar-brand-custom .brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.navbar-brand-custom .brand-text span { color: var(--secondary); }

.search-box { position: relative; flex: 1; max-width: 500px; }

.search-box input {
    width: 100%;
    padding: 10px 45px 10px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,105,52,0.1);
}

.search-box .btn-search {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-box .btn-search:hover { background: var(--primary-dark); }

.nav-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--dark);
    border: none;
    transition: all 0.3s;
    text-decoration: none;
}

.nav-icon-btn:hover { background: var(--primary-light); color: var(--primary); }

.nav-icon-btn .badge-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.hero-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-carousel .carousel-item { min-height: 420px; }

.hero-slide { display: flex; align-items: center; padding: 60px 0; }

.hero-slide .hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-slide .hero-content h1 span { color: var(--secondary); }

.hero-slide .hero-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 24px;
    max-width: 450px;
}

.hero-slide .hero-img { text-align: center; }

.hero-slide .hero-img img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,105,52,0.3);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.carousel-control-prev, .carousel-control-next {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: invert(1) grayscale(100) brightness(0);
}

.quick-categories {
    background: #fff;
    /*padding: 30px 0;*/
    border-bottom: 1px solid #eee;
}

.category-card {
    text-align: center;
    padding: 20px 10px;
    border-radius: 16px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.category-card:hover {
    transform: translateY(-4px);
    color: var(--primary);
}

.category-card .cat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary-light), #c8e6c9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s;
}

.category-card:hover .cat-icon {
    background: linear-gradient(135deg, var(--primary), #2ecc71);
    color: #fff;
    transform: scale(1.05);
}

.category-card .cat-name { font-size: 0.75rem; }

.section-title { margin-bottom: 40px; }

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title p { color: var(--gray); margin-top: 16px; }

.promo-section { padding: 50px 0; background: var(--light-bg); }

.promo-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    padding: 30px;
    transition: transform 0.3s;
}

.promo-card:hover { transform: translateY(-4px); }

.promo-card.promo-1 { background: linear-gradient(135deg, #006934, #2ecc71); color: #fff; }
.promo-card.promo-2 { background: linear-gradient(135deg, #f5a623, #f7c948); color: #333; }
.promo-card.promo-3 { background: linear-gradient(135deg, #ff6b35, #ff8f65); color: #fff; }

.promo-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.promo-card p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 16px; }

.promo-card .promo-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    opacity: 0.2;
}

.btn-promo {
    background: rgba(255,255,255,0.25);
    color: inherit;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-promo:hover { background: rgba(255,255,255,0.4); color: inherit; }

.products-section { padding: 60px 0; }

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.product-card .product-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img img { transform: scale(1.08); }

.product-card .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-card .product-badge.new { background: var(--primary); }

.product-card .wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 2;
}

.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active { color: #e74c3c; background: #fff; }

.product-card .product-info { padding: 16px; }

.product-card .product-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-card .product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.product-card .product-rating .bi-star-fill { color: #f5a623; font-size: 0.8rem; }
.product-card .product-rating span { font-size: 0.8rem; color: var(--gray); }

.product-card .product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-card .price-current { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.product-card .price-original { font-size: 0.85rem; color: #999; text-decoration: line-through; }

.product-card .btn-add-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
}

.product-card .btn-add-cart:hover { background: var(--primary); color: #fff; }

.company-section { padding: 80px 0; background: #fff; }

.company-img-wrapper { position: relative; border-radius: 24px; overflow: hidden; }

.company-img-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
}

.company-img-wrapper .experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
}

.company-img-wrapper .experience-badge .number { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.company-img-wrapper .experience-badge .text { font-size: 0.8rem; opacity: 0.9; }

.company-content h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.company-content h2 span { color: var(--primary); }
.company-content p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }

.company-features { margin-top: 24px; }

.company-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.company-features .feature-item .feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.company-features .feature-item h6 { font-weight: 700; margin-bottom: 2px; color: var(--dark); }
.company-features .feature-item p { font-size: 0.85rem; margin: 0; }

.stats-section { padding: 20px 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }

.stat-item { text-align: center; padding: 20px; }
.stat-item .stat-number { font-size: 2.5rem; font-weight: 800; margin-bottom: 4px; }
.stat-item .stat-label { font-size: 0.9rem; opacity: 0.85; }

.why-section { padding: 80px 0; background: var(--light-bg); }

.why-card {
    text-align: center;
    padding: 36px 24px;
    background: #fff;
    border-radius: 20px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
    display: flex;
    gap: 10px;
}

.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,0.08); }

.why-card .why-icon {
    width: 120px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), #c8e6c9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s;
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary), #2ecc71);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.why-card h5 { font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: var(--gray); margin: 0; }

.testimonials-section { padding: 80px 0; background: #fff; }

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: all 0.3s;
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.testimonial-card .stars { color: #f5a623; margin-bottom: 16px; }

.testimonial-card .testimonial-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-card .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-card .author-info h6 { font-weight: 700; margin-bottom: 2px; color: var(--dark); }
.testimonial-card .author-info small { color: var(--gray); }

.newsletter-section { padding: 60px 0; background: linear-gradient(135deg, var(--primary), #2ecc71); color: #fff; }
.newsletter-section h3 { font-size: 1.8rem; font-weight: 800; }

.newsletter-form { max-width: 500px; margin: 0 auto; }

.newsletter-form .input-group {
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.newsletter-form input { background: transparent; border: none; color: #fff; padding: 14px 24px; font-size: 0.95rem; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form input:focus { box-shadow: none; background: transparent; color: #fff; }

.newsletter-form .btn-subscribe {
    background: var(--secondary);
    color: #333;
    border: none;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: 0 30px 30px 0;
    transition: all 0.3s;
}

.newsletter-form .btn-subscribe:hover { background: #e6951a; }

.footer { background: var(--dark); color: #ccc; padding: 60px 0 0; }
.footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 1.1rem; }
.footer p { font-size: 0.9rem; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; margin-top: 40px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #888; }

.payment-icons { display: flex; gap: 10px; flex-wrap: wrap; }

.payment-icons .pay-icon {
    background: rgba(255,255,255,0.08);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 600;
}

.offcanvas-cart .cart-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.offcanvas-cart .cart-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.offcanvas-cart .cart-item-info h6 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.offcanvas-cart .cart-item-info .cart-price { color: var(--primary); font-weight: 700; }

.offcanvas-cart .cart-item .qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.offcanvas-cart .cart-item .qty-control button {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.offcanvas-cart .cart-item .qty-control button:hover { background: var(--primary-light); }

.cart-total { padding: 20px 0; border-top: 2px solid #eee; }
.cart-total h5 { font-weight: 800; }

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,105,52,0.3);
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

.toast-custom {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark);
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999999;
    opacity: 0;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.toast-custom.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-custom .bi { color: #2ecc71; font-size: 1.2rem; }

.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }

.filter-tabs .filter-btn {
    padding: 5px 10px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tabs .filter-btn.active,
.filter-tabs .filter-btn:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============ PRODUCT DETAIL MODAL ============ */
.product-detail-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.product-detail-modal .modal-body {
    padding: 0;
}

.product-detail-modal .btn-close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-detail-modal .btn-close-modal:hover {
    background: var(--accent);
    color: #fff;
    transform: rotate(90deg);
}

.pd-gallery {
    background: #f8f9fa;
    padding: 24px;
}

.pd-main-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 1;
    margin-bottom: 12px;
}

.pd-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.pd-main-image .discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pd-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.pd-thumbnails::-webkit-scrollbar { height: 4px; }
.pd-thumbnails::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.pd-thumb {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    background: #fff;
}

.pd-thumb.active,
.pd-thumb:hover { border-color: var(--primary); }

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-info {
    padding: 30px;
    max-height: 85vh;
    overflow-y: auto;
}

.pd-info::-webkit-scrollbar { width: 4px; }
.pd-info::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.pd-breadcrumb {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.pd-breadcrumb a { color: var(--primary); text-decoration: none; }
.pd-breadcrumb a:hover { text-decoration: underline; }

.pd-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pd-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.pd-stars { color: #f5a623; font-size: 0.95rem; }

.pd-rating-text {
    font-size: 0.85rem;
    color: var(--gray);
}

.pd-rating-text strong { color: var(--dark); }

.pd-divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ccc;
}

.pd-price-box {
    background: linear-gradient(135deg, var(--primary-light), #fff);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0,105,52,0.1);
}

.pd-price-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pd-price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.pd-discount-tag {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
}

.pd-save-text {
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 6px;
    font-weight: 600;
}

.pd-short-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.pd-variant-section {
    margin-bottom: 20px;
}

.pd-variant-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.pd-variant-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-variant-btn {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.pd-variant-btn:hover { border-color: var(--primary); color: var(--primary); }

.pd-variant-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.pd-quantity-section {
    margin-bottom: 20px;
}

.pd-quantity-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.pd-quantity-control button {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--dark);
}

.pd-quantity-control button:hover { background: var(--primary-light); color: var(--primary); }

.pd-quantity-control input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
}

.pd-stock-info {
    display: inline-block;
    margin-left: 16px;
    font-size: 0.85rem;
    color: var(--gray);
}

.pd-stock-info strong { color: var(--dark); }

.pd-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.pd-btn-cart {
    flex: 1;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-btn-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,105,52,0.3);
}

.pd-btn-buy {
    flex: 1;
    padding: 14px;
    background: var(--secondary);
    color: #333;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pd-btn-buy:hover {
    background: #e6951a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245,166,35,0.3);
}

.pd-btn-wishlist {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.pd-btn-wishlist:hover,
.pd-btn-wishlist.active {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #fff5f5;
}

.pd-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.pd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.pd-feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.pd-feature-item span { color: #555; }

.pd-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.pd-tabs .nav-link {
    color: var(--gray);
    font-weight: 600;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 12px 20px;
    transition: all 0.3s;
}

.pd-tabs .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: transparent;
}

.pd-tab-content {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.pd-tab-content h6 {
    color: var(--dark);
    font-weight: 700;
    margin: 16px 0 8px;
}

.pd-tab-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.pd-tab-content ul li { margin-bottom: 6px; }

.pd-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-spec-table tr { border-bottom: 1px solid #eee; }

.pd-spec-table td {
    padding: 10px 0;
    font-size: 0.9rem;
}

.pd-spec-table td:first-child {
    color: var(--gray);
    width: 40%;
    font-weight: 500;
}

.pd-spec-table td:last-child {
    color: var(--dark);
    font-weight: 600;
}

.pd-review-item {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.pd-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pd-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.pd-review-author { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
.pd-review-date { font-size: 0.8rem; color: var(--gray); }
.pd-review-stars { color: #f5a623; font-size: 0.85rem; margin-bottom: 6px; }
.pd-review-text { color: #555; font-size: 0.9rem; line-height: 1.6; }

.pd-related {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.pd-related h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.pd-related-item {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 8px;
}

.pd-related-item:hover { background: var(--primary-light); }

.pd-related-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.pd-related-item-info h6 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-related-item-info .price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-custom{
    width: 100%;
    padding: 10px;
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 991px) {
    .hero-slide .hero-content h1 { font-size: 2rem; }
    .hero-carousel .carousel-item { min-height: 350px; }
    .company-img-wrapper img { height: 300px; margin-bottom: 30px; }
    .pd-title { font-size: 1.3rem; }
    .pd-price-current { font-size: 1.6rem; }
}

@media (max-width: 767px) {
    .hero-slide { padding: 40px 0; text-align: center; }
    .hero-slide .hero-content h1 { font-size: 1.6rem; }
    .hero-slide .hero-content p { font-size: 0.95rem; }
    .hero-slide .hero-img img { max-height: 200px; margin-top: 20px; }
    .hero-carousel .carousel-item { min-height: auto; }
    .promo-card { height: auto; padding: 24px; margin-bottom: 16px; }
    .section-title h2 { font-size: 1.4rem; }
    .stat-item .stat-number { font-size: 1.8rem; }
    .search-box { max-width: 100%; }
    .company-content h2 { font-size: 1.5rem; }
    .top-bar .d-flex { flex-direction: column; gap: 4px; text-align: center; }
    .pd-info { padding: 20px; }
    .pd-actions { flex-direction: column; }
    .pd-btn-wishlist { width: 100%; height: 48px; }
    .pd-features-grid { grid-template-columns: 1fr; }
    .pd-price-current { font-size: 1.5rem; }
    .product-card .product-name {
        font-size: 0.8rem;
    }
}
