
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}
html, body {
  overscroll-behavior: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
button,
input,
select,
textarea {
    all: unset;
    box-sizing: border-box;
}

body{
    background: rgba(0, 0, 0, 0.1);

}
img{
    object-fit: contain !important;
}


nav{ 
    background:var(--color1);
    
}
.nav{
    color:#ffffff;
    
    padding-top: 0px;
    display: grid;
    gap: var(--gap);
    column-gap: var(--gap);
    align-items: center;
    
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
nav .container{
    padding-top: 0;
}
header{
    background:var(--color1);
    position: sticky;
    top: 0;
    width: 100%;
    margin: 0 auto;
}

.header{
    display: flex;
    justify-content: space-between;
    color:#ffffff;
    padding:16px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.header a {
    text-decoration: none;
    
    color: black;
    font-weight: 300;
}
.headerlogo{
    width: 50.5px;
}
.headerlogotext{
    display: flex;
    gap: 8px;
    align-items: center;
}
header h1{
    
    margin-bottom: none;
}
.background{
    background: rgb(103, 99, 99);
    background: var(--color1);
}

.controls1{
    grid-column: span 2;
    
    
    
    
    
    
    border-radius: 16px;
}


@media (max-width: 829px){
    .featured-card {
        grid-template-columns: 1fr !important;
        
    }
    .product-page {
        /* grid-template-columns: 1fr !important; */
        display: flex !important;
        flex-direction: column;
    }
    .featured-content{
        padding: 16px 16px 16px 16px !important;
    }
    /*.featured-content{
    grid-column: span 1 !important;
    }*/
    .productflex{
       /* grid-column: span 2 !important;*/
        padding-bottom: 0 !important;
        margin-top: 16px;
    }
    
}
@media (max-width: 559px) {
    .controls1 {
        grid-column: span 1;
    }
    .featured-content{
        padding: 16px;
    }
    .productimages{
        grid-column: span 1 !important;
    }
    /*.productflex{
        grid-column: span 1 !important;
    }*/
}

.controls1 input{
    /*border: 2px solid #ffffff;*/
    background: none !important;
    grid-column: span 2;
    color: #000000;
}
.controls1 input::placeholder{
    color: rgba(0, 0, 0, 0.75);
}

.controls2{
    color: var(--color2);
    grid-column: span 1;
    display: flex;
    flex-direction: row;
    gap: 16px;
    grid-column: span 1;
   
}
.controls3{
    color: var(--color2);
    grid-column: span 1;
    display: flex;
    flex-direction: row;
    gap: 16px;
    grid-column: span 1;
   
}

.controls1 input, .controls2 select, .controls3 select{
    min-width: 250px;
    width: 100%;
    border: 2px solid var(--color2);
}

input,select,button{
    font-size: 16px;
    padding:16px;
    border:none;
    border-radius: 16px !important;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    
}
input:focus,
textarea:focus {
  outline: none;
  box-shadow: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    /*padding: 0 16px 16px 16px;*/
    
}

.featured-card {
    background: #ffffff;
    border-radius:16px;
    overflow: hidden;
   
    display: grid;
  
    grid-template-columns: 1fr 1fr;
    cursor: pointer;
    flex-direction: row;
    gap: var(--gap);
    row-gap: 0;
    
}

.featured-card img{
    width:100%;
    height:400px;
    
    background: #ffffff;
    /*grid-column: span 2;*/
}

.featured-content {
    /*grid-column: span 2;*/
    display: flex;
    justify-content: space-between;
    padding-top: var(--gap);
    flex-direction: column;
    padding: 16px 16px 16px 0px;
}
.downscalefix{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1200px));
    gap: 16px;
}


.new-badge {
    width: fit-content;
    display: inline-block;
    background: #22c55e;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.products{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    gap:16px;
    margin-top: var(--gap);
}

.card{
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    
    cursor: pointer;
    display: flex;
    flex-direction: column;
    
}

.card img {
    
    width: 100%;

    height: 216px;
    aspect-ratio: 1/1;
    min-width: 100%;
    /*min-height: 100%;*/
    object-fit: cover;
}
.paddingtopdown{
    padding: 16px 0;
}


.card-content {
    display: flex;
    flex-grow: 1;
    padding: 16px;
    flex-direction: column;
    justify-content: space-between;
}

.category{
    color:#64748b;
    font-size:16px;
}

.price{
    color:var(--color2);
    font-size:16px;
    font-weight:bold;
        /* margin-top: 16px; */
    padding: 16px 0;
}

button{
    width: 100%;
    text-align: center;
    border: none;
    border-radius: 16px;
    background: var(--color2);
    color: #ffffff;
    cursor: pointer;
}
button:hover{
    background-color: var(--color2);
    opacity: 0.75;
}
.headerbutton{
    width: fit-content;
}
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #22c55e;
  color: #ffffff;
  width: 30%;

  padding: 6px 12px;
  border-radius: 16px;

  font-size: 13px;
  font-weight: 600;

  border: none;
  cursor: pointer;

  text-decoration: none; /* if used on <a> */
}

.cart-icon {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    grid-column: span 2;
}

/* ================= CART OVERLAY ================= */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: flex-end;
    z-index: 9999;
}

.cart-overlay.hidden {
    display: none;
}

.cart-panel {
    width: 480px;
    height: 100%;
    background: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 16px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.cart-footer {
    margin-top: auto;
    border-top: 1px solid #ddd;
    padding-top: 16px;
}
#productBox{
    background: white;
    border-radius: 16px;
    padding: 16px;
}


.product-page {
    
    
    display: grid;
    
    grid-template-columns: 1fr 1fr;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    overflow: hidden;
    row-gap: 0;
    
}
.productimages {
    display: flex;
    gap: var(--gap);
    /*grid-column: span 2;*/
    flex-direction: column;
    
}
.productimages img {
    height: 400px;
    width: 100%;
    border-radius: 16px;
    background: #ffffff;
}
.productimagesbottom{
    display: flex;
    flex-direction: row;
    gap: 16px;
    
    /*overflow: visible;*/
    overflow-x: auto;
    min-width: 0; /* important for scrolling inside grid */
}
.productimagesbottom img{
    
    background: #ffffff;
    aspect-ratio: 1/2;
    min-width: 100px;
    min-height: 100px;
    max-height: 100px;
    max-width: 100px;
}
.thumbnail {
    border: 2px solid var(--color1);
}

.thumbnail.active {
    border: 2px solid var(--color2);
}

.productflex{
   /* padding-bottom: 116px;*/
    /*grid-column: span 2;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    


}

/*.productflex {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}*/

:root {
  --gap: 16px;
  --color1: #ffffff;
  --color2: #52a500;
}











.footer {
  background: var(--color1);
  
  
}

.footer-inner {
  
  text-align: left;
  max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand h3 {
  margin: 0;
  font-size: 22px;
}

.footer-brand p {
  margin: 5px 0 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  flex-wrap: wrap;
  gap: var(--gap);
  margin-bottom: 16px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 16px;
  
}

.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--color2)
}

.footer-bottom {
  /*border-top: 1px solid #334155;*/
  /*padding-top: 12px;*/
  
  font-size: 13px;
  color: var(--color2);
}


/* ================= CHECKOUT PAGE ================= */

.checkout-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
    display: grid;
    
    gap: var(--gap);
}

/* Left side: form */
.checkout-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Right side: summary */
.checkout-summary {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    height: fit-content;
    
}

/* Section titles */
.checkout-form h2,
.checkout-summary h2 {
    margin-bottom: 16px;
    font-size: 16px;
    color: #0f172a;
}

/* Labels */
.checkout-form label {
    font-size: 13px;
    color: #64748b;
    margin-top: 16px;
}

/* Inputs (override your global softly) */
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    font-size: 16px;
    transition: 0.2s ease;
}

/* Textarea special */
.checkout-form textarea {
    border-radius: 16px;
    resize: none;
}

/* Focus state */
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
    border-color: var(--color2);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Cart item in summary */
.checkout-summary p {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
}

/* Total */
.checkout-total {
    margin: 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #0f172a;
}

/* Stripe button override */
.checkout-form button {
    margin-top: 16px;
    background: #635bff; /* Stripe-like color */
    color: #ffffff;
    font-weight: 600;
    padding: 14px;
    border-radius: 16px;
    transition: 0.2s ease;
}

.checkout-form button:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}



