/* ================================
   Shop Detail Page Styles
   ================================ */

/* Header Section */
.shop-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.shop-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.shop-logo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #d7a74f, #be8f38);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 8px;
}

.shop-header-info h1 {
    margin: 0 0 0.5rem 0;
}

.shop-header-info .subtitle {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

/* Navigation Tabs */
.nav-tabs {
    background: white;
    border-bottom: 2px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-tabs nav {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
}

.nav-tabs .nav-link {
    text-decoration: none;
    color: #666;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: #006581;
    border-bottom-color: #006581;
}

.nav-tabs .nav-link.coupons-link {
    color: #ffc107;
}

/* Main Content Layout */
.content-wrapper {
    margin-top: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

/* Sections */
.section {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.section h2 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section h2 i {
    color: #ff4757;
}

/* Coupon Styles */
.coupon-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coupon-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.coupon-header {
    padding: 1rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coupon-discount-badge {
    background: #ff4757;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
}

.coupon-title {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.coupon-description {
    margin: 0.25rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.coupon-meta {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    gap: 1rem;
}

.coupon-reveal-button {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background: #006581;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-reveal-button:hover {
    background: #005a73;
}

.coupon-reveal-section {
    display: none;
    padding: 1rem;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.coupon-reveal-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.coupon-code-container {
    flex: 1;
}

.coupon-code-label {
    margin: 0 0 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.coupon-code-box {
    background: #f8f9fa;
    border: 2px dashed #006581;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.coupon-code {
    font-size: 1.5rem;
    font-weight: bold;
    color: #006581;
    letter-spacing: 2px;
    font-family: monospace;
}

.coupon-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.coupon-copy-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #006581;
    background: white;
    color: #006581;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-copy-btn:hover {
    background: #f0f7f9;
}

.coupon-shop-btn {
    padding: 0.5rem 1rem;
    background: #28a745;
    color: white;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.coupon-shop-btn:hover {
    background: #218838;
}

.coupon-terms {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.coupon-terms summary {
    cursor: pointer;
    color: #666;
    font-size: 0.9rem;
}

.coupon-terms p {
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.85rem;
}

/* Overview Content */
.overview-content {
    margin-top: 2rem;
}

/* Pros and Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.pros {
    background: #d4edda;
    padding: 1.5rem;
    border-radius: 8px;
}

.cons {
    background: #f8d7da;
    padding: 1.5rem;
    border-radius: 8px;
}

.pros h3 i {
    color: #28a745;
}

.cons h3 i {
    color: #dc3545;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros li,
.cons li {
    padding: 0.5rem 0;
}

.pros li i {
    color: #28a745;
    margin-right: 0.5rem;
}

.cons li i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* Shipping Countries */
.shipping-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.shipping-country-badge {
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

/* Payment Methods */
.payment-method-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.payment-method-item .available {
    color: #28a745;
}

.payment-method-item .unavailable {
    color: #dc3545;
}

/* Product Info Grid */
.product-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-info-value {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Product Categories */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-category-badge {
    background: #006581;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.brand-item {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
}

.brands-more {
    background: #e9ecef;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    font-style: italic;
}

/* Special Offers */
.special-offers-box {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.special-offers-box h3 i {
    color: #ffc107;
}

/* Trust & Security */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.trust-badge i {
    color: #28a745;
}

.info-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.25rem 0;
}

.info-card li i {
    color: #28a745;
    margin-right: 0.5rem;
}

.sustainability-box {
    background: #d4edda;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.sustainability-box h3 i {
    color: #28a745;
}

/* Customer Service */
.support-channels {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.support-channel-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
}

.support-channel-icon {
    font-size: 1.5rem;
    color: #006581;
}

.support-channel-name {
    margin-top: 0.5rem;
}

/* Reviews Section */
.review-score-big {
    font-size: 3rem;
    font-weight: bold;
    color: #006581;
}

.rating-stars {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.rating-stars .star-filled {
    color: #ffc107;
}

.rating-stars .star-half {
    color: #ffc107;
}

.rating-stars .star-empty {
    color: #ddd;
}

.external-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.external-review-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.external-review-score {
    font-size: 1.2rem;
    color: #006581;
}

/* Similar Shops */
.similar-shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.similar-shop-card {
    text-decoration: none;
    color: inherit;
    background: white;
    border: 1px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.similar-shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.similar-shop-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.similar-shop-name {
    margin: 0.5rem 0;
}

.similar-shop-rating {
    color: #ffc107;
}

.similar-shop-categories {
    color: #666;
    font-size: 0.85rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-cta-box {
    background: linear-gradient(135deg, #006581, #005a73);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2rem;
}

.sidebar-cta-box h3 {
    color: white;
    margin-top: 0;
}

.sidebar-shop-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.sidebar-cta-button {
    background: white;
    color: #006581;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

.sidebar-cta-button:hover {
    background: #f0f7f9;
}

.sidebar-offers-hint {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.shop-facts-box {
    background: white;
    border: 2px solid #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.shop-facts-box h3 {
    margin-top: 0;
}

.shop-facts-box dl {
    margin: 0;
}

.shop-facts-box dt {
    color: #666;
    font-size: 0.9rem;
}

.shop-facts-box dd {
    margin: 0 0 1rem 0;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .shop-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-tabs nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .coupon-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .coupon-reveal-content {
        flex-direction: column;
    }
    
    .similar-shops-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .product-info-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}