/* Modern CSS for Italian Jewelry Connection */

/* Base Styles */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #1a93f7;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header, #header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #ffee00;
    color: #3a03ff;
    padding: 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.logo, #logo {
    margin-right: 20px;
    height: auto;
    width: 200px;
    max-width: 100%; /* Ensure logo doesn't overflow */
}

.logo img, #logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    max-height: 200px;
    display: block;
    object-fit: contain; /* Maintain aspect ratio */
}

.site-title, #title {
    margin: 0;
    font-size: 48px;
    padding: 0;
    word-wrap: break-word; /* Prevent text overflow */
    hyphens: auto; /* Allow hyphenation for long words */
}

/* Navigation Styles */
.main-nav, #nav-container {
    margin-bottom: 40px;
    text-align: center;
    margin-top: 20px;
    z-index: 10; /* Increased z-index for better stacking */
    position: relative; /* Ensure z-index works */
}

.nav-list, #nav-bar {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    background-color: transparent;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.nav-list li {
    margin: 5px 10px;
    position: relative;
}

.nav-list a, #nav-bar a {
    color: #eeff00;
    font-size: clamp(18px, 4vw, 24px); /* Responsive font size */
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    display: inline-block; /* Better touch target */
}

/* Black cart icon */
.cart-icon i {
    color: black;
}

.nav-list a:hover, #nav-bar a:hover {
    background-color: #ffffff;
    color: black;
    border-radius: 5px;
}

.nav-list a.active, #nav-bar a:active {
    background-color: #eeff00;
    color: black;
    border-radius: 5px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu, .dropdown_products {
    display: none;
    position: absolute;
    background-color: #5860d0;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100; /* Higher z-index to ensure visibility */
    border: 3px solid #333;
    border-radius: 5px;
    padding: 0;
    list-style: none;
    max-height: 80vh; /* Limit height on small screens */
    overflow-y: auto; /* Allow scrolling if needed */
}

/* Handle both hover and touch */
.dropdown:hover .dropdown-menu,
.dropdown:hover .dropdown_products,
.dropdown:focus-within .dropdown-menu,
.dropdown:focus-within .dropdown_products {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a, .dropdown_products a {
    color: #eeff00;
    padding: 12px 16px;
    display: block;
    font-size: clamp(16px, 3vw, 18px); /* Responsive font size */
    border-bottom: 1px solid #333;
    white-space: normal; /* Allow text wrapping */
}

.dropdown-menu a:hover, .dropdown_products a:hover {
    background-color: #ddd;
    color: #333;
    border-radius: 0;
}

.dropdown-menu li:last-child a, .dropdown_products a:last-child {
    border-bottom: none;
}

/* Cart Icon */
.cart-icon, .icon-cart {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count, .cart-bubble {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #eeff00;
    color: #1a93f7;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.icon-cart img {
    width: 30px;
    height: 30px;
}

/* Main Content */
.main-content, #content {
    padding-bottom: 150px; /* Space for footer */
}

p {
    color: white;
    font-size: x-large;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

.hero {
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.hero h2 {
    color: #eeff00;
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #eeff00;
    color: #1a93f7;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

h1 {
    text-align: center;
    margin: 20px;
}

h2 {
    text-align: center;
    font-size: 40px;
    color: #eeff00;
}

h3 {
    text-align: center;
    font-size: 30px;
}

/* Footer Styles */
.main-footer, #footer {
    text-align: center;
    background-color: #1a93f7;
    color: #eeff00;
    padding: 15px 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid #eeff00;
    z-index: 1000; /* Ensure footer is above other content */
}

.footer-nav, #footer nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 15px;
    margin-bottom: 10px;
}

.footer-nav a, #footer a {
    color: #eeff00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: clamp(14px, 3vw, 16px); /* Responsive font size */
    padding: 5px; /* Larger touch target */
}

.footer-nav a:hover, #footer a:hover {
    color: #ffffff;
}

.social-icons {
    margin: 10px 0;
}

.social-icons a {
    color: #eeff00;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
    display: inline-block; /* Better touch target */
    padding: 5px;
}

.social-icons a:hover {
    color: #ffffff;
}

.copyright {
    margin-top: 10px;
    font-size: clamp(12px, 2vw, 14px); /* Responsive font size */
    text-align: center;
}

/* Product Styles */
.product-section {
    padding: 20px;
    padding-bottom: 100px; /* Add space for the fixed footer */
}

.product-hero {
    background-image: linear-gradient(rgba(26, 147, 247, 0.7), rgba(26, 147, 247, 0.9)), url('../images/ijc_logo.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
    text-align: center;
}

.product-hero h2 {
    font-size: clamp(28px, 5vw, 42px); /* Responsive font size */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.product-hero p {
    font-size: clamp(16px, 3vw, 18px); /* Responsive font size */
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0 10px; /* Add some padding for small screens */
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-options {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: #eeff00;
    border: 1px solid #eeff00;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #eeff00;
    color: #1a93f7;
}

.sort-options {
    display: flex;
    align-items: center;
}

.sort-options select {
    background-color: rgba(255, 255, 255, 0.1);
    color: #eeff00;
    border: 1px solid #eeff00;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
}

.products {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.products:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-img-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.products img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.products:hover img {
    transform: scale(1.05);
}

.quick-view {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(238, 255, 0, 0.8);
    color: #1a93f7;
    text-align: center;
    padding: 10px;
    transition: bottom 0.3s ease;
    cursor: pointer;
    font-weight: bold;
}

.products:hover .quick-view {
    bottom: 0;
}

.pro-details {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 10px;
}

.pro-details h3 {
    font-size: 18px;
    color: #eeff00;
    margin: 0;
    text-align: left;
}

.pro-details p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    text-align: left;
}

.product-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-amount h2 {
    font-size: 22px;
    color: #eeff00;
    margin: 0;
    text-align: left;
}

.product-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
}

.product-btn i {
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.product-btn i:hover {
    transform: scale(1.2);
}

.pro-quantity {
    font-weight: bold;
    color: white;
}

.bi-dash-lg {
    color: #ff6b6b;
}

.bi-plus-lg {
    color: #eeff00;
}

.add-to-cart {
    background-color: #eeff00;
    color: #1a93f7;
    border: none;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: white;
}

/* Modal styles for quick view */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #1a93f7;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #eeff00;
    font-size: 24px;
    cursor: pointer;
}

.modal-image {
    flex: 1;
    min-width: 300px;
}

.modal-image img {
    width: 100%;
    border-radius: 5px;
}

.modal-details {
    flex: 1;
    min-width: 300px;
}

.modal-details h2 {
    color: #eeff00;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: left;
}

.modal-details p {
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-price {
    font-size: 24px;
    color: #eeff00;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.modal-quantity {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 10px;
}

.modal-quantity button {
    background: none;
    border: none;
    color: #eeff00;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.modal-quantity span {
    color: white;
    font-weight: bold;
    margin: 0 10px;
}

.modal-add-to-cart {
    background-color: #eeff00;
    color: #1a93f7;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.modal-add-to-cart:hover {
    background-color: white;
}

/* About Us Page */
.about-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    text-align: center;
    color: #eeff00;
    font-size: 36px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.embed_map_container {
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90%;
}

.map-wrapper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    background: linear-gradient(to bottom, #1a93f7, #0d6efd);
    border: 3px solid #eeff00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.map-content {
    position: relative;
    padding: 0 15px 15px; /* Add padding to left, right, and bottom */
    height: 500px;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 15px; /* Match the padding */
    right: 15px; /* Match the padding */
    width: calc(100% - 30px); /* Account for the padding */
    height: calc(100% - 15px); /* Account for bottom padding */
    border: none;
    display: block;
    border-radius: 5px; /* Add slight rounding to the map itself */
}

.map-title {
    color: #eeff00;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

.about_us {
    margin-top: 40px;
    color: #eeff00;
    background-color: rgba(26, 147, 247, 0.8);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about_us p {
    color: white;
    display: block;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.about_us h3 {
    color: #eeff00;
    text-align: center;
    margin-top: 30px;
    font-size: 22px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Contact Us Page */
.contact-section {
    padding: 40px 20px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.contact-icon {
    text-align: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 60px;
    color: #eeff00;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 20px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-info h3 {
    color: #eeff00;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    color: #eeff00;
    font-size: 20px;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #eeff00;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #eeff00;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #eeff00;
    color: #1a93f7;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Terms and Conditions Page */
.terms-section {
    padding: 40px 20px;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.terms-content h2 {
    color: #eeff00;
    margin-bottom: 20px;
    font-size: 28px;
    border-bottom: 2px solid #eeff00;
    padding-bottom: 10px;
}

.terms-content h3 {
    color: #eeff00;
    margin: 25px 0 15px;
    font-size: 22px;
}

.terms-content p {
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.terms-content ul,
.terms-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.terms-content li {
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
}

.terms-content .term-item {
    margin-bottom: 30px;
    border-left: 3px solid #eeff00;
    padding-left: 20px;
}

.terms-content .term-title {
    color: #eeff00;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 18px;
}

.terms-content .term-definition {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
}

.terms-content .section-title {
    color: #eeff00;
    font-size: 24px;
    margin: 30px 0 20px;
    border-bottom: 1px solid rgba(238, 255, 0, 0.3);
    padding-bottom: 10px;
}

/* Cart Page Styles */
.cart-section {
    padding: 20px;
    padding-bottom: 100px; /* Add space for the fixed footer */
}

.cart-header {
    text-align: center;
    margin-bottom: 30px;
}

.cart-header h2 {
    font-size: 36px;
    color: #eeff00;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cart-empty-message {
    font-size: 18px;
    color: white;
}

.cart-empty-message a {
    color: #eeff00;
    text-decoration: underline;
}

.cart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-items {
    flex: 1 1 65%;
    min-width: 300px;
}

.cart-item {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-name {
    font-size: 18px;
    color: #eeff00;
    margin: 0 0 5px 0;
}

.cart-item-price {
    font-size: 18px;
    color: #eeff00;
    font-weight: bold;
    margin: 0;
}

.cart-item-desc {
    color: white;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-quantity-control {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 10px;
}

.cart-quantity-control button {
    background: none;
    border: none;
    color: #eeff00;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.cart-quantity-control button:hover {
    transform: scale(1.2);
}

.cart-quantity-control .decrease {
    color: #ff6b6b;
}

.cart-quantity-control .quantity {
    color: white;
    font-weight: bold;
    margin: 0 10px;
}

.remove-item {
    background-color: rgba(255, 99, 71, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background-color: #ff6b6b;
    color: white;
}

.cart-summary {
    flex: 1 1 30%;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.cart-summary h3 {
    color: #eeff00;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(238, 255, 0, 0.3);
    padding-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: white;
    font-size: 16px;
}

.summary-row.total {
    border-top: 1px solid rgba(238, 255, 0, 0.3);
    margin-top: 15px;
    padding-top: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #eeff00;
}

.checkout-btn {
    background-color: #eeff00;
    color: #1a93f7;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: white;
}

.continue-shopping-btn {
    background-color: transparent;
    color: #eeff00;
    border: 1px solid #eeff00;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    background-color: rgba(238, 255, 0, 0.1);
}

/* Checkout Modal Styles */
.checkout-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-form {
    color: white;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #eeff00;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(238, 255, 0, 0.3);
    padding-bottom: 5px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input:focus {
    outline: none;
    border-color: #eeff00;
}

.order-summary {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.place-order-btn {
    background-color: #eeff00;
    color: #1a93f7;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.place-order-btn:hover {
    background-color: white;
}

/* Confirmation Modal Styles */
.confirmation-modal-content {
    max-width: 500px;
    text-align: center;
}

.confirmation-message {
    color: white;
    padding: 20px;
}

.confirmation-message i {
    color: #4CAF50;
    font-size: 60px;
    margin-bottom: 20px;
}

.confirmation-message h2 {
    color: #eeff00;
    margin-bottom: 20px;
}

.confirmation-message p {
    margin-bottom: 10px;
    font-size: 16px;
}

.continue-btn {
    background-color: #eeff00;
    color: #1a93f7;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.continue-btn:hover {
    background-color: white;
}

/* Responsive Design */
/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .site-title, #title {
        font-size: clamp(36px, 5vw, 48px);
    }

    .product-items {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-content, #content {
        padding-bottom: 120px; /* Adjust space for footer */
    }
}

/* Tablets */
@media (max-width: 768px) {
    .main-header, #header {
        flex-direction: column;
        padding: 15px;
        border-radius: 30px;
    }

    .logo, #logo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 150px;
    }

    .logo img, #logo img {
        max-width: 150px;
        max-height: 150px;
    }

    .site-title, #title {
        font-size: clamp(30px, 5vw, 36px);
    }

    .nav-list, #nav-bar {
        flex-direction: column;
        align-items: center;
    }

    .nav-list li {
        margin: 8px 0;
    }

    .dropdown-menu, .dropdown_products {
        position: static;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-options {
        margin-bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .filter-btn {
        margin-bottom: 5px;
    }

    .sort-options {
        width: 100%;
    }

    .sort-options select {
        width: 100%;
    }

    .product-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 90%;
    }

    /* About Us page responsive */
    .embed_map_container {
        max-width: 100%;
        margin: 30px auto;
    }

    .map-content {
        height: 400px;
        padding: 0 10px 10px; /* Reduce padding on smaller screens */
    }

    .map-wrapper iframe {
        height: calc(100% - 10px); /* Account for bottom padding */
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }

    .about_us {
        padding: 20px;
    }

    /* Adjust main content padding for fixed footer */
    .main-content, #content {
        padding-bottom: 150px;
    }

    /* Adjust footer */
    .main-footer, #footer {
        padding: 10px 5px;
    }

    .footer-nav, #footer nav {
        gap: 10px;
    }

    /* Cart page responsive */
    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        height: 180px;
    }

    .cart-item-info {
        flex-direction: column;
    }

    .cart-item-price {
        margin-top: 10px;
    }

    .cart-item-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Large Phones */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .main-header, #header {
        padding: 10px;
        border-radius: 20px;
        margin-bottom: 15px;
    }

    .logo, #logo {
        width: 120px;
        margin-bottom: 10px;
    }

    .logo img, #logo img {
        max-width: 120px;
        max-height: 120px;
    }

    .site-title, #title {
        font-size: clamp(24px, 5vw, 30px);
    }

    .product-items {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .product-img-container {
        height: 200px;
    }

    .pro-details {
        padding: 15px;
    }

    .product-hero {
        padding: 40px 15px;
    }

    .filter-options {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    /* Adjust modal for small screens */
    .modal-content {
        margin: 5% auto;
        padding: 15px;
        flex-direction: column;
    }

    .modal-image, .modal-details {
        min-width: 100%;
    }

    /* About Us page responsive */
    .about-section h2 {
        font-size: 24px;
    }

    .map-wrapper {
        border-width: 2px;
    }

    .map-content {
        height: 300px;
        padding: 0 5px 5px; /* Even smaller padding on mobile */
    }

    .map-wrapper iframe {
        height: calc(100% - 5px); /* Account for bottom padding */
        left: 5px;
        right: 5px;
        width: calc(100% - 10px);
    }

    .map-title {
        font-size: 16px;
        padding: 10px;
    }

    .about_us {
        padding: 15px;
    }

    .about_us p {
        font-size: 14px;
    }

    .about_us h3 {
        font-size: 18px;
    }

    /* Adjust main content padding for fixed footer */
    .main-content, #content {
        padding-bottom: 120px;
    }

    /* Cart page responsive for mobile */
    .cart-header h2 {
        font-size: 28px;
    }

    .cart-empty-message {
        font-size: 16px;
    }

    .cart-item-name {
        font-size: 16px;
    }

    .cart-item-desc {
        font-size: 12px;
    }

    .cart-summary h3 {
        font-size: 20px;
    }

    .summary-row {
        font-size: 14px;
    }

    .summary-row.total {
        font-size: 18px;
    }

    .checkout-btn, .continue-shopping-btn {
        padding: 10px 15px;
        font-size: 14px;
    }

    .checkout-modal-content {
        padding: 15px;
    }

    .form-section h3 {
        font-size: 18px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input {
        padding: 8px;
    }

    .place-order-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Small Phones */
@media (max-width: 375px) {
    .main-header, #header {
        padding: 8px;
        border-radius: 15px;
    }

    .logo, #logo {
        width: 100px;
    }

    .logo img, #logo img {
        max-width: 100px;
        max-height: 100px;
    }

    .site-title, #title {
        font-size: clamp(20px, 5vw, 24px);
    }

    .nav-list a, #nav-bar a {
        font-size: 16px;
    }

    .product-img-container {
        height: 180px;
    }

    .pro-details {
        padding: 10px;
    }

    .product-amount h2 {
        font-size: 18px;
    }

    .product-btn {
        gap: 10px;
    }

    .filter-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    /* Adjust footer for very small screens */
    .footer-nav a, #footer a {
        font-size: 12px;
    }

    .copyright {
        font-size: 10px;
    }

    /* Adjust main content padding for fixed footer */
    .main-content, #content {
        padding-bottom: 100px;
    }
}