* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

/* Header Styles */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ast-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.ast-primary-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.site-branding img {
    height: 60px;
    width: auto;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #007cba;
}

.cart-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart-container:hover {
    background: #f9f9f9;
}
.add-to-cart-btn {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #005a87;
}
/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-nav a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #999;
}

/* Main Content */
.site-content {
    padding: 30px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Product Images */
.product-images {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    padding: 20px;
    box-sizing: border-box;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

/* Product Info */
.product-info {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
}

.product-category {
    color: #007cba;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #333;
}

.product-price {
    font-size: 36px;
    font-weight: bold;
    color: #007cba;
    margin-bottom: 20px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars {
    color: #ffa500;
    font-size: 18px;
}

.rating-text {
    color: #666;
    font-size: 14px;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 120px;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-number {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: none;
    outline: none;
}

.add-to-cart, .buy-now {
    background: #007cba;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%; /* This will make the button fill the width of its parent container */
}

.add-to-cart:hover, .buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.buy-now {
    background: #28a745;
}

.buy-now:hover {
    background: #218838;
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

/* Success message */
.message.success {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Info message */
.message.info {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #cce5ff;
    color: #004085;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Error message */
.message.error {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.add-to-cart {
    background: #007cba;
}

.add-to-cart:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,124,186,0.3);
}

.buy-now {
    background: #28a745;
}

.buy-now:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}


.product-meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 600;
    color: #666;
}

.meta-value {
    color: #333;
}

/* Product Tabs */
.product-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    background: none;
    border: none;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab-button.active,
.tab-button:hover {
    color: #007cba;
    border-bottom-color: #007cba;
    background: #f8f9ff;
}

.tab-content {
    padding: 30px;
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.tab-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

.course-features {
    list-style: none;
    margin: 20px 0;
}

.course-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.course-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* Related Products */
.related-products {
    margin-top: 60px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.related-product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.related-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    padding: 15px;
    box-sizing: border-box;
}

.related-info {
    padding: 20px;
}

.related-category {
    color: #007cba;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.related-title {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.related-title a {
    text-decoration: none;
    color: #333;
}

.related-title a:hover {
    color: #007cba;
}

.related-price {
    font-size: 18px;
    font-weight: bold;
    color: #007cba;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.site-below-footer-inner-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer p {
    margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price {
        font-size: 28px;
    }

    .product-actions {
        gap: 10px;
    }

    .add-to-cart,
    .buy-now {
        padding: 12px 20px;
        font-size: 16px;
    }

    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 15px 20px;
        font-size: 14px;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .site-below-footer-inner-wrap {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ast-container {
        padding: 0 15px;
    }

    .site-content {
        padding: 15px 0;
    }

    .product-info {
        padding: 20px;
    }

    .tab-content {
        padding: 20px;
    }
}
