
/* SStore.ng-inspired design with a fresh, premium, and animated UI enusre with sidebar and product details ensure all text follow dark and light all all backgrounds and more  */
:root {
    --primary: #ff6f00;
    /* Vibrant orange */
    --secondary: #ff9100;
    /* Softer orange */
    --accent: #d81b60;
    /* Bold pink */
    --background: #f8f9fa;
    /* Light, clean background */

    /* Slightly transparent cards */
    --text: #1a1a1a;
    /* Darker text */
    --text-light: #4a4a4a;
    /* Lighter text */
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    /* Softer shadow */
    --gradient: linear-gradient(135deg, #ff6f00, #ff9100);
    /* Smooth gradient */
    --success: #00c4b4;
    /* Modern teal */
    --border-radius: 8px;
    /* Smooth corners */
    --transition: all 0.3s ease;
    /* Smooth transitions */
    --animation-duration: 0.4s;
}

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

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.4;
    font-size: 0.85rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    /* Remove underlines from all links */
    color: inherit;
    /* Inherit color for consistency */
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
    /* Hover color change */
    background: rgba(255, 111, 0, 0.1);
    /* Subtle background on hover */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}



/* Product Header */
.product-header {
    text-align: center;
    margin: 0.75rem 0;
    animation: fadeIn 0.5s ease;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 700;

    margin-bottom: 0.4rem;
}

.product-description {
    font-size: 0.75rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    display: flex;
    margin-top: 0.75rem;
    gap: 0.75rem;
}

/* Truncate main product title */




.sidebar {
    width: 200px;
    background: var(--card-bg);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform var(--animation-duration) ease;
}

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

.left-sidebar {
    margin-right: 0.75rem;
}

.right-sidebar {
    margin-left: 0.75rem;
    width: 200px;
}

.sidebar h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 0.4rem;
}

.sidebar ul a {
    font-size: 0.75rem;
    transition: var(--transition);
}

.sidebar ul a:hover {
    padding-left: 0.3rem;
}

.comments .comment {
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--primary);
    transition: transform var(--animation-duration) ease;
}

.comments .comment:hover {
    transform: translateX(4px);
}

.comment-date {
    font-size: 0.65rem;
    /* Reduced font size */
    color: var(--text-light);
}

.verified {
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Product Grid and Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}



.product-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 0.6rem;
    box-shadow: var(--shadow);
    transition: transform var(--animation-duration) ease, box-shadow var(--animation-duration) ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.product-item h3 {
    font-size: 0.9rem;
    margin: 0.4rem 0;
    color: var(--text);
}

.product-item .price {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-item .btn-orange {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.75rem;
}

.recommended-item {
    background: var(--card-bg);
    border-radius: 4px;
    padding: 0.6rem;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--animation-duration) ease;
}

.recommended-item:hover {
    transform: translateY(-4px);
}

.recommended-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 1:1 aspect ratio */
    max-height: 80px;
    /* Adjusted for consistency */
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.recommended-item h4 {
    font-size: 0.85rem;
    margin: 0.4rem 0;
}

.recommended-item .price {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.recommended-item .btn-orange {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin: 0 auto;
}

/* Product Details */
.product-content {
    flex: 1;
    background: var(--card-bg);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform var(--animation-duration) ease;
}

.product-content:hover {
    transform: translateY(-4px);
}

.product-details {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.product-image {
    flex: 0 0 40%;
    max-width: 380px;
    position: relative;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    border-radius: var(--border-radius);
    transition: transform var(--animation-duration) ease;
}

.carousel-item img:hover {
    transform: scale(1.05);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity var(--animation-duration) ease;
}

.carousel-nav:hover {
    opacity: 1;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background var(--animation-duration) ease, transform var(--animation-duration) ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 0.6rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-indicators span {
    width: 7px;
    height: 7px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--animation-duration) ease, transform var(--animation-duration) ease;
}

.carousel-indicators span.active {
    background: var(--primary);
    transform: scale(1.2);
}

.zoom-lens {
    position: absolute;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.4);
    width: 70px;
    height: 70px;
    pointer-events: none;
    display: none;
    border-radius: 4px;
}

.zoom-result {
    position: absolute;
    top: 0;
    right: -260px;
    width: 300px;
    height: 300px;
    border: 1px solid #ddd;
    background: #fff;
    display: none;
    z-index: 100;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.product-info {
    flex: 0 0 55%;
    max-width: 520px;
}

.product-info h1 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;

}

.product-info .description {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all var(--animation-duration) ease;
}

.product-info .description.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.read-more {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary);
    background: rgba(255, 111, 0, 0.1);
}

.product-info .rules,
.product-info .contributors,
.product-info .countdown,
.product-info .commission,
.product-info .likes {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;

}

.product-info .worth,
.product-info .price,{
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    }
.progress-bar {
    background: #e0e0e0;
    height: 6px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    position: relative;
}

.progress {
    background: var(--gradient);
    height: 100%;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-size: 10px 10px;
    animation: move 2s linear infinite;
}

@keyframes move {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 10px 10px;
    }
}

.faq-list {
    margin-bottom: 0.75rem;
}

.faq-item {
    margin-bottom: 0.5rem;
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem;
    background: var(--card-bg);
    border-radius: 4px;
    transition: background var(--animation-duration) ease;
}

.faq-question:hover {
    background: var(--background);
}

.faq-answer {
    display: none;
    font-size: 0.75rem;
    margin-top: 0.4rem;
    padding: 0 0.5rem;
    color: var(--text-light);
}

.faq-toggle:checked~.faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.trust-score {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
}

.trust-score::before {
    content: '🌟';
    font-size: 1rem;
}

/* Share and Trust Section */
.share-content {
    margin-top: 0.75rem;
    padding: 0.6rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.share-content h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-share {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.social-share a,
.social-share button {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    transition: transform var(--animation-duration) ease, background var(--animation-duration) ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.social-share a:hover,
.social-share button:hover {
    transform: scale(1.05);
    background: var(--gradient);
}

.social-share a i,
.social-share button i {
    font-size: 0.85rem;
}

.trust-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-light);
    padding: 0.4rem 0.6rem;
    background: var(--background);
    border-radius: 4px;
    transition: transform var(--animation-duration) ease;
}

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

.why-choose {
    margin-top: 0.75rem;
    padding: 0.6rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.why-choose h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.why-choose ul {
    list-style: none;
}

.why-choose li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
}

.why-choose li::before {
    content: '✔';
    color: var(--success);
    font-weight: bold;
}

/* Buttons */
.btn-orange {
    background: var(--gradient);
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #e55b00, #ff6f00);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-orange.sticky-cta {
    position: sticky;
    bottom: 0.75rem;
    z-index: 100;
    width: fit-content;
    margin: 0.75rem auto;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    animation: pulse 2s infinite;
}

.btn-outline-orange {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: var(--transition);
}

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

.error,
.success,
.info {
    font-size: 0.75rem;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-radius: 4px;
}

.error {
    background: #ffe6e6;
    color: #d32f2f;
}

.success {
    background: #e6fffa;
    color: var(--success);
}

.info {
    background: #f0f0f0;
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-dialog {
    max-width: 360px;
    margin: 0.75rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transform: scale(0.9);
    transition: transform var(--animation-duration) ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.modal-content {
    padding: 0.75rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(255, 111, 0, 0.2);
    outline: none;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 1.5rem 0;
    margin-top: 1.5rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-column {
    flex: 1;
    min-width: 140px;
}

.footer-column h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul a {
    font-size: 0.75rem;
    transition: var(--transition);
}

.footer-column ul a:hover {
    padding-left: 0.3rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #333;
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-details {
        flex-direction: column;
        align-items: center;
    }

    .product-image,
    .product-info {
        flex: 1;
        max-width: 100%;
    }

    .zoom-result {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 0.4rem;
    }

    .sidebar {
        display: none;
    }

    .product-content {
        padding: 0.4rem;
    }

    .carousel-item img {
        max-height: 270px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-item img {
        height: 80px;
    }

    .recommended-item img {
        max-height: 70px;
        /* Adjusted for 1:1 aspect ratio */
    }




    .zoom-lens,
    .zoom-result {
        display: none !important;
    }

    .form-control {
        font-size: 0.9rem;
    }

    .social-share,
    .trust-badges {
        justify-content: center;
    }

    .product-header {
        margin: 0.5rem 0;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-description {
        font-size: 0.7rem;
    }


}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }


}




/* Promotion Badge */
.promo-badge {
    display: inline-block;
    background: var(--sstore-gradient, linear-gradient(135deg, #ff6f00, #ff9100));
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    cursor: pointer;
    animation: pulse 2s infinite;
    box-shadow: var(--sstore-shadow, 0 6px 20px rgba(0, 0, 0, 0.08));
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Popover */
.promo-popover {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--sstore-primary, #ff6f00);
    border-radius: var(--sstore-border-radius, 8px);
    padding: 0.75rem;
    max-width: 200px;
    font-size: 0.8rem;
    color: var(--sstore-text-light, #4a4a4a);
    box-shadow: var(--sstore-shadow, 0 6px 20px rgba(0, 0, 0, 0.08));
    z-index: 1000;
}

.promo-badge:hover .promo-popover,
.promo-badge:focus .promo-popover,
.promo-badge:active .promo-popover {
    display: block;
}

/* Countdown Bar */
.promo-countdown-bar {
    background: #fff;
    border: 1px solid var(--sstore-primary, #ff6f00);
    border-radius: var(--sstore-border-radius, 8px);
    padding: 0.5rem;
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    box-shadow: var(--sstore-shadow, 0 6px 20px rgba(0, 0, 0, 0.08));
}

.promo-progress {
    background: var(--sstore-accent, #d81b60);
    height: 8px;
    border-radius: 4px;
    transition: width 1s linear;
}

.promo-countdown-bar .promo-info {
    flex: 1;
    margin-right: 1rem;
}

.promo-countdown-bar .promo-timer {
    font-weight: bold;
    color: var(--sstore-accent, #d81b60);
}

/* Price Display */
.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

/* Sidebar Promo Product */
.sidebar-promo {
    margin-top: 1rem;
    padding: 0.5rem;
    background: #fff;
    border-radius: var(--sstore-border-radius, 8px);
    box-shadow: var(--sstore-shadow, 0 6px 20px rgba(0, 0, 0, 0.08));
}

.sidebar-promo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.sidebar-promo .promo-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
}

.sidebar-promo .promo-timer {
    font-size: 0.8rem;
    color: var(--sstore-accent, #d81b60);
}

.sidebar-promo .promo-price {
    font-weight: bold;
    color: var(--sstore-primary, #ff6f00);
}

/* Truncated Product Names */
.product-grid h4,
.recommended-item h4,
.sidebar-promo h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .promo-badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .promo-popover {
        max-width: 150px;
        font-size: 0.75rem;
    }

    .promo-countdown-bar {
        font-size: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-countdown-bar .promo-info {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .sidebar-promo {
        padding: 0.3rem;
    }

    .sidebar-promo img {
        max-height: 100px;
    }

    .sidebar-promo h4 {
        font-size: 0.9rem;
    }
}