/* ---------- Reset / Base ---------- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f6f4f1;
    color: #2b2b2b;
    line-height: 1.5;
}

a {
    color: #2b2b2b;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Layout ---------- */
.site-header {
    background-size: cover;
    background-position: center;
    padding: 10px 0;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.85);
    border-radius: 6px;
}

.site-content {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 15px;
}

/* ---------- Logo ---------- */
.logo {
    max-height: 150px;
    width: auto;
	margin: 0 auto;
}

@media (max-width: 600px) {
    .logo {
        max-height: 100px;
		margin: 0 auto;
    }
}

/* ---------- Navigation ---------- */
.main-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-categories {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.nav-utils {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.95em;
}

.nav-utils a {
    color: #ff1c1c;
}


/* ---------- Hero ---------- */
.hero {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: rgba(255,255,255,0.85);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.hero-overlay h1 {
    margin: 10px 0 0;
}

/* ---------- Categories ---------- */
.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-card img {
    height: 160px;
    object-fit: cover;
}

.category-card h2 {
    margin: 10px;
}

/* ---------- Products ---------- */
.product {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.product img {
    max-height: 200px;
    object-fit: contain;
}
.pickup-only-notice {
    background: #fff000;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

/* ---------- Forms ---------- */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
button {
width: 100%;
padding: 8px;
margin-bottom: 10px;
font-size: 1rem;
}

/* ---------- Buttons ---------- */
button,
.button {
    display: inline-block;
    background: #2b2b2b;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

button:hover,
.button:hover {
    background: #444444;
    color: #ffffff;
}

.button:visited {
    color: #ffffff;
}


/* ---------- Tables ---------- */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #2b2b2b;
    color: #fff;
    padding: 20px 0;
}

.site-footer a {
    color: #fff;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}


.admin-orders {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    background: #fff;
}

.order-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.95em;
    margin-bottom: 8px;
}

.order-body p {
    margin: 0 0 10px 0;
}

.order-update-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-update-form select,
.order-update-form textarea,
.order-update-form button {
    width: 100%;
}

.overdue {
    color: #b00020;
    font-weight: 700;
}



/* ---------- Category Cards ---------- */

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
/*	padding: 12px;  */
	color: inherit;
}

.category-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.category-image {
    max-width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
}



.category-title {
    margin: 8px 0 4px 0;
    line-height: 1.2;
}

.category-blurb {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.category-blurb * {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.category-blurb a.read-more {
    display: inline-block;
    margin-top: 4px;
    font-weight: 600;
}

.category-card h2,
.category-title {
margin: 0;
}

.category-blurb {
	margin-top: 0;
	padding-top: 4px;
	text-align: left;
}


.readmore-short {
    text-align: left;
}

.readmore-full {
    text-align: left;
}

.readmore-toggle {
    text-decoration: underline;
}

.stock-note {
    font-size: 0.9rem;
    color: #555;
    margin: 6px 0 8px 0;
}


@media (min-width: 768px) {
    .order-card {
        max-width: 900px;
    }
}
