/* Clonify-Style Homepage CSS */

/* CSS Variables - Dark brown for luxury bags */
:root {
    --color-primary: #5A3518;
    --color-primary-light: #F5F0E8;
    --color-primary-dark: #3D2817;
}

/* Hero Section */
.clonify-hero {
    position: relative;
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Bestsellers controls under cards */
.bestsellers-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.bestsellers-control {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.bestsellers-control:hover {
    background: #f5f5f5;
}

.bestsellers-control.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.clonify-hero .container {
    position: relative;
    z-index: 2;
}

.clonify-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.clonify-hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-clonify {
    display: inline-block;
    background: #5A3518;
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-clonify:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.clonify-hero__badge {
    margin-top: 20px;
    font-size: 1rem;
    opacity: 0.8;
}

/* Product Categories */
.product-categories {
    padding: 40px 20px 16px; /* tighter bottom so next section is closer */
    background: #ffffff;
}

.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

.products-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.products-scroll::-webkit-scrollbar {
    height: 10px;
}

.products-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.products-scroll::-webkit-scrollbar-thumb {
    background: #5A3518;
    border-radius: 10px;
}

.products-scroll::-webkit-scrollbar-thumb:hover {
    background: #3D2817;
}

.product-card-scroll {
    min-width: 280px; /* desktop: several cards visible */
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.product-card-scroll:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.product-card-scroll img {
    width: 100%;
    height: 360px; /* slightly taller cards on desktop */
    object-fit: contain;
    background: white;
    padding: 20px;
}

.product-card-scroll__content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-scroll__title {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

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

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ddd;
    font-size: 1rem;
}

.star.filled {
    color: #ffa500;
}

.rating-count {
    font-size: 0.9rem;
    color: #666;
}

.product-card-scroll__price {
    font-size: 1.4rem;
    color: #000000;
    font-weight: 700;
    margin-top: auto;
}

.compare-at-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin-right: 10px;
}

/* Category Cards Section */
.category-cards-section {
    padding: 60px 20px 40px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.category-cards-track {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.category-card {
    flex: 0 0 calc(26% - 10px); /* desktop: slightly wider but all 4 still visible */
    max-width: calc(26% - 10px);
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    text-decoration: none;
    color: #000000;
    border: 1px solid #ececec;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.category-card__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.95rem;
    color: #555;
}

.category-card__image-wrapper {
    width: 100%;
    height: 260px; /* taller so full image fits vertically */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.category-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show full image without cropping */
    display: block;
}

.category-cards-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.category-cards-control {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.category-cards-control:hover {
    background: #f5f5f5;
}

.category-cards-control.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Profitable Reselling Section */
.profitable-reselling {
    padding: 80px 20px 20px 20px;
    background: white;
    border-top: 1px solid #e5e5e5;
    overflow-x: hidden;
}

.section-heading {
    font-size: 2.5rem;
    color: #000000;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subheading {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 0 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #000000;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    padding: 80px 20px;
    background: white;
    border-top: 1px solid #e5e5e5;
    overflow-x: hidden;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.trust-badge {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.trust-badge:hover {
    transform: translateY(-5px);
}

.badge-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: #000000;
}

.trust-badge p {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* Why Best Section */
.why-best {
    position: relative;
    padding: 120px 20px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.why-best .section-heading {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.why-best .section-subheading {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* Guarantee Section */
.guarantee-section {
    padding: 80px 20px;
    background: white;
    border-top: 1px solid #e5e5e5;
    overflow-x: hidden;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.guarantee-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.guarantee-item h3 {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 15px;
}

.guarantee-item p {
    color: #666;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Section - Complete styles copied from product.css */
.faq-section {
    padding: 60px 20px;
    background: white;
}

.faq-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 25px;
    text-align: center;
}

.faq-list .collapsible {
    width: 100%;
    padding: 1.5rem 1.25rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.faq-list .collapsible:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.faq-list .collapsible.active {
    border-color: var(--color-primary);
    background: #f8f9fa;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.faq-list .collapsible-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    color: var(--color-primary);
}

.faq-list .collapsible.active .collapsible-icon {
    transform: rotate(180deg);
}

.faq-list .content {
    padding: 1.5rem 1.25rem;
    background: white;
    border: 1px solid var(--color-primary);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 1.6;
    margin-bottom: 15px;
}

.faq-list .content.active {
    display: block;
}

.faq-list .content p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-heading {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .faq-list .collapsible {
        padding: 1.25rem 1rem;
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .faq-list .content {
        padding: 1.25rem 1rem;
        margin-bottom: 12px;
    }
}

/* Carousel Counter */
.carousel-counter {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    padding: 0 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .clonify-hero__title {
        font-size: 2rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .feature-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
        gap: 8px;
        min-width: 0;
    }
    
    .feature-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .feature-card h3 {
        font-size: 0.9rem;
        margin-bottom: 3px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .profitable-reselling {
        overflow-x: hidden;
    }
    
    .product-categories .container {
        padding: 0 5px;
    }
    
    .products-scroll {
        gap: 12px;
        padding: 20px 10px;
    }
    
    /* tablet: still multiple cards, slightly larger */
    .product-card-scroll {
        min-width: 260px;
    }
    
    .product-card-scroll img {
        height: 230px; /* taller on tablet */
        padding: 10px;
    }
    
    .product-card-scroll__content {
        padding: 12px;
    }
    
    .product-card-scroll__title {
        font-size: 0.9rem;
    }
    
    .product-card-scroll__price {
        font-size: 1.15rem;
    }
    
    .clonify-hero {
        padding: 80px 20px;
        min-height: 450px;
    }
    
    .why-best {
        padding: 80px 20px;
        min-height: 400px;
    }
    
    .why-best .section-heading {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .product-categories {
        padding: 40px 0 4px 0; /* remove side padding completely */
    }
    
    .product-categories .container {
        padding: 0; /* no side padding so cards can reach screen edge */
        margin: 0;
        max-width: 100%;
        overflow: visible;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 8px !important;
        margin: 0 auto 20px !important;
        width: 100%;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 12px 8px;
        gap: 6px;
        min-width: 0;
        width: 100%;
    }
    
    .feature-icon {
        font-size: 1.75rem;
    }
    
    .feature-card h3 {
        font-size: 0.8rem;
        word-wrap: break-word;
    }
    
    .feature-card p {
        font-size: 0.7rem;
        word-wrap: break-word;
    }
    
    .profitable-reselling .container {
        padding: 0 10px;
        overflow-x: hidden;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px !important;
        margin: 20px auto !important;
    }
    
    .trust-badge {
        padding: 15px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .trust-badge p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .badge-icon {
        font-size: 2.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .category-title {
        padding: 0 10px; /* minimal padding for title */
    }
    
    .products-scroll {
        gap: 8px;
        padding: 20px 0 20px 5px; /* small left padding, no right padding */
        margin-right: 0;
    }
    
    /* mobile: ~1.5 product cards visible */
    .product-card-scroll {
        min-width: 70%;
        max-width: 70%;
    }
    
    .product-card-scroll:last-child {
        margin-right: 5px; /* small margin for last card */
    }
    
    .product-card-scroll img {
        height: 210px; /* taller on mobile */
        padding: 8px;
    }

    /* mobile: ~1.5 category cards visible with more of second image */
    .category-cards-section .container {
        padding: 0; /* allow cards to reach screen edge */
    }
    .category-cards-track {
        padding: 0;
    }
    .category-card {
        flex: 0 0 70%;
        max-width: 70%;
    }
    
    .product-card-scroll__content {
        padding: 10px;
    }
    
    .product-card-scroll__title {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .product-card-scroll__price {
        font-size: 1.1rem;
    }
    
    .star-rating {
        font-size: 0.8rem;
    }
    
    .rating-count {
        font-size: 0.75rem;
    }
    
    .clonify-hero__title {
        font-size: 1.6rem;
    }
    
    .btn-clonify {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px !important;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .trust-section .container,
    .guarantee-section .container {
        padding: 0 10px;
    }
}

/* Content with Image Section */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 50px 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.content-text h3 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.content-list {
    list-style: none;
    padding: 0;
}

.content-list li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-list i {
    color: #22c55e;
    font-size: 1.2rem;
}

/* Testimonials Section */
hr {
    border: 0;
    border-top: 2px solid #e0e0e0;
    margin-top: 60px;
    margin-bottom: 60px;
}

.testimonials-section {
    padding: 80px 20px;
    background: white;
    border-top: 2px solid #e0e0e0;
    margin-top: 60px;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 40px auto 0;
}

.testimonials-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonials-control {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.testimonials-control:hover {
    background: #f5f5f5;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.testimonials-track .testimonial-card {
    min-width: 280px;
    flex: 0 0 280px;
    max-width: 100%;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.testimonial-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.testimonial-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 25px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

.testimonial-author strong {
    color: #000000;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #ffa500;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-rating i {
    margin-right: 3px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

/* Comparison Table Section */
.comparison-section {
    padding: 80px 20px;
    background: white;
    border-top: 1px solid #e5e5e5;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead {
    background: #5A3518;
    color: white;
}

.comparison-table th {
    padding: 20px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.comparison-table th.highlight-col {
    background: #5A3518;
}

.comparison-table td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #333;
}

.comparison-table td.highlight-col {
    background: #f8f9ff;
}

.comparison-table i.fa-check-circle {
    color: #22c55e;
    font-size: 1.5rem;
}

.comparison-table i.fa-times-circle {
    color: #ef4444;
    font-size: 1.5rem;
}

.comparison-table i.fa-minus-circle {
    color: #fbbf24;
    font-size: 1.5rem;
}

.comparison-table tbody tr:hover {
    background: #fafafa;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-text h3 {
        font-size: 1.6rem;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    .testimonials-track {
        gap: 12px;
    }

    .testimonials-track .testimonial-card {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .testimonial-image-wrapper {
        height: 200px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .section-heading,
    .section-subheading {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .product-card-scroll {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }
    
    .products-scroll {
        padding: 20px 15px;
    }
}

