:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0f172a;
    --text-dark: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
}

* {
     margin: 0;
    padding: 0;
    box-sizing: border-box;
   
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--secondary);
}

.logo span { color: var(--primary); }

.nav-links a {
    margin-right: 25px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 36px;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Product Grid System */
.products-section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--secondary);
}

.section-header p {
    font-size: 20px;
    color: var(--secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info { padding: 20px; }
.product-info h3 { margin-bottom: 10px; font-size: 20px; }
.product-info p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; min-height: 65px; max-height: 350px;}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
}

.price { font-size: 18px; font-weight: bold; color: var(--secondary); margin-top: 1.5rem;}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #82FF99;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
}
.badge-blue { background: #3b82f6; }

/* Footer */
.footer {
    background: var(--secondary);
    color: #94a3b8;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 { color: var(--white); margin-bottom: 15px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #94a3b8; text-decoration: none; }
.footer ul li a:hover { color: var(--white); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid #334155;
    padding-top: 20px;
    font-size: 14px;
}
.checkout-container {
  display: flex;
  justify-content: flex-start; /* Aligns button to the left/start */
  width: 100%;
}
.standard-checkout-btn {
   /* Standard secure blue */
  
  font-size: 16px;
  font-weight: bold;
  height: 45px;
  
  border-radius: 4px;
   
  bottom: 34px;   /* Distance from the very bottom edge */
  right: 18px; 
  width: 100%;
  text-align: center;
  transition: background-color 0.2s ease;
   background-color: #F5B5E8; /* Makes background clear */
  color: #FFFFFF;                /* White text color */
  border: 2px solid #ffffff;     /* White outline border */
            /* Spacing inside the button */
  cursor: pointer;               /* Changes cursor to hand on hover */
  border-radius: 4px;    
}

.standard-checkout-btn:hover {
  background-color: #BCEFF5;
}

.standard-checkout-btn:active {
  background-color: #000000;
}


    /* Button Styling */
    .btn-add-to-cart {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background-color: #2563eb; /* Royal blue */
      color: #ffffff;
      font-family: Arial, sans-serif;
      font-size: 16px;
      font-weight: 600;
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.2s ease, transform 0.1s ease;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    /* Hover and Active states */
    .btn-add-to-cart:hover {
      background-color: #1d4ed8;
    }

    .btn-add-to-cart:active {
      transform: scale(0.98);
    }

    /* Success State triggered by JavaScript */
    .btn-add-to-cart.success {
      background-color: #16a34a; /* Green */
    }

    /* SVG Icon color mapping */
    .btn-add-to-cart svg {
      fill: currentColor;
    }
  

/* Responsive UI adjustments */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; }
    .navbar .container { flex-direction: column; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; }
}
