:root {
		--primary-navy: #0b2341;
		--accent-gold: #c59b27;
		--gold-hover: #a6811e;
		--bg-light: #f8f9fa;
		--text-dark: #1a1a1a;
		--text-muted: #6c757d;
		--white: #ffffff;
}

* {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
		background-color: var(--bg-light);
		color: var(--text-dark);
		line-height: 1.6;
}

/* Top Warning Notice */
.vet-notice-bar {
		background-color: var(--accent-gold);
		color: var(--primary-navy);
		text-align: center;
		padding: 6px 15px;
		font-weight: 700;
		letter-spacing: 1px;
		text-transform: uppercase;
		font-size: 0.85rem;
}

/* Header Grid: Stretched full-width to eliminate right whitespace */
header {
    background-color: var(--white);
    border-bottom: 3px solid var(--accent-gold);
    width: 100%;
}

.header-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.logo-container {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

/* Hero Section (Stretches completely to the right margin) */
.hero {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 35px 40px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-icon-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #eee;
    color: var(--primary-navy);
    border: 2px solid var(--accent-gold);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}


.hero h1 {
		font-size: 1.9rem;
		margin-bottom: 4px;
		color: var(--white);
		padding-right: 120px; /* Space for absolute cart button */
}

.hero p {
		font-size: 1.05rem;
		color: var(--accent-gold);
		font-weight: 600;
}

/* Inverted Cart Button inside Hero */
.cart-icon-btn:hover {
		background: var(--primary-navy);
		color: var(--accent-gold);
}

.cart-badge {
		background: var(--primary-navy);
		color: var(--accent-gold);
		border-radius: 50%;
		padding: 2px 7px;
		font-size: 0.8rem;
		font-weight: bold;
}

.cart-icon-btn:hover .cart-badge {
		background: var(--accent-gold);
		color: var(--primary-navy);
}

/* Main Catalog Container with Wild Horses Parallax Wash */
main.container-wrapper {
    /* Changed opacity from 0.88 to 0.50 */
    background: linear-gradient(rgba(248, 249, 250, 0.50), rgba(248, 249, 250, 0.50)), 
                url('https://repository.embode.net/dogs-and-cats.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 0 60px;
    min-height: 60vh;
}

.container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
}

.section-title {
		text-align: center;
		font-size: 1.9rem;
		color: var(--primary-navy);
		margin-bottom: 30px;
		position: relative;
}

.section-title::after {
		content: '';
		display: block;
		width: 60px;
		height: 3px;
		background: var(--accent-gold);
		margin: 8px auto 0;
}

.product-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 25px;
}

.product-card {
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(4px);
		border-radius: 8px;
		border: 1px solid #e2e8f0;
		box-shadow: 0 4px 12px rgba(0,0,0,0.08);
		padding: 22px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		text-align: center;
		transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 10 mg Bottle Graphics */
.vial-graphic {
		margin: 10px 0 15px;
		filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
}

.product-tag {
		font-size: 0.75rem;
		font-weight: 700;
		color: var(--accent-gold);
		text-transform: uppercase;
		letter-spacing: 0.5px;
		margin-bottom: 4px;
}

.product-name {
		font-size: 1.25rem;
		color: var(--primary-navy);
		margin-bottom: 6px;
}

.product-price {
		font-size: 1.5rem;
		font-weight: 700;
		color: var(--primary-navy);
		margin-bottom: 12px;
}

.product-desc {
		font-size: 0.88rem;
		color: var(--text-muted);
		margin-bottom: 18px;
		text-align: left;
}

.add-cart-btn {
		background-color: var(--primary-navy);
		color: var(--white);
		border: none;
		width: 100%;
		padding: 12px;
		border-radius: 5px;
		font-weight: 600;
		cursor: pointer;
		transition: background 0.2s;
}

.add-cart-btn:hover {
		background-color: var(--accent-gold);
		color: var(--primary-navy);
}

/* Modal / Cart Overlay */
.modal-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.65);
		display: none;
		justify-content: center;
		align-items: center;
		z-index: 1000;
}

.modal-card {
		background: var(--white);
		width: 100%;
		max-width: 520px;
		border-radius: 8px;
		padding: 30px;
		max-height: 90vh;
		overflow-y: auto;
		position: relative;
}

.close-modal {
		position: absolute;
		top: 15px;
		right: 20px;
		font-size: 1.5rem;
		border: none;
		background: none;
		cursor: pointer;
		color: var(--text-muted);
}

.modal-title {
		color: var(--primary-navy);
		margin-bottom: 15px;
		font-size: 1.4rem;
}

.cart-list {
		margin-bottom: 20px;
		border-bottom: 1px solid #eee;
		padding-bottom: 15px;
}

.cart-item {
		display: flex;
		justify-content: space-between;
		margin-bottom: 10px;
		font-weight: 500;
}

.form-group {
		margin-bottom: 15px;
}

.form-group label {
		display: block;
		font-weight: 600;
		margin-bottom: 5px;
		color: var(--primary-navy);
		font-size: 0.95rem;
}

.form-control {
		width: 100%;
		padding: 10px;
		border: 1px solid #ccc;
		border-radius: 5px;
		font-size: 0.95rem;
}

.btn-checkout {
		background: var(--accent-gold);
		color: var(--primary-navy);
		width: 100%;
		padding: 14px;
		border: none;
		border-radius: 5px;
		font-size: 1.1rem;
		font-weight: 700;
		cursor: pointer;
		margin-top: 10px;
}

.btn-checkout:hover {
		background: var(--gold-hover);
}

/* Footer */
footer {
		background: var(--primary-navy);
		color: var(--white);
		padding: 35px 20px 20px;
}

.footer-container {
		max-width: 1200px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 18px;
}

.social-links {
		display: flex;
		gap: 20px;
}

.social-links a {
		color: var(--white);
		font-size: 1.5rem;
		transition: color 0.2s;
}

.social-links a:hover {
		color: var(--accent-gold);
}

.footer-disclaimer {
		font-weight: 700;
		color: var(--accent-gold);
		letter-spacing: 1px;
		text-transform: uppercase;
		font-size: 0.88rem;
}

.copyright {
		color: #a0aec0;
		font-size: 0.85rem;
}

/* Responsive behavior for smaller screens */
@media (max-width: 850px) {
		.header-grid {
				grid-template-columns: 1fr;
		}
		.hero h1 {
				padding-right: 0;
		}
		.cart-icon-btn {
				position: relative;
				top: 0;
				right: 0;
				margin-top: 15px;
				align-self: flex-start;
		}
}
