:root {
    /* --primary-color: #0066cc; */
    --secondary-color: #004d99;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
}

/* Product Container */
.product-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-header {
    margin-bottom: 2rem;
}

.product-header h1 {
    margin: 0;
    color: var(--text-color);
    background: var(--primary-gradient);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Content Layout */
.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
    }
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 2rem;
}

.gallery-main {
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    margin: auto;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 0.5rem;
}

.gallery-thumbs img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-thumbs img:hover {
    opacity: 0.8;
}

/* Purchase Section */
.purchase-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.price-info {
    margin-bottom: 1.5rem;
}

.price-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.price-line label {
    min-width: 120px;
    color: var(--text-color);
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.current-price {
    color: #2b8a3e;
    font-size: 1.5rem;
    font-weight: bold;
}

.service-price {
    color: #2b8a3e;
    font-size: 1.5rem;
    font-weight: bold;
}

.purchase-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quantity-control input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.add-to-cart-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.add-to-cart-btn:hover {
    background-color: var(--secondary-color);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
  }
/* Product Info */
.product-info > div {
    margin-bottom: 2rem;
}

.stock-status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.in-stock {
    background-color: #e6ffe6;
    color: #006600;
}

.out-of-stock {
    background-color: #ffe6e6;
    color: #cc0000;
}

/* Product Tabs */
.product-tabs {
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-button {
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.tab-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
}

.tab-content {
    display: none;
    padding: 1.5rem;
}

.tab-content.active {
    display: block;
}

/* Lists */
.product-tabs
ul {
    margin: 0;
    padding-left: 1.5rem;
    list-style: disc;
}

li {
    margin-bottom: 0.5rem;
}
@media (max-width: 560px) {
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.75rem;
    }

    .purchase-controls {
        flex-direction: column;
    }

    .add-to-cart-btn {
        width: 100%;
    }
}