    /* ================= RESET ================= */
    body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
    }

    /* ================= CONTAINER ==========A======= */
    .container {
        max-width:1100px;
        margin: 0 auto;
        background: #fff;
        position: relative;
        
    }
  #hoa {
    width: 100%;
    max-width:100%; /* hoặc 400px tùy bạn */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
  }

    /* ================= HEADER ================= */
    .slideshow {
        background-image: url('img/banner.jpg');
        background-size: 100% 100%;
        height: 0;
        padding-bottom: 25%; /* tỷ lệ 1/4 */
    }

    /* ================= NAVIGATION ================= */
    .container > nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        padding: 5px 15px;
        border-bottom: 1px solid #ddd;
    }

    /* Logo */
    .logo-img {
        height: 43px;
        width: auto;
        display: block;
        margin-right: 20px;
    }

    /* Menu chính */
    .nav-menu {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
        flex: 1;
        justify-content: center; /* căn giữa menu */
    }

    .nav-menu li {
        position: relative;
        min-width: 120px; /* ép mỗi mục đủ rộng */
        text-align: left;
        white-space: nowrap; /* giữ chữ 1 dòng */
    }

    .nav-menu li a {
        display: inline-block;
        padding: 10px 20px;
        color: black;
        text-decoration: none;
        font-weight: bold;
        line-height: 1;
    }

    .nav-menu li a:hover {
        background: #d8eedf;
        color: black;
    }

    /* Menu con (dropdown) */
    .nav-menu li ul {
        display: none;
        position: absolute;
        top: 100%;
      float: left;
        background: white;
        min-width: 150px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 1000;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-menu li ul li a {
        display: block;
        padding: 8px 15px;
        margin: 0;
    }

    .nav-menu li ul li a:hover {
        background: #d8eedf;
        color: black;
    }

    /* Hover cha -> hiện con */
    .nav-menu li:hover ul {
        display: block;
    }

    /* Search + Ngôn ngữ */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .search-box {
        border-left: 1px solid #ddd;
        padding-left: 10px;
    }

    .search-icon {
        font-size: 18px;
        cursor: pointer;
    }

    .lang-box {
        display: flex;
        align-items: center;
        gap: 5px;
        border-left: 1px solid #ddd;
        padding-left: 10px;
        font-size: 14px;
    }

    .flag {
        height: 20px;
        width: auto;
        cursor: pointer;
    }

    /* ================= ARTICLE ================= */
    .container > article {
        min-height: 400px;
        width: 100%;
        background-color: white;
        float: left;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* ================= ASIDE ================= */
    .container > aside {
        min-height: 400px;
        width: 25%;
        background-color: whitesmoke;
        float: right;
    }


    /* ================= FOOTER ================= */
    .site-footer {
    clear: both;       
        background: #222;              /* nền xám đậm */
      color: #ddd;                   /* chữ xám nhạt */
      padding: 40px 20px 20px;
      font-size: 14px;
      margin-top: 40px;
      width: 100%;
    }

    .site-footer .footer-container {
      max-width: 1200px;             /* căn giữa nội dung */
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
    }

    .footer-column h3 {
      color: #fff;
      margin-bottom: 15px;
      font-size: 16px;
      border-bottom: 2px solid #e63946;   /* gạch đỏ dưới tiêu đề */
      display: inline-block;
      padding-bottom: 5px;
    }

    .footer-column p,
    .footer-column li,
    .footer-column a {
      color: #ddd;
      line-height: 1.6;
      text-decoration: none;
    }

    .footer-column a:hover {
      color: #e63946;                /* đỏ khi hover */
    }

    .footer-logo {
      max-width: 120px;
      margin-bottom: 10px;
    }

    .footer-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-column ul li {
      margin: 6px 0;
    }

    .social-icons a {
      display: inline-block;
      margin-right: 10px;
    }

    .social-icons img {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #fff;
      padding: 5px;
      transition: 0.3s;
    }

    .social-icons img:hover {
      background: #e63946;
      transform: scale(1.1);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 20px;
      margin-top: 30px;
      border-top: 1px solid #444;
      font-size: 13px;
      color: #aaa;
    }


    /* ================= VERTICAL MENU ================= */
    .vmenu {
        padding: 0;
        margin: 5px;
        list-style: none;
        border-radius: 3px;
        width: 200px;
    }

    .vmenu a {
        background: url('img/hinhtron.png') no-repeat 10px center;
        display: block;
        border-bottom: 1px dotted orangered;
        color: orangered;
        font-variant: small-caps;
        font-size: larger;
        text-decoration: none;
        padding: 10px 5px 10px 35px;
        transition: all 0.3s ease;
    }

    .vmenu a:hover {
        background: url('img/muiten.png') no-repeat 10px center;
        border-bottom: 1px dotted white;    
        background-color: orangered;
        color: white;
        font-weight: bold;
    }

    /* ================= PRODUCT BOX ================= */
    .col-25 {
        width: 20%;
        flex: 0 0 calc(25% - 15px);
    }

    .prod {
        border: 1px solid #ddd;
        border-radius: 6px;
        margin: 10px;
        padding: 15px;
        text-align: center;
        transition: 0.3s;
        background: #fff;
        height: 350px;
    }

    .prod .image {
        width: 100%;              /* chiếm hết chiều ngang của khung */
        height: 200px;            /* chiều cao cố định */
        object-fit: contain;      /* giữ tỉ lệ gốc, không méo ảnh */
        background: #fff;         /* nền trắng để lấp khoảng trống */
        display: block;
        margin: 0 auto 15px;      /* căn giữa + cách dưới */
    }
    .prod .name {
        font-size: 16px;
        font-weight: bold;
        color: #000;
        margin-bottom: 8px;
        line-height: 1.4;
        text-transform: uppercase;
    }

    .prod .contact {
        color: red;
        font-size: 14px;
        font-weight: bold;
    }

    /* ================= LOGO TEXT + SLOGAN ================= */
    .logo {
        font-size: 32px;
        font-weight: bold;
    }

    .logo .fpt {
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    }

    .logo .poly {
        color: #ff6600;
        margin-left: 5px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    }

    .slogan {
        font-size: 18px;
        color: yellow;
        margin-top: 5px;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    }

    /* ================= TOP-RIGHT BOX ================= */
    .top-right {
        position: absolute;
        top: 0;
        right: 0;
        border-bottom-left-radius: 20px;
        border: 2px solid #000;
        padding: 8px 9px;
        background-color: white;
    }

    .top-right a {
        text-decoration: none;
        color: black;
    }

    .top-right a:hover {
        color: blue;
        text-decoration: underline;
    }
    .title{
        text-align: center;
        }
        .old-price {
        color: #aaa;
        text-decoration: line-through;
        font-size: 16px;
        margin-right: 10px;
    }.current-price {
        color: #ff4500; /* Màu đỏ nổi bật cho giá */
        font-size:16px;
        font-weight: bold;
        margin-right: 15px;
    } a{
        text-decoration: none;
    }.sign-up{
        height: 50px;
        width: auto;
    } form {
          width: 400px;
          margin: 0 auto;
        
          padding: 15px;
          font-size: 16px;
          background: #fff;
          border-radius: 6px;
        }

        .form-group {
          margin: 10px 0;
        }

        .form-group label {
          font-weight: bold;
          display: block;
          margin-bottom: 4px;
        }

        .form-control {
          width: 100%;
          height: 32px;
          border-radius: 5px;
          padding-left: 6px;
          border: 1px solid #ccc;
          background-color: white;
        }

        .form-control:focus {
          border: 1px solid wheat;
          outline: none;
          background-color: aquamarine ;
        }

        .button {
          outline: none;
          border: none;
          background: linear-gradient(to right, #4a90e2, #357abd);
          border-radius: 50px;
          color: white;
          font-weight: bold;
          padding: 6px 18px;
          cursor: pointer;
          margin-right: 8px;
          transition: 0.3s;
          text-align: center;
        }

        .button:hover {
          background: linear-gradient(to right, #357abd, #4a90e2);
        }a{
    text-decoration: none;
    }
    .description-box {
    flex: 1;
    border: 1px solid skyblue;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    }
    .description-box h3 {
    color: #4a7a0b;
    font-size: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #79b350;
    padding-left: 10px;
    }

    .description-box p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
    }

    .description-box img {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #f4a100;
    margin: 15px 0;
    }
    .product-page-container {
        display: flex;
        max-width: 1200px;
        margin: 0 auto;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .product-image-section {
        flex: 1;
        padding-right: 30px;
    }

    .main-product-image {
        width: 100%;
        height: 450px;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .thumbnail-gallery {
        display: flex;
        gap: 10px;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border: 1px solid #ddd;
        cursor: pointer;
        border-radius: 4px;
    }

    .thumbnail.active {
        border-color: skyblue; /* Màu xanh lá cây của nút mua */
        border-width: 2px;
    }

    .product-details-section {
        flex: 1;
    }

    /* --- Tiêu đề và Giá --- */

    .product-title {
        color: skyblue; /* Xanh lá đậm */
        font-size: 20px;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .price-info {
        margin-bottom: 20px;
    }

    .current-price {
        color:black; /* Màu đỏ nổi bật cho giá */
        font-size: 2.2em;
        font-weight: bold;
        margin-right: 15px;
    }

    .old-price {
        color: #aaa;
        text-decoration: line-through;
        font-size: 1.2em;
        margin-right: 10px;
    }
    /* --- Tình trạng và Số lượng --- */
    .label {
        font-weight: bold;
        color: #333;
        width: 100px; /* Cố định chiều rộng cho label */
    }

    .value.available {
        color: skyblue; /* Màu xanh cho "Còn hàng" */
        font-weight: bold;
    }

    .quantity-stepper {
        display: flex;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        background-color: #f0f0f0;
        border: none;
        cursor: pointer;
        font-size: 1.2em;
        font-weight: bold;
        color: #555;
        transition: background-color 0.2s;
    }

    .qty-btn:hover {
        background-color: #e0e0e0;
    }

    #quantity-input {
        width: 40px;
        text-align: center;
        border: none;
        outline: none;
        font-size: 1em;
    }

  .buy-group {
      display: flex ; /* BUỘC 50/50 */
      gap: 12px ;
      margin-top: 20px ;
  }

  .buy-group button {
      flex: 1 ; /* BUỘC Chia đều kích thước 50/50 */
      padding: 12px 0 ;
      font-size: 16px ;
      font-weight: bold ;
      border-radius: 4px ; 
      display: flex ;
      align-items: center ;
      justify-content: center ;
      gap: 8px ;
  }

  /* ========== 1. NÚT MUA NGAY (PRIMARY: Nền Đậm) ========== */
  .buy-now-btn {
      background: lightblue ; /* Màu xanh đậm */
      color: black ; /* Chữ trắng */
      border: 1px solid skyblue ;
  }

  .buy-now-btn:hover {
      background: blue ; /* Màu xanh hover */
      border-color: blue ;
    color: white;
  }

  /* ========== 2. NÚT THÊM VÀO GIỎ HÀNG (SECONDARY: Viền) ========== */
  .add-cart-btn {
      background: #ffffff ;
  color: skyblue ; /* Màu chữ xanh */
      border: 1px solid skyblue ; /* Viền xanh */
  }

  .add-cart-btn:hover {
      background: #f0f8ff ; /* Nền nhạt hơn khi hover */
      color: blue ;
      border-color: blue ;
  }

  /* Icon của nút THÊM VÀO GIỎ HÀNG */
  .add-cart-btn i {
      color: skyblue ; /* Icon màu xanh */
      font-size: 18px ;
  }
    .extra-box {
    flex: 1;
    min-width: 250px;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

        h3 {
    color: skyblue;
    border-left: 4px solid skyblue;
    padding-left: 8px;
    margin-bottom: 10px;
    }

    .extra-box p, .extra-box li {
    color: #333;
    font-size: 15px;
    }
    li{
    list-style: none;}
    .login {
    width: 50px;
    }
    /*CART
    body {
      font-family: Arial, sans-serif;
      background: #f9f9f9;
      margin: 0;
      padding: 30px;
    }

    .cart-container {
      display: flex;
      justify-content: space-between;
      gap: 30px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* ========== LEFT SIDE ========== */
    .cart-left {
      flex: 2.5;
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      height: 100px;
    }

    .cart-table {
      width: 100%;
      border-collapse: collapse;
    }

    .cart-table th {
      text-align: left;
      padding: 10px;
      color: skyblue;
      font-size: 14px;
      border-bottom: 2px solid #eee;
    }

    .cart-table td {
      padding: 15px 10px;
      border-bottom: 1px solid #eee;
      vertical-align: middle;
    }

    .product-info {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .product-info img {
      width: 80px;
      height: 80px;
      border-radius: 5px;
      object-fit: cover;
    }

    .qty-box {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 5px;
      overflow: hidden;
      width: 110px;
    }

    .qty-box button {
      width: 35px;
      height: 35px;
      border: none;
      background: #f6f6f6;
      font-size: 18px;
      cursor: pointer;
    }

    .qty-box input {
      width: 40px;
      text-align: center;
      border: none;
      outline: none;
    }

    .remove {
      color: #aaa;
      font-size: 20px;
      cursor: pointer;
    }

    .remove:hover {
      color: red;
    }

    /* ========== COUPON BOX ========== */
    .coupon {
      margin-top: 20px;
    }

    .coupon input {
      width: 180px;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
    }

    .coupon button {
      padding: 10px 15px;
      background: #ccc;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    /* ========== RIGHT SIDE ========== */
    .cart-right {
      flex: 1;
      background: #fff;
      border-radius: 10px;
      padding: 25px;
      height: fit-content;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .cart-right h3 {
      font-size: 18px;
      margin-bottom: 20px;
      text-align: center;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      font-size: 15px;
    }

    .total {
      border-top: 1px solid #eee;
      margin-top: 15px;
      padding-top: 10px;
      font-weight: bold;
    }

    .total-amount {
      color: red;
      font-size: 18px;
    }

    .checkout-btn {
      width: 100%;
      background: orange;
      color: white;
      border: none;
      padding: 12px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      margin-top: 15px;
    }

    .checkout-btn:hover {
      background: #e69500;
    }

    .continue {
      display: block;
      text-align: center;
      color: #333;
      margin-top: 10px;
      text-decoration: underline;
      font-size: 14px;
    }

    .ship-note {
      font-size: 13px;
      color: #777;
    } .payment{
    width: 1000px;
  height: 400px;
    display: flex;
    float: left;
    height: 100px;
    }
    .paymentinfo{
      width: 50%;

      display: flex;
    }
    .detail-btn {
      display: inline-block;
      margin-top: 10px;
      padding: 6px 12px;
      background: #0099ff;
      color: #fff;
      border-radius: 5px;
      text-decoration: none;
      font-size: 14px;
      transition: 0.2s ease;
  }

  .detail-btn:hover {
      background: #0077cc;
  }
  /*XEM CHI TIẾT*/
  /* --- Nút MUA NGAY --- */

  .dt-btn {
      background-color: skyblue; /* Màu xanh lá cây nổi bật */
      color: black;
      padding: 12px 25px;
      border: none;
      border-radius: 5px;
      font-size: 1.2em;
      font-weight: bold;
      cursor: pointer;
      margin-top: 20px;
      width: 100%; /* Chiều rộng full */
      transition: background-color 0.3s;
  }

  .dt-btn:hover {
      background-color: blue;
    color:white;
    }
  .login2{
    text-align: right;
  } #best-seller-list,
  #new-products-list {
      min-height: 400px;
      width: 100%;
      background-color: white;
      float: left;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
  }
    .checkout-container {
        display: flex;
        max-width: 1100px;
        margin: 20px auto;
    }

    .checkout-left,
    .checkout-right {
        background: #fff;
        padding: 20px;
        border-radius: 6px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        width: 50%;
        margin: 10px;
    }

    h2 {
        margin-bottom: 20px;
        font-size: 18px;
        border-bottom: 2px solid #eee;
        padding-bottom: 8px;
    }

    .form-row {
        margin-bottom: 20px;
    }

    .form-row label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
        font-size: 14px;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        box-sizing: border-box;
    }

    textarea {
        min-height: 80px;
        resize: vertical;
    }

    .checkbox input {
        margin-right: 10px;
    }

    .order-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }

    .order-table th,
    .order-table td {
        padding: 10px 5px;
        font-size: 14px;
        text-align: left;
    }
    h2{
        text-align: center;
        text-transform: uppercase;
    }
    h4{
        text-transform: uppercase;
    }
    .order-table th {
        border-bottom: 2px solid #ddd;
    }

    .order-table .total td {
        font-size: 16px;
        font-weight: bold;
    }

    .price {
        color: red;
    }

    /* NÚT ĐẶT HÀNG */
    .btn-order {
        display: block;
        width: 100%;
        padding: 12px;
        background: skyblue;
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        cursor: pointer;
    }

    .btn-order:hover {
        background: #B3EBF2;
    }

    /* QUAY LẠI GIỎ HÀNG */
    .back-cart {
        text-align: center;
        margin-top: 15px;
    }

    .back-cart a {
        color: #0073e6;
        text-decoration: none;
    }

    /* THANH TOÁN (PAYMENT) */
    .payment-box {
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 10px;
        margin-bottom: 10px;
        background-color: #fff;
    }

    .payment-box:hover {
        border-color: #aaa;
    }

    .payment-box input {
        margin-right: 8px;

    }

    .payment-box b {
        color: #333;
        font-size: 15px;
    }

    .payment-box .desc {
        display: block;
        color: #555;
        font-size: 14px;
        margin-top: 5px;
    }
    .checkbox label {
        font-weight: bold;
    }
    .checkbox {
        margin-bottom: 15px;
    }
  
    .description {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 14px;
  color: #333;
  z-index: 10;
}

.description.show {
  display: block;
  opacity: 1;
}
