/**
 * Amatech Tracker - Product Cards & Buttons
 * Modern, clean Amazon-affiliate style
 */

/* Button Styles */
.amatech-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(180deg, #f7ca00 0%, #f0a800 100%);
    color: #111 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid #c79600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amatech-btn:hover {
    background: linear-gradient(180deg, #f0a800 0%, #e09800 100%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

.amatech-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Product Card */
.amatech-product {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
    transition: box-shadow 0.2s ease;
    max-width: 320px;
}

.amatech-product:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Badge */
.amatech-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c45500;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Product Image */
.amatech-product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
}

.amatech-product-image img {
    max-width: 200px;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.amatech-product-image:hover img {
    transform: scale(1.05);
}

/* Product Info */
.amatech-product-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amatech-product-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.amatech-product-title a {
    color: #007185 !important;
    text-decoration: none !important;
}

.amatech-product-title a:hover {
    color: #c45500 !important;
    text-decoration: underline !important;
}

/* Rating */
.amatech-product-rating {
    font-size: 14px;
}

.amatech-stars {
    color: #de7921;
}

.amatech-rating-num {
    color: #007185;
    font-size: 13px;
}

/* Price */
.amatech-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #b12704;
}

/* Product Grid */
.amatech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 16px 0;
}

.amatech-grid .amatech-product {
    max-width: none;
    margin: 0;
}

/* List View */
.amatech-list .amatech-product {
    flex-direction: row;
    max-width: none;
    align-items: center;
}

.amatech-list .amatech-product-image {
    flex-shrink: 0;
    width: 150px;
    margin-bottom: 0;
    margin-right: 20px;
}

.amatech-list .amatech-product-image img {
    max-width: 120px;
    max-height: 120px;
}

.amatech-list .amatech-product-info {
    flex-grow: 1;
}

/* Comparison Table */
.amatech-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.amatech-comparison th,
.amatech-comparison td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.amatech-comparison th {
    background: #f7f7f7;
    font-weight: 600;
}

.amatech-comparison .amatech-product-image img {
    max-width: 100px;
    max-height: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .amatech-list .amatech-product {
        flex-direction: column;
    }
    
    .amatech-list .amatech-product-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .amatech-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Prime Badge */
.amatech-prime {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #007185;
}

.amatech-prime::before {
    content: '✓';
    font-weight: bold;
}

/* Deal Badge */
.amatech-deal {
    display: inline-block;
    background: #cc0c39;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
}

/* Disclosure */
.amatech-disclosure {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}
