/* product_list */
#course-section .product_list .nowrap_box { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 0; white-space: normal !important; }
#course-section .product_list li { display: block; height: 100%; }
#course-section .product_list .relat_box { position: relative; background: #FFFFFF; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #F5F5F5; display: flex; flex-direction: column; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); height: 100%; }
#course-section .product_list .relat_box:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(68,182,89,0.08); border-color: rgba(68,182,89,0.15); }
#course-section .product_list .abso_tag { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3; }
#course-section .product_list .img_box_cover { width: 100%; aspect-ratio: 4/3; position: relative; overflow: hidden; background-color: #F1F9F3; }
#course-section .product_list .img_box_cover img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
#course-section .product_list .relat_box:hover .img_box_cover img { transform: scale(1.08); }
#course-section .product_list .info_box { padding: 24px 28px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
#course-section .product_list h4.page_sub_title { font-size: 20px; font-weight: 900; color: #1A1A1A; line-height: 1.5; margin: 0 0 16px 0; transition: color 0.3s ease; }
#course-section .product_list .relat_box:hover h4.page_sub_title { color: #44b659; }
#course-section .product_list .text-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

#course-section .product_list .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px dashed #E5E5E5; margin-top: auto; }
#course-section .product_list .price font { font-size: 22px; font-weight: 900; color: #44b659; }
#course-section .product_list .price font.old { font-size: 14px; font-weight: 500; color: #999999; text-decoration: line-through; margin-left: auto; }



/* #productdetail*/
#productdetail {position: relative;width: min(1180px,calc(100% - 40px));margin: 0px auto 20px;padding: 64px 68px;display: grid;grid-template-columns: 1.02fr .98fr;align-items: center;gap: 70px;background: radial-gradient(circle at 8% 12%,rgba(233,241,211,.85) 0 90px,transparent 92px),radial-gradient(circle at 92% 82%,rgba(214,237,242,.65) 0 130px,transparent 132px),rgba(255,255,255,.78);border: 1px solid rgba(150,180,105,.16);border-radius: 52px;box-shadow: 0 28px 70px rgba(72,105,76,.1);box-sizing: border-box;overflow: hidden;}
#productdetail::before { content: "fresh"; position: absolute; left: 34px; top: -32px; color: rgba(127,181,121,.1); font-size: 128px; line-height: 1; font-weight: 900; letter-spacing: 4px; z-index: 0; pointer-events: none; }
#productdetail::after { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border-radius: 50%; border: 1px solid rgba(237,200,138,.42); z-index: 0; pointer-events: none; }
#productdetail #imglist,#productdetail #productinfo { position: relative; z-index: 2; }
#productdetail #imglist { min-width: 0; }
#productdetail #imglist::before {content: "";position: absolute;left: -28px;bottom: 58px;width: 80px;height: 80px;border-radius: 666px;background: #5fa2a9;opacity: .75;transform: rotate(-28deg);z-index: 3;pointer-events: none;}

#productdetail #imglist .list {position: relative;background: #fff;border-radius: 38px;overflow: hidden;box-shadow: 0 24px 56px rgba(72,105,76,.16);}
#productdetail #imglist .slick-list { border-radius: 38px; overflow: hidden; }
#productdetail #imglist .img_box_cover { overflow: hidden; background: #f8fbf2; }
#productdetail #imglist .img_box_cover a { position: relative; display: block; height: 520px; overflow: hidden; }
#productdetail #imglist .img_box_cover a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(255,255,255,0) 52%,rgba(45,72,45,.12) 100%); z-index: 1; pointer-events: none; }
#productdetail #imglist .img_box_cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .75s ease; }
#productdetail #imglist .img_box_cover:hover img { transform: scale(1.06); }
#productdetail #imglist .btn { position: static; }
#productdetail #product_prev,#productdetail #product_next { position: absolute; top: 50%; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.9); border: 1px solid rgba(126,166,82,.2); box-shadow: 0 14px 32px rgba(65,91,68,.14); transform: translateY(-50%); transition: .3s ease; z-index: 5; }
#productdetail #product_prev { left: -27px; }
#productdetail #product_next { right: -27px; }
#productdetail #product_prev::before,#productdetail #product_next::before { content: ""; position: absolute; top: 50%; width: 13px; height: 13px; border-top: 2px solid #6f9d3d; border-right: 2px solid #6f9d3d; transition: .3s ease; }
#productdetail #product_prev::before { left: 22px; transform: translateY(-50%) rotate(-135deg); }
#productdetail #product_next::before { right: 22px; transform: translateY(-50%) rotate(45deg); }
#productdetail #product_prev:hover,#productdetail #product_next:hover { background: #8cad4c; border-color: #8cad4c; transform: translateY(-50%) scale(1.08); }
#productdetail #product_prev:hover::before,#productdetail #product_next:hover::before { border-color: #fff; }
#productdetail #imglist .slick-dots {position: absolute;display: flex !important;justify-content: center;align-items: center;gap: 10px;margin: 0px;padding: 0;list-style: none;z-index: 55;bottom: 15px;}
#productdetail #imglist .slick-dots li { width: auto; height: auto; margin: 0; }
#productdetail #imglist .slick-dots button { width: 12px; height: 12px; padding: 0; border: 1px solid rgba(111,157,61,.5); border-radius: 50%; background: #fff; font-size: 0; line-height: 0; transition: .3s ease; cursor: pointer; }
#productdetail #imglist .slick-dots li.slick-active button { width: 34px; border-radius: 999px; background: #8cad4c; border-color: #8cad4c; }
#productdetail .slick-dots li button:before{display:none;}
#productdetail #productinfo { position: relative; padding: 52px 50px; border-radius: 38px; background: radial-gradient(circle at 92% 12%,rgba(232,241,208,.88) 0 64px,transparent 66px),rgba(255,255,255,.92); border: 1px solid rgba(157,185,113,.18); box-shadow: 0 20px 52px rgba(67,111,77,.08); }
#productdetail #productinfo::before { content: "PRODUCT"; position: absolute; right: 34px; top: 28px; color: rgba(140,173,76,.14); font-size: 13px; font-weight: 800; letter-spacing: 4px; }
#productdetail #productinfo::after { content: ""; position: absolute; right: 46px; bottom: 42px; width: 78px; height: 34px; border-radius: 80% 0 80% 0; background: rgba(95,162,169,.18); transform: rotate(24deg); pointer-events: none; }
#productdetail #productinfo h2 { position: relative; margin: 0 0 26px; padding-bottom: 20px; color: #365333; font-size: 34px; line-height: 1.35; letter-spacing: 2px; font-weight: 700; }
#productdetail #productinfo h2::before { content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 10px; vertical-align: -3px; border-radius: 70% 0 70% 0; background: #8cad4c; transform: rotate(-18deg); }
#productdetail #productinfo h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 88px; height: 3px; border-radius: 999px; background: linear-gradient(90deg,#8cad4c,rgba(168,208,222,.6)); }
#productdetail #productinfo .txt { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: #66705f; font-size: 16px; line-height: 1.8; }
#productdetail #productinfo .txt label { flex: 0 0 auto; min-width: 48px; color: #45693a; font-weight: 700; letter-spacing: 1px; }
#productdetail #productinfo .txt font { color: #66705f; }
#productdetail #productinfo .txt.cat font a { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px; background: #f3f8ea; color: #6f9d3d; text-decoration: none; border: 1px solid rgba(139,181,90,.18); transition: .3s ease; }
#productdetail #productinfo .txt.cat font a:hover { background: #8cad4c; color: #fff; }
#productdetail #productinfo article { position: relative; margin: 26px 0 0; padding-top: 26px; color: #66705f; font-size: 16px; line-height: 2.05; letter-spacing: .5px; border-top: 1px solid rgba(139,181,90,.18); }
#productdetail #productinfo article::first-letter { color: #6f9d3d; font-size: 26px; font-weight: 700; }
#productdetail #productinfo .price font { color: #8cad4c; font-size: 24px; font-weight: 800; }
#productdetail #productinfo .price font span:first-child { margin-right: 4px; font-size: 15px; }
#productdetail #orderfunction font { display: inline-flex; align-items: center; height: 44px; border-radius: 999px; background: #f7faf1; border: 1px solid rgba(139,181,90,.2); overflow: hidden; }
#productdetail #orderfunction font a { position: relative; width: 44px; height: 44px; display: block; background: transparent; }
#productdetail #orderfunction font a::before,#productdetail #orderfunction font a[data-type="2"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #7da84b; transform: translate(-50%,-50%); }
#productdetail #orderfunction font a[data-type="2"]::after { width: 2px; height: 12px; }
#productdetail #orderfunction input { width: 54px; height: 44px; border: 0; background: transparent; color: #45693a; font-size: 16px; font-weight: 700; text-align: center; outline: none; }
#productdetail .shopbox { margin-top: 34px; }
#productdetail .buyBtns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
#productdetail .buyBtns a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 158px; height: 50px; padding: 0 28px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: 1px; transition: .32s ease; overflow: hidden; }
#productdetail .buyBtns a::after { content: "→"; margin-left: 10px; transition: .32s ease; }
#productdetail .buyBtns a:hover::after { transform: translateX(4px); }
#productdetail .buyBtns .ask { background: #8cad4c; color: #fff; box-shadow: 0 12px 26px rgba(140,173,76,.28); }
#productdetail .buyBtns .ask:hover { background: #6f9d3d; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(140,173,76,.36); }
#productdetail .buyBtns .addcar { background: #5fa2a9; color: #fff; box-shadow: 0 12px 26px rgba(95,162,169,.28); }
#productdetail .buyBtns .addcar:hover { background: #4b8e95; transform: translateY(-3px); }
#productdetail #productinfo .shopbox::before { content: ""; position: absolute; left: -20px; bottom: -20px; width: 120px; height: 120px; border-radius: 50%; background: rgba(232,241,208,.45); z-index: -1; }
#productdetail #productinfo .shopbox::after { content: ""; position: absolute; right: 20px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px dashed rgba(139,181,90,.28); z-index: -1; }



/* orderfunction */
#productinfo #orderfunction { margin-bottom: 25px; }
#orderfunction a { position: relative; width: 25px; height: 25px; border: 1px #c2c2c2 solid; display: inline-block; }
#orderfunction a:before { position: absolute; width: 15px; height: 1px; background: #4b4b4b; display: block; top: calc((100% - 1px) / 2); left: 5px; content: ""; }
#orderfunction a[data-type="2"]:after { position: absolute; width: 1px; height: 15px; background: #4b4b4b; display: block; top: 5px; left: calc((100% - 1px) / 2); content: ""; }
#orderfunction input { width: 50px; display: inline-block; text-align: center; }

/* buyBtns */
.buyBtns a { padding: 15px 50px; border: 1px #444 solid; color: #444; }
.buyBtns a.ask { background: #444; color: #fff; }

/* productTabs */
#productTabs { padding-top: 0vw; }
#productTabs .tabs { margin: 0 0 40px; }
#productTabs .tabs li { width: calc((100% - 5px) / 4); border: #ddd solid; border-width: 1px 0 1px 1px; display: inline-block; }
#productTabs .tabs li:last-child { border-width: 1px; }
#productTabs .tabs li a { padding: 20px 10px; display: block; text-align: center; font-size: 18px; color: #000; }
#productTabs .tabs li.active a { background: #a8a8a8; color: #fff; }

/* community */
#community ul { margin: 5px 0 0; }

@media screen and (min-width: 1281px){
	#side_box ul.cate >li:hover >.subUL { display: block; }
}
@media screen and (max-width: 1024px){
	
	#imglist .btn { display: none; }
	.buyBtns a { padding: 15px 10px; width: calc(50% - 22px); text-align: center; }
	#productdetail { grid-template-columns: 1fr; gap: 44px; padding: 52px 44px; }
  #productdetail #imglist .img_box_cover a { height: 500px; }
  #productdetail #product_prev { left: 16px; }
  #productdetail #product_next { right: 16px; }
}
@media screen and (max-width: 980px){
	
	#imglist a img { height: 350px; }
}
@media screen and (max-width: 768px){
	#course-section .product_list .nowrap_box { grid-template-columns: 1fr; gap: 24px; }
    #course-section .product_list .info_box { padding: 20px 24px; }
    #course-section .product_list h4.page_sub_title { font-size: 18px; }
    #course-section .product_list .price font { font-size: 20px; }
	#productTabs .tabs { text-align: center; }
	#productTabs .tabs li , #productTabs .tabs li:last-child { margin: 3px 5px; width: auto; border-width: 0; }
	#productTabs .tabs li a { padding: 15px; }
	#productdetail { width: min(100% - 28px,1180px); margin: 55px auto 80px; padding: 24px 18px 34px; border-radius: 34px; gap: 32px; }
  #productdetail::before { font-size: 72px; left: 18px; top: -14px; }
  #productdetail #imglist .list,#productdetail #imglist .slick-list { border-radius: 28px; }
  #productdetail #imglist .img_box_cover a { height: 360px; }
  #productdetail #product_prev,#productdetail #product_next { width: 44px; height: 44px; }
  #productdetail #product_prev { left: 10px; }
  #productdetail #product_next { right: 10px; }
  #productdetail #product_prev::before { left: 18px; }
  #productdetail #product_next::before { right: 18px; }
  #productdetail #productinfo { padding: 34px 24px; border-radius: 30px; }
  #productdetail #productinfo::before { right: 24px; top: 20px; font-size: 11px; }
  #productdetail #productinfo h2 { font-size: 28px; }
  #productdetail #productinfo .txt { align-items: flex-start; gap: 8px; font-size: 15px; }
  #productdetail #productinfo article { font-size: 15px; line-height: 1.95; }
  #productdetail .buyBtns { display: grid; grid-template-columns: 1fr; }
  #productdetail .buyBtns a { width: 100%; min-width: 0; }
}
@media screen and (max-width: 480px){
	#productdetail #imglist .img_box_cover a { height: 300px; }
  #productdetail #productinfo h2 { font-size: 25px; }
  #productdetail #imglist .slick-dots li.slick-active button { width: 28px; }
}







