.product-page-premium {
    background: var(--background);
    padding: 30px 0 100px;
    min-height: 100vh;
}

.premium-breadcrumbs {
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.premium-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.premium-breadcrumbs i {
    font-size: 10px;
    margin: 0 8px;
    opacity: 0.5;
}

.product-main-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-media-section {
    min-width: 0;
}

/* Media Section */
.main-gallery-wrapper {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.image-carousel-premium {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 100%;
    scrollbar-width: none;
}

.image-carousel-premium::-webkit-scrollbar {
    display: none;
}

.carousel-item-premium {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
}

.carousel-item-premium img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    background: var(--background);
}

.badge-type {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    font-size: 12px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.badge-type.status-buy {
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
}

.badge-type.status-sell {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.carousel-counter-premium {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.carousel-nav-btns {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.carousel-nav-btns button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.2s;
}

.carousel-nav-btns button:hover {
    transform: scale(1.1);
    background: var(--primary-green);
    color: white;
}

.thumbnail-grid-premium {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.thumbnail-grid-premium::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-grid-premium::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.thumbnail-grid-premium::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.thumbnail-grid-premium::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.thumb-item {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    transition: all 0.2s;
}

.thumb-item:hover {
    border-color: var(--primary-green);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description-card-premium {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-top: 40px;
    box-shadow: var(--shadow-sm);
}

.description-card-premium h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.description-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}

/* Sticky Info Card */
.sticky-info-card {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.price-header-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.price-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 4px;
    display: block;
}

.price-value {
    font-size: 42px;
    font-weight: 900;
    color: var(--primary-green-dark);
    margin: 0;
    letter-spacing: -1.5px;
}

.info-actions {
    display: flex;
    gap: 12px;
}

.action-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.action-circle-btn.wishlist.active {
    color: var(--primary-green);
    border-color: var(--primary-green);
    background: #f0fdf4;
}

.action-circle-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

.product-title-premium {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}

.meta-tags-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.meta-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.meta-tag:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.meta-tag i {
    color: var(--primary-green);
    margin-right: 6px;
}

.verified-banner-premium {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.v-icon {
    font-size: 24px;
    color: #1d4ed8;
}

.v-text strong {
    display: block;
    font-size: 15px;
    color: #1e3a8a;
}

.v-text span {
    font-size: 13px;
    color: #3b82f6;
}

/* Seller Card */
.seller-card-premium {
    background: var(--background);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
}

.seller-info-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.seller-avatar,
.seller-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
}

.seller-names h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.seller-names p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

.contact-btns-grid {
    display: flex;
    gap: 8px;
    width: 100%;
}

.btn-chat-primary {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--primary-green);
    color: white !important;
    text-decoration: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    gap: 10px;
    transition: all 0.3s;
}

.btn-chat-primary:hover {
    background: var(--primary-green-dark);
    transform: translateY(-3px);
}

.btn-edit-ad {
    width: 100%;
    background: #f1f5f9;
    color: var(--text-dark) !important;
    text-decoration: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    gap: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.btn-edit-ad:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.btn-whatsapp,
.btn-phone {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white !important;
    text-decoration: none;
    flex-shrink: 0;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-phone {
    background: #0F172A;
}

.safety-tips-premium {
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
}

.safety-tips-card {
    background: #fff9f0;
    border: 1px solid #ffedd5;
    border-radius: 16px;
    padding: 20px;
}

.safety-tips-card h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #9a3412;
    display: flex;
    align-items: center;
    gap: 8px;
}

.safety-tips-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.safety-tips-card li {
    font-size: 13px;
    color: #c2410c;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.safety-tips-card li i {
    font-size: 12px;
    opacity: 0.7;
}

.btn-report-link {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.description-section-fullwidth {
    grid-column: 1 / -1;
}

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

    .sticky-info-card {
        position: relative;
        top: 0;
    }

    .description-section-fullwidth {
        order: 3;
    }

    .product-media-section {
        order: 1;
    }

    .product-info-section {
        order: 2;
    }
}

@media (max-width: 768px) {
    .main-gallery-wrapper {
        border-radius: 0;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
    }

    .product-page-premium {
        padding-top: 0;
    }

    .premium-breadcrumbs {
        display: none;
    }

    .price-value {
        font-size: 28px;
    }

    .description-card-premium {
        padding: 24px;
        margin-top: 20px;
    }
}

/* Lightbox Premium */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-gallery {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lightbox-gallery::-webkit-scrollbar {
    display: none;
}

.lightbox-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    padding: 40px;
}

.lightbox-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 20002;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 20001;
}

.lightbox-nav button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.lightbox-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    font-size: 14px;
    z-index: 20001;
}

.status-warning-banner-premium {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInDown 0.5s ease;
}

.status-warning-banner-premium .banner-icon {
    width: 50px;
    height: 50px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.status-warning-banner-premium .banner-text h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #991b1b;
}

.status-warning-banner-premium .banner-text p {
    margin: 4px 0 0 0;
    color: #b91c1c;
    font-weight: 500;
    font-size: 14px;
}

.btn-banner-action {
    margin-left: auto;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid #fee2e2;
    border-radius: 12px;
    text-decoration: none;
    color: #991b1b;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-banner-action:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback Premium Custom Share Modal */
.custom-share-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-share-backdrop.active {
    display: flex;
    opacity: 1;
}

.custom-share-card {
    width: 90%;
    max-width: 480px;
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-share-backdrop.active .custom-share-card {
    transform: translateY(0);
}

.custom-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.custom-share-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.custom-share-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.custom-share-close:hover {
    color: var(--text-dark);
}

/* Product Mini Card Preview */
.custom-share-preview-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 20px;
}

.custom-share-preview-card img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.custom-share-preview-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.custom-share-preview-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-share-preview-price {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-green);
}

.custom-share-section-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.custom-share-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.custom-share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    transition: transform 0.2s;
}

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

.custom-share-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    margin-bottom: 6px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

/* Share Brand Colors */
.custom-share-item.whatsapp .custom-share-icon { background: #25D366; }
.custom-share-item.telegram .custom-share-icon { background: #0088cc; }
.custom-share-item.facebook .custom-share-icon { background: #1877F2; }
.custom-share-item.twitter .custom-share-icon { background: #000000; }
.custom-share-item.linkedin .custom-share-icon { background: #0077b5; }
.custom-share-item.email .custom-share-icon { background: #EA4335; }
.custom-share-item.copy-link .custom-share-icon { background: #64748B; }

/* Android App Redirect Modal */
.app-redirect-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-redirect-backdrop.active {
    display: flex;
    opacity: 1;
}

.app-redirect-card {
    width: 90%;
    max-width: 400px;
    background: var(--white);
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-redirect-backdrop.active .app-redirect-card {
    transform: scale(1);
}

.app-redirect-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 8px 16px rgba(46, 125, 50, 0.2);
    overflow: hidden;
}

.app-redirect-card h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.app-redirect-card p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.app-redirect-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-app-install {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white !important;
    padding: 14px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-app-install:active {
    transform: scale(0.98);
}

.btn-app-continue {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
    outline: none;
}

.btn-app-continue:hover {
    color: var(--text-dark);
}

@media (max-width: 576px) {
    .custom-share-backdrop {
        align-items: flex-end;
    }
    .custom-share-card {
        width: 100%;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
    .custom-share-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}