/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: rgba(255, 255, 255, 1);
    font-family:
      Inter,
      -apple-system,
      Roboto,
      Helvetica,
      sans-serif;
    overflow-x: hidden;
    word-break: break-word;
    -webkit-text-size-adjust: 100%;
  }
  
  /* Header styles */
  .header {
    display: flex;
    width: 100%;
    max-width: 1288px;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
    white-space: nowrap;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 29px auto 0;
    padding: 0 15px;
  }
  
  @media (max-width: 991px) {
    .header {
      max-width: 100%;
      white-space: initial;
    }
  }
  
  .logo {
    /*aspect-ratio: 3.14;*/
    object-fit: contain;
    object-position: center;
    width: 300px;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
  }
  
  .mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
  }
  
  @media (max-width: 991px) {
    .mobile-menu-button {
      display: block;
    }
  }
  
  .hamburger-line {
    width: 30px;
    height: 3px;
    margin: 6px 0;
    transition: 0.4s;
    background-color: #000;
  }
  
  .nav-menu {
    display: flex;
    margin-top: auto;
    margin-bottom: auto;
    align-items: stretch;
    gap: 36px;
    flex-wrap: wrap;
  }
  
  .nav-item {
    flex-grow: 1;
    cursor: pointer;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
  }
  
  .nav-item:hover {
    color: rgba(0, 0, 0, 1);
  }
  
  .mobile-overlay {
    display: none;
  }
  
  @media (max-width: 991px) {
    .mobile-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }
  }
  
  /* Hero section styles */
  .hero-section {
    position: relative;
    width: 100%;
    margin-top: 32px;
    min-height: 500px;
  }
  
  @media (max-width: 640px) {
    .hero-section {
      display: flex;
      flex-direction: row;
      min-height: 0px;
    }
  }
  
  .hero-image {
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    overflow: hidden;
  }
  
  @media (max-width: 640px) {
    .hero-image {
      position: relative;
      height: auto;
      transform: none;
      left: 0;
      width: 100%;
      object-fit: contain;
    }
  }
  
  .carousel-controls {
    position: absolute;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
    pointer-events: none;
  }
  
  .carousel-button {
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .carousel-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }
  
  .carousel-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 182, 45, 0.4);
  }
  
  /* Features section styles */
  .features-section {
    margin-top: 40px;
    width: 100%;
    padding-left: 35px;
    padding-right: 35px;
    gap: 30px;
  }
  
  @media (max-width: 991px) {
    .features-section {
      max-width: 100%;
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    font-size: 16px;
    color: rgba(0, 0, 0, 1);
    font-weight: 700;
    max-width: 1306px;
    margin: 0 auto;
    padding: 0 35px;
  }
  

  
  .feature-card {
    background-color: rgba(248, 182, 45, 1);
    display: flex;
    flex-direction: column;      /* 讓圖在上，文在下 */
    align-items: center;
    justify-content: center;     /* 垂直置中 */
    gap: 10px;                   /* 調整間距 */
    flex: 1;
    padding: 20px 40px;
    font-size: 16px;
    text-align: center;
  }
  
  .feature-icon {
    width: 36px;
  height: 36px;
  object-fit: contain;
  }
  
  @media (max-width: 640px) {
    .feature-icon {
      width: 36px;
    }
  }
  
  .feature-text {
    font-size: 16px;
    margin: 0;
  }
  
  @media (max-width: 991px) {
    .feature-text {
      font-size: 15px;
    }
  }
  
  @media (max-width: 640px) {
    .feature-text {
      font-size: 14px;
      margin-top: 8px;
    }
  }
  
  /* Products section styles */
  .products-section {
    margin-top: 84px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  @media (max-width: 991px) {
    .products-section {
      max-width: 100%;
      margin-top: 40px;
    }
  }
  
  .products-container {
    gap: 20px;
    display: flex;
    padding: 0 40px;
    max-width: 1306px;
    margin: 0 auto;
    width: 100%;
  }
  
  @media (max-width: 991px) {
    .products-container {
      flex-direction: column;
      align-items: stretch;
      gap: 0px;
    }
  }
  
  .sidebar-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: normal;
    width: 31%;
    margin-left: 0px;
  }
  
  @media (max-width: 991px) {
    .sidebar-column {
      width: 100%;
    }
  }
  
  .sidebar-wrapper {
    width: 100%;
  }
  
  @media (max-width: 991px) {
    .sidebar-wrapper {
      margin-top: 40px;
    }
  }
  
  .categories-sidebar {
    background-color: rgba(247, 247, 247, 1);
    display: flex;
    width: 100%;
    padding-left: 65px;
    padding-right: 65px;
    padding-top: 51px;
    padding-bottom: 66px;
    flex-direction: column;
    align-items: start;
    font-size: 22px;
    color: rgba(0, 0, 0, 1);
    font-weight: 400;
    white-space: nowrap;
    margin-right: -5px;
  }
  
  @media (max-width: 991px) {
    .categories-sidebar {
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 100px;
      white-space: initial;
    }
  }
  
  @media (max-width: 640px) {
    .categories-sidebar {
      margin-bottom: -3px;
      padding-bottom: 18px;
    }
  }
  
  .category-header {
    align-self: stretch;
    display: flex;
    align-items: stretch;
    font-size: 24px;
    color: rgba(255, 135, 23, 1);
    font-weight: 500;
  }
  
  @media (max-width: 991px) {
    .category-header {
      white-space: initial;
    }
  }
  
  @media (max-width: 991px) {
    .category-title-wrapper {
      white-space: initial;
    }
  }
  
  .category-underline {
    border-color: rgba(248, 182, 45, 1);
    border-style: solid;
    border-width: 3px;
    flex-shrink: 0;
    height: 3px;
  }
  
  .category-divider {
    border-color: rgba(217, 217, 217, 1);
    border-style: solid;
    border-width: 1px;
    align-self: start;
    margin-top: 37px;
    flex-shrink: 1;
    height: 1px;
    flex-grow: 1;
    flex-basis: auto;
  }
  
  .category-link {
    margin-top: 39px;
    cursor: pointer;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
    font-size: 22px;
  }
  
  .category-link-active {
    color: rgba(255, 135, 23, 1);
  }
  
  .category-link-normal {
    margin-top: 43px;
  }
  
  @media (max-width: 991px) {
    .category-link-normal {
      margin-top: 40px;
    }
  }
  
  .category-link-small {
    margin-top: 43px;
  }
  
  @media (max-width: 991px) {
    .category-link-small {
      margin-top: 40px;
    }
  }
  
  .category-link-last {
    margin-top: 41px;
    margin-bottom: -26px;
  }
  
  @media (max-width: 991px) {
    .category-link-last {
      margin-bottom: 10px;
      margin-top: 40px;
    }
  }
  
  .download-banner {
    background-color: rgba(248, 182, 45, 1);
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    align-items: stretch;
    gap: 20px;
    justify-content: space-between;
    text-decoration: none;
    cursor: pointer;
  }
  
  @media (max-width: 991px) {
    .download-banner {
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  .download-text {
    color: rgba(255, 255, 255, 1);
    font-size: 24px;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: auto;
  }
  
  .download-icon-wrapper {
    background-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: flex;
    padding-left: 8px;
    padding-right: 8px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
  }
  
  .download-icon {
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    width: 27px;
    overflow: hidden;
  }
  
  .products-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    line-height: normal;
    width: 69%;
    margin-left: 20px;
  }
  
  @media (max-width: 991px) {
    .products-column {
      width: 100%;
      margin-left: 0;
    }
  }
  
  .products-content {
    margin-top: 13px;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    justify-content: center;
    flex-direction: column;
    display: flex;
    align-items: stretch;
  }
  
  @media (max-width: 991px) {
    .products-content {
      max-width: 100%;
      margin-top: 40px;
    }
  }
  
  @media (max-width: 640px) {
    .products-content {
      margin-right: auto;
    }
  }
  
  .search-container {
    display: flex;
    margin-bottom: 24px;
    padding: 0 14px;
    gap: 12px;
  }
  
  @media (max-width: 991px) {
    .search-container {
      flex-direction: column;
      padding: 0;
    }
  }
  
  .search-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s;
  }
  
  .search-input:focus {
    outline: none;
    border-color: rgba(248, 182, 45, 1);
  }
  
  .search-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: rgba(248, 182, 45, 1);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .search-button:hover {
    background-color: rgba(255, 135, 23, 1);
  }
  
  .spacer {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-top: 20px;
    height: 32px;
  }
  
  .product-item {
    display: flex;
    justify-content: space-between;  /* 讓左右兩邊貼齊 */
    align-items: flex-start;         /* 保持上對齊 */
    gap: 20px;
    padding: 10px 0;
  }
  
  .product-info {
    align-self: start;
    display: flex;
    margin-top: 4px;
    flex-direction: column;
    align-items: stretch;
    font-weight: 400;
  }
  
  @media (max-width: 991px) {
    .product-info {
      max-width: 100%;
    }
  }
  
  .product-code {
    color: rgba(141, 141, 141, 1);
    font-size: 14px;
    align-self: start;
  }
  
  .product-name {
    color: rgba(0, 0, 0, 1);
    font-size: 16px;
    margin-top: 17px;
    word-break: break-word;
    line-height: 1.5;
    max-width: none;
  }
  
  @media (max-width: 991px) {
    .product-name {
      max-width: 100%;
      font-size: 14px;
    }
  }
  
  .product-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 強制靠右對齊 */
    min-width: 120px;      /* 避免寬度不一致導致抖動 */
  }
  
  .original-price {
    color: rgba(141, 141, 141, 1);
    font-size: 14px;
    font-weight: 300;
    align-self: start;
  }
  
  .current-price {
    color: rgba(231, 10, 125, 1);
    font-size: 32px;
    font-weight: 400;
  }
  
  .product-divider {
    border-color: rgba(217, 217, 217, 0.6);
    border-style: solid;
    border-width: 1px;
    margin-top: 20px;
    flex-shrink: 0;
    height: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    width: 100%;
  }
  
  @media (max-width: 991px) {
    .product-divider {
      max-width: 100%;
    }
  }
  
  .pagination-container {
    display: flex;
    flex-direction: column;
    align-items: end;
    font-size: 16px;
    color: rgba(70, 70, 70, 1);
    font-weight: 400;
    /*border-bottom: 1px solid rgba(217, 217, 217, 0.6);*/
    margin-top: 20px;
  }
  
  @media (max-width: 991px) {
    .pagination-container {
      max-width: 100%;
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  
  .pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .pagination-button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .pagination-button:hover {
    background: #f5f5f5;
  }
  
  .pagination-button-active {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    background-color: rgba(248, 182, 45, 1);
  }
  
  .order-process-spacer {
    margin-top: 132px;
    margin-left: 34px;
  }
  
  @media (max-width: 991px) {
    .order-process-spacer {
      margin-left: 10px;
      margin-top: 40px;
    }
  }
  
  /* Order process section styles */
  .section-title-container {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-top: 50px;
    height: auto;
    font-size: 40px;
    font-weight: 600;
    text-align: center;
  }
  
  .section-banner {
    aspect-ratio: 5.04;
    object-fit: cover;
    object-position: center;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-top: 20px;
    min-height: 20px;
    min-width: 20px;
    overflow: hidden;
  }
  
  .section-title-spacer {
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
    margin-top: 20px;
    height: 54px;
  }
  
  .section-title-underline {
    border-color: rgba(0, 0, 0, 1);
    border-style: solid;
    border-width: 2px;
    margin-top: 8px;
    width: 226px;
    flex-shrink: 0;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .accordion-container {
    width: 100%;
    max-width: 900px;
    margin: 26px auto;
  }
  
  .accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
  }
  
  .accordion-button {
    width: 100%;
    padding: 24px 30px;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    border-radius: 8px 8px 0 0;
  }
  
  .accordion-button:hover {
    background: rgba(248, 182, 45, 0.1);
  }
  
  .accordion-button:focus {
    outline: 2px solid rgba(248, 182, 45, 0.5);
    outline-offset: -2px;
  }
  
  .accordion-icon {
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
  }
  
  .accordion-content {
    padding: 30px;
    font-size: 16px;
    line-height: 1.8;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .accordion-content-inner {
    padding-left: 20px;
  }
  
  .accordion-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 135, 23, 1);
  }
  
  .accordion-text {
    margin-bottom: 30px;
    padding-left: 20px;
    color: #333;
  }
  
  /* Contact section styles */
  .contact-title {
    color: rgba(70, 70, 70, 1);
    font-size: 40px;
    font-weight: 800;
    margin: 98px auto 0;
    text-align: center;
    display: block;
  }
  
  @media (max-width: 991px) {
    .contact-title {
      margin-top: 40px;
    }
  }
  
  .contact-underline {
    border-color: rgba(0, 0, 0, 1);
    border-style: solid;
    border-width: 2px;
    margin: 8px auto 0;
    width: 226px;
    flex-shrink: 0;
    height: 4px;
  }
  
  .contact-map {
    aspect-ratio: 3.4;
    object-fit: contain;
    object-position: center;
    width: 100%;
    margin-top: 31px;
    overflow: hidden;
  }
  
  @media (max-width: 991px) {
    .contact-map {
      max-width: 100%;
    }
  }
  
  .contact-info-container {
    display: flex;
    margin: 73px auto 0;
    width: 100%;
    max-width: 1390px;
    align-items: stretch;
    gap: 20px;
    font-size: 24px;
    color: rgba(255, 255, 255, 1);
    font-weight: 800;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 15px;
  }
  
  @media (max-width: 991px) {
    .contact-info-container {
      max-width: 100%;
      margin-top: 40px;
    }
  }
  
  .contact-info-container {
    display: flex;
    margin: 73px auto 0;
    width: 100%;
    max-width: 1390px;
    align-items: stretch;
    gap: 20px;
    font-size: 24px;
    color: rgba(255, 255, 255, 1);
    font-weight: 800;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px;
  }
  
  @media (max-width: 991px) {
    .contact-info-container {
      max-width: 100%;
      margin-top: 40px;
    }
  }
  
  .contact-info-item,
  .contact-info-item-email,
  .contact-info-item-address {
    background-color: rgba(248, 182, 45, 1);
    display: flex;
    padding: 20px 30px;
    align-items: center;
    gap: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-width: 250px;
    max-width: 100%;
    flex: 1 1 0;
  }
  
  .contact-info-item:hover,
  .contact-info-item-email:hover,
  .contact-info-item-address:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }
  
  @media (max-width: 991px) {
    .contact-info-item,
    .contact-info-item-email,
    .contact-info-item-address {
      padding: 15px 20px;
      width: 100%;
    }
  }
  
  .contact-info-icon {
    width: 40px;
  height: 40px;
  flex-shrink: 0;
  stroke: white;
  }
  
  .contact-info-text,
  .contact-info-email,
  .contact-info-address {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
  }
  
  @media (max-width: 640px) {
    .contact-info-text,
    .contact-info-email,
    .contact-info-address {
      font-size: 18px;
    }
  }
  
  .yellow-divider {
    background-color: rgba(248, 182, 45, 1);
    display: flex;

    margin-top: 84px;
    width: 100%;
  }
  
  @media (max-width: 991px) {
    .yellow-divider {
      max-width: 100%;
      margin-top: 40px;
    }
  }
  
  /* Footer styles */
  .footer {
    background-color: rgba(70, 70, 70, 1);
    display: flex;
    width: 100%;
    padding: 20px 60px;
    flex-direction: column;
    align-items: start;
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
  }
  
  @media (max-width: 991px) {
    .footer {
      max-width: 100%;
      padding: 40px 20px;
    }
  }
  
  .footer-logo {
    aspect-ratio: 5.76;
    object-fit: contain;
    object-position: center;
    width: 280px;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
  }
  
  .footer-contact {
    font-weight: 400;
    line-height: 1.8;
    margin-top: 16px;
    font-size: 18px;
    background-color: rgba(60, 60, 60, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
  }
  
  .footer-contact span {
    display: inline-block;
    margin-bottom: 8px;
  }
  
  @media (max-width: 991px) {
    .footer-contact {
      margin-left: 0;
      font-size: 16px;
      padding: 15px;
    }
  }
  
  .footer-copyright {
    font-weight: 300;
    align-self: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    text-align: center;
  }
  
  @media (max-width: 991px) {
    .footer-copyright {
      max-width: 100%;
      margin-top: 40px;
    }
  }
  
  /* Utility classes for product display */
  .no-results {
    text-align: center;
    padding: 40px 0;
    font-size: 18px;
    color: #666;
  }
  
  .disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
  }

  .download-banner-link {
    text-decoration: none;
    display: block;
  }
  
  .download-banner-link .download-text {
    text-decoration: none;
    color: white;
  }

  /* 浮動訂購單*/
  .floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(248, 182, 45, 1);
    color: white;
    padding: 26px 26px;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    font-size: 22px;
  }
  
  .floating-button:hover {
    background-color: #0097a7;
    transform: scale(1.05);
  }

