
/* Keep this structure for the card */
.product-card {
    width: 220px; 
    max-width: calc(20% - 32px);
    flex-grow: 1; 
    flex-shrink: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px; /* Increased margin for better spacing */
}

/* This is the CORRECT rule for the image */
.product-card .content {
    width: 100%; /* Fill the width of the card */
    height: 300px;
    object-fit: cover; /* Ensures the image covers the area without distorting */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.product-info {
    padding: 10px 5px;
    width: 100%;
}

.product-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 5px;
    height: 40px; /* Give a fixed height to prevent layout shifts */
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #04846c; /* Use your primary color for price */
    margin-bottom: 10px;
}

.add-to-cart-btn {
    background-color: #EDB80A;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.add-to-cart-btn:hover {
    background-color: #c49706;
}


.user-icon{
    max-height: 40px;  /* Image stays within navbar height */
  width: auto;    /* keeps proportions */
   
}
.preview {
  padding: 3em 0.5em;
}

.preview h1 {
  font-size: 2rem;
  margin-bottom: 1em;
  text-align: left;
   margin-left: 2em;
}

/* Make this the flex container */
/* Update the existing .content_box style */
.content_box {
    display: flex;
    justify-content: center;
    /* align-items: center;  <-- Remove this line for better row alignment */
    flex-wrap: wrap; 
    gap: 40px;
    
    /* ADDED: Set a max-width to constrain the items and force wrapping */
    max-width: 1400px; /* Adjust this value based on your screen size preference */
    margin: 0 auto; /* Center the entire product grid */
    padding: 20px;
}


/* Add nice hover effect */
.content:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}


#contact_bg{
    background-color: #EDB80A;
    padding: 8px 12px;
    border-radius: 6px;
}

#contact_bg:hover{
    background-color: #c49706;
   
}

.preview h1{
       font-family: 'Poppins', sans-serif;

}


.user-menu {
  position: relative;
  display: inline-block;
}

.user-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.user-icon-btn img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.user-icon-btn:hover img {
  transform: scale(1.1);
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 40px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-width: 150px;
  text-align: left;
  padding: 10px;
  font-family: 'Inter', sans-serif;
  z-index: 100;
}

.user-dropdown a {
  display: block;
  color: black;
  text-decoration: none;
  padding: 5px 0;
}

.user-dropdown a:hover {
  color: #04846c;
}

  .merch-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
  padding: 10px 40px;
 
 
  font-family: 'Poppins', sans-serif;
}

/* CATEGORY BUTTONS */


.merch-categories {
  display: flex;
  gap: 15px;
  border: 1px solid black;
  border-radius: 50px;
  padding: 6px 20px;
  background-color: transparent;
  align-items: center;
}

.category-btn {
  background: transparent;
  border: none;
  border-radius: 25px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  color: black;
  transition: all 0.3s ease;
  
}

.category-btn:hover,
.category-btn.active {
  background-color: #EDB80A;
  color: white;
}


/* SEARCH AND ICONS */
.merch-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid black;
  border-radius: 25px;
  padding: 4px 8px;
  background-color: #fff;
  
}

.search-box input {
  border: none;
  outline: none;
  background: none;
  font-size: 0.95rem;
  padding: 4px 6px;
  width: 160px;
}

.search-btn {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #0f5132;
}


.cart-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #0f5132;
  transition: transform 0.2s ease;
}


.cart-btn:hover {
  transform: scale(1.1);
}


 :root {
            --color-primary: #04846c; /* Dark Teal/Green (not used in this minimal version, but kept for consistency) */
            --color-accent: #FFC107; /* Bright Yellow for buttons */
            --color-modal-bg: #04846c; /* Brighter Teal for modal background (Used for modal header now) */
            --color-modal-card: #FFFFFF; /* White for modal content card */
        }

 .script-title {
          font-family: 'Roca2', sans-serif;
            font-size: 3.5rem; 
            line-height: 1;
            font-weight: 900; 
        }
        
        
        input:focus {
            border-color: none !important; /* Forces primary color on border focus */
            box-shadow: none !important; /* Forces primary color on shadow focus */
            outline: none;
        }

        /* Added CSS for a subtle blurred background when the modal is open */
        #modalOverlay {
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px); /* Safari support */
        }

        #loginModal {
  transform: scale(0.8); /* make everything smaller */
}

#signupModal {
  transform: scale(0.8); /* make everything smaller */
}
