/* Single Toy Page Styles */
.toy-single {
    padding: 2rem 0;
}

.toy-content {
    display: grid;
    gap: 2rem;
}

.toy-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Toy Image */
.toy-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toy-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Toy Details */
.toy-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toy-header {
    margin-bottom: 1rem;
}

.toy-brand {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.toy-title {
    font-size: 2rem;
    margin: 0.5rem 0;
    color: var(--heading-color);
}

.toy-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Share Button */
.share-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-alt);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.share-button:hover {
    background: var(--border-color);
}

.share-button svg {
    stroke: currentColor;
}

/* Price Comparison Section */
.price-comparison-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.price-comparison-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.best-price {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.best-price strong {
    font-size: 1.4rem;
}

/* Price Comparison Table */
.price-comparison-table {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.price-comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.price-comparison-table th {
    background: var(--background-alt);
    padding: 1rem;
    text-align: start;
    font-weight: 600;
    color: var(--heading-color);
}

.price-comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Sponsored Rows */
.sponsored-row {
    background-color: var(--background-highlight);
    position: relative;
}

.sponsored-label {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-inline-start: 0.5rem;
    opacity: 0.8;
}

.buy-button.sponsored {
    background: var(--sponsored-color, #FFB800);
}

.buy-button.sponsored:hover {
    background: var(--sponsored-hover-color, #FFA500);
}

/* Retailer Column */
.retailer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retailer-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-inline-end: 0.5rem;
}

/* Price Column */
.price {
    font-weight: 600;
    color: var(--heading-color);
}

.best-price-label {
    display: inline-block;
    background: var(--success-color);
    color: white;
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}

/* Updated Column */
.updated {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Buy Button */
.buy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.buy-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.buy-button svg {
    transform: scaleX(-1);
}

.buy-button:hover svg {
    transform: translateX(-4px) scaleX(-1);
}

/* Price Info */
.price-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.price-info p {
    margin: 0.5rem 0;
}

/* No Prices Message */
.no-prices {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    background: var(--background-alt);
    border-radius: 8px;
}

/* Product Description */
.toy-description {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.toy-description h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .toy-main {
        grid-template-columns: 1fr;
    }

    .toy-title {
        font-size: 1.5rem;
    }

    .price-comparison-table {
        font-size: 0.9rem;
    }

    .buy-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
} 