.product-details {
    padding-top: 6rem;
    background: var(--bg-color);
}

.product-header {
    padding: 2rem 0;
}

.product-header .container {
    width: 75%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 1400px;
}

.product-header .header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden; /* Prevent content overflow */
    width: 100%;
    box-sizing: border-box;
}

.gallery-section {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent any overflow from pushing page width */
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.main-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-slider {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.gallery-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 2rem);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 0 1rem;
}

.gallery-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    border: none;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.gallery-nav:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.gallery-nav:active {
    transform: scale(0.95);
}

.gallery-nav i {
    font-size: 1rem;
    color: var(--text-dark);
}

/* New gallery actions container */
.gallery-actions {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
}

.fullscreen-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.fullscreen-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.fullscreen-btn:active {
    transform: scale(0.95);
}

.fullscreen-btn i {
    font-size: 1rem;
    color: var(--text-dark);
}

.image-counter {
    padding: 0.7rem 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.image-counter i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.image-counter .current {
    color: var(--text-dark);
    font-weight: 600;
}

.thumbnail-container {
    position: relative;
    width: 100%;
    padding: 0 2.5rem;
    box-sizing: border-box; /* Ensure padding is included in width */
    overflow: hidden;
}

.thumbnail-strip-wrapper {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.thumbnail-strip {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap; 
    max-width: 100%;
}

.thumbnail-item {
    width: calc((100% - 5rem) / 5); 
    max-width: 70px;
    min-width: 0;
    flex: 0 0 auto;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-controls {
    position: absolute;
    top: 50%;
    width: calc(100% - 1rem);
    left: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
    padding: 0 0.5rem;
    z-index: 5;
}

.thumbnail-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.thumbnail-nav:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.thumbnail-nav:active {
    transform: scale(0.95);
}

.thumbnail-nav i {
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Hide controls when not needed */
.hide-control {
    opacity: 0;
    pointer-events: none;
}

/* Lightbox styles with improved design */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 1010;
    transition: all 0.3s ease;
    border: none;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.lightbox-close i {
    font-size: 1.2rem;
}

/* Mobile fullscreen gallery improvements */
.lightbox-container.mobile-view .image-slider {
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

.swipe-indicator {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    padding: 12px 20px;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    z-index: 1010;
    text-align: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.swipe-indicator .indicator-line {
    width: 40px;
    height: 4px;
    background: white;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.swipe-indicator .indicator-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 4px;
    background: rgba(255,255,255,0.7);
    animation: swipe-pulse 1.5s infinite;
}

@keyframes swipe-pulse {
    0% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(0); opacity: 0; }
}

.swipe-indicator.fade-out {
    opacity: 0;
}

.lightbox-container.mobile-view .gallery-controls {
    display: none;
}

.details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-title h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.title-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--text-dark-low);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.title-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: var(--bg-color);
    border-radius: 20px;
}

.title-meta i {
    font-size: 0.8rem;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--bg-color);
    border-bottom: 1px solid var(--bg-color);
}

.price-tag {
    font-size: 1.6rem; /* Daha küçük font */
    font-weight: 600; /* Daha ince font-weight */
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-tag::before {
    content: '£';
    font-size: 1rem;
    color: var(--text-dark-low);
}

.price-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px; /* Kare butonlar */
    height: 36px;
    padding: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.action-btn i {
    font-size: 1rem;
}

.action-btn.share {
    background: var(--bg-color);
    color: var(--text-dark);
}

.action-btn.favorite {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

/* Seller Card */
.seller-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.seller-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-color);
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.seller-avatar {
    position: relative;
    width: 60px;
    height: 60px;
}

.seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
}

.seller-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.member-since {
    font-size: 0.85rem;
    color: var(--text-dark-low);
}

.contact-btn {
    width: 100%;
    padding: 0.7rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.contact-btn i {
    font-size: 0.9rem;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 232, 0, 0.2);
}

/* Safety Tips */
.safety-tips {
    margin-top: 1.5rem;
    background: rgba(33, 150, 243, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
}

.tip-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #2196F3;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tip-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tip-list li {
    font-size: 0.85rem;
    color: var(--text-dark-low);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tip-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4CAF50;
    font-size: 0.8rem;
}

/* Tabs Section */
.product-tabs {
    margin-top: 2rem;
    padding-bottom: 3rem;
}

.product-tabs .container {
    width: 75%;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-dark-low);
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #fff;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.tab-content {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Description Section */
.description-section h2,
.features-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.description-content {
    font-size: 0.95rem;
    line-height: 1.6;
}

.description-header {
    margin-bottom: 1.5rem;
}

.key-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.highlight-item {
    background: var(--bg-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-dark);
}

.description-sections {
    display: grid;
    gap: 1.5rem;
}

.description-sections section h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.feature-list {
    display: grid;
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.85rem;
    color: var(--text-dark-low);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
}

/* Specs Section */
.specs-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}

.spec-group h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.spec-row {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    background: var(--bg-color);
    border-radius: 8px;
    gap: 1rem;
    transition: all 0.3s ease;
}

.spec-row:hover {
    background: var(--card-bg);
    transform: translateX(5px);
}

.spec-row.full {
    grid-column: 1 / -1;
}

.spec-row.highlight {
    background: rgba(255, 232, 0, 0.1);
    border: 1px dashed rgba(255, 232, 0, 0.3);
}

.spec-label {
    width: 120px;
    font-size: 0.75rem;
    color: var(--text-dark-low);
}

.spec-value {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.available {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-group {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1rem;
}

.feature-group h4 {
    font-size: 0.8rem;
    color: var(--text-dark-low);
    margin-bottom: 0.8rem;
}

.feature-items {
    display: grid;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.feature-item:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
}

/* Location Section */
.location-section {
    display: grid;
    gap: 2rem;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto!important;
}

.location-info {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-detail i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.detail-content h4 {
    font-size: 0.9rem;
    color: var(--text-dark-low);
    margin-bottom: 0.3rem;
}

.detail-content p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.location-card {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem;
    border-radius: 12px;
    width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 5; /* Ensure visibility above map */
}

.location-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.location-header i {
    color: #F44336;
    font-size: 1rem;
}

.location-header h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.location-card p {
    font-size: 0.8rem;
    color: var(--text-dark-low);
    margin-bottom: 0.3rem;
}

.directions-btn {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    background: var(--primary-color);
    color: var(--text-dark);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.directions-btn:hover {
    transform: translateY(-2px);
}

/* Safety Notice */
.safety-notice {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.05);
    border-radius: 12px;
}

.notice-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-content i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2196F3;
    font-size: 1.2rem;
}

.notice-text h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.notice-text p {
    font-size: 0.9rem;
    color: var(--text-dark-low);
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .product-header .container,
    .product-tabs .container {
        width: 90%;
    }
    
    .feature-item {
        font-size: 0.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .product-header .container {
        grid-template-columns: 1fr;
        width: 90%;
    }
    
    .product-header .header-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .seller-card {
        margin-top: 1.5rem;
        padding: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-tabs {
        margin-top: 1.5rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .specs-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    
    .product-header {
        padding: 1rem 0;
    }
    
    .product-header .container,
    .product-tabs .container {
        width: 95%;
    }
    
    .tab-navigation {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Product specs */
    .spec-row {
        padding: 0.5rem;
    }
    
    .spec-label {
        width: 100px;
        font-size: 0.7rem;
    }
    
    .spec-value {
        font-size: 0.75rem;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Gallery section */
    .main-image-container {
        height: 300px;
    }
    
    .thumbnail-item {
        width: calc((100% - 3.2rem) / 5);
        max-width: 60px;
        height: 60px;
    }
    
    .gallery-nav, .thumbnail-nav {
        width: 36px;
        height: 36px;
    }
    
    .fullscreen-btn {
        width: 40px;
        height: 40px;
    }
    
    .image-counter {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Spacing adjustments */
    .product-tabs {
        padding-bottom: 2rem;
    }
    
    /* Location section */
    .map-container {
        height: 300px;
    }
    
    .location-card {
        width: 180px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-close i {
        font-size: 1rem;
    }
    
    .image-counter {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 576px) {
    /* Header & Layout */
    .product-header .container,
    .product-tabs .container {
        width: calc(100% - 1rem);
        padding: 0 0.5rem;
    }
    
    .product-header .header-content {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .seller-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    /* Gallery section */
    .main-image-container {
        height: 250px;
        border-radius: 10px;
    }
    
    .thumbnail-item {
        width: calc((100% - 3.2rem) / 5);
        max-width: 50px;
        height: 50px;
    }
    
    .thumbnail-container {
        padding: 0 1rem;
    }
    
    /* Gallery controls */
    .gallery-nav {
        width: 34px;
        height: 34px;
    }
    
    .gallery-nav i {
        font-size: 0.9rem;
    }
    
    .gallery-actions {
        bottom: 0.8rem;
        right: 0.8rem;
        gap: 0.6rem;
    }
    
    .fullscreen-btn {
        width: 36px;
        height: 36px;
    }
    
    .fullscreen-btn i {
        font-size: 0.9rem;
    }
    
    .image-counter {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    /* Product details */
    .product-title h1 {
        font-size: 1.25rem;
    }
    
    .price-tag {
        font-size: 1.3rem;
    }
    
    /* Tabs */
    .tab-content {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .description-section h2,
    .features-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Location */
    .map-container {
        height: 220px;
    }
    
    .location-card {
        position: static;
        width: 100%;
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Header */
    .product-header {
        padding: 0.75rem 0;
    }
    
    .main-image-container {
        height: 220px;
    }
    
    /* Thumbnails */
    .thumbnail-item {
        width: calc((100% - 3.2rem) / 5);
        max-width: 45px;
        height: 45px;
    }
    
    .thumbnail-controls {
        top: 45%;
    }
    
    .thumbnail-nav {
        width: 28px;
        height: 28px;
    }
    
    .thumbnail-nav i {
        font-size: 0.7rem;
    }
    
    /* Gallery controls */
    .gallery-actions {
        bottom: 0.5rem;
        right: 0.5rem;
        gap: 0.5rem;
    }
    
    .fullscreen-btn {
        width: 32px;
        height: 32px;
    }
    
    .image-counter {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    /* Product details */
    .title-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.3rem;
    }
    
    .title-meta span {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Price section */
    .price-tag {
        font-size: 1.2rem;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
    }
    
    /* Seller card */
    .seller-avatar {
        width: 50px;
        height: 50px;
    }
    
    .contact-btn {
        padding: 0.6rem;
    }
    
    /* Tabs */
    .tab-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    /* Description */
    .description-content {
        font-size: 0.85rem;
    }
}

/* Utility classes for proper responsive behavior */
.hide-on-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-on-mobile {
        display: block;
    }
    
    .show-on-mobile {
        display: none;
    }
}

.seller-avatar .verified-badge {
    width: 16px;
    height: 16px;
    border: none;
    background: #4CAF50;
    bottom: 2px;
    right: 2px;
}

.seller-avatar .verified-badge i {
    font-size: 0.6rem;
}
