/* General Styles */
html {
    scroll-behavior: smooth;  
  }
body {
    margin: 0;
    font-family: "Amazon Ember", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #0f1111;
}

.header {
    background-color: #004c4c; 
    color: white;
    width: 100%;
}


.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

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

.logo img {
    height: 30px;
    margin-right: 10px;
}

.deliver-location {
    font-size: 14px;
    padding: 0 20px;
}

.search-bar {
    display: flex;
    flex: 1;
    margin: 0 20px;
    align-items: center;
}

.category-dropdown {
    height: 47px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    width: 40px;
    background: #e7e5e5;
}

.search-bar input {
    flex: 1;
    height: 35px;
    padding: 5px;
    border: none;
}

.search-btn {
    background-color: #cd0178; 
    border: none;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    height: 45px;
    width: 40px;
}

.search-btn img {
    width: 20px;
    height: 20px;
}

.user-options {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.user-options span {
    margin: 0 10px;
    text-align: center;
}

.header-bottom {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #003d3d; 
}

.header-bottom .menu {
    margin-right: 20px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
}

.header-bottom li {
    margin-right: 15px;
    list-style: none;
    text-decoration: none;
    color: white;
    font-size: 14px;
}

.header-bottom a:hover {
    text-decoration: underline;
}

/* today */

.navbar {
    background-color: #046C60;
    color: white;
    padding: 10px 20px;
    text-align: center;
}

.carousel {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    background-color: #f5f5f5;
    padding: 10px;
}

.carousel-container {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.carousel-item {
    min-width: 200px;
    margin: 0 10px;
    text-align: center;
    background-color: orange;
    padding: 10px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
}

.arrow {
    background-color: #ccc;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.categories {
    display: flex;
    justify-content: space-around;
    background-color: #f9f9f9;
    padding: 10px 0;
    margin: 20px 0;
}

.category {
    text-align: center;
    font-size: 14px;
    padding: 10px;
    cursor: pointer;
    background-color: #eee;
    border-radius: 5px;
}

.category:hover {
    background-color: #ddd;
}

.deals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.deal-item {
    text-align: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.deal-item img {
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.deal-item p {
    color: red;
    font-size: 14px;
    margin: 5px 0;
}

.deal-item strong {
    font-size: 16px;
}

.once-product img {
    width: auto;
    border-top-left-radius:7px;
    border-top-right-radius: 7px;
    max-height: 154px;
    margin: auto;
}
.header-today1 {
    background-color: red;
    padding: 20px;
}
.header-today2 {
    padding-top: 20px;
}
.text-today {
    color: #fff;
    font-size: 17px;
    font-weight: bold;
}
.once-product {
    background-color: #fff;
    border-radius: 7px;
}
.slick-slide {
    margin: 0 20px;
  }
.item-price {
    font-size: 10px;

}
.number {
    font-size: 20px;
    font-weight: bold;
    line-height: 0.8;
}
.text-product {
    padding: 10px;
    font-size: 12px;
    color: #da0303;
    font-weight: bold;
    text-overflow: ellipsis;
     overflow: hidden;
    white-space: nowrap;
}
.percent-sale {
    padding: 10px 10px;
    background-color: #da0303;
    color: #fff;
    border-radius: 3px;
}
.color-price {
    color: #afafaf;
    font-weight: 100;
    margin: 5px;
}
.price {
  display: flex; 
  color: #000; 
    
}
.old-price {
    text-decoration: line-through;

}
.cover-price {
    display: flex;
    padding-top: 15px;
}
.slick-prev, .slick-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 3px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    border: none;
    background: none;
  }
.slick-next {
    right: -20px;
}
.slick-arrow img {
    height: 30px;
}
.slick-prev {
    left: -20px;
    z-index: 10;
}
.cover-productItem img {
    width: -webkit-fill-available;
    border: 1px solid #cccccc75;
    border-radius: 10px;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 3px;
    margin-top: -40px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    border: none;
    background: none;
  }
.prev {
    left: 0;
    z-index: 100;
}
.next {
    right: 0;
}
.cover-productItem {
    border: 2px solid transparent;
    border-radius: 4px;
    color: #000;
    display: block;
    padding: 0;
    text-align: center;
    width: 93px;
}
.product-item {
    padding: 0 20px;
}
.body-today {
    width: 100%;
    display: flex;
    padding-top: 20px;
}
.left-today {
    width: 20%;
    padding-left: 10px;
}
.right-today {
    width: 80%;
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}
.structure {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.choice-department {
    display: flex;
    gap: 20px;
}
.show-more {
    display: flex ;
    align-items: center;
    gap: 20px;
    border: none;
    background: none;
    font-size: 15px;
    color: #046C60;
}
.img-show {
    width: 18px;
}
.radio {
    width: 15px;
}
.body-product {
    width: calc(100% / 5 - 50px);
}
.img-body {
    width: 100%;
    height: 200px;
}
.name-product {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    color: #000;
    font-size: 13px;
    white-space: normal;
}
.sale {
    padding: 10px 0;
}
.text-product-body {
    font-size: 12px;
    color: #da0303;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.choice-department label {
    color: #0f1111;
    font-weight: 400;
    font-size: 14px;
}
.choice-in-seeMore {
    display: flex;flex-direction: column; gap: 8px;
}
/* customer */
.heading-cts {
    background-color: #00748c;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}
.heading-cts a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}
.heading-cts a:hover {
    text-decoration: underline;
}

.container-cts {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #232f3e;
}
p {
    font-size: 14px;
    margin-bottom: 30px;
    color: #555;
}
.button-cts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.button-cts a {
    text-decoration: none;
    background: #f9f9f9;
    padding: 12px;
    color: #333;
    border-radius: 5px;
    font-size: 14px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.button-cts a img {
    margin-right: 10px;
}
.button-cts a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.search-cts {
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
h2 {
    font-size: 20px;
    color: #232f3e;
    margin-bottom: 15px;
}
.search-bar2 {
    display: flex;
    margin-bottom: 20px;
}
.search-bar2 input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.container-customer {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 20px;
    width: 90%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sidebar {
    flex: 1;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
    padding: 20px;
    max-width: 230px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 12px;
}

.sidebar ul li button {
    width: 100%;
    text-align: left;
    padding: 10px;
    font-size: 14px;
    border: none;
    background: none;
    color: #00748c;
    cursor: pointer;
}

.sidebar ul li button:hover,
.sidebar ul li button.active {
    color: white;
    background-color: #00748c;
    border-radius: 5px;
}

.content {
    flex: 3;
    padding: 20px;
}

.help-topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.help-topic {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: left;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.help-topic:hover {
    background-color: #f0f0f0;
}

.help-topic span {
    font-size: 12px;
    color: #777;
}

/* registry */
.container-registry {
    padding: 20px;
    margin: auto;
    padding-top: 60px;
  }
  .header-registry {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    text-align: left;
    position: fixed;
    width: 100%;
    background: white;
    z-index: 1000;
  }
  .header-registry h1 {
    margin: 0;
    font-size: 24px;
    flex-shrink: 0;
    color: #064f70;
  }
  .header-registry nav {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .dropdown {
    position: relative;
  }
  .dropdown a {
    text-decoration: none;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .dropdown:hover {
    border-bottom: 3px solid #064f70;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    width: 150px;
    z-index: 1000;
  }
  .dropdown-menu li {
    padding: 10px;
    text-align: left;
  }
  .dropdown-menu li:hover {
    background-color: #f1f1f1;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .next-text {
    text-decoration: none;
    color: #000000;
  }
  .next-text:hover {
    border-bottom: 3px solid #064f70;
  }
  .main-section {
    display: flex;
    gap: 20px;
    margin-top: 20px;
  }
  .main-section > div {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .main-section img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
  }
  .main-section .highlight {
    background-color: #fffdee;
    text-align: left;
  }
  .main-section button {
    background-color: #ffd814;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
  }
  .reasons {
    margin-top: 40px;
  }
  .reasons h2 {
    margin-bottom: 20px;
  }
  .reasons-grid {
    display: flex;
    gap: 20px;
  }
  .reasons-grid > div {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .reasons-grid p {
    margin: 0;
  }
  .reasons-grid img {
    margin-top: 20px;
    width: 70px;
  }
  .text-style {
    margin-top: 20px;
    margin-bottom: 0;
  }
  .categories-section {
    margin-top: 40px;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .categories-grid > div {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .categories-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .categories-grid h3 {
    margin: 10px;
    font-size: 18px;
    color: #333;
  }

  .categories-grid p {
    margin: 0 10px 10px;
    font-size: 14px;
    color: #666;
  }

/* sell */
.header-sell {
    display: flex;
    justify-content: space-between;
    background-color: #fefefe;
    padding: 2px 40px;
    border-bottom: 1px solid #ddd;
}
.header-sell-left {
    max-width: 70%;
}
.header-sell-text {
    font-size: 40px;
    font-weight: bold;
}
.promo {
    font-size: 14px;
    color: #007185;
}
.promo a {
    text-decoration: none;
    color: #007185;
    font-weight: bold;
}
.main-content {
    padding: 10px;

}
.signup-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
}
.text-content {
    max-width: 50%;
}
.text-content h1 {
    font-size: 75px;
    margin: 30px;
}
.offer {
    font-size: 16px;
    color: #555;
    margin-left: 30px;
}
.signup-button {
    background-color: #ff9900;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 20px;
}
.signup-button-large {
    background-color: #ff9900;
    color: white;
    font-size: 30px;
    padding: 35px 75px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin: 30px;
}
.signup-button:hover {
    background-color: #e68a00;
}
.image-content {
    max-width: 50%;
    height: auto;
}
.image-content img {
    width: 77%;
}
.statistics-section {
    margin-top: 4px;
    text-align: center;
    font-size: 27px;
    color: #232f3e;
}
.statistics strong {
    font-weight: bold;
    color: #ff9900;
}
.incentives-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
}
.incentives-section .footer-sell {
  text-align: center;
  margin-bottom: 30px;
}
.incentives-section .footer-sell h1 {
  color: #1a1a1a;
  font-size: 2.5em;
  margin-bottom: 10px;
}
.incentives-section .footer-sell p {
  font-size: 1.2em;
  color: #555;
}
.incentives-section .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.incentives-section .content img {
  max-width: 40%;
  border-radius: 8px;
}
.incentives-section .text {
  max-width: 45%;
}
.incentives-section .text h2 {
  font-size: 2em;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.incentives-section .text ul {
  list-style: none;
  padding: 0;
}
.incentives-section .text ul li {
  background-color: #f0f8e8;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1em;
  color: #333;
}
.incentives-section .text ul li::before {
  content: "✔";
  margin-right: 10px;
  color: #4caf50;
  font-weight: bold;
}

/* footer */
.footer {
    background-color: #232f3e;
    color: #ffffff;
    padding: 20px 0;
}
.footer .container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-column {
    flex: 1;
}
.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin: 8px 0;
}
.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}
.footer-column ul li a:hover {
    text-decoration: underline;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #3a4553;
    padding: 10px 20px;
    font-size: 14px;
}
.footer-bottom img {
    height: 20px;
}

/* gift-cards */
.dautien{
    * { box-sizing: border-box; }
        body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
        
        .slideshow-container {
            position: relative;
            width: 100%;
            height: 33.33vh;
            overflow: hidden;
        }
        .mySlides {
            display: none;
            width: 100%; 
            height: 100%;
        }
        img {
            width: 100%;
            height: 100%; 
            object-fit: cover; 
        }
        .fade {
            animation: fade 1.5s;
        }
        @keyframes fade {
            from { opacity: .4; }
            to { opacity: 1; }
        }


        .dots {
            text-align: center;
            padding: 10px;
        }
        .dot {
            height: 15px;
            width: 15px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
            transition: background-color 0.6s ease;
        }
        .active {
            background-color: #717171;
        }
}

/* //////////////////// */
.navbar {
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    background-color: #f8f8f8; 
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}
.navbar img {
    height: 30px;
}
.navbar a {
    margin: 0 10px;
    text-decoration: none;
    color: #2e2828;
    font-weight: bold; 
    transition: color 0.3s;
}
.navbar a:hover {
    color: #007185;
}
.highlight {
    color: #000; 
    font-size: 20px; 
    margin: 0 10px; 
}
/* ///////////////// */

.image img{
    width: 100%;
}
.container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.item img {
    width: 100%;
    height: auto;
}
/* ////////////// */
.container {
    .container {
        display: grid;
        grid-template-columns: repeat(4, 1fr); 
        gap: 10px; 
        padding: 20px; 
        width: 100%;
        max-width: 1200px; 
    }
    .large-items {
        grid-column: span 1; 
    }

    .last-items {
        grid-column: span 4; 
        width: 100%; 
    }
   
    .button {
        display: flex;
        justify-content: center;
        grid-column: span 4; 
    }

    img {
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        border-radius: 8px;
    }
}