html, body {
    height: 100%;
    margin: 0;
}
body 

{background-color:#07450C;
margin:0;
display: flex;
flex-direction: column;
min-height: 100vh;}

/* Header */
#header 

{background-color:#A38550;
color:white;
text-shadow:2px 2px 4px rgba(0, 0, 0, 1);
flex-shrink: 0;}

/* Main Layout Container */
#layout 

{flex: 1;
display:flex;}

.logo img

{height:170px;
width:220px;
margin-top:5px;}

/* Content Area */
#content {
flex: 1;
padding: 20px;
background: radial-gradient(circle, rgba(1,71,1,1) 6%, rgba(2,51,21,1) 63%, rgba(2,43,2,1) 88%);
color: white;
min-height:0;}

/* Footer */
#footer 

{height:100px;
flex-shrink: 0;
background-color:#A38550;
border-bottom-right-radius:100px;
border-bottom-left-radius:100px;
text-shadow:2px 2px 4px rgba(0, 0, 0, 1);
text-align:center;
color:white;
margin:0;
gap:10;}

a:link, a:hover, a:visited, table

{color:white;
text-decoration:none;
text-shadow:2px 2px 4px rgba(0, 0, 0, 1);}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* ===== Header Layout ===== */

.site-header {
    background-color: #A38550;
	height:180px;
	border-top-left-radius:100px;
	border-top-right-radius:100px;
}

.header-inner {
    display: flex;
    align-items: center;
	text-align:center;
}

/* Title */
.site-title {
    font-size: 60px;
    margin: 0;
    color: #ffffff;
    text-shadow: 2px 2px 3px #000;
}

#layout {
    border-right: 20px solid #A38550;
	border-left: 20px solid #A38550;
}

.admin-nav {
    margin-bottom: 20px;
}

.admin-nav a {
    margin-right: 15px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/*Sidebar Buttons*/
.sidebutton {
  background-color: #CBB595;
  border: 2px solid #422800;
  border-radius: 30px;
  width:100px;
  margin: 12px auto;
  box-shadow: #422800 4px 4px 0 0;
  color: #422800;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  padding: 0 18px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: inline;
}

.sidebutton:hover {
  background-color: #E5CCA8;
}

.sidebutton:active {
  box-shadow: #422800 2px 2px 0 0;
  transform: translate(2px, 2px);
}
.product-card {
    background-image: linear-gradient(to bottom right, #407fc5, #316db0, #235893, #164376);
    padding: 15px;
    border-radius: 20px;
    text-align: center;
	cursor:pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.product-card:hover {
background-image: linear-gradient(to top left, #407fc5, #316db0, #235893, #164376);
}

.cart-area {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-area button

{margin-top:8px;}

.cart-card {
    padding: 20px;
    margin-bottom: 20px;
	background-image: linear-gradient(to bottom right, #407fc5, #316db0, #235893, #164376);
    border-radius: 20px;
    display: flex;
	cursor:pointer;
    flex-direction: column;
    box-shadow: 4px 4px 4px rgba(0,0,0,1);
	display:grid;
	text-align:center;
}

.cart-card h3 {
    margin-top: 0;
}

.cart-controls {
    display:flex;
	flex-direction:column;
    gap:15px;
    align-items:center;
    margin-top:auto;
}

.qty-section {
    text-align: center;
}

.qty-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cart-qty {
    width: 60px;
    text-align: center;
}

.cart-form {
    display:flex;
    gap:8px;
    align-items:center;
}

.cart-total-card {
    padding:20px;
    border-radius:20px;
    margin-top:25px;
}

.cart-image {
    width:100%;
    max-height:150px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:10px;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.cart-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
	justify-content:center;
    gap: 25px;
    max-width: 1400px;
    margin: auto;
	align-items: stretch;
	text-align:center;
}

.cart-controls {margin-top: auto;}

.product-image img 

{width:100%;
height:180px;
object-fit:cover;
border-radius:20px;
box-shadow: 4px 4px 4px rgba(0,0,0,1);}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: auto;
}

.admin-product-actions {
    margin-top: auto;
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:15px;
}

/* ===== PRODUCT IMAGE LIGHTBOX ===== */

.product-main-image{
    cursor: zoom-in;
    transition: transform .2s ease;
}

.product-main-image:hover{
    transform: scale(1.03);
}

/* Overlay background */
#lightboxOverlay{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.88);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

/* Large image */
#lightboxImage{
    max-width:92%;
    max-height:92%;
    border-radius:12px;
    box-shadow:0 0 40px black;
}

/* Close button */
#lightboxClose{
    position:absolute;
    top:18px;
    right:30px;
    color:white;
    font-size:46px;
    font-weight:bold;
    cursor:pointer;
    user-select:none;
}

/*Content Buttons*/

.contentbutton {
	box-shadow: 10px 10px 10px -10px #246113;
	background:linear-gradient(to bottom, #10e649 5%, #1c2417 100%);
	background-color:#10e649;
	border-radius:20px;
	border:1px solid #156b1e;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:6px 30px;
	text-decoration:none;
	text-shadow:2px 2px 0px #144f0b;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}
.contentbutton:hover {
	background:linear-gradient(to bottom, #1c2417 5%, #10e649 100%);
	background-color:#1c2417;
}
.contentbutton:active {
	position:relative;
	top:1px;
}

form

{text-align:center;
color:fff;
border:0px;
}

.login

{background-color:fff;
color:000000;
font-weight:400;
border-radius:20px;
text-align:center;
border:2px solid grey;
box-shadow:2px 2px 4px rgba(0, 0, 0, 1);}

button.sidebutton

{height:auto;
width:auto;}

.page-indicator {
    text-align: center;
    font-size: 30px;
    color: black;
    margin-top: 150px;
    margin-bottom: 10px;
	letter-spacing:4px;
    text-shadow: 2px 2px 4px black;
}

.ingredient-row {
    display: grid;
    grid-template-columns: 110px 220px 70px 60px 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.ingredient-row label {
    text-align: right;
}

.ingredient-input {
    width: 200px;
}

.drops-input {
    width: 50px;
	text-align:center;
}

.remove-btn {
    background: none;
    border: none;
    font-size: 18px;
}

.deletebutton {
	background:linear-gradient(to bottom, #d0451b 5%, #bc3315 100%);
	background-color:#d0451b;
	border-radius:42px;
	display:inline-block;
	cursor:pointer;
	color:#000000;
	font-family:Arial;
	font-size:9px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	width:auto;
	border:0px;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.deletebutton:hover

{background:linear-gradient(to bottom, #bc3315 5%, #d0451b 100%);
background-color:#bc3315;}

.editbutton {
	background:linear-gradient(to bottom, #228be6 5%, #4d84d6 100%);
	background-color:#228be6;
	border-radius:42px;
	display:inline-block;
	cursor:pointer;
	color:#000000;
	font-family:Arial;
	font-size:9px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	width:auto;
	border:0px;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.editbutton:hover

{	background:linear-gradient(to bottom, #4d84d6 5%, #228be6 100%);
	background-color:#4d84d6;}

input, textarea

{text-align:center;}

/*Content Center*/

.contentcenter

{display:grid;
place-items: center;
height:95%;}

/*Content Tables*/

table.contenttable {
  border: 6px solid #24943A;
  background-color: #91be8a;
  text-align: center;
  margin-left:auto;
  margin-right:auto;
}

table.contenttable td, table.contenttable th {
  border: 1px solid #24943A;
  padding: 3px 2px;
}
table.contenttable tbody td {
  font-size: 13px;
}
/*Checkout/Payment Styling*/
.checkout-box {
    background-image: linear-gradient(to bottom right, #407fc5, #316db0, #235893, #164376);
    padding:20px;
    border-radius:15px;
    margin-bottom:25px;
	width:400px;
	text-align:center;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.checkout-form {
    display:flex;
    flex-direction:column;
    gap:12px;
    max-width:400px;
}
.checkout-layout {
    display: flex;
    align-items: flex-start;
}

/* Left side (cart summary) */
.checkout-left {
    width: 300px;
	top:120px;
	margin-left:150px;
	margin-right:auto;
}

/* Right side grows naturally */
.checkout-right {
    flex: 1;
	margin-right:400px;
	margin-left:auto;}

.checkout-form input,
.checkout-form textarea {
    padding:8px;
    border-radius:8px;
    border:1px solid #ccc;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.payment-options {
    display:flex;
    gap:20px;
    margin:20px 0;
	justify-content:center;
}

.payment-card {
    width:160px;
    padding:20px;
    border-radius:15px;
    text-align:center;
    background:#456180;
	box-shadow: 4px 4px 4px rgba(0,0,0,1);
}

.payment-card.paypal {
    background:#003087;
}

.payment-card.google {
    background:#4285F4;
}

.payment-card.apple {
    background:#8DB600;
}

.shippinginformation 
{margin-top:auto;}

#content h2

{text-align:center;}

/* ===== Mobile Styling ===== */
@media (max-width: 600px) {

    .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }	
    .logo img {
        width: 90px;
        height: auto;
    }
    .site-title {
        font-size: 20px;
		color:#ffffff;
        line-height: 1.2;
    }
    .site-header {
        height:auto;
        padding:15px 0;
    }
	    #sidebar img {
        width: 90px; /* Shrinks logo */
        height: auto;
    }
	    #sidebar {
        flex: 0 0 100px;
    }
	    .sidebutton {
        width: 20%;
        font-size: 11px;
        line-height: 38px;
        padding: 0 14px;
        margin: 10px auto;
    }
	.mobile-nav {
		gap: 8px;
	}
	    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .header-logo img {
        width: 90px;
        height: auto;
        margin-bottom: 8px;
    }

    .header-title {
        font-size: 28px;
        line-height: 1.2;
    }
	    #footer  {
        height:auto;
        padding:15px 0;
		}
.page-indicator {
    text-align: center;
    font-size: 20px;
    color: black;
	margin-top:10px;
    margin-bottom: 10px;
	letter-spacing:4px;
    text-shadow: 2px 2px 4px black;
}
}