.back-button,
.top-nav {
    display: flex;
    align-items: center;
}

:root {
    --primary-color: #ff7043;
    --text-dark: #333333;
    --text-light: #666666;
    --background-color: #f8f9fa;
    --white: #ffffff;
}

body {
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.top-nav {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    height: auto;
    min-height: 72px;
    padding: 6px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 1rem;
    gap: 20px;
}

.back-button {
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    display: flex;
}

    .back-button .profile-header {
        width: 100%;
    }

    .back-button .top-row {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .back-button .store-logo {
        width: 42px;
        height: 42px;
    }

    .back-button .profile-name {
        font-size: 22px;
        line-height: 1.2;
        margin: 0;
    }

    .back-button .rating-section {
        margin-top: 6px;
    }

.nav-right,
.view-offers-btn {
    align-items: center;
    display: flex;
}

.back-button i {
    font-size: 18px;
}

.nav-right {
    gap: 16px;
    flex-wrap: wrap;
}

.view-offers-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.action-icons {
    display: flex;
    gap: 4px;
}

.icon-btn {
    background: 0 0;
    border: none;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

    .icon-btn:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary-color);
    }

.offers-content {
    max-width: 800px;
    margin: 92px auto 2rem;
    padding: 0 1rem;
}

.offer-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 24px;
}

.offer-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
}

    .offer-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 20px;
        background: #fff;
    }

.offer-details {
    padding: 24px;
}

.offer-title {
    font-size: 28px;
    color: var(--text-dark);
    margin: 0 0 20px;
    line-height: 1.35;
    font-weight: 600;
}

.product-info {
    margin-bottom: 24px;
}

.product-name {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-weight {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-mrp {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.share-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    position: relative;
}

    .share-section h3 {
        color: #757575;
        font-size: 13px;
        margin-bottom: 16px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

.share-buttons {
    display: flex;
    gap: 30px;
    position: relative;
    font-size: 25px;
    color: #fc4d4d;
}

.share-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .offer-image {
        height: 250px;
    }

    .offer-details {
        padding: 20px;
    }

    .offer-title {
        font-size: 24px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-mrp,
    .product-weight {
        font-size: 14px;
    }

    .view-offers-btn span {
        display: none;
    }
}

/* Mobile Top Bar Responsive Styling */
@media screen and (max-width: 768px) {
    .mobile-top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 12px 14px;
        z-index: 999;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .mobile-home-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-message-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #25d366;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
        font-weight: 600;
        padding: 10px 14px;
        border-radius: 20px;
        cursor: pointer;
        white-space: nowrap;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

        .mobile-message-btn:active {
            transform: scale(0.96);
        }

        .mobile-message-btn i {
            font-size: 14px;
        }
}
