/**
 * lists_single_new.htm — page-specific layout.
 */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #1a1a2e;
            --secondary-color: #16213e;
            --accent-color: #e94560;
            --gold-color: #f5a623;
            --text-light: #ffffff;
            --text-dark: #333333;
            --text-gray: #666666;
            --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            --gradient-accent: linear-gradient(135deg, #e94560 0%, #f5a623 100%);
            --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
            --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
            --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(22, 33, 62, 0.65), rgba(22, 33, 62, 0.65)), url("../img/banner-all.jpg");
            background-position: center;
            background-size: cover;
            color: var(--text-light);
            padding: 4rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            margin-top: 100px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: fadeInUp 1s ease-out;
        }

        .hero .subtitle {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            animation: fadeInUp 1s ease-out 0.2s both;
        }

        .hero .description {
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto 2rem;
            opacity: 0.8;
            animation: fadeInUp 1s ease-out 0.4s both;
        }

        .cta-button {
            display: inline-block;
            background: var(--gradient-accent);
            color: var(--text-light);
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-medium);
            animation: fadeInUp 1s ease-out 0.6s both;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-heavy);
        }

        /* Features Section */
        .features {
            padding: 4rem 0;
            background: var(--text-light);
        }
        .features .lead-text {
            color: var(--text-gray);
        }
        .features .features-lead-heading {
            color: var(--primary-color);
            margin-bottom: 0.75rem;
        }
        .features .features-lead-list {
            margin-top: 1rem;
            padding-left: 1.1rem;
            color: var(--text-gray);
        }
        .product-carousel .carousel-item {
            padding: 1rem 0;
        }
        .product-card {
            background: #ffffff;
            border-radius: 14px;
            box-shadow: var(--shadow-light);
            padding: 14px;
            height: 100%;
            transition: transform .25s ease, box-shadow .25s ease;
        }
        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-medium);
        }
        .product-card img {
            width: 100%;
            height: 320px;
            object-fit: contain;
            background: #f8f9fc;
            border-radius: 12px;
        }
        .product-card h5 {
            margin: 10px 0 0;
            text-align: center;
            color: var(--primary-color);
            letter-spacing: .5px;
        }
        /* Custom Product Slider */
        .product-slider { position: relative; }
        .product-slider-viewport { overflow: hidden; }
        .product-slider-track { display: flex; transition: transform .5s ease; padding: 0 14px; }
        .product-slide { flex: 0 0 33.3333%; padding: 0 .5rem; }
        .product-slider .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; border: none; border-radius: 50%; background: rgba(0,0,0,.75); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 5; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
        .product-slider .nav-btn[disabled] { opacity: .35; cursor: not-allowed; }
        .product-slider .prev { left: -8px; }
        .product-slider .next { right: -8px; }

        @media (max-width: 991.98px) { .product-slide { flex-basis: 50%; } }
        @media (max-width: 767.98px) { .product-slide { flex-basis: 100%; } }

        /* Multi-item carousel: show 1/2/3 items and slide by one */
        @media (min-width: 768px) {
            .product-carousel .carousel-inner {
                display: flex;
            }
            .product-carousel .carousel-item {
                flex: 0 0 50%;
                margin-right: 0;
                display: block;
            }
            .product-carousel .carousel-item.active,
            .product-carousel .carousel-item-next,
            .product-carousel .carousel-item-prev {
                display: block;
            }
            .product-carousel .carousel-item-next:not(.carousel-item-start),
            .product-carousel .carousel-item-end.active {
                transform: translateX(50%);
            }
            .product-carousel .carousel-item-prev:not(.carousel-item-end),
            .product-carousel .carousel-item-start.active {
                transform: translateX(-50%);
            }
        }

        @media (min-width: 992px) {
            .product-carousel .carousel-item { flex: 0 0 33.333%; }
            .product-carousel .carousel-item-next:not(.carousel-item-start),
            .product-carousel .carousel-item-end.active { transform: translateX(33.333%); }
            .product-carousel .carousel-item-prev:not(.carousel-item-end),
            .product-carousel .carousel-item-start.active { transform: translateX(-33.333%); }
        }

        /* Comparison images */
        .comparison-visuals img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: var(--shadow-light);
            background: #eef1f6;
        }

        /* Gallery */
        .gallery {
            padding: 4rem 0;
            background: var(--text-light);
        }
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        @media (min-width: 992px) {
            .gallery-grid { grid-template-columns: repeat(4, 1fr); }
        }
        .gallery-grid img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 12px;
            box-shadow: var(--shadow-light);
            transition: transform .35s ease;
        }
        .gallery-grid img:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-medium);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--primary-color);
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient-accent);
            border-radius: 2px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .feature-card {
            background: var(--text-light);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
            border: 1px solid #e0e0e0;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-accent);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            font-size: 1.5rem;
            color: var(--text-light);
        }

        .feature-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }

        .feature-card p {
            color: var(--text-gray);
            line-height: 1.6;
        }

        /* Customization Section */
        .customization {
            padding: 4rem 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        .customization-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .customization-item {
            background: var(--text-light);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: var(--shadow-light);
            transition: all 0.3s ease;
        }

        .customization-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 1rem;
            background: #eef1f6;
        }

        .customization-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-medium);
        }

        .customization-item h4 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .customization-item p {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        /* Weights Section */
        .weights {
            padding: 4rem 0;
            background: var(--text-light);
        }

        .weights-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }
        @media (min-width: 992px) {
            .weights-grid { grid-template-columns: repeat(4, 1fr); }
        }

        .weight-card {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: var(--text-light);
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .weight-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .weight-card:hover::before {
            transform: translateX(100%);
        }

        .weight-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-heavy);
        }

        .weight-value {
            font-size: 2rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .weight-type {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* Comparison Table */
        .comparison {
            padding: 4rem 0;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }

        .comparison-table {
            background: var(--text-light);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow-medium);
            margin-top: 3rem;
        }

        .comparison-table table {
            width: 100%;
            border-collapse: collapse;
        }

        .comparison-table th,
        .comparison-table td {
            padding: 1.5rem;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }

        .comparison-table th {
            background: var(--gradient-primary);
            color: var(--text-light);
            font-weight: bold;
        }

        .comparison-table tr:nth-child(even) {
            background: #f8f9fa;
        }

        .comparison-table tr:hover {
            background: #e3f2fd;
        }

        /* Market Status */
        .market-status {
            padding: 4rem 0;
            background: var(--text-light);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .stat-card {
            text-align: center;
            padding: 2rem;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: var(--text-light);
            border-radius: 15px;
            box-shadow: var(--shadow-light);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
            color: var(--gold-color);
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Partnership Section */
        .partnership {
            padding: 4rem 0;
            background: var(--gradient-primary);
            color: var(--text-light);
        }

        .customization .customization-lead {
            text-align: center;
            font-size: 1.1rem;
            color: var(--text-gray);
            margin-bottom: 2rem;
        }

        .weights .weights-footnote {
            text-align: center;
            margin-top: 2rem;
            color: var(--text-gray);
            font-style: italic;
        }

        .partnership .partnership-section-title {
            color: #fff;
        }

        .partnership-grid {
            /* allow Bootstrap row flex to apply */
            margin-top: 3rem;
        }

        .partnership-card {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
        }

        .partnership-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
        }

        .partnership-card h4 {
            color: var(--gold-color);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }

        .partnership-card p {
            opacity: 0.9;
            line-height: 1.6;
        }

        /* Footer styles removed to avoid overriding global footer */

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero .subtitle {
                font-size: 1.1rem;
            }

            .nav {
                flex-direction: column;
                gap: 1rem;
            }

            .features-grid,
            .customization-grid,
            .weights-grid,
            .stats-grid,
            .partnership-grid {
                grid-template-columns: 1fr;
            }

            .comparison-table {
                overflow-x: auto;
            }

            .contact-info {
                flex-direction: column;
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .hero {
                padding: 2rem 0;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .feature-card,
            .customization-item,
            .weight-card,
            .stat-card,
            .partnership-card {
                padding: 1.5rem;
            }
        }
