/* ===================================
   TikTok-Style Custom Stylesheet
   Layer 2 CSS for customization
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #e5e5e5;
    color: #1f1f1f;
    overflow-x: hidden;
}

.section-top-main{
    position: relative;
    padding-top: 60px;
}
.font-12{font-size: 12px !important;}
.font-13{font-size: 13px !important;}
.font-14{font-size: 14px !important;}
.font-15{font-size: 15px !important;}
.font-16{font-size: 16px !important;}
.font-17{font-size: 17px !important;}
.font-18{font-size: 18px !important;}
.font-19{font-size: 19px !important;}
.font-20{font-size: 20px !important;}
/* ===================================
   Mobile Container Wrapper
   =================================== */

.mobile-container {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Header Navigation
   =================================== */

.header-nav {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    position: fixed;
    display: flex;
    align-items: center;
    width: 100%;
    top: 0;
    left: 0;
    height: 60px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-nav.scrolling {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 26px;
    color: #000;
    cursor: pointer;
    padding: 5px 8px;
    min-height: 50px;
}

.btn-icon:hover {
    opacity: 0.7;
}

.header-actions {
    display: flex;
    gap: 12px;
}

/* ===================================
   Profile Section
   =================================== */

.profile-section {
    background-color: #ffffff;
    padding: 20px 0;
}

.profile-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.profile-image {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #fe2c55;
}

.tiktok-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, #fe2c55, #8B5CF6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    border: 2px solid #ffffff;
}

.profile-info {
    margin-bottom: 16px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-handle {
    font-size: 14px;
    color: #666666;
    margin: 0;
}

/* ===================================
   Stats Section
   =================================== */

.profile-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    padding: 0 20px;
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 0 16px;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #1f1f1f;
}

.stat-label {
    font-size: 13px;
    color: #666666;
}

/* ===================================
   Action Buttons
   =================================== */

.profile-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    margin-bottom: 16px;
}

.btn-follow {
    flex: 1;
    background: linear-gradient(135deg, #fe2c55, #ff6b9d);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-follow:hover {
    opacity: 0.9;
}

.btn-message {
    flex: 1;
    background-color: #ffffff;
    color: #1f1f1f;
    border: 1px solid #e5e5e5;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.btn-message:hover {
    background-color: #f8f8f8;
}

.btn-dropdown {
    background-color: #ffffff;
    color: #1f1f1f;
    border: 1px solid #e5e5e5;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-dropdown:hover {
    background-color: #f8f8f8;
}

/* ===================================
   Bio Section
   =================================== */

.profile-bio {
    padding: 0 20px;
    margin-bottom: 20px;
}

.profile-bio p {
    font-size: 15px;
    line-height: 1.4;
    color: #111;
    margin: 0;
}

.emoji {
    font-size: 16px;
}

/* ===================================
   Quick Links
   =================================== */

.quick-links {
    display: flex;
    justify-content: center;
    padding: 16px 0;
    border-top: 1px solid #e5e5e5;
}

.quick-link-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 0 12px;
    color: #000;
    font-size: 16px;
    letter-spacing: 0.4px;
    font-weight: 500;
    min-width: max-content;
}
.quick-link-item:not(:last-child):after,
.stat-item:not(:last-child):after{
    content: '';
    position: absolute;
    right: 0;
    top: calc(50% - 7px);
    width: 1px;
    height: 14px;
    background: #ddd;
}

.quick-link-item i {
    font-size: 20px;
    color: #fe2c55;
}

/* ===================================
   Products Section
   =================================== */

.products-section {
    background-color: #f8f8f8;
    padding: 8px 0;
    padding-bottom: 20px;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #fe2c55;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-tags {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    z-index: 2;
}

.tag {
    padding: 4px 8px 3px 8px;
    border-radius: 0 15px 0 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    transform: skewX(2deg) scaleX(1.04);
    color: #ffffff;
}
.tag:not(:first-child) {
    margin-left: -5px;
    padding-left: 12px;
}
.tag:nth-child(1) {z-index: 3;}
.tag:nth-child(2) {z-index: 2;}
.tag:nth-child(3) {z-index: 1;}

.tag-xtra {
    background: linear-gradient(135deg, #11c7bc, #01e2de);
}

.tag-voucher {
    background: linear-gradient(135deg, #fe2c55, #ff6b9d);
}

.tag-bonus {
    background: linear-gradient(135deg, #e9b00c, #fff1a9);
    color: #000;
}
.tag-bonus .alt{
    background: #000;
    color:  #fff1a9;
    padding: 0 5px;
    border-radius: 5px;
}

.tag small {
    font-size: 7px;
    font-weight: 400;
}

/* ===================================
   Product Info
   =================================== */

.product-info {
    padding: 10px;
}

.product-title {
    font-size: 13px;
    font-weight: 400;
    color: #1f1f1f;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: #fe2c55;
}

.sold-count {
    font-size: 11px;
    color: #999999;
}

.product-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.rating i {
    color: #ffd700;
}

.rating span {
    color: #1f1f1f;
    font-weight: 500;
}

.badge-customer {
    background-color: #ffe5ec;
    color: #fe2c55;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
}

.store-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666666;
}

.store-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.store-name i {
    margin-left: auto;
    font-size: 10px;
}

/* ===================================
   Responsive Design
   =================================== */

@media (min-width: 768px) {
    .products-section .container-fluid {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 375px) {
    .profile-name {
        font-size: 18px;
    }

    .stat-number {
        font-size: 16px;
    }

    .product-title {
        font-size: 12px;
    }

    .price {
        font-size: 14px;
    }
}

.mall-badge {
    background-color: #000000;
    box-shadow: 2px 1px 0 #f528c575;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}