@charset "UTF-8";
.sticky,
.bypostauthor,
.screen-reader-text {
  outline: none;
}

  * {
    box-sizing: border-box;
  }
  body {
	  margin: 0;
	  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	  color: #1a1a2e;
	  padding: 0;
	  box-shadow: inset -20px 0 20px -10px rgba(0, 0, 0, 0.2); /* 內陰影 */
	  min-height: 100vh; /* 確保 body 至少佔據整個 viewport 的高度 */
	}
  a {
    text-decoration: none;
    color: inherit;
  }
  button {
    cursor: pointer;
  }

  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  /* Header */
  header {
    background: #1F385F;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 14px;
    position: relative;
  }
  header .contact-info {
    /*display: flex;
    gap: 20px;*/
	width:100%
  }
  .list-inline {
		margin-bottom:0px;
	}
	.last{
		text-align: end;
	}
  .list-inline li{ display:inline-block; padding:0px 5px;}
  header .contact-info span {
    
  }
  header .contact-info svg {
    width: 16px;
    height: 16px;
    fill: white;
  }
  header .btn-visit {
    border: 1px solid #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
  }
  header .btn-visit:hover {
    background: #d5a47f;
    border-color: #d5a47f;
  }
  
  .form-control { margin-bottom:15px;}
  .btn-primary{background: #1F385F;}

  /* Hero Section - Now contains logo and navigation */
  .hero {
	  position: relative;
	  background: url('../../assets/images/slide.png') center center/cover no-repeat;
	  height: 98vh;
	  display: flex;
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
	  color: #fff;
	  text-align: center;
	  padding: 120px 20px 0; 
	}
	  .hero .overlay {
	  position: absolute;
	  top: 0;
	  left: 0;
	  display: block;
	  /*background: rgba(0, 0, 0, 0.6); *//* Black see-through */
	  z-index: 10;
	  height: 98vh;
	  width:100%;
	  padding-top: 45vh;
	}
	
.hero.about-hero {
  background-image: url(../images/about_banner2.png);
  background-size: cover;
  height: 35vh; /* Adjust height as needed */
  padding-top: 20px; /* Adjust padding as needed */
  padding-bottom: 20px;
  background-repeat: no-repeat;
  background-position: left;
}

.hero.page-hero {
  background-image: url(../images/about_banner3.png);
  background-size: cover;
  height:  35vh; /* Adjust height as needed */
  padding-top: 20px; /* Adjust padding as needed */
  padding-bottom: 20px;
  background-repeat: no-repeat;
  background-position: left;
}

/*.about-hero .hero-nav .nav-link {
  color: #121B24; 
}*/
.hero.about-hero .overlay {
  height: auto; /* Adjust overlay height as needed */
}

  /* Logo in hero */
  .logo-container {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }
  .logo-container img {
    height: 80px;
    margin: auto;
  }
  
  /* Desktop Navigation in hero */
  .hero-nav {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    /*background: rgba(31, 56, 95, 0.8); */
    padding: 10px 0;
    z-index: 999;
  }
  
  .hero-nav .navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .hero-nav .nav-item {
    position: relative;
  }
  
  .hero-nav .nav-link {
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }
  
  .hero-nav .nav-link:hover,
  .hero-nav .nav-item:hover > .nav-link {
    background:#1F385F;
    color: #fff;
  }
  
  .hero-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2a48;
    border-radius: 0 0 6px 6px;
    min-width: 200px;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    padding: 0;
    border: none;
  }
  
  .hero-nav .dropdown-item {
    color: #eee;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .hero-nav .dropdown-item:hover {
    background: #d5a47f;
    color: #1a1a2e;
  }
  
  .hero-nav .nav-item:hover > .dropdown-menu {
    display: block;
  }
	
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
	color: #B3ACA6;
}

  /* Off-Canvas Menu Styles */
  .offcanvas {
    background-color: #1F385F;
    color: white;
  }
  
  .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
  }
  
  .offcanvas-body {
    padding: 0;
  }
  
  .offcanvas-body .navbar-nav {
    width: 100%;
  }
  
  .offcanvas-body .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .offcanvas-body .nav-link {
    color: white;
    padding: 15px 20px;
    font-weight: 500;
  }
  
  .offcanvas-body .dropdown-menu {
    background-color: rgba(0,0,0,0.2);
    border: none;
    border-radius: 0;
  }
  
  .offcanvas-body .dropdown-item {
    color: white;
    padding: 10px 20px;
  }
  
  .offcanvas-body .dropdown-item:hover {
    background-color: #d5a47f;
    color: #1a1a2e;
  }
  
  /* Mobile Toggle Button */
  .navbar-toggler {
    position: absolute;
    right: 20px;
    top: 70px;
    z-index: 1001;
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 2.5em;
    height: 1.5em;
  }

  /* Hero content */
  .hero-content {
    margin-top:140px; /* Push content down below navigation */
  }
  
  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
	z-index: 11;
  }
  .hero p {
    max-width: 600px;
    font-size: 1.125rem;
	margin: 0px auto 25px;
  }
  .hero .btn-group {
    gap: 15px;
	margin: 0px auto 25px;
	font-size:12px;
  }
  .hero button {
    padding: 12px 24px;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
  }
  .hero .btn-consult {
    background: #d5a47f;
    color: #fff;
  }
  .hero .btn-procedure {
    background: #fff;
    color: #1a1a2e;
    border: 1px solid #d5a47f;
  }
  .hero .btn-consult:hover {
    background: #b4825c;
  }
  .hero .btn-procedure:hover {
    background: #d5a47f;
    color: #fff;
  }

  /* Rest of your existing styles... */
  /* Section: About Clinic */
  section.about-clinic {
    display: flex;
    gap: 40px;
    padding: 60px 20px;
    align-items: center;
    background: #fff;
  }
  section.about-clinic .text {
    flex: 1;
  }
  section.about-clinic .text .subtitle {
    display: inline-block;
    background: #1a2a4f;
    color: #fff;
    padding: 5px 14px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }
  section.about-clinic .text h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
  }
  section.about-clinic .text p {
    font-size: 1rem;
    color: #555;
    max-width: 520px;
    margin-bottom: 30px;
  }
  section.about-clinic .text button {
    border: 1px solid #1a2a4f;
    background: transparent;
    color: #1a2a4f;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
  }
  section.about-clinic .text button:hover {
    background: #1a2a4f;
    color: #fff;
  }
  section.about-clinic .image-wrapper {
    flex: 1;
    position: relative;
  }
  section.about-clinic .image-wrapper img.main-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  section.about-clinic .image-wrapper img.sub-img {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 150px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }

  /* Section: Credentials */
  section.credentials {
    text-align: center;
    padding: 40px 20px;
    background: #f7f5f0;
  }
  section.credentials p {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
  }
  section.credentials .logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  section.credentials .logos img {
    max-height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  section.credentials .logos img:hover {
    opacity: 1;
  }

  /* Section: Procedures Grid */
  section.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 60px 0px;
	 background: #fff;

  }
  section.procedures-grid .procedure-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
  }
  section.procedures-grid .procedure-card img {
    width: 100%;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }
  section.procedures-grid .procedure-card:hover img {
    transform: scale(1.05);
  }
  section.procedures-grid .procedure-card .overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.7);
  }
  section.procedures-grid .procedure-card .overlay-sub {
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: 400;
  }

  /* Section: Anti-Aging Experts */
  section.anti-aging {
    display: flex;
    gap: 50px;
    padding: 60px 20px;
    background: #fff;
    align-items: center;
  }
  section.anti-aging .content {
    flex: 1;
  }
  section.anti-aging .content .subtitle {
    background: #1a2a4f;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 18px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 20px;
  }
  section.anti-aging .content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  section.anti-aging .content p {
    color: #555;
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: 30px;
  }
  section.anti-aging .content button {
    border: 1px solid #1a2a4f;
    background: transparent;
    color: #1a2a4f;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
  }
  section.anti-aging .content button:hover {
    background: #1a2a4f;
    color: #fff;
  }
  section.anti-aging .image {
    flex: 1;
    position: relative;
  }
  section.anti-aging .image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  /* Slider style simplified for example */
  .slider {
    position: relative;
    overflow: hidden;
  }
  .slider img {
    width: 100%;
    display: block;
  }

  /* Section: Popular Procedures */
  section.popular-procedures {
    padding: 60px 20px;
    background: #f7f5f0;
    text-align: center;
  }
  section.popular-procedures h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  .procedure-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
  }
  .procedure-list button {
    background: #f7f5f0;
    border: 1px solid #1a2a4f;
    color: #1a2a4f;
    padding: 8px 18px;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  .procedure-list button.active,
  .procedure-list button:hover {
    background: #1a2a4f;
    color: #fff;
  }
  .procedure-details {
    max-width: 600px;
    margin: 0 auto 40px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  .procedure-details h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
  }
  .procedure-details p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
  }
  .procedure-details button {
    margin-top: 20px;
    border: 1px solid #1a2a4f;
    background: transparent;
    color: #1a2a4f;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
  }
  .procedure-details button:hover {
    background: #1a2a4f;
    color: #fff;
  }

  /* Section: Offers */
  section.offers {
    padding: 60px 20px;
    background: #fff;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .offer-card {
    width: 350px;
    background: #f7f5f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
  }
  .offer-card img {
    width: 100%;
    display: block;
  }
  .offer-card .tag {
    background: #1a2a4f;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 18px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin: 15px 20px 10px;
    border-radius: 2px;
  }
  .offer-card h4 {
    margin: 0 20px 20px;
    font-size: 1.25rem;
  }
  .offer-card p {
    margin: 0 20px 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.4;
  }
  .offer-card a {
    display: inline-block;
    margin: 0 20px 25px;
    font-weight: 600;
    color: #1a2a4f;
    text-decoration: underline;
  }

  /* Section: Testimonials */
  section.testimonials {
    padding: 60px 20px;
    background: #f7f5f0;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }
  section.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .stars {
    color: #d5a47f;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
  }
  .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
  }
  .testimonial-author span {
    font-weight: 700;
    color: #1a1a2e;
  }
  .testimonial-author small {
    font-size: 12px;
    color: #888;
  }

  /* Section: Footer */
  footer {
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
  }

  .footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-container > div {
    margin: 10px;
    text-align: left;
  }

  
  
  .footerlist {
    width: 100%;
	font-size:13px;
  }

  footer .logo img {
    max-width: 150px;
    margin-bottom: 10px;
  }

  .contacts .social-icons a {
    display: inline-block;
    margin: 5px;
    font-size: 1.5em;
    color: #fff;
    text-decoration: none;
  }

  .copyright {
    margin-top: 20px;
    text-align: center;
  }
  
   .back-to-top {
		position: fixed;
		bottom: 10px;
		float: right;
		right: 15px;
		max-width: 50px;
		max-height: 50px;
		width: 100%;
		font-size: 30px;
		border-color: rgba(31, 56, 95, 0.2);
		background-color: rgb(31, 56, 95);
		padding: 10px 20px 20px 18px;
		border-radius: 4px;
		display:none;
    }
/*On Hover Color Change*/
    .back-to-top:hover {
        background-color: #0A1425;
    }
	.pop-up-whatsapp {
		display: block;
		position: fixed;
		right: 10px;
		bottom: 70px;
		z-index: 10;
		background-image: url(../images/whatsapp-logo-hd.png);
		background-size: 100% 100%;
		width: 55px;
		height: 55px;
		cursor: pointer;
	}
	
	.about-header {
		background-image: url(../images/background-small.webp);
		background-size: 100% 100%;
		padding: 0px;
		text-align: center;
  }
  
  .about-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
  }
  
  .about-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .about-section {
    padding: 60px 0;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .why-choose-us {
    background-color: #f5f7fa;
    padding: 80px 0;
    text-align: center;
  }
  
  .why-choose-us h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  .why-choose-us p {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .value-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
  }
  
  .value-card:hover {
    transform: translateY(-10px);
  }
  
  .value-card i {
    font-size: 2.5rem;
    color: #1F385F;
    margin-bottom: 20px;
  }
  
  .value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .value-card p {
    font-size: 1rem;
    color: #666;
  }
  .flexisel li{ list-style:none;}
  @media (max-width: 768px) {
	.navbar-expand-lg{display:none;}
    .about-content {
      flex-direction: column;
	  padding: 0px 20px;
    }
    
    .about-text, .about-image {
      flex: none;
      width: 100%;
    }
	
	.logintop{display:none;}
	.footerlist .row>* {padding:0px;}
  }

@media (max-width: 768px) {
	.pop-up-whatsapp {
		right: 10px;
		bottom: 90px;
	}

	.about-content {
		margin-bottom: 20px;
	}
	
}
/* Responsive */
@media (max-width: 991px) {
	.hero {
	  padding-top: 100px; /* Less top padding on tablet */
	}
	.hero-nav {
	  display: none; /* Hide desktop nav on mobile */
	}
	section.about-clinic,
	section.anti-aging {
	  flex-direction: column;
	}
	section.about-clinic .image-wrapper,
	section.anti-aging .image {
	  width: 100%;
	}
	section.procedures-grid {
	  grid-template-columns: repeat(2, 1fr);
	}
	section.offers {
	  justify-content: center;
	}
}
@media (max-width: 600px) {
	header {
	  flex-direction: column;
	  gap: 10px;
	  font-size: 12px;
	}
	.hero {
	  height: 70vh;
	  padding: 80px 10px 0; /* Adjusted padding for mobile */
	}
	.hero h1 {
	  font-size: 2rem;
	}
	.hero p {
	  font-size: 0.9rem;
	}
	.hero .overlay {
		padding: 20vh 15px 0px 15px;
		height: 70vh;
	}
	.hero .btn-group {
		display: block;
		margin-bottom:10px;
	}
	.hero .btn-consult {
		background: #d5a47f;
		color: #fff;
		font-size: 12px;
		margin-bottom: 15px;
		width: 70%;
	}

	.hero .btn-procedure {
		background: #fff;
		color: #1a1a2e;
		font-size: 12px;
		margin-bottom: 15px;
		width: 70%;
		border: 1px solid #d5a47f;
	}

	.logo-container img {
	  height: 80px; /* Smaller logo on mobile */
	}
	section.procedures-grid {
	  grid-template-columns: 1fr;
	  padding: 40px 0px;
	}
	section.about-clinic .text h2,
	section.anti-aging .content h2 {
	  font-size: 1.6rem;
	}
	section.offers {
	  flex-direction: column;
	  padding: 40px 10px;
	}
	section.offers .offer-card {
	  width: 100%;
	}
	section.popular-procedures .procedure-list {
	  flex-direction: column;
	  gap: 10px;
	}
}
  
  /* About Clinic Section - Updated Style */
.about-clinic-bg{
	background: #fff;
}
section.about-clinic {
  display: flex;
  gap: 60px;
  padding:80px 20px 20px 20px;
  align-items: center;
  position: relative;
}

section.about-clinic .text {
  flex: 1;
  padding-right: 40px;
}

section.about-clinic .text .subtitle {
  display: inline-block;
  background: #1a2a4f;
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

section.about-clinic .text h2 {
  font-size: 2.8rem;
  margin: 0 0 25px;
  line-height: 1.2;
  color: #1a1a2e;
  font-weight: 700;
}

section.about-clinic .text p {
  font-size: 1.1rem;
  color: #555;
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.clinic-features {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
}

.feature-item i {
  color: #d5a47f;
  margin-right: 12px;
  font-size: 1.2rem;
}

.btn-learn-more {
  background: #1a2a4f;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 3px;
  border: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-learn-more:hover {
  background: #d5a47f;
  transform: translateY(-2px);
}

section.about-clinic .image-wrapper {
  flex: 1;
  position: relative;
}

section.about-clinic .image-wrapper img.main-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background: #d5a47f;
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.brand{ background:#fff; }

@media (max-width: 991px) {
	section.about-clinic .text .subtitle {
		font-size: 13px;
	}
	section.about-clinic .text h2 {
		font-size: 2rem;
	}
	section.about-clinic {
		flex-direction: column;
		padding: 60px 20px;
	}

	section.about-clinic .text {
		padding-right: 0;
		margin-bottom: 0px;
	}

	.experience-badge {
		right: 33%;
		transform: translateX(50%);
		bottom: -20px;
		background: rgba(213, 164, 127, 0.8);
	}
}

.product-grid-container {
  padding: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-image-cart{
	max-width:50px;
	
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

.product-info {
  padding: 15px;
}

.product-name {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-code {
  color: #666;
  font-size: 12px;
  margin-bottom: 8px;
}

.price-container {
  margin: 10px 0;position:relative;
}

.current-price {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}

.original-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 5px;
}

.product-attributes {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #eee;
}

/* Sorting and Filtering */
.sorting-options {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.sorting-options a {
  color: #666;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sorting-options a.on, 
.sorting-options a:hover {
  color: var(--primary-color);
  background: rgba(247, 75, 86, 0.1);
}

.sorting-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  font-size: 14px;
  margin-left: 10px;
}

/* Category Navigation */
.category-nav {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.category-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-nav li {
  margin-bottom: 8px;
}

.category-nav a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.category-nav a:hover,
.category-nav a.active {
  color: var(--primary-color);
  font-weight: bold;
}

.sidebar {
    width: 250px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-right: 30px;
}

.sidebar-title {
    font-size: 1.1rem;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f8f9fa;
}

.nav-item.active > .nav-link {
    background-color: #eee;
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 5px 0 5px 20px;
    display: none;
}

.nav-item.active .submenu {
    display: block;
}

.submenu-item {
    margin-bottom: 3px;
}

.submenu-link {
    display: block;
    padding: 8px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.submenu-link:hover {
    background-color: #f0f0f0;
    color: #f74b56;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .product-image-container {
    height: 180px;
  }
  
  .sorting-options {
    justify-content: flex-start;
  }
}


/* 搜索框 */
.search-container {
  display: flex;
  margin-bottom: 25px;
  max-width: 500px;
}

.search-container input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.search-container input[type="submit"] {
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-container input[type="submit"]:hover {
  background: #e03c46;
}

.video-grid-container {
  padding: 30px 0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.video-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.video-thumbnail-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-icon:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 25px solid var(--primary-color);
  margin-left: 5px;
}

.share-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-button img {
  width: 16px;
  height: 16px;
}

.video-info {
  padding: 15px;
}

.video-date {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.video-title {
  font-size: 16px;
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.video-category {
  font-size: 13px;
  color: #666;
}

.video-category a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.video-category a:hover {
  color: var(--primary-color);
}

/* 搜索框 */
.search-container {
  display: flex;
  margin-bottom: 25px;
  max-width: 500px;
  float: right;
}

.search-container input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

.search-container input[type="submit"] {
  padding: 10px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-container input[type="submit"]:hover {
  background: #e03c46;
}


/* 视频模态框 */
.modal-content {
  border-radius: 8px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 10px 15px;
}

.modal-body {
  padding: 0;
}

.modal-body iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  opacity: 1;
  z-index: 10;
}
.input-group-text{
	height:38px;
}

/* General table improvements */
.enquiry_salelist {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.enquiry_salelist tr:nth-child(even) {
    background-color: #f9f9f9;
}

.enquiry_salelist td {
    padding: 12px 8px;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
}

.enquiry_salelist tr:hover td {
    background-color: #f5f5f5;
}

/* Form improvements */
.form-control {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* Button improvements */
.btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-warning:hover {
    background-color: #ec971f;
    border-color: #d58512;
}

/* Mobile improvements */
@media (max-width: 767px) {
    .enquiry_salelist td {
        padding: 8px 4px;
        font-size: 13px;
    }
    
    .formhide {
        display: none;
    }
    
    .formshowmobile {
        display: block;
        font-size: 12px;
        color: #666;
    }
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #333;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.checkout-container {
	max-width: 1200px;
	margin: 0 auto;
}

.quantity-selector {
	width: 80px;
}
.summary-card {
	position: sticky;
	top: 20px;
	border-radius: 10px;
}
.form-section {
	background: #f8f9fa;
	border-radius: 10px;
	padding: 25px;
}
.nav-pills .nav-link.active {
	background-color: #0d6efd;
}
.coupon-input {
	max-width: 300px;
}
@media (max-width: 768px) {
	.checkout-steps {
		flex-direction: column;
	}
}

.product-grid-container {
	padding: 30px 0;
}

.page-title {
	font-size: 24px;
	margin-bottom: 20px;
	color: #333;
	font-weight: 600;
}

.sorting-options {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	flex-wrap: wrap;
	gap: 10px;
}

.sorting-options a {
	padding: 8px 15px;
	background: #f8f9fa;
	border-radius: 4px;
	color: #495057;
	text-decoration: none;
	transition: all 0.3s;
}

.sorting-options a.on, 
.sorting-options a:hover {
	background: #0d6efd;
	color: white;
}

.sorting-select {
	padding: 8px 15px;
	border-radius: 4px;
	border: 1px solid #ced4da;
	background-color: white;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.product-image-container {
	position: relative;
	overflow: hidden;
	padding-top: 100%; /* 1:1 Aspect Ratio */
}

.product-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.product-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #dc3545;
	color: white;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: bold;
}

.product-info {
	padding: 30px;
}

.product-title {
	font-size: 16px;
	margin-bottom: 10px;
	color: #333;
	font-weight: 500;
	height: 40px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.product-price {
	margin-bottom: 10px;
}

.current-price {
	font-size: 18px;
	font-weight: bold;
	color: #0d6efd;
}

.original-price {
	font-size: 14px;
	color: #6c757d;
	text-decoration: line-through;
	margin-left: 8px;
}

.product-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 10px;
}

.size-badge {
	padding: 3px 8px;
	background: #f8f9fa;
	border-radius: 4px;
	font-size: 12px;
}

.product-colors {
	display: flex;
	gap: 5px;
	margin-bottom: 15px;
}

.color-circle {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid #dee2e6;
}

.add-to-cart-btn {
	background-color: #fff;
    border: 1px solid #1F385F;
    color: #1F385F;
    font-size: 12px;
    padding: 10px 15px;
    cursor: pointer;
	width:100%;
}

.add-to-cart-btn:hover {
	background-color: #1F385F;color: #fff;
}

.sold-out-btn {
	width: 100%;
	padding: 8px;
	background: #6c757d;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: not-allowed;
}

.empty-state {
	text-align: center;
	padding: 50px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 30px 0;
}

.empty-state i {
	font-size: 50px;
	color: #adb5bd;
	margin-bottom: 20px;
}

@media (max-width: 767.98px) {
    .category-nav {
        padding: 15px;
    }
    
    .category-nav h3 {
        font-size: 18px;
        margin-bottom: 10px;
		color: #1a1a2e;
    }
    
    .category-nav ul {
        margin: 0;
    }
    
    .category-nav li {
        margin-bottom: 5px;
    }
    
    .category-nav a {
        padding: 8px 10px;
        font-size: 14px;
    }
	
	.offcanvas-body .nav-link {
		color: #1a1a2e;
		padding: 15px 20px;
		font-weight: 500;
	}
	
	.sidebar-filter {
		color: #1a1a2e;
	}
    
    /* 侧边栏优化 */
    .offcanvas-body {
        padding: 15px;
    }
	
	.offcanvas-body .sidebar {
		width: 100%;
	}
    
    /* 固定底部导航优化 */
    .fixed-bottom {
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
}
/* Alert improvements */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

/* Side menu for mobile */
.side-menu-container {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
}

.side-menu-container.active {
    right: 0;
}

.close-menu-btn {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}


.badge{
	color:#666;
}
/* 基礎樣式 */
.brand-section {
	padding: 40px 0;
}

/* 字母導航 */
.letter-nav {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 30px;
}

.letter-nav h4 {
	margin-bottom: 15px;
	color: #333;
}

.letter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.letter-list li {
	margin: 0;
}

.letter-list a {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s;
}

.letter-list a:hover,
.letter-list a.active {
	background: #eeeeee;
	color: white;
	border-color: #007bff;
}

/* 品牌列表 */
.brand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
}

.brand-card {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 15px rgba(0,0,0,0.1);
	transition: transform 0.3s, box-shadow 0.3s;
}

.brand-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.brand-image {
	height: 180px;
	overflow: hidden;
}

.brand-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.brand-card:hover .brand-image img {
	transform: scale(1.05);
}

.brand-info {
	padding: 15px;
}

.brand-name {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: #333;
}

.brand-desc {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 加載指示器 */
.loading-indicator {
	display: none;
	text-align: center;
	padding: 20px;
}

.loading-indicator i {
	font-size: 24px;
	color: #007bff;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 響應式設計 */
@media (max-width: 767px) {
	.letter-list a {
		width: 35px;
		height: 35px;
		line-height: 35px;
		font-size: 0.9rem;
	}
	
	.brand-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
	
	.brand-image {
		height: 120px;
	}
}

@media (max-width: 575px) {
	.letter-nav {
		padding: 15px;
	}
	
	.brand-grid {
		grid-template-columns: 1fr;
	}
}
		
.brand-section {
	position: relative;
	padding: 30px 0;
}
.leftmenu {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 15px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.leftmenu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.leftmenu li a {
	display: block;
	padding: 10px 15px;
	color: #495057;
	text-decoration: none;
	border-radius: 4px;
	margin-bottom: 5px;
	transition: all 0.2s;
}
.leftmenu li a:hover,
.leftmenu li a.active {
	background: #e9ecef;
	color: #007bff;
}
.brand-content {
	background: white;
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.brand-content h3 {
	color: #2c3e50;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}
.description-content img,.brand-content img{ max-width:100% !important; height: auto !important;}
.intro {
	line-height: 1.8;
	color: #555;
}
table {
	width: 100% !important;
	margin-bottom: 1rem;
	background-color: transparent;
}
table td, table th {
	padding: 0.75rem;
	vertical-align: top;
	border-top: 1px solid #dee2e6;
}
table thead th {
	vertical-align: bottom;
	border-bottom: 2px solid #dee2e6;
}
table tbody + tbody {
	border-top: 2px solid #dee2e6;
}
 @media (max-width: 991.98px) {
	.mobile-menu-toggle {
        display: block;
        background: #eeeeee;
        color: #1F385F;
        padding: 10px;
        text-align: center;
        cursor: pointer;
        margin-bottom: 15px;
        border-radius: 4px;
        border: none;
    }
	.side-menu-container {
		position: fixed;
		top: 0;
		left: -300px;
		width: 280px;
		height: 100vh;
		background: white;
		z-index: 1050;
		transition: all 0.3s;
		box-shadow: 2px 0 10px rgba(0,0,0,0.1);
		overflow-y: auto;
		padding: 0px;
	}
	.side-menu-container.show {
		left: 0;
	}
	.side-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0,0,0,0.5);
		z-index: 1040;
		display: none;
	}
	.side-menu-container .card {
		box-shadow: none;
		border: none;
		height: 100%;
	}
	.main-content {
		transition: all 0.3s;
	}
	.menu-shifted {
		transform: translateX(280px);
	}
}

/* 通用樣式改進 */
.customer-guide-section {
	position: relative;
}
.list-group-item.active {
	background-color: #f8f9fa;
	border-left: 4px solid #007bff;
	color: #007bff;
}
.list-group-item a {
	display: flex;
	align-items: center;
	color: #495057;
	text-decoration: none;
}
.list-group-item a:hover {
	color: #007bff;
}
.list-group-item i {
	transition: all 0.2s;
}
.list-group-item.active i,
.list-group-item a:hover i {
	transform: translateX(3px);
}
.card {
	border-radius: 8px;
	box-shadow: 0 2px 15px rgba(0,0,0,0.05);
	border: none;
}
.card-header {
	border-radius: 8px 8px 0 0 !important;
}
.content {
	line-height: 1.8;
}
.content img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
  
  .video-thumbnail-container {
    height: 150px;
  }
  
  .video-title {
    font-size: 14px;
  }
  
  .search-container {
    float: none;
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #666;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 20px 0;
}

.pagination a {
  padding: 8px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.product-container {
  --content-width: 1400px;
  max-width: var(--content-width); /* 確保容器最大寬度不超過設定值 */
  margin: 0 auto; /* 讓容器水平居中 */
}

.products {
    font-family: sans-serif;
    margin: 20px 50px 50px 50px;
  }
.products h2{
	text-align:center;
}
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 響應式佈局 */
    gap: 20px;
  }

  .product-item {
    border: 0px solid #ddd;
    padding: 10px;
    text-align: left;
  }
  
  .center{text-align:center; }

  .image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 比例 */
    overflow: hidden;
  }

  .product-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-item h3 {
    margin-top: 10px;
    font-size: 1.2em;
  }

  .product-item .price {
    color: #888;
    margin-bottom: 5px;
  }

  .product-item .price del {
    color: #aaa;
    margin-right: 5px;
  }

  .product-item .rating {
    color: #ffc107;
    margin-bottom: 5px;
  }

  .product-item .add-to-cart {
    color: #1F385F;
	background:none;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    width: 100%;
  }

  .out-of-stock,
  .discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(31, 56, 95, 0.7);
    color: white;
    padding: 5px;
    font-size: 0.8em;z-index: 2;
  }

  .discount {
    background-color: rgba(0, 0, 150, 0.7);
  }

  .view-all {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
  }

  .read-more {
    display: block;
    color: #007bff;
    text-decoration: none;
    margin-bottom: 5px;
  }
  .loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
/* 購物車通知主容器 */
.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    max-width: 90%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid #4CAF50;
    overflow: hidden;
}

/* 顯示狀態 */
.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* 通知內容區域 */
.cart-notification-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 圖標樣式 */
.cart-notification .fa-check-circle {
    color: #4CAF50;
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

/* 文字訊息 */
.cart-notification span {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
}

/* 按鈕容器 */
.cart-notification-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: flex-end;
}

/* 通用按鈕樣式 */
.cart-notification button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

/* 繼續購物按鈕 */
.cart-notification .btn-continue {
    background-color: #f5f5f5;
    color: #333;
}

.cart-notification .btn-continue:hover {
    background-color: #e0e0e0;
}

/* 前往結帳按鈕 */
.cart-notification .btn-checkout {
    background-color: #4CAF50;
    color: white;
}

.cart-notification .btn-checkout:hover {
    background-color: #3d8b40;
}

/* 動畫效果 */
@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* 響應式設計 */
@media (max-width: 480px) {
    .cart-notification {
        width: 280px;
        right: 10px;
        bottom: 10px;
    }
    
    .cart-notification-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

/* 關閉按鈕 (可選) */
.cart-notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    padding: 4px;
}

.cart-notification-close:hover {
    color: #666;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.add-to-cart, .view-all {
    background-color: #fff;
    border: 1px solid #1F385F;
    color: #1F385F;
    font-size: 12px;
    padding: 10px 15px;
    cursor: pointer;
}
.add-to-cart:hover, .view-all:hover {
	background-color: #1F385F;color: #fff;
}
@media (max-width: 991px) {
	.product-item {
		width: 100%;
	}
}
.meet-experts {
	text-align: center;
	margin: 20px;
}
.expert-grid {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px;
}
.expert-card {
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 15px;
	width: 250px;
	background-color: #f9f9f9;
	text-align: center;
}
.expert-card img {
	border-radius: 50%;
	width: 100px;
	height: 100px;
}
.open-profile {
	display: inline-block;
	margin-top: 10px;
	background-color: #007bff;
	color: white;
	padding: 8px 12px;
	border-radius: 5px;
	text-decoration: none;
}
.open-profile:hover {
	background-color: #0056b3;
}
.btn-search{
    height: 42px;
}
.meet-team {
	margin-top: 20px;
	background-color: #007bff;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}
.meet-team:hover {
	background-color: #0056b3;
}

  .promotion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
	
  }
  .promo-content {
    align-content: initial;
    align-items: flex-end;
    align-self: auto;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    flex-wrap: wrap;
    justify-content: center;
	padding: 0px 0px;
  }
  .promo-content h2 {
    color: #007bff;
  }
  .promo-content h3 {
    font-size: 1.5em;
  }
  .promo-content h1 {
    font-size: 2.5em;
    margin: 10px 0;
  }
  .promo-content p {
    margin: 20px 0;
  }
  .promo-content button {
    border: 1px solid #1a2a4f;
    background: #1a2a4f;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
  }
  .promo-content button:hover {
    background-color: #fff;
	 border: 1px solid #1a2a4f;
  }
  .promotion .promo-content img {
    max-width: 100%; /* 確保圖片寬度不超過容器 */
    height: auto; /* 讓圖片高度自動調整 */
    object-fit: cover; /* 填滿容器，可能會裁剪 */
    object-position: center; /* 圖片中心對齊容器中心 */
  }

  /* 手機版樣式 */
  @media (max-width: 767px) {
	.hero .btn-group {
	  display: block;
	  margin-bottom: 10px;
	}

	.hero .btn-consult {
	  background: #d5a47f;
	  color: #fff;
	  font-size: 12px;
	  margin-bottom: 15px;
	  width: 70%;
	}

	.hero .btn-procedure {
	  background: #fff;
	  color: #1a1a2e;
	  font-size: 12px;
	  margin-bottom: 15px;
	  width: 70%;
	  border: 1px solid #d5a47f;
	}
	.products {
		font-family: sans-serif;
		margin: 20px 10px 50px 10px;
	}
    .promotion .promo-content {
      width: 100%; /* 設定容器寬度 */
      height: 200px; /* 設定容器高度，根據你的需求調整 */
      overflow: hidden; /* 隱藏超出容器的部分 */
    }
	.promotion .promo-content img {
		max-width: 125%;
	}
  }
  
  /* Mega Menu 樣式 */
  .mega-menu {
    position: static !important;
  }
  
  .mega-menu .dropdown-menu {
    max-width: 1200px; /* Or any desired width */
    right: 0;
    top: 53px;
    padding: 20px;
    background: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0;
    margin-top: 0;
    margin-left: auto; /* Add these two lines to center */
    margin-right: auto;
  }
  
  /* Container for Mega Menu Content */
  .mega-menu-container {
    margin: 0 auto;
  }

  .mega-menu-content {
    display: flex;
  }
  
  .mega-menu-column {
    flex: 1;
    padding: 0 15px;
  }
  
  .mega-menu-column h5 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
  }
  
  .mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mega-menu-column ul li {
    margin-bottom: 8px;
  }
  
  .mega-menu-column ul li a {
    color: #666;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
  }
  
  .mega-menu-column ul li a:hover {
    color: #007bff;
    padding-left: 5px;
  }
  
  .mega-menu-featured {
    border-left: 1px solid #eee;
    padding-left: 30px !important;
  }
  
  .mega-menu-featured img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
  }
  
  .mega-menu-featured h6 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .mega-menu-featured p {
    font-size: 13px;
    color: #777;
  }
  
  @media (max-width: 1024px) {
	  navbar>.container-fluid{
		  display:none;
	  }
  }
  
  /* 響應式調整 */
  @media (max-width: 992px) {
    .mega-menu .dropdown-menu {
      position: static !important;
      transform: none !important;
      width: 100%;
		  left: 0; /* Reset left to 0 for full width on smaller screens */
    }
    
    .mega-menu-content {
      flex-direction: column;
    }
    
    .mega-menu-column {
      margin-bottom: 20px;
    }
    
    .mega-menu-featured {
      border-left: none;
      border-top: 1px solid #eee;
      padding-left: 15px !important;
      padding-top: 20px;
      margin-top: 20px;
    }
  }

  /* Mobile Menu Styles (Example - Adjust as needed) */
  @media (max-width: 768px) {
    .navbar-nav {
      display: block; /* Hide the desktop menu */
    }

    .navbar-toggler {
      display: block !important; /* Ensure the toggler is visible */
    }
	.hero-content{margin-top: 70px;}
	
	.navbar-toggler-icon {
		background-repeat: no-repeat;
		background-position: center;
		background-size: 100%;
		background-color:#1F385F;
		padding:20px;
		border-radius:5px;
	}
	
	.navbar-toggler {
		right: 10px;
	}
  }

  /* Off-Canvas Menu Styles */
  .offcanvas {
    background-color:#1F385F; 
    color: white;
  }

  .offcanvas-title {
    color: white;
  }

  .offcanvas-body .navbar-nav .nav-link {
    color: white;
  }

  .offcanvas-body .navbar-nav .nav-link:hover {
    color: #007bff;
  }

  .btn-close-white { /* Style the close button */
    color: white !important;
  }
  
  
  .main-navbar {
	position: absolute;
	top: 90px;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
	z-index:20;
}

.main-navbar .navbar-nav {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.main-navbar .nav-item {
  position: relative;
  padding: 0 0.8rem;
}

.main-navbar .nav-link {
  color: #fff;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link[aria-expanded="true"] {
  color: #0066cc;
 
}

.main-navbar .nav-link::after {
	content: '';
	position: absolute;
	bottom: 22px;
	left: 90%;
	width: 0;
	height: 2px;
	/* background-color: #0066cc; */
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.main-navbar .dropdown-toggle::after {
  margin-left: 0.5em;
  vertical-align: 0.15em;
  transition: transform 0.2s ease;
}

.main-navbar .show .dropdown-toggle::after {
  transform: rotate(180deg);
}

.main-navbar .mega-menu {
  position: static;
}

.main-navbar .mega-menu__content {
  width: 100%;
  left: 0;
  right: 0;
  padding: 1.5rem 0;
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-top: 0;
  border-top: 1px solid #eee;
}

.main-navbar .mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.main-navbar .mega-menu__column {
  padding: 0 1rem;
}

.main-navbar .mega-menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navbar .mega-menu__item {
  margin-bottom: 0.5rem;
}

.main-navbar .mega-menu__link {
  color: #555;
  padding: 0.5rem 0;
  display: block;
  transition: all 0.2s ease;
}

.main-navbar .mega-menu__link:hover {
  color: #0066cc;
  padding-left: 0.5rem;
}
.dropdown-menu h6{ margin-top:20px;}

.mega-menu__category-group {
  margin-bottom: 1.5rem;
}

.mega-menu__category-group:last-child {
  margin-bottom: 0;
}

.mega-menu__category-title {
  color: #222;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.mega-menu__subcategory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu__subcategory-item {
  margin-bottom: 0.5rem;
}

.mega-menu__subcategory-item:last-child {
  margin-bottom: 0;
}

.mega-menu__subcategory-item.active .mega-menu__subcategory-link {
  color: #0066cc;
  font-weight: 500;
}

.mega-menu__subcategory-link {
  color: #555;
  padding: 0.25rem 0;
  display: block;
  transition: all 0.2s ease;
}

.mega-menu__subcategory-link:hover {
  color: #0066cc;
  padding-left: 0.5rem;
}

/* 響應式調整 */
@media (max-width: 1199.98px) {
  .mega-menu__category-group {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    margin-bottom: 0;
  }

  .mega-menu__category-group:last-child {
    border-bottom: none;
  }

  .mega-menu__category-title {
    font-size: 1rem;
  }

  .mega-menu__subcategory-link {
    padding: 0.5rem 0;
  }

  .mega-menu__subcategory-link:hover {
    padding-left: 1rem;
  }

  .main-navbar .navbar-nav {
    justify-content: flex-start;
    gap: 0;
  }

  .main-navbar .nav-item {
    padding: 0;
    width: 100%;
  }

  .main-navbar .nav-link {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
	color: #fff;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
  }
  
  .main-navbar .nav-link:hover{
	  color: #1F385F;
		padding-left: 5px;
  }

  .main-navbar .nav-link::after {
    display: none;
  }

  .main-navbar .mega-menu .mega-menu__content {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none;
    padding: 0;
  }

  .main-navbar .mega-menu .mega-menu__grid {
    grid-template-columns: 1fr;
  }

  .main-navbar .mega-menu .mega-menu__column {
    padding: 0;
    border-top: 1px solid #eee;
  }

  .main-navbar .mega-menu .mega-menu__link {
    padding: 0.75rem 2.5rem;
  }

  .main-navbar .mega-menu .mega-menu__link:hover {
    padding-left: 2.5rem;
  }
}
.coupon-section {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
}

.coupon-section h4 {
    color: #6c757d;
    font-size: 1.1rem;
}
.bg-primary{background:#1F385F !important;}
#coupon_message {
    padding: 0.5rem;
    border-radius: 4px;
}

#coupon_message.success {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

#coupon_message.error {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

#coupon-apply-btn {
    white-space: nowrap;
}
.account-section {
	margin-top: 30px;
}

.account-avatar {
	text-align: center;
	margin-bottom: 20px;
}

.account-avatar img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--light);
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.account-menu .nav-link {
	padding: 10px 15px;
	color: var(--dark);
	border-radius: 4px;
	margin-bottom: 5px;
	transition: all 0.3s;
}

.account-menu .nav-link:hover,
.account-menu .nav-link.active {
	background-color: var(--primary);
	color: white;
}

/* 规格选择样式 */
/* 规格选择样式 */
.spec-group {
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    margin-bottom: 10px;
}

.spec-group label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

.spec-options {
    margin-top: 8px;
}

.form-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.selected-specs-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    margin-top: 15px;
}

.selected-specs-summary h6 {
    margin-bottom: 10px;
    color: #495057;
    font-weight: bold;
}

.selected-specs-summary ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.selected-specs-summary ul li {
    padding: 5px 0;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
}

.selected-specs-summary ul li:last-child {
    border-bottom: none;
}

.spec-name {
    font-weight: 500;
}

.spec-price {
    color: #28a745;
    font-weight: bold;
}

.total-price {
    font-size: 1.1rem;
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
}

/* 禁用按钮样式 */
.btn-disabled {
    background-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.btn-disabled:hover {
    background-color: #6c757d !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .spec-group {
        padding: 8px;
    }
    
    .form-select {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .selected-specs-summary {
        padding: 10px;
    }
}


/* 統一左側菜單樣式 */
    .category-nav {
        background: #fff;
        border-radius: 8px;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .category-nav h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: #1a1a2e;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #eee;
    }
    
    .category-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .category-nav li {
        margin-bottom: 0.5rem;
    }
    
    .category-nav a {
        display: block;
        padding: 0.5rem 0.75rem;
        color: #4a4a4a;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.2s ease;
    }
    
    .category-nav a:hover,
    .category-nav a.active {
        background-color: #1F385F;
        color: white;
    }
    
    /* 移動設備菜單開關 */
    .mobile-menu-toggle {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        background: #eeeeee;
        color: #1F385F;
        border: none;
        padding: 0.75rem;
        border-radius: 4px;
        text-align: center;
    }
    
    /* 菜單遮罩層 */
    .side-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
    
    /* 左側導航菜單 (移動版) */
    .side-menu-container {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        z-index: 1050;
        transition: all 0.3s ease;
        background: white;
    }
    
    .side-menu-container.show {
        left: 0;
    }
    
    /* 主內容區 */
    .main-content .card {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    /* 產品網格 */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
        margin-bottom: 2rem;
    }
    
    @media (max-width: 767px) {
        .product-grid {
            grid-template-columns: 1fr;
        }
    }
	.category-nav ul {
		list-style: none;
		padding-left: 0;
		margin: 0;
	}

	.category-nav ul.category-level-0 {
		padding-left: 0;
	}

	.category-nav ul.category-level-1 {
		padding-left: 16px;
	}

	.category-nav ul.category-level-2 {
		padding-left: 32px;
	}

	.category-nav ul.category-level-3 {
		padding-left: 48px;
	}

	.category-item {
		position: relative;
		margin-bottom: 0.5rem;
	}

	.category-item > a {
		display: inline-block;
		padding: 0.5rem 0.75rem;
		color: #4a4a4a;
		text-decoration: none;
		border-radius: 4px;
		transition: all 0.2s ease;
		width: calc(100% - 30px);
	}

	.category-item > a:hover,
	.category-item > a.active {
		background-color: #1F385F;
		color: white;
	}

	.toggle-subcategory {
		position: absolute;
		right: 0;
		top: 0.5rem;
		background: none;
		border: none;
		width: 24px;
		height: 24px;
		cursor: pointer;
		color: #1F385F;
		font-size: 1rem;
		transition: transform 0.2s;
	}

	.toggle-subcategory.collapsed {
		
	}

	.subcategory-container {
		margin-top: 0.5rem;
	}

	.subcategory-container.collapse {
		display: none;
	}

	.subcategory-container:not(.collapse) {
		display: block;
	}

	/* 移动设备样式优化 */
	@media (max-width: 767px) {
		.category-nav ul.category-level-1 {
			padding-left: 12px;
		}

		.category-nav ul.category-level-2 {
			padding-left: 24px;
		}

		.category-nav ul.category-level-3 {
			padding-left: 36px;
		}
	}

/* Promenu 优化样式 */
.promenu-container {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.promenu-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
    font-weight: 600;
}

.promenu-scroller {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}

.promenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
}

.promenu-item {
    margin-right: 0.75rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.promenu-link {
    display: block;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.promenu-link:hover {
    background: #1F385F;
    color: #fff;
    border-color: #1F385F;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.promenu-link.active {
    background: #1F385F;
    color: #fff;
    border-color: #1F385F;
}

/* 移动设备优化 */
@media (max-width: 767px) {
    .promenu-container {
        margin: 0 -15px 1.5rem;
        border-radius: 0;
        padding: 1rem 15px;
        background: #f0f2f5;
    }
    
    .promenu-title {
        font-size: 1rem;
        padding-left: 0.5rem;
    }
    
    .promenu-scroller {
        margin: 0 -15px;
        padding: 0 15px 0.5rem;
    }
    
    .promenu-item {
        margin-right: 0.5rem;
    }
    
    .promenu-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    /* 添加滚动指示器 */
    .promenu-scroller {
        position: relative;
    }
    
    .promenu-scroller::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(90deg, transparent, #f0f2f5);
        pointer-events: none;
    }
}

/* 桌面版优化 */
@media (min-width: 768px) {
    .promenu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .promenu-item {
        margin-bottom: 0.5rem;
    }
}

/* 平板设备优化 */
@media (min-width: 768px) and (max-width: 1024px) {
    .promenu {
        flex-wrap: wrap;
    }
    
    .promenu-item {
        flex-basis: calc(33.333% - 0.5rem);
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .promenu-link {
        text-align: center;
        white-space: normal;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
    }
}

.retail-price{ position:relative;}

/* 3格BANNER样式 */
.three-grid-banner {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.three-grid-banner h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
    font-weight: 600;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.banner-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    position: relative;
    cursor: pointer;
}

.banner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.banner-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.banner-item:hover img {
    transform: scale(1.05);
}

/* 圖片遮罩層 - 一直顯示，文字置中 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.1) 30%,
        rgba(0,0,0,0.4) 100%
    );
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* HOVER時遮罩層變深 */
.banner-item:hover .banner-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.2) 30%,
        rgba(0,0,0,0.7) 100%
    );
}

/* 文字樣式 - 置中對齊 */
.banner-text {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    width: 100%;
    transition: all 0.3s ease;
    line-height: 1.3;
}

/* HOVER時文字稍微放大 */
.banner-item:hover .banner-text {
    transform: scale(1.1);
}

/* 響應式設計 */
@media (max-width: 992px) {
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .banner-text {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .three-grid-banner {
        padding: 40px 0;
    }
    
    .three-grid-banner h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .banner-item img {
        height: 250px;
    }
    
    .banner-text {
        font-size: 1.4rem;
    }
    
    .banner-overlay {
        padding: 15px;
    }
}