.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
}

.cart-nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    background-color: #28a745;
    padding: 5px 10px;
    border-radius: 5px;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 280px;
    height: 100%;
    background-color: #333;
    z-index: 1000;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    transition: right 0.3s ease-in-out;
}

.offcanvas-menu.open {
    right: 0;
}

.offcanvas-menu .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
}

.offcanvas-menu ul {
    list-style: none;
    padding: 40px 0 0 0;
    margin: 0;
}

.offcanvas-menu ul li {
    padding: 15px 0;
}

.offcanvas-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 700px) {
    header nav .desktop-nav {
        display: none;
    }
    .mobile-controls {
        display: flex;
    }
}
button:disabled,
.btn:disabled {
  background-color: #e2e2e2 !important;
  color: #a0a0a0;
  cursor: not-allowed;
  border: 1px solid #d1d1d1 !important;
  box-shadow: none !important;
}

.coupon-group button {
  width: auto;
  padding: 10px 15px;
  font-size: 1em;
  flex-shrink: 0;
}
.coupon-group {
  display: flex;
  gap: 10px;
  align-items: center;
}
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="tel"], .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1em;
}
.form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.cart-item-details {
  flex-grow: 1;
}
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-item-actions input {
  width: 50px;
  text-align: center;
}
.cart-item-actions button {
  background: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}
#cart-summary {
  margin-top: 20px;
  text-align: right;
  font-size: 1.2em;
}
.cart-actions {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}
.cta-button.secondary {
  background-color: #6c757d;
}
.cta-button {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-size: 1.1em;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.cta-button {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-size: 1.1em;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.product-card img {
  max-width: 60%;
  height: auto;
  margin-bottom: 15px;
  max-height:190px;
}
#cart-nav {
  background-color: #28a745;
  padding: 5px 10px;
  border-radius: 5px;
}
.product-card h3 {
  margin: 10px 0;
  color: #333;
}
.product-price {
  font-size: 1.2em;
  font-weight: bold;
  color: #0056b3;
  margin-bottom: 15px;
}
.product-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.product-controls input {
  width: 50px;
  padding: 5px;
  text-align: center;
}
.add-to-cart-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
td.right {text-align:right;}

.hidden {
	display:none;
	visibility:hidden;
}

html {
scroll-behavior: smooth;
}
	#msg, #info {
		position: absolute;
		
		text-align:center;
		width: 100%;
		padding: 20px;
		color: #fff;
		font-weight: bold;
		display:none;
	}
	#msg {background-color: rgba(255,100,100,0.6);}
	#info {background-color:rgba(150,190,200, 0.8);}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #0056b3;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

header .logo img {
    height: 50px;
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
	  transition: color 0.3s ease;

}

header nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
max-width: 800px;
  margin: 0 auto;}

.hero {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-text h2 {
    font-size: 2em;
    color: #0056b3;
    margin-top: 0;
}

.hero-text p {
    font-size: 1.1em;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100px;
    height: auto;
    border-radius: 8px;
}

.cta-button {
    display: inline-block;
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 1.1em;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #218838;
}

section {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

section h2 {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
    margin-bottom: 15px;
}


footer {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

footer nav ul li {
    margin-left: 15px;
}

footer nav ul li a {
    color: #ccc;
    text-decoration: none;
}

footer nav ul li a:hover {
    color: white;
    text-decoration: underline;
}

/* Specific styles for contact and login forms */
.form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Prevents padding from increasing element size */
    font-size: 1em;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

button[type="submit"] {
    background-color: #0056b3;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #003d80;
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-link {
  color: #337ab7;
  font-weight: normal;
  border-radius: 0;
}

.btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link {
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

