/* Basic CSS styles for the webpage */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 8px;
}

.shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.p-2 {
    padding: 8px;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

.pt-2 {
    padding-top: 8px;
}

/* Comments Section CSS */
.comments {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.comments__title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 10px;
}

.comments__item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comments__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.comments__avatar {
    flex-shrink: 0;
    margin-right: 15px;
}

.comments__avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #e74c3c;
    object-fit: cover;
}

.comments__body {
    flex: 1;
}

.comments__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comments__name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.time-comments {
    font-size: 12px;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 2px 8px;
    border-radius: 12px;
}

.comments__text {
    color: #34495e;
    line-height: 1.5;
    margin-bottom: 12px;
}

.comments__text p {
    margin: 0 0 8px 0;
}

.comments__text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.like-facebook {
    margin-right: 15px;
}

.like-facebook a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #e74c3c;
    font-size: 14px;
    transition: color 0.2s ease;
}

.like-facebook a:hover {
    color: #c0392b;
}

.like-facebook img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.panel-funct {
    display: flex;
    gap: 15px;
    font-size: 13px;
}

.panel-funct a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.panel-funct a:hover {
    color: #e74c3c;
}

.fade1, .fade2 {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive utilities */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .col-xl-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    h1 {
        font-size: 20px !important;
    }
    
    h2 {
        font-size: 18px !important;
        line-height: 1.3;
    }
    
    h2.md-5 {
        font-size: 16px !important;
    }
    
    /* Navigation */
    .navbar {
        padding: 10px 0;
        text-align: center;
    }
    
    .navbar img {
        max-width: 80px;
        height: auto;
    }
    
    .navbar h1 {
        font-size: 16px !important;
        margin: 10px 0;
    }
    
    .navbar h1 p {
        font-size: 12px !important;
    }
    
    /* Images */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
    
    .img-fluid--1style {
        float: none !important;
        margin: 0 auto 15px auto;
        display: block;
    }
    
    .product-img {
        max-width: 100%;
        height: auto;
    }
    
    /* Rows and Columns */
    .row {
        margin: 0 -5px;
    }
    
    .col-12, .col-sm-12, .col-md-12, .col-lg-6, .col-xl-6 {
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .col-lg-6, .col-xl-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .offset-md-1 {
        margin-left: 0;
    }
    
    /* Alerts and Boxes */
    .alert {
        padding: 12px;
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .alert p {
        margin-bottom: 8px;
    }
    
    .alert ul {
        padding-left: 20px;
    }
    
    .alert li {
        margin-bottom: 5px;
        font-size: 13px;
    }
    
    /* Buttons */
    .button-bottom {
        margin: 20px 0;
    }
    
    .button-bottom a {
        display: inline-block;
        width: 100%;
        padding: 15px;
        text-align: center;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(to right, #f39c12, #e74c3c);
        color: white;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .button-bottom a:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
    }
    
    /* Order Form */
    .order-form-box {
        margin: 15px 5px;
        padding: 15px;
    }
    
    .vip-countdown {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .discount-text {
        font-size: 16px;
    }
    
    .blinking-price {
        font-size: 18px;
    }
    
    .stock-count {
        width: 28px;
        font-size: 16px;
    }
    
    .order-btn {
        height: 44px;
        font-size: 15px;
    }
    
    /* Video Container */
    .video-container {
        margin: 15px 0;
    }
    
    .mute-btn {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }
    
    .mute-btn img {
        width: 20px;
        height: 20px;
    }
    
    /* Sale Alert */
    #saleAlert {
        left: 10px !important;
        right: 10px !important;
        top: 10px !important;
        max-width: calc(100% - 20px);
        padding: 10px;
    }
    
    #saleAlert img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    #saleAlert .alert-text {
        font-size: 12px;
        line-height: 1.3;
    }
    
    /* Comments */
    .comments {
        padding: 15px;
        margin: 15px 10px;
    }
    
    .comments__title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .comments__item {
        flex-direction: column;
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .comments__avatar {
        margin-right: 0;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    
    .comments__avatar img {
        width: 40px;
        height: 40px;
    }
    
    .comments__info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .comments__name {
        font-size: 13px;
    }
    
    .time-comments {
        font-size: 11px;
        padding: 2px 6px;
    }
    
    .comments__text {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .comments__text img {
        margin-top: 6px;
    }
    
    .panel-funct {
        margin-top: 10px;
        gap: 10px;
        font-size: 12px;
    }
    
    .like-facebook img {
        width: 14px;
        height: 14px;
    }
    
    /* Wheel */
    .wheel-wrarpper {
        padding: 15px;
    }
    
    .wheel-img {
        max-width: 100%;
        height: auto;
    }
    
    .wheel-cursor img {
        max-width: 60px;
    }
    
    .cursor-text {
        font-size: 14px;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }
    
    h1 {
        font-size: 18px !important;
    }
    
    h2 {
        font-size: 16px !important;
    }
    
    .navbar img {
        max-width: 60px;
    }
    
    .navbar h1 {
        font-size: 14px !important;
    }
    
    .navbar h1 p {
        font-size: 11px !important;
    }
    
    .alert {
        padding: 10px;
        font-size: 13px;
    }
    
    .alert li {
        font-size: 12px;
    }
    
    .button-bottom a {
        padding: 12px;
        font-size: 15px;
    }
    
    .order-form-box {
        padding: 12px;
    }
    
    .vip-countdown {
        font-size: 14px;
        padding: 4px 10px;
    }
    
    #saleAlert {
        left: 5px !important;
        right: 5px !important;
        top: 5px !important;
        max-width: calc(100% - 10px);
        padding: 8px;
    }
    
    #saleAlert img {
        width: 30px;
        height: 30px;
    }
    
    #saleAlert .alert-text {
        font-size: 11px;
    }
    
    .comments {
        padding: 10px;
        margin: 10px 5px;
    }
    
    .comments__title {
        font-size: 18px;
    }
    
    .comments__item {
        padding: 10px;
    }
    
    .comments__avatar img {
        width: 35px;
        height: 35px;
    }
    
    .comments__text {
        font-size: 12px;
    }
    
    .panel-funct {
        font-size: 11px;
    }
}
