@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html { scroll-behavior: smooth;}
:root {
    --primary_color: #45769E;
    --primary_color-2: #288990;
    --primary_color-3: #A5C5C2;
    --primary_color-4: #75C9E3;
    --primary_color-5: #FFB629;
    --dark-color: #1a1a1a;
    --light-gray: #f8f9fa;
    --border-color: #ececec;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

body { width: 100%; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Header --- */
header {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    height: 10vh;
    padding: 0 5%;
    background-color: var(--light-gray);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    margin-left: auto; 
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary_color);
    cursor: pointer;
}

.logo span {font-weight: 700; font-size: 2rem;}

#Menu {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

#Menu li a {
    font-size: 16px;
    font-weight: 500;
    margin: 8px 12px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

#Menu li a:hover, #Menu li a.Active {
    color: var(--primary_color);
}

#Menu li a::after {
    content: "";
    width: 0;
    height: 2px;
    background: var(--primary_color);
    position: absolute;
    bottom: 0;
    left: 30%;
    transform: translateX(-50%);
    transition: var(--transition);
}

#Menu li a:hover::after, #Menu li a.Active::after {width: 60%;}

/* --- Dropdown --- */
.has-dropdown { position: relative; }
.Dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    display: flex;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}
.has-dropdown:hover .Dropdown { opacity: 1; visibility: visible;}
.dropdown-section {
    min-width: 160px;
}

.dropdown-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary_color);
    display: inline-block;
}

.dropdown-section a {
    display: block;
    color: #555;
    padding: 6px 0;
    transition: var(--transition);
}

.dropdown-section a:hover {color: var(--primary_color);}

/* --- Search & Tools --- */
.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.search-form input {
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    outline: none;
    transition: var(--transition);
    width: 100%;
    max-width: 200px;
}

.search-form input:hover, .search-form input:focus {border: 2px solid var(--dark-color);}

.icon-btn { background: none; border: none; cursor: pointer; color: var(--primary_color);}


/* --- Main Hero --- */
#Main {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../IMG/bg/bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 0 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

#Main h1 { font-size: 4rem; margin-bottom: 5px; }
#Main h1 span {color: var(--primary_color-4);}

.btn-primary {
    width: fit-content;
    margin-top: 30px;
    padding: 20px 40px;
    background: var(--primary_color-4);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover { background: white; color: var(--primary_color); transform: translateY(-3px); }

/* --- Latest Section --- */
#Latest {
    padding: 40px 8%;
    text-align: center;
}
#Latest h1 { color: var(--primary_color-2);font-size: 2.5rem;}

.Lastshop {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 50px;
}

.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 400px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--primary_color-2);
}

.card:hover { transform: translateY(-10px);}

.star { display: flex; justify-content: space-between; margin: 0 25%;}
.star span { color: var(--primary_color-5);}

.btn-buy {
    display: block;
    text-align: center;
    background: var(--primary_color-2);
    color: white;
    padding: 10px;
    margin-top: 15px;
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
}

.btn-buy:hover { background-color: var(--dark-color);}

#Banner { 
    padding: 80px 8%; 
    text-align: center; 
    background-color: var(--primary_color-4);
}
#Banner h1 { color: var(--white); font-size: 2.5rem;}

.News {
    margin-top: 40px; 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
}

.banner-card {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../IMG/Banner/b1.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--light-gray);
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.3) ;
}
.banner-card:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../IMG/Banner/b2.jpg');
    background-size: cover;
    background-position: center;}

.banner-info{
    height: 40vh;
    width: 100%;
    max-width: 75%;
    text-align: start;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-info h2 { padding-bottom: 10px;}
.banner-info h2 ,.banner-info p {color: var(--white);}
.banner-info span {
    margin-bottom: 20px;
    color: red;
    font-weight: 500;
}

.banner-btn {
    margin-top: 20px;
    width: fit-content;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--white);
    outline: none;
    box-shadow: none;
    font-size: 16px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.banner-btn:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

#form {
    padding: 40px 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary_color-5);
}

.Newsletters { width: 40vh; }
.Newsletters h2 { color: var(--white); margin-bottom: 5px;}
.Newsletters p { color: var(--primary_color); font-weight: 600; }

.form-card {
    display: flex;
    align-items: center;
    width: 60vh;
    justify-content: center;
}

.form-card input {
    height: 60px;
    width: 100%;
    max-width: 400px;
    padding-left: 20px;
    border-radius: 10px 0 0 10px;
    border: 2px solid var(--border-color);
    border-right: none;
    outline: none;
    transition: var(--transition);
}
.form-card button {
    height: 60px;
    width: 150px;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer; 
    background-color: var(--primary_color-2);
    color: var(--white);
    font-weight: bold;
    transition: var(--transition);
}

.form-card input:hover, .form-card input:focus {border: 2px solid var(--dark-color);}
.form-card button:hover { background-color: var(--dark-color); color: var(--white);}

/* --- Footer --- */
footer {
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin: 50px 100px;
}

.footer-brand {
    flex: 2;
    min-width: 250px;
}

.footer-brand h3 { font-size: 24px; color: var(--primary_color); margin-bottom: 15px; }
.footer-brand p { color: var(--dark-color); line-height: 1.6; max-width: 400px;}
.link-group h4 { margin-bottom: 20px; font-size: 18px; color: var(--dark-color); }
.link-group ul li { margin-bottom: 12px; color:var(--dark-color); display: flex; align-items: center; gap: 8px; }
.link-group ul li a:hover { color: var(--primary_color); transform: scale(1.1); }
.link-group ul li span { font-size: 18px; color: var(--primary_color); }

.link-group {
    flex: 1;
    min-width: 150px;
}

.footer-brand span {
    font-size: 40px;
    color: var(--primary_color);
    margin-bottom: 10px;
}

.footer-bottom {
    background: var(--dark-color);
    color: var(--light-gray);
    text-align: center;
    padding: 25px;
    font-size: 14px;
}
.footer-bottom strong { color: var(--primary_color-3); }


.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary_color);
    margin-left: 20px;
}

.dropdown-icon { font-size: 18px; vertical-align: middle; }

/* Products */
#Product {
    padding: 40px 8%;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.product-sub-img {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.product-sub-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-info h2 {
    font-size: 2rem;
    color: var(--primary_color);
    margin: 0;
    font-weight: 700;
}

.product-info span {
    color: var(--primary_color-5);
    font-size: 1.1rem;
    font-style: italic;
}

.product-info h4 {
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary_color);
    padding-bottom: 15px;
}

.product-info p {
    line-height: 1.6;
    font-size: 15px;
    color: var(--dark-color);
    margin: 0;
}

.product-info p strong { color: var(--primary_color-2);}

.product-info input[type="number"] {
    width: 70px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

.product-info input:focus {
    border-color: #007bff;
}

.product-info button {
    margin-top: 20px;
    width: fit-content;
    padding: 15px 40px;
    background-color: var(--primary_color-2);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-info button:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* News*/
#news-section { padding:40px 8%; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: var(--dark-color);
}

.header-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
}

.badge {
    background: #ff3e3e;
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
}

.content-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary_color-2);
    margin-bottom: 20px;
}

.grid-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.spec-card {
    background: var(--light-gray);
    padding: 15px;
    border-left: 4px solid var(--primary_color);
    border-radius: 4px;
}

.article-meta {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/*Aboutus*/
#about-us-section, #download-app-section {
  line-height: 1.6;
  color: var(--dark-color);
  overflow: hidden;
  padding: 40px 8%;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.about-content {
  flex: 1;
}

.about-content h1 {
  font-size: 2.5rem;
  color: var(--primary_color-2);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.about-content h3, .story-section h3 {
  color: var(--primary_color-2);
  margin-bottom: 15px;
}

.about-details {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 11fr);
  gap: 20px;
  margin-top: 40px;
}

.value-item {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 10px;
  transition: all 0.3s ease;
  
  border: 1px solid transparent; 
}

.value-item:hover {
  transform: translateY(-10px);
  border: 1px solid var(--primary_color-2);
}
.value-item h4 {
  color: var(--primary_color);
  margin-bottom: 10px;
}

#download-app-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--light-gray);
}

.highlight-app {
  color: var(--primary_color);
  text-decoration: underline;
  font-weight: bold;
}

.video-wrapper {
  width: 40vh;
  height: 60vh;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.video-wrapper video {
  display: block;
  width: 100%;
  object-fit: cover; 
  object-position: bottom
}

.btn-download {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary_color-2);
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-download:hover {
  background: var(--dark-color);
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
/*Contact*/
#contact-section-container {
    color: var(--dark-color);
    padding: 60px 8%;
}
#contact-section-container .material-symbols-outlined {
    color: var(--primary_color);
    font-size: 32px;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
}

.contact-top-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin-bottom: 100px;
}

.contact-info-content,
.contact-map-wrapper {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary_color);
    margin-bottom: 20px;
}

.info-grid {
    margin: 30px 0;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-detali h3, .core-values h3 { color: var(--primary_color-2); margin-bottom: 10px;}

.info-item .material-icons {
    color: var(--primary_color);
    font-size: 28px;
}

.info-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.sub-text, .note {
    font-size: 0.9rem;
    color: var(--dark-color);
}

.core-values {
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--border-color);
    background-color: var(--light-gray);
}

.core-values ul {
    list-style: none;
    padding: 0;
}

.core-values li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-map-wrapper iframe {
    border-radius: 12px;
    min-height: 450px;
}


#contact-section-container #mind-sync-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.contact-form-wrapper {
     max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


#contact-section-container input, 
#contact-section-container textarea {
    width: 100%;
    padding: 15px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--dark-color);
    box-sizing: border-box;
}

#contact-section-container input:focus, 
#contact-section-container textarea:focus {
    outline: none;
    border-color: var(--dark-color);
}

.submit-btn {
    background: var(--primary_color-2);
    color: var(--white);
    border: none;
    padding: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--dark-color);
    letter-spacing: 1px;
}

/*Cart*/

#cart-container-main {
  font-family: 'Inter', sans-serif;
  padding: 40px 20px;
  color: var(--dark-color);
}

.cart-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.cart-table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  background: var(--light-gray);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.cart-product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.cart-product-table th {
  background-color: var(--white);
  text-align: left;
  padding: 15px;
  border-bottom: 2px solid var(--border-color)
}

.cart-product-table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.cart-img-placeholder {
  width: 80px;
  height: 80px;
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }

.cart-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cart-item-info .cart-item-name {
  display: block;
  font-weight: 600;
  color: var(--dark-color);
}

.cart-item-info .cart-item-sku {
  font-size: 0.85em;
  color: var(--primary_color);
  font-style: italic;
}

.cart-footer-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}

.cart-features-section {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
}

.promo-tag {
  background: var(--light-gray);
  color: var(--primary_color);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.promo-desc { font-size: 0.85em; margin-top: 5px; color: var(--primary_color-2); }

.cart-shipping-selection, .cart-protection-plan {
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.cart-radio-option, .cart-checkbox-option {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
}

.cart-summary-card {
  background: var(--dark-color);
  color: var(--white);
  padding: 25px;
  border-radius: 8px;
}

.cart-summary-card h3 { margin-top: 0; border-bottom: 1px solid var(--white); padding-bottom: 10px; }

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95em;
  padding-top: 10px;
}

.free-shipping { color: var(--primary_color-5); font-weight: 700;}

.summary-divider { border: 0; border-top: 1px solid var(--border-color); margin: 15px 0; }

.total-line {
  font-size: 1.25em;
  font-weight: bold;
  color: var(--white);
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: var(--white);
  color: var(--dark-color);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.3s;
}

.checkout-btn:hover { background: var(--primary_color-2); color: var(--dark-color);}

.section--cart-title {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shipping-card {
  position: relative;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.shipping-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.shipping-card:has(input:checked) {
  border-color: var(--primary_color);
  background-color: var(--light-gray);
}

.shipping-content span {
  display: block;
}

.ship-name { font-weight: bold; font-size: 0.95em; }
.ship-time { font-size: 0.8em; color: var(--dark-color); }
.ship-price { font-weight: bold; color: var(--primary_color); margin-top: 5px; }

@media (max-width: 1040px) {
    header { padding: 0 3%; }

    .Lastshop {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 20px;
    }

    .News { grid-template-columns: 1fr; row-gap: 20px;}

    /*Product*/
    #Product {
        padding: 40px 5%;
    }
    .product-container {
        gap: 30px;
    }
    .product-info h2 {
        font-size: 1.8rem;
    }
    .product-info p {
        font-size: 12px;
    }

    /* News */
    .container { max-width: 900px; }
    .content-title { font-size: 2rem; }
    .header-image { height: 350px; }

    .Newsletters h2 { font-size: 20px;}
    .Newsletters p { font-size: 18px;}

    /*Aboutus*/
    .about-hero { gap: 25px; }
    .about-content h1 { font-size: 2rem; }

    /*Contact*/
    .contact-top-wrapper {
        flex-direction: column;
    }
    .contact-map-wrapper iframe {
        min-height: 400px;
    }

    /*Cart*/
    .cart-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .menu-toggle { display: block; margin-right: 15px; }

    #Menu {
        position: fixed;
        top: 10vh;
        right: -200%;
        width: 280px;
        height: 90vh;
        background: var(--white);
        flex-direction: column;
        transition: 0.4s ease;
        padding: 20px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }

    #Menu.showing { right: 0; }

    .Dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        padding: 10px;
        flex-direction: column;
        border-radius: 0;
        min-width: unset;
    }

    .has-dropdown.active .Dropdown { display: flex; }
    .dropdown-section { min-width: 100%; margin-bottom: 15px; }
    .search-form { padding: 0 15px;}
    .header-tools { margin-left: 10px; gap: 5px;}
    header {
        height: 8vh;
    }

    .logo span {
        font-size: 1.5rem;
    }

    #Menu {
        top: 8vh;
        width: 250px;
        padding: 15px;
        z-index: 2000;
    }

    #Menu li a {
        font-size: 14px;
        margin: 5px 0;
    }

    .Dropdown {
        padding: 10px 15px;
        gap: 10px;
    }

    .dropdown-section {
        margin-bottom: 8px;
    }

    .dropdown-section h4 {
        font-size: 12px;
        margin-bottom: 5px;
        padding-bottom: 4px;
        border-bottom-width: 2px;
    }

    .search-form input {
        padding: 6px 12px;
        font-size: 12px;
        width: 150px;
    }

    #Main h1 { font-size: 2.2rem; }
    
    .card {
        height: 350px;
    }

    .card img {
        height: 160px;
    }

    .card-info h3 {
        font-size: 1rem;
    }

    .form-card input {
        width: 200px;
        height: 50px;
    }
    .form-card button {
        width: 80px;
        height: 50px;
        font-size: 14px;
    }
    .Newsletters h2 { font-size: 18px;}
    .Newsletters p { font-size: 14px;}

    /*Product*/
    .product-container {
        grid-template-columns: 1fr;
    }
    .product-img {
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .product-img img.main-display {
        height: 400px;
        width: 100%;
        max-width: 500px;
    }
    .product-info {
        text-align: center;
        align-items: center;
    }
    .product-info h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .product-info p {
        font-size: 10px;
    }

    /* News */
    .grid-specs { grid-template-columns: 1fr; }
    .header-image { height: 300px; }

    /*Aboutus*/
    .about-hero { flex-direction: column; }
    .about-image img { height: 350px; }
    .values-grid { grid-template-columns: 1fr 1fr; }

    /*Contact*/
    .section-title {
        font-size: 2rem;
    }

    /*Cart*/
    .cart-footer-grid {
    grid-template-columns: 1fr;
  }
  .cart-summary-card {
    order: -1;
  }
}

@media (max-width: 500px) {
    .Lastshop {
        grid-template-columns: 1fr;
    }
    .banner-info { max-width: 100%; }
    .form-card {
        flex-direction: column;
        gap: 10px;
    }
    .form-card input, .form-card button {
        border-radius: 10px;
        width: 100%;
        max-width: 300px;
    }
    .form-card input {
        border-right: 2px solid var(--border-color);
    }
    .search-form input {
        padding: 6px 12px;
        font-size: 12px;
        width: 80px;
    }
    .Newsletters h2 { margin-bottom: 20px; }


    /*Product*/
    #Product {
        padding: 20px 4%;
    }
    .product-img img.main-display {
        height: 300px;
    }
    .product-sub-img img {
        width: 60px;
        height: 60px;
    }
    .product-info h2 {
        font-size: 1.5rem;
    }
    .product-info p {
        font-size: 10px;
    }
    .product-info button {
        width: 100%;
    }
    /* News */
    .content-title { font-size: 1.5rem; }
    .header-image { height: 200px; }
    .container { padding: 10px; }

    /*Aboutus*/
    .about-content h1 { font-size: 1.8rem; }
    .values-grid { grid-template-columns: 1fr; }
    .about-container { padding: 30px 15px; }
    #download-app-section h2 { font-size: 1.4rem; }
    .btn-download { width: 80%; }

    /*Contact*/
    #contact-section-container {
        padding: 40px 8%;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .submit-btn {
        padding: 15px;
    }

    /*Cart*/
    .cart-container-main { padding: 15px 10px; }
    .cart-product-table th, .cart-product-table td {
        padding: 10px;
        font-size: 0.9em;
    }
    .total-line { font-size: 1.1em; }

    .shipping-grid {
        grid-template-columns: 1fr;
  }
  .cart-img-placeholder {
        width: 60px;
        height: 60px;
  }
}