html, body {
    background: url('../images/background-white-wall.jpeg');
    background-blend-mode: overlay, overlay, normal;
    background-size: inherit;
    background-repeat: repeat;
    background-position: center;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .2);
    border-bottom: .125rem solid #00000045;
    border-top: .125rem solid #00000045;
    border-style: solid;
    border-right:0;
    border-left: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

  body {
            font-family: Arial, sans-serif;
            margin: 0;
                padding-top: 4rem !important;
    
        }

        header {
            background: #222;
            color: #fff;
            padding: 15px 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: -webkit-fill-available;
        }
        header .brand {
            font-size: 22px;
            font-weight: bold;
            letter-spacing: 1px;
        }
        nav a {
            color: #fff;
            margin-left: 20px;
            text-decoration: none;
            font-size: 16px;
        }
        nav a:hover {
            text-decoration: underline;
        }

        .ecom-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1rem;
        }    


h1 {
    color:#212529
}

p.autographed {
    color: #212529;
}

h1#Checkout {
    font-family: "Rubik Dirt", system-ui;
    margin-top: 0;
    font-size: 2rem;
    color: #333;
}


.product {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    border: .09rem solid #ccc;
    border-radius: .5rem;
    background:
    radial-gradient(circle at 20% 30%, #d66c6c 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #a00d0d 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #f40000 0%, transparent 60%),
    linear-gradient(135deg, #600909 0%, #780f0f 100%);
    overflow: hidden;
}

.product img {
    width:100%;
    height:auto;
    border-radius: .25rem .25rem 0 0;
    border: .09rem solid #999;
    
}

.product p {

color: #fff;



}


.product button[type="submit"] {
    width: 80%;
    margin: .5rem auto 1.25rem auto;
    transition: background-color 0.3s ease 0.0s; /* 0.5s delay */
}

.product button[type="submit"]:hover {
  font-weight: 600;
    color: #333;
  
background-color: #afc800;
}






.product h3 {
    font-family: arial, sans-serif;
    margin: 0;
    margin-top: .5rem;
    text-align: center;
    /* font-size: 1.25rem; */
    font-weight: 600;
    text-shadow: .125rem .125rem .125rem #00000073;
    color: #ffffcc;
    line-height: 1.2;
    margin: 1rem .5rem 0 .5rem;
}



.product p {
font-family: arial, sans-serif;
    color: #fff;
}




.productcallout {
    margin:0;
}

.productcallout:first-of-type {
    margin-top: 1rem;
}


p.autographed {
text-transform: uppercase;
    text-align: center;
    background: #cf281e;
    padding: .125rem;
    margin: 0;
    font-size: .85rem;

background: linear-gradient(
    to bottom,
    rgba(255, 0, 0, 0) 0%,     /* fully transparent at top */
    rgba(80, 254, 249, 0.4) 50%,    /* solid red in the center */
    rgba(255, 0, 0, 0) 100%    /* fully transparent at bottom */
);


}



.product-details {
    margin-bottom: 1rem;
}

.product-details p, .product-details form {
    flex: 1 1 calc(50% - 1rem);
        display: flex;
    align-items: center;
}

.product-details p:first-of-type {
    margin: 0;
}




 .product-details form {
flex-flow: row wrap;
}


.product .product-details button[type="submit"] { 
width: 100%;
}

.inner-prodcut-cell {
 padding: 0 1.5rem;   
}

.hilite {
    color: #ffffcc;
}




#Ecom.section-heading {
 font-family: "Rubik Dirt", system-ui;
 color: #212529;
     margin: revert;
    font-size: 2.75rem;
}  

.shipping-address-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: "Comfortaa", sans-serif;
}


.ecom label {
     color: #212529;
     font-weight: bold;
}

#ShippingForm label {
    font-weight: 600;
    color: #212529;
}



#ShippingForm input[type="text"], #ShippingForm input[type="name"], #ShippingForm input[type="password"], #ShippingForm input[type="email"], #ShippingForm input[type="date"], #ShippingForm input[type="url"], #ShippingForm input[type="datetime-local"], #ShippingForm textarea, #ShippingForm select {
    background: #ffffcc;
    border: .1rem solid #c0c0c0;
}


.product-details p, .product-details label {
    color: #fff;
}

.checkout-section {
    display: flex;
    width: 100%;
    gap: 5rem;
}

.checkout-section-panel {
        display: flex;
        flex: 1;
    flex-flow: column;
}


.shipping-summary-box {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    background: #fafafa;
    margin-bottom: 20px;
        display: flex;
    justify-content: space-between;
}

.shipping-note {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 8px;
}

.shipping-total {
    font-size: 1.1em;
    font-weight: bold;
    margin: 10px 0;
}

.shipping-breakdown {
    font-size: 0.9em;
    color: #444;
}

.tooltip {
    cursor: help;
    margin-left: 5px;
    color: #555;
}

.usps-logo img {
    max-width: 15rem;
}

p.addressvalidated {
    color: green;
     font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* -------------------------------------- */

/* ------------------------------
   CART PAGE STYLING
--------------------------------*/


#Cart .section-heading {
    margin-top: 0;
    font-size: 2rem;
    color: #333;
}

/* ------------------------------
   CART TABLE
--------------------------------*/

#Cart table, .pricing-table {
    margin: 1rem auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
}






#Cart table th,  c {
    padding: 12px;
    font-size: 1rem;
    text-align: left;
}


#Cart table th:first-child,
#Cart table tr:first-child th,
.pricing-table tr:first-child th {
    background: #a00d0d;
    color: #fff;
}




#Cart table td, .pricing-table td {
    padding: 12px;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.95rem;
}

#Cart table tr:last-child td, .pricing-table tr:last-child td {
    border-bottom: none;
}

#Cart table tr:hover, .pricing-table tr:hover, .pricing-table tr:hover {
    background: #f2f8ff;
}

/* ------------------------------
   CART SUBTOTAL
--------------------------------*/

#Cart h3 {
    margin: 0;
    font-size: 1.125rem;
    color: #333;
}
/*
#Cart button[type="submit"] {
    width: revert;
    margin: revert;
}

#Cart button[name="clear_cart"] {
    background: #666;
}

#Cart button[name="checkout"] {
   background: #cf281e;
}

#Cart button[name="checkout"]:hover {
    background: #9a0d05;
}

*/


.checkout-section-panel button[name="checkout"] {
   background: #cf281e;
}

.checkout-section-panel button[name="checkout"]:hover {
    background: #9a0d05;
}

.checkout-section-panel button[type="submit"] {
    width: revert;
}




.flex-wrap {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.flex-wrap2 {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 2rem 0
}


.category-list {
        display: flex;
    width: 100%;
    justify-content: space-evenly;
    list-style-type: none;
    padding: 0;
    margin: 3rem 0;
}


.category-list  a
{

background: #007bff;
    color: #fff;
    text-decoration: none;
    padding: .75rem 1.5rem;
    border-radius: .25rem;

}

.category-list  a:hover
{

 background: #09407b;
}





.category-btn {
    padding: 8px 16px;
    margin-bottom: 10px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: .25rem;
    cursor: pointer;
    font-size: 14px;
}


.category-btn:hover {
    background: #09407b;

}

.category-btn.active {
    background: #333;
    color: #fff;
    font-weight: bold;
}

.category-list li.active a {
    background: #333;
    color: #fff;
    font-weight: bold;
    border-radius: .25rem;
}

.category-list  a:hover {
    text-decoration:none;
    background: #09407b;
}

.error {
    color: red;
    font-weight: bold;
    font-family:monospace;
    font-size: 1.15rem;
    margin-top: 1rem;
    text-shadow: 0 0 .25rem #0000003d;
}   












@media (max-width: 600px) {
   #Cart  table {
        width: 100%;
    }

    #Cart table th, table td {
        font-size: 0.85rem;
        padding: 10px;
    }

    #Cart button {
        width: 90%;
    }
}







.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cat-btn {
    padding: 10px 16px;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #ddd;
    transition: background 0.2s, color 0.2s;
    
}

.cat-btn:hover {
    background: #09407b;
    text-decoration:none;
}

.cat-btn.active {
    background: #333;
    color: #fff;
    font-weight: bold;
    border-color: #333;
}



/* Desktop: show button bar, hide dropdown */
.category-dropdown {
    display: none;
}




.image-cell {
        position: relative
}

.image-cell p.autographed {
 position: absolute;
    bottom: 0;
    width: 100%;
    background: #000;
}

.flex-lvl-1 {
    display: flex;
    gap: 2rem;
}






@media (max-width: 600px) {
    .category-bar {
        display: none;
    }
    .category-dropdown {
        display: block;
        margin-bottom: 20px;
    }
    .category-dropdown select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}




/* ------------------------------------------- */
@media (min-width: 468px) {
        .ecom-grid {
            grid-template-columns: repeat(2, 1fr);

        }

}



@media (min-width: 576px) {
        .ecom-grid {
            grid-template-columns: repeat(2, 1fr);
        }

}


@media (min-width: 768px) {
        .ecom-grid {
            grid-template-columns: repeat(3, 1fr);
        }

}



@media (min-width: 992px) {
        .ecom-grid {
            grid-template-columns: repeat(4, 1fr);
        }

}




@media (min-width: 1200px) {
        .ecom-grid {
            grid-template-columns: repeat(5, 1fr);
        }  
}



@media (min-width: 1600px) {
        .ecom-grid {
            grid-template-columns: repeat(6, 1fr);
        }  
}



.admin-header a.logout-btn:hover, .admin-container .top-bar a:hover, a.label-btn:hover, .merch-button:hover {
    background: #005fa3;
}
.admin-header a.logout-btn, .admin-container .top-bar a, a.label-btn, .merch-button {
    padding: .5rem 2rem;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: .25rem;
    cursor: pointer;
    text-decoration:none;
}

#Cart .merch-button {
    padding: 1rem 2rem;
    background: #0077cc;
    color: #fff;
    border: none;
    border-radius: .25rem;
    cursor: pointer;
    text-decoration:none;
}


#Cart .merch-button:hover {
    background: #005fa3;
}


.site-msging {
    color: #212529;
    font-family: "Comfortaa", sans-serif;
    font-size: .8rem;
    margin: 0;
}   

.checkout-section-panel h3 {
margin: 0;
}   

.admin-container {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
}

.merch-container {
    width: 80%;
    height: 100%;
    margin: 0 auto;
}

.cart-totals {
text-align: right;
}

.carttotal {
    text-align: right;
    font-size: 1.5rem;
    margin: .5rem 0;
}



.merch-button-2 {
    padding: 1rem 2rem;
    background: #444;
    color: #fff;
    border: none;
    border-radius: .25rem;
    cursor: pointer;
    text-decoration:none;
}

.merch-button-2 :hover {
    background: #222;
}

.checkout-section-panel {
        height: 100%;
}

#Cart.main{
height: 100%;
}

.merchtable {
    margin: 1rem auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.merchtable th {
    background: #0055a5;
    color: #fff;
    padding: 12px;
    font-size: 1rem;
    text-align: left;
}


.merchtable td {
    padding: 12px;
    border-bottom: 1px solid #eaeaea;
    font-size: 0.95rem;
}

.merchtable tr:last-child td {
    border-bottom: none;
}

.order-summary {
 text-align: center;
}

    input[type="email"] {
            background: #ffee92;
            border: .062rem solid #ccc;
    }
    

main.ecom {
    width: 90%;
    margin: 0 auto 4rem auto
    
}