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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    color: #333;
    padding-top: 60px;
    /* Add this */
    padding-bottom: 240px;
    /* Add this */
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 100%;
    height: 60px;
    background: white;
    border-bottom: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.top-nav-content {
    max-width: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
}

.back-btn {
    position: absolute;
    left: 16px;
    color: #000000;
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
}

/* Post Container */
.post-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.post-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 20px;
    border-radius: 15px;
}

.main-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* User Info Overlay */
.user-info-overlay {
    position: absolute;
    top: 32px;
    left: 32px;
    right: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 25px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.post-time {
    font-size: 12px;
    color: #a9a9a9;
}

.bookmark-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Shopping Dots */
/* .shopping-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.shopping-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
} */

/* Action Buttons */
.action-buttons {
    position: absolute;
    bottom: 32px;
    left: 16px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    z-index: 10;
}

.action-btn {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

/* .action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
} */

.like-btn {
    margin-left: auto;
    width: 80px;
    /* Add this for a fixed minimum width */
    height: 55px;
    padding: 8px 8px;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    border-radius: 30px;
}

.like-count {
    font-size: 11px;
    font-weight: 300;
    margin-top: 2px;
    /* Space between heart and count */
}

/* Dots Indicator */
.dots-indicator {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    background: #000;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

/* Shopping Dots */
.shopping-dots {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
}

.shopping-dot-wrapper {
    position: absolute;
    pointer-events: auto;
}

.shopping-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.shopping-dot:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

/* Dot Info Box */
.dot-info {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    transform: translateX(-50%);
    display: none;
    z-index: 20;
}

.dot-info.active {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dot-info-brand {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    /* text-transform: uppercase; */
    margin-bottom: 4px;
}

.dot-info-item {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    margin-bottom: 4px;
}

.dot-info-price {
    font-size: 12px;
    font-weight: 400;
    color: #000;
    margin-bottom: 4px;
}

.dot-info-link {
    display: inline-block;
    background: #000;
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    transition: background 0.2s;
}

.dot-info-link:hover {
    background: #333;
}

/* Tab Bar Interstitial */
.tab-interstitial {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 100%;
    background: white;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #dbdbdb;
    z-index: 99;
}

.tab-interstitial h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #262626;
}

.tab-interstitial p {
    font-size: 14px;
    color: #737373;
    margin-bottom: 20px;
    line-height: 1.4;
}

.interstitial-btn {
    display: block;
    background: rgb(255, 150, 79);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 auto 15px;
    max-width: 300px;
}

.interstitial-links {
    font-size: 14px;
    color: #262626;
}

.interstitial-links a {
    color: #0095f6;
    text-decoration: none;
    font-weight: 600;
}

/* Bottom Tab Bar */
.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 100%;
    height: 50px;
    background: white;
    border-top: 1px solid #dbdbdb;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 100;
}

.tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
    color: #262626;
    transition: opacity 0.2s;
    cursor: pointer;
}

.tab-item:hover {
    opacity: 0.6;
}

.tab-item.active {
    color: #000;
}

.tab-icon {
    font-size: 26px;
    line-height: 1;
}