﻿html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 160px;
}



body {
    padding-right: 0px !important;
    font-size: 16px;
    font-family: 'Poppins', "微軟正黑體", "Microsoft JhengHei", sans-serif;
    letter-spacing: 0px;
    position: relative;
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;

}




/* ---- color root ---- */

:root {
    --main-color: #000080;
    --vice-color: #dddddd;
    --green-color: #009c8d;
}

/* ---- color root end ---- */

/* ---- basic setting ---- */

.section-page {
    padding: 60px 0;
}


@media (max-width: 992px) {
    .section-page {
        padding: 40px 0;
    }
}



.modal {
    padding-right: 0px !important;
}



a {
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;

}

a:focus,
a:hover {
    text-decoration: none;
    outline: 0;
    color: var(--main-color);
    cursor: pointer;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    width: 100%;
    height: auto;
}


h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
label {
    padding: 0;
    margin: 0;
    list-style: none;
}

p {
    line-height: 1.5;
}

input,
select,
textarea,
button {
    border-radius: 0;
    outline: none;
}

input:active,
select:active,
textarea:active,
button:active,
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

button {
    border: none;
}

div:where(.swal2-container) button:where(.swal2-styled) {
    padding: 5px 15px !important;
    font-size: 15px !important;
}


.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 36
}

.fs-36 {
    font-size: 36px;
}

.fm-group {
    margin-bottom: 15px;
}

.fm-group label {
    display: block;
    color: #031b42;
    margin-bottom: 5px;
}

.fm-group textarea,
.fm-group input,
.fm-group select {
    color: #031b42;
    width: 100%;
    font-size: 18px;
    padding: 6px !important;
    border: none;
    background-color: #fff;
    border: 1px solid #dedede;
    transition: .3s ease;
}

.fm-group textarea::placeholder,
.fm-group input::placeholder {
    color: #ccc;
}

.fm-group input:focus {
    border-bottom: 1px solid rgba(90, 156, 123, 0.6);
}

.fm-group textarea:disabled,
.fm-group input:disabled,
.fm-group select:disabled {
    opacity: 1;
    background-color: #f8f8f8;
    color: #aaa;
    padding: 6px !important;
}

.recaptcha {
    width: 100%;
}

.recaptcha img {
    display: block;
    margin-left: auto;
    width: 260px;
}

/* font setting */
.main-h1 {
    font-size: 34px;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 10px;
}

.white-h1 {
    font-size: 45px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

.main-h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--main-color);
}

.dark-h2 {
    font-size: 30px;
    font-weight: 700;
    color: #333;
}

.gray-h2 {
    font-size: 55px;
    font-weight: 600;
    color: #eee;
}

.white-h2 {
    font-size: 45px;
    font-weight: 600;
    color: #fff;
}

.green-h2 {
    font-size: 26px;
    font-weight: 600;
    color: #009743;
}


.main-h3 {
    font-size: 26px;
    font-weight: 500;
    color: var(--main-color);
}


.dark-h3 {
    font-size: 22px;
    font-weight: 400;
    color: #333;
}

.white-h3 {
    font-size: 35px;
    font-weight: 600;
    color: #fff;
}


.dark-h4 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
}

.green-h4 {
    font-size: 20px;
    font-weight: 600;
    color: #006520;
}

.main-h4 {
    font-size: 20px;
    font-weight: 600;
    color: #184298;
}

.dark-h4.bold {
    font-weight: 700;
}

.white-h4 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.white-h5 {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.white-h4.bold {
    font-weight: 700;
}


.green-h4.bold {
    font-weight: 700;
}

.gray-h5 {
    font-size: 17px;
    font-weight: 500;
    color: #999;
}

.dark-h5 {
    font-size: 17px;
    font-weight: 500;
    color: #333;
}



.white-h5 {
    font-size: 15px;
    color: #fff;
    width: fit-content;
    background-color: rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    line-height: 30px;
}

.darkgray-text {
    color: #666;
    letter-spacing: 2px;
    line-height: 30px;
}

@media (max-width: 576px) {

    .white-h1,
    .gray-h2,
    .dark-h2,
    .white-h2,
    .green-h2 {
        font-size: 35px;

    }

    .green-h3,
    .white-h3,
    .dark-h3 {
        font-size: 20px;
        letter-spacing: 0;
    }


    .green-h2 {
        font-size: 21px;
        line-height: 28px;
    }
}



.borderLeft {
    border-left: 6px solid #eee;
    padding-left: 10px;
}

/* font setting end */


/* button */

.button {
    display: block;
    width: fit-content;
    padding: 8px 30px;
    letter-spacing: 2px;
    border-radius: 0;
    text-align: center;
    transition: .3s ease;
    font-weight: 700;
    background-color: transparent;
    border: none;
    position: relative;
    z-index: 0;
}

.button.xs {
    padding: 5px 12px;
    font-size: 15px;
    font-weight: 500;
}

.button::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s ease;
    z-index: -1;
}

.button::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s ease;
    z-index: -2;
}

.button:hover::before {
    transition: .3s ease .2s;
}

.button-light {
    color: #222;
}

.button-light:hover {
    color: #fff;
}

.button-light::after {
    background-color: rgba(255, 255, 255, 0.9);
}

.button-light::before {
    background-color: var(--green-color);
    width: 0;
}

.button-light:hover::after {
    width: 0;
}

.button-light:hover::before {
    width: 100%;
}

.button-green {
    color: #fff;
}

.button-green:hover {
    color: #222;
}

.button-green::after {
    background-color: var(--green-color);
}

.button-green::before {
    background-color: rgba(255, 255, 255, 0.9);
    width: 0;
}

.button-green:hover::after {
    width: 0;
}

.button-green:hover::before {
    width: 100%;
}


.button-dark {
    color: #eee;
}

.button-dark:hover {
    color: #fff;
}

.button-dark::after {
    background-color: #1f1f1f;
}

.button-dark::before {
    background-color: var(--green-color);
    width: 0;
}

.button-dark:hover::after {
    width: 0;
}

.button-dark:hover::before {
    width: 100%;
}


.button-gray {
    color: #f8f8f8;
}

.button-gray:hover {
    color: #fff;
}

.button-gray::after {
    background-color: #666;
}

.button-gray::before {
    background-color: var(--green-color);
    width: 0;
}

.button-gray:hover::after {
    width: 0;
}

.button-gray:hover::before {
    width: 100%;
}

/* button end */


/* line deco */


.divide-line {
    display: block;
    width: 80px;
    height: 2px;
    background-color: #ddd;
}

.divide-line-s {
    display: block;
    width: 120px;
    height: 1px;
    background-color: #ddd;
}

/* line deco end */


/* img setting */
.border-img {
    position: relative;
    z-index: 1;
}

.border-img::after {
    position: absolute;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    border: 2px solid #eee;
    top: 20px;
    left: 20px;
    z-index: -1;
}

@media (max-width: 576px) {
    .border-img img {
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    .border-img::after {
        width: 90%;
        height: 90%;
        left: 40px;
        top: 40px;
    }
}

.round-img {
    border-radius: 10px;
}

/* img setting end */


/* bg setting */

.bg {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

.sect-bg {
    background-image: url(../img/new-bg.png);
    background-position: bottom;
}



.darkgray-bg {
    background-color: #333;
}

.dark-bg {
    background: #111111;
    background: linear-gradient(120deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 1) 100%);
}

.gray-bg {
    background-color: #f5f5f5;
}

/* bg setting end */

/* ---- basic setting end ---- */


/* ---- gotop ---- */

.gotop {
    position: fixed;
    right: 15px;
    bottom: 40px;
    transition: display 0.5s ease-in-out;
    z-index: 10;
}

.gotop img {
    width: 20px;
}

@media (max-width: 992px) {
    .gotop {
        bottom: 90px;
    }
}

/* ---- gotop end ---- */


/* ---- right link ---- */

.right-link {
    position: fixed;
    bottom: 300px;
    right: 10px;
    z-index: 99;
    color: #353535;
    text-align: center;
}

.right-link #right-menu-toggle .menu-text {
    font-size: 13px;
    margin-bottom: 5px;
}

.right-link #right-menu-toggle .menu-line span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #353535;
    transition: .3s ease;
}

.right-link #right-menu-toggle .menu-line span:nth-of-type(2) {
    margin: 8px 0;
}

.right-link #right-menu-toggle.active .menu-line span {
    background-color: var(--main-color);
}

.right-link #right-menu-toggle.active .menu-line span:nth-of-type(2) {
    opacity: 0;
}

.right-link #right-menu-toggle.active .menu-line span:nth-of-type(3) {
    margin: 8px 0;
    transform: rotate(15deg) translateY(-11px) translateX(-1px);
}

.right-link #right-menu-toggle.active .menu-line span:nth-of-type(1) {
    transform: rotate(-15deg) translateY(7px) translateX(-1px);
}

.right-link ul {
    /* display: none;
     */
    margin-top: 15px;
}

.right-link ul li a img {
    width: 30px;
    height: 30px;
    margin-bottom: 25px;
    object-fit: contain;
}

/* ---- right link end ---- */


/* ---- bottom link ---- */

.bottom-link {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 55px;
    z-index: 10;
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bottom-link ul {
    display: flex;
}

.bottom-link ul li {
    width: calc(100% / 2);
    height: 100%;
}

.bottom-link ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;

}

.bottom-link ul li a img {
    object-fit: contain;
    height: 45%;
}

/* ---- bottom link end ---- */

/* ---- header ---- */

header {
    height: 70px;
    position: relative;
    background: #fff;
}

.fixed-top {
    padding-right: 0px !important;
    background: #fff;
    transition: .3s ease;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3px 10px -5px;
}


.header-flex {
    display: flex;
    justify-content: space-between;
    /*align-items: center;
    justify-content: space-between;*/
}


/*@media (max-width: 1200px) {
    .header-flex {
        justify-content: start;
    }
}
*/
.logo {
    width: 300px;
    min-width: 300px;
    height: 70px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease;
}



/* .logo a {
    width: 100%;
}
 */
.logo img {
    object-fit: contain;
    transition: .3s ease;
}


@media (max-width: 1200px) {
    .logo {
        min-width: 280px;
        width: 280px;
    }

    .logo img {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .logo {
        min-width: 270px;
        width: 270px;
        margin-left: 35px;
    }
}


header .nav-menu {
    margin: 0;
    padding: 0;
    height: 100%;
}

@media(min-width: 1200px) {
    header .nav-menu ul {
        display: flex;
        margin: 0;
        padding: 0;
        height: 100%;
    }
}

header .nav-menu>ul>li {
    white-space: nowrap;
    list-style: none;
}


header .nav-menu>ul>li>a {
    display: block;
    color: #2d2d2d;
    height: 100%;
    padding: 0 10px;
    transition: 0.3s ease;
    font-size: 18px;
    letter-spacing: 0px;
    line-height: 70px;
    font-weight: 500;
}

header .nav-menu .active>a,
header .nav-menu li:hover>a {
    color: var(--main-color);

    text-decoration: none;
}


/*
*/

header .nav-menu .drop-down ul li {
    min-width: 180px;
    position: relative;
}

header .nav-menu .drop-down ul a {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    font-size: 16px;
    padding: 10px 10px;
    font-weight: 400;
    letter-spacing: 0px;
    text-transform: none;
    color: var(--main-color);
    border-bottom: 1px solid #bebebe;
}

header .nav-menu .drop-down ul a:hover,
header .nav-menu .drop-down ul .active>a,
header .nav-menu .drop-down ul li:hover>a {
    color: #fff;
    background: var(--main-color);
}


/*header .nav-menu .drop-down ul a::before {
    content: '-';
    display: block;
    margin-right: 10px;
}*/

/*header .nav-menu .drop-down>a:after {
    content: "\eac8";
    font-family: IcoFont;
    padding-left: 5px;
}
*/

/* 選單hover效果 */
header .nav-menu>ul>.drop-down:hover>ul {
    display: block;
    justify-content: center;
    flex-wrap: wrap;
    animation-name: header-animate;
    animation-duration: .7s;
    animation-delay: 0ms;
    animation-timing-function: cubic-bezier(0.39, 0.575, 0.565, 1);

}


@keyframes header-animate {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

header .nav-menu .drop-down {
    position: relative;
}

header .nav-menu .drop-down ul {
    display: none;
    position: absolute;
    width: 180px;
    left: 0%;
    min-height: unset;
    top: 100%;
    height: auto;
    z-index: 99;
    transition: ease all 0.3s;
    list-style: none;
    background-color: rgb(255 255 255);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #eaeaea;
}

header .nav-menu .drop-down ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

.drop-down ul li:hover>ul {
    display: block;
    display: block;
    left: 100%;
    top: 0;
    z-index: 999;
}


.search-nav {
    width: 0px;
    margin-right: 0px;
    transition: .3s ease;
}

.search-nav input {
    width: 100%;
    border-radius: 10px;
    border: 0px solid rgb(17 64 151);
    transition: .3s ease;
    padding: 2px 12px;
    font-size: 16px;
    letter-spacing: 1px;
}

.search-icon.active .search-nav {
    width: 200px;
    margin-right: 10px;
}

.search-icon.active .search-nav input {
    border-width: 1px;
}

.top-link {
    font-size: 28px;
    position: relative;
    top: 8px;
    z-index: 9999;
    margin-left: 10px;
}

.top-link li a {
    display: flex;
    align-items: center;
    color: var(--main-color);
    width: fit-content;
    height: 25px;
    margin: 0 0 0 auto;
    padding: 0px 7px;
    transition: .3s ease;
}

.top-link li a {
    margin: 0 10px;
}

.top-link li img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}


.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1032;
    overflow-y: auto;
    left: 0px;
    width: 100%;
    background: transparent;
    transition: 0.4s;
    display: none;
    align-items: center;
}

.mobile-nav::-webkit-scrollbar {
    width: 7px;
}

.mobile-nav::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 4px;
}

.mobile-nav::-webkit-scrollbar-track-piece {
    background: transparent;
}

.mobile-nav::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
}

.mobile-nav::-webkit-scrollbar-track {
    box-shadow: transparent;
}

.mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav ul {
    height: 100%;
    width: 100%;
}

.mobile-nav>ul {
    margin-top: 180px;
}

.mobile-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-nav .cart-link {
    display: none;
}

.mobile-nav a {
    display: block;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    padding: 15px 20px;
    margin-left: 30%;
    font-weight: 500;
    transition: 0.3s;
    font-size: 18px;
}

@media (max-width: 576px) {
    .mobile-nav a {
        margin-left: auto;
    }
}

.mobile-nav a:hover,
.mobile-nav .active>a,
.mobile-nav li:hover>a {
    color: var(--main-color);
    text-decoration: none;
}



.mobile-nav .drop-down>a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 10px;
}

.mobile-nav .active.drop-down>a:after {
    content: "\eaa0";
}



.mobile-nav .drop-down ul {
    display: none;
    overflow: hidden;
}

.mobile-nav .drop-down li {
    padding-left: 20px;
}

.mobile-top-bar {
    position: fixed;
    left: 15px;
    right: 15px;
    top: 20px;
    z-index: 1033;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-cart-icon {
    color: var(--main-color);
    position: relative;
}

.mobile-cart-icon .material-symbols-outlined {
    font-size: 28px;
}

.mobile-top-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-search .search-toggle {
    color: var(--main-color);
    display: flex;
    align-items: center;
}

.mobile-search .search-toggle .material-symbols-outlined {
    font-size: 28px;
}

.mobile-search .search-panel {
    right: -6px;
    top: calc(100% + 10px);
}

.mobile-nav-toggle {
    border: 0;
    background: none;
    transition: all 0.3s;
    outline: none !important;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav-toggle:hover {
    cursor: pointer;
}

.mobile-nav-toggle .mobilenav-line span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--main-color);
    transition: .3s ease;
}

.mobile-nav-toggle .mobilenav-line.active span {
    background-color: #fff;
}

.mobile-nav-toggle .mobilenav-line span:nth-of-type(2) {
    margin: 7px 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(1) {
    transform: rotate(45deg) translateY(13px) translateX(3px);
}

.mobile-nav-toggle .mobilenav-line.active span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.mobile-nav-overly {
    width: 100%;
    height: 100%;
    z-index: 1031;
    top: 0;
    left: 0;
    position: fixed;
    background: rgb(95 95 95 / 80%);
    opacity: 1;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    display: none;
}


.mobile-nav-active {
    overflow: hidden;
}

.mobile-nav-active .mobile-nav {
    display: flex;
    animation: mbheader-in .3s ease 0ms 1 both;
}

@keyframes mbheader-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mbheader-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}



/* ---- header end ---- */



/* ---- banner ---- */
.carousel-caption {
    position: absolute;
    right: 0;
    top: 35%;
    left: 0;
    z-index: 10;
    padding: 0 0px;
    color: #555;
    text-align: left;
}

.carousel-caption h1 {
    font-size: 46px;
    color: #fff;
    font-weight: 700;
    mix-blend-mode: color-burn;/ animation-delay: 1s;
    margin-bottom: 10px;
}

.carousel-caption p {
    text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    font-size: 25px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    font-weight: 600;
    width: fit-content;
    animation-delay: 2s;
    padding: 0 10px;


}

.carousel-indicators {
    bottom: 0;
}

.carousel-control.right,
.carousel-control.left {
    background-image: none;
}


.carousel-item img {
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel-item img {
        min-height: 28px;
    }

    .carousel-caption {
        top: 25%;
    }

    .carousel-caption h1 {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        top: 26%;
    }

    .carousel-caption h1 {
        font-size: 24px;
        font-weight: 600;
    }

    .carousel-caption p {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        text-align: center;
    }


}


/* ---- banner end ---- */


/* ---- inbanner ---- */
.inbanner {
    position: relative;
}

.inbanner img {
    height: 350px;
    object-fit: cover;
    object-position: center;
}

.inbanner-text {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 25%;

}

@media (max-width: 992px) and (min-width:576px) {
    .inbanner img {
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    .inbanner-text {
        top: 28%;

    }


    .divide-line {
        margin: auto;
    }
}

@media (max-width: 576px) {
    .inbanner img {
        height: 250px;
        object-fit: cover;
        object-position: center;
    }

    .main-h1 {
        font-size: 28px;
    }

    .divide-line {
        margin: auto;
    }
}

/* ---- inbanner end ---- */


/* ---- breadcrumb ---- */


.breadcrumb-area {
    margin: 5px 0;
}



.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    justify-content: start;
    font-size: 14px;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #232323;
    content: '/';
    font-size: 12px;
}

.breadcrumb .breadcrumb-item a {

    color: #2e2e7d;
}

.breadcrumb-item.active {
    color: var(--main-color);
}

@media (max-width: 768px) {

    .breadcrumb .breadcrumb-item.active {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        height: fit-content;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }
}


.breadcrumb .breadcrumb-item.active a {
    color: var(--main-color);
}

/* ---- breadcrumb end ---- */




/* ---- pagination ---- */

.pagination {
    justify-content: center;
    margin: 10px 0;
}

.pagination li a {
    display: block;
    text-align: center;
    border-bottom: 2px solid #eee;
    color: #aaa;
    width: 30px;
    margin: 0 5px;
    transition: .3s ease;
}

.pagination li.active a,
.pagination li:hover a {
    border-bottom-color: rgba(63, 190, 63, 0.2);
    color: var(--green-color);
}

/* ---- pagination end ---- */


/* ---- category ---- */

.category-b {
    border-bottom: 1px solid #dddddd;
    position: sticky;
    top: 80px;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}


.category,
.sidenav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

}




.category li,
.sidenav li {
    display: block;
    position: relative;
    flex: 1;
    max-width: 220px;
}

.category li a,
.sidenav li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    font-size: 18px;
    padding: 20px 0;
    position: relative;
    transition: color 0.3s ease;

}

.category li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #009743, #184298);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.category li.active a,
.category li a:hover,
.sidenav li.active a,
.sidenav li a:hover {
    color: #114097;
}

.category li.active a::after,
.category li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.category li::before {
    content: "";
    position: absolute;
    top: calc(50% - 11px);
    right: 0;
    width: 1px;
    height: 22px;
    background-color: #ddd;
}



.category li.active a,
.category li:hover a {
    font-weight: bold;
}

.sidenav-btn,
.category-btn {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #333;
    background-color: rgba(240, 240, 240, 0.4);
    transition: .3s ease;
}

.sidenav-btn.active,
.category-btn.active {
    background-color: rgba(240, 240, 240, 0.4);
    color: #333;
}

.sidenav-btn .cb-line,
.category-btn .cb-line {
    margin-right: 10px;
}

.sidenav-btn .cb-line span,
.category-btn .cb-line span {
    display: block;
    width: 20px;
    height: 1px;
    background-color: #333;
    transition: .3s ease;
}

.sidenav-btn .cb-line span:nth-of-type(2),
.category-btn .cb-line span:nth-of-type(2) {
    margin: 5px 0;
}

.sidenav-btn.active .cb-line span:nth-of-type(2),
.category-btn.active .cb-line span:nth-of-type(2) {
    opacity: 0;
}

.sidenav-btn.active .cb-line span:nth-of-type(1),
.category-btn.active .cb-line span:nth-of-type(1) {
    transform: rotate(45deg) translateY(4px) translateX(4px);
}

.sidenav-btn.active .cb-line span:nth-of-type(3),
.category-btn.active .cb-line span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-4px) translateX(4px);
}

.sidenav-btn:hover,
.category-btn:hover {
    cursor: pointer;
}

@media (max-width: 768px) {


    .category {
        display: none;
    }

    .category li,
    .sidenav li {
        display: block;
        width: 100%;
    }

    .category li a .sidenav li a {
        padding: 12px 20px;
        font-size: 16px;
        margin: 0 10px;
    }
}

@media (min-width: 992px) {


    .category {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .category li a {
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid #ccc;
    }

    .category li {
        max-width: 100%;
    }
}

/* ---- category end ---- */


/* ---- sidenav ---- */

.sidenav-t {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
    margin-bottom: 10px;
}

.sidenav li a {
    color: #fff;
    letter-spacing: 1px;
    background: var(--main-color);
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    height: 70px;
    margin: 0 5px;
    font-size: 22px;
}

@media (max-width: 768px) {
    .sidenav li a {
        height: 60px;
        margin: 0 1px;
        font-size: 16px;
    }
}

.sidenav li.active a,
.sidenav li:hover a {
    color: var(--main-color);
    background: #f1f6fc;
}

/* ---- sidenav end ---- */

/*---- ***/
.tab-content>.active {
    display: block;
    background: #f1f6fc;

}

.tab-pane {
    padding: 80px 0px;
}


/*---- end---*/
.news-img {
    overflow: hidden;
    /* 防止圖片放大溢出 */
}


/*---- class ----*/
.class-item {
    display: block;
    height: 100%;
    background-color: #FFF;
    box-shadow: 5px 5px 0px 0px var(--main-color);
    position: relative;
    padding: 15px;
    border-radius: 1rem;
    border: 1px solid var(--main-color);
}

.class-img {
    overflow: hidden;
}

.class-date {
    background: var(--main-color);
    color: #fff;
    padding: 0px 12px;
    border-radius: 15px;
    letter-spacing: 1px;
    margin: 10px 0;

}

.class-img img {
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-t {
    margin-top: 10px;
}

.class-item:hover .class-img img {
    transform: scale(1.2);
}

/* ---- product card ---- */

.pdt-card {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s ease;
    height: 100%;
    border: 1px solid #c4c4c4;
}

.pdt-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.pdt-card-img {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

.pdt-card-img img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    transition: transform .3s ease;
}

.pdt-card:hover .pdt-card-img img {
    transform: scale(1.05);
}

.pdt-card-info {
    padding: 10px 10px 0px;
    background-color: #d5d7f6;
    min-height: 85px;
}

.pdt-card-name {
    font-size: 16px;
    font-weight: 500;
    color: #000080;
    line-height: 1.3;
    margin-bottom: 5px;
    letter-spacing: 0;
}

.pdt-card-sku {
    font-size: 14px;
    color: #5f5f5f;
}

@media (max-width: 576px) {
    .pdt-card-img {
        padding: 10px;
    }

    .pdt-card-img img {
        height: 120px;
    }



    .pdt-card-info {
        padding: 10px;
    }
}

/* ---- product card end ---- */


/* ---- product detail ---- */

.pdt-dt-main-img {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f8f9fa;
    padding: 20px;
    /* 固定正方形比例，切換縮圖時主圖框不會跳動；以 aspect-ratio 依寬度縮放，手機亦適用 */
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdt-dt-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdt-dt-thumbs {
    display: flex;
    gap: 10px;
}

.pdt-dt-thumb {
    width: calc(20% - 8px);
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 8px;
    background-color: #f8f9fa;
    transition: .3s ease;
}

.pdt-dt-thumb:hover,
.pdt-dt-thumb.active {
    border-color: var(--main-color);
}

.pdt-dt-thumb img {
    width: 100%;
    height: 60px;
    object-fit: contain;
}

.pdt-dt-sku {
    font-size: 16px;
    color: #888;
    letter-spacing: 1px;
}

.table-color-price {
    margin-bottom: 0;
}

.table-color-price thead th {
    background-color: var(--main-color);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: .5px;
    border-color: #dee2e6;
}

.color-row {
    cursor: pointer;
    transition: .2s ease;
}

.color-row:hover {
    background-color: #eef1fa;
}

.color-row.active {
    background-color: #d5d7f6;
}

.color-row td {
    vertical-align: middle;
}

.color-row-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    border: 1px solid #ddd;
}

.pdt-dt-features ul {
    padding-left: 20px;
}

.pdt-dt-features ul li {
    list-style: disc;
    margin-bottom: 5px;
    color: #555;
}

.pdt-dt-specs table th {
    background-color: #f1f6fc;
    width: 35%;
    font-weight: 600;
    color: var(--main-color);
}

.pdt-dt-inquiry label {
    font-weight: 500;
    margin-right: 8px;
    color: #333;
}

@media (max-width: 576px) {
    /* 手機滿版時正方形過高，改用較矮比例並限制高度 */
    .pdt-dt-main-img {
        aspect-ratio: 4 / 3;
        max-height: 60vh;
        padding: 12px;
    }

    .pdt-dt-thumb img {
        height: 40px;
    }

    .color-swatch {
        width: 60px;
    }

    .color-swatch img {
        width: 40px;
        height: 40px;
    }

    .pdt-dt-inquiry {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ---- product detail end ---- */


/* ---- why gep section ---- */

.why-gep-section {
    position: relative;
    color: #333;
    overflow: hidden;
}

.why-gep-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/about-us-02.webp') center/cover no-repeat fixed;
    z-index: 0;
}

.why-gep-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 70%);
    z-index: 1;
}

.why-gep-section>.container {
    position: relative;
    z-index: 2;
}

/* ---- why gep section end ---- */


/* ---- download table ---- */

.download-table thead th {
    background-color: var(--main-color);
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    border-color: #919191;
        padding: 10px 5px;
}

.download-table tbody td {
    vertical-align: middle;
    padding: 8px 10px;
}

.dl-btn {
    /*display: flex;*/
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-weight: 400;
    font-size: 15px;
    border: 1px solid var(--main-color);
    border-radius: 15px;
    transition: .3s ease;
    padding: 2px 12px;
    background: var(--main-color);
}

.dl-btn:hover {
    background-color: #fff;
    color: var(--main-color);
}

.dl-btn .material-symbols-outlined {
    font-size: 18px;
}

@media (max-width: 768px) {
    .download-table {
        font-size: 14px;
    }

    .dl-btn {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* ---- download table end ---- */


/* ---- qa ---- */

.qa-box {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: .3s ease;
}

.qa-box:hover,
.qa-box.active {
    border-color: var(--main-color);
    background-color: #eef0fa;
}

.qa-q {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 500;
}

.qa-q span {
    color: var(--main-color);
    margin-right: 8px;
}

.qa-ans {
    padding: 0 20px 15px 52px;
}

@media (max-width: 576px) {
    .qa-q {
        font-size: 16px;
        padding: 12px 10px;
    }

    .qa-ans {
        padding: 0 10px 12px 15px;
    }
}

/* ---- qa end ---- */


/* ---- inquiry cart ---- */

.btn-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    transition: .3s ease;
}

.btn-remove:hover {
    color: #d9534f;
}

.btn-remove .material-symbols-outlined {
    font-size: 22px;
    color: #000080;
}

.inq-item-no {
    font-size: 13px;
    color: #888;
    letter-spacing: .5px;
}

.inq-dropdown {
    position: relative;
    min-width: 170px;
}

.inq-dropdown-selected {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #dedede;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    transition: .2s ease;
}

.inq-dropdown-selected:hover {
    border-color: var(--main-color);
}

.inq-dropdown.open .inq-dropdown-selected {
    border-color: var(--main-color);
}

.inq-dropdown-selected img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    flex-shrink: 0;
}

.inq-dropdown-selected span {
    font-size: 14px;
    color: #333;
}

.inq-arrow {
    margin-left: auto;
    font-size: 20px !important;
    color: #999 !important;
    transition: .2s ease;
}

.inq-dropdown.open .inq-arrow {
    transform: rotate(180deg);
}

.inq-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 4px;
    margin-top: 4px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inq-dropdown.open .inq-dropdown-list {
    display: block;
}

.inq-dropdown-list li {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    transition: .2s ease;
    font-size: 14px;
    color: #333;
}

.inq-dropdown-list li:hover {
    background: #f1f6fc;
}

.inq-dropdown-list li.active {
    background: #eef0fa;
    font-weight: 500;
}

.inq-dropdown-list li img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    flex-shrink: 0;
}

.inq-table-wrap {
    overflow: visible;
}

.inq-mobile-cards {
    display: none;
}

@media (max-width: 768px) {
    .inq-table-wrap {
        display: none;
    }

    .inq-mobile-cards {
        display: block;
    }
}

.inq-card {
    position: relative;
    background: #f8f9fa;
    border: 1px solid #cdcdcd;
    border-radius: 8px;
    padding: 15px 40px 15px 10px;
    margin-bottom: 12px;
}

.inq-card-remove {
    position: absolute;
    top: 10px;
    right: 10px;
}

.inq-card-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 12px;
    flex-shrink: 0;
}

.inq-card-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.inq-card-label {
    font-size: 15px;
    width: 50px;
    flex-shrink: 0;
}

.cart-link {
    position: relative;
    position: relative;
    top: 4px;
    left: -9px;
}

.cart-badge {
    position: absolute;
    top: 10px;
    right: -5px;
    background: #d9534f;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-badge-bounce {
    animation: badgeBounce .4s ease;
}

@keyframes badgeBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {

    .cart-badge {
        position: absolute;
        top: -14px;
        right: -9px;
    }


}

/* ---- inquiry cart end ---- */

/* ---- header search start ---- */
.mobile-nav .nav-search {
    display: none;
}

.nav-search {
    position: relative;
}

.nav-search .search-toggle {
    cursor: pointer;
}

.nav-search .search-panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-width: 80vw;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
    border-radius: 4px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .25s;
    z-index: 1002;
}

.nav-search.open .search-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-search .search-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.nav-search .search-input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
}

.nav-search .search-submit {
    border: 0;
    background: transparent;
    color: #666;
    padding: 0 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-search .search-suggest {
    display: none;
    max-height: 360px;
    overflow-y: auto;
    margin-top: 8px;
}

.nav-search .search-suggest.show {
    display: block;
}

.nav-search .search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: .2s;
}

.nav-search .search-item:hover,
.nav-search .search-item:focus {
    background: #f2f4f7;
    outline: 0;
}

.nav-search .search-item img,
.nav-search .search-item-noimg {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 3px;
}

.nav-search .search-item-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    overflow: hidden;
}

.nav-search .search-item-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-search .search-item-cls {
    font-size: 12px;
    color: #888;
}

.nav-search .search-empty {
    padding: 12px 6px;
    font-size: 13px;
    color: #999;
    text-align: center;
}
/* ---- header search end ---- */





.more-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    border: 1px solid #184298;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: #ffffff;
    height: 38px;
    background: var(--main-color);
    border-radius: 5px;
    color: #ffffff;
    padding: 0 10px;
}



.more-btn:hover {
    background: #222;
    color: #ffffff;
}



.more-w-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    border: 1px solid var(--main-color);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    color: var(--main-color);
    height: 38px;
    background: #fff;
    border-radius: 5px;
    color: var(--main-color);
    padding: 0 3px;
}



.more-w-btn:hover {
    background: var(--main-color);
    color: #fff !important;
}






/* ---- news ---- */


.news-card {
    background: #f1f6fc;
    position: relative;
    top: -100px;
    padding: 40px 0;
}


.news-box {
    position: relative;
    border-bottom: 1px solid #d4d9e2;
    padding: 20px;
}

.news-Box {
    position: relative;
    border-bottom: 2px solid #009543;
    background: #f6f9ff;
}

.new-dec {
    padding: 0 20px;
    flex: 1 1 auto;
}

.news-date {
    width: 120px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

.news-c {
    background: var(--main-color);
    color: #fff;
    padding: 0 15px;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 15px;
    min-width: 90px;
    text-align: center;
    flex-shrink: 0;
}

.news-t {
    font-size: 18px;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    height: fit-content;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: .3s ease;

}

.news-item {
    align-items: center;
    border-bottom: 1px solid #ccc;
    color: var(--main-color);
    display: flex;
    padding: 10px 0;
    transition-duration: .2s;
    overflow: hidden;
}



@media (max-width: 768px) {
    .c-news-a {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .news-box {
        position: relative;
        border-bottom: 1px solid #d4d9e2;
        padding: 15px 0;
    }

    .news-t {
        margin-top: 8px;
    }
}








.back {
    float: right;
    text-align: center;
}

.back a {
    color: #fff;
}

.back:hover {
    opacity: 0.8;
}

.news-box .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.news-box:hover .news-t {
    color: var(--main-color);
}

.news-box .news-desc {
    font-size: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    height: fit-content;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* ---- news end ---- */

/* ---- pdt ---- */
.pdt-ti {
    font-size: 30px;
    font-weight: 600;
    color: #031b42;
    letter-spacing: 1px;
    margin-bottom: 10px;
}


.pdt-table {
    background: #fff;
}

.table-ti {
    font-size: 20px;
    color: #333;
    font-weight: 700;
}

.pdt-thead {
    background: #184298;
    color: #fff;
}

.table-responsive>.table-bordered {
    border: 0;
    background: #fff;
}

.table thead.pdt-thead th {
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    font-size: 15px;
    letter-spacing: 1px;
    justify-items: center;
    padding: 4px 2px;
    font-weight: 400;
    height: 45px;
}

.pdt-table tr td,
.table-bordered td {
    vertical-align: middle;
    white-space: nowrap;
}

.pdt-info h3 {
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

.pdt-info ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.pdt-info ul li {
    list-style: disc;
    margin-bottom: 5px;
    color: #555;
}

.pdt-info table th {
    background-color: #f1f6fc;
    width: 35%;
    font-weight: 600;
    color: var(--main-color);
}

/* ---- pdt end ---- */

/* ---- service ---- */
.ser-ti {
    font-size: 30px;
    font-weight: 600;
    color: #114097;
    letter-spacing: 2px;
}

.ser-img {
    border-radius: 25px;
    box-shadow: 7px 7px 0px #184298;
    border: 1px solid #184298;
    margin-bottom: 30px;
}

.ser-img img {
    border-radius: 25px;
}

/* ---- service end ---- */

/* ---- contact ---- */
.contact-form {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
}

.contact-info-item span {

    font-size: 24px;
    color: var(--main-color);
    margin-right: 12px;
    margin-top: 7px;
}

@media (max-width: 576px) {

    .contact-form {
        padding: 30px 15px;
    }
}



/* ---- contact end ---- */


@media (min-width: 768px) {
    .new-bg::before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 847px;
        height: 744px;
        background: url(../img/new-bg.png) no-repeat 100% 100% / cover;
        content: "";
    }
}

/* ---- footer ---- */


footer {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: #000080;
    color: #fff;
    padding: 30px 0px 0px;
    transition: .3s ease;
}


@media (max-width: 992px) {
    footer {}
}

.ft-top {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.f-logo {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 0 auto 30px;
}

.f-link {
    display: flex;
    justify-content: space-between;
}

.f-link2 img {
    width: 30px;
}

.f-link2 {
    display: flex;
    justify-content: start;
    gap: 15px;
}

.f-link li a,
.f-info li a {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
}

.f-link li:last-child a {
    border: none;
    padding-right: 0;
}

.f-link li a:hover {
    color: var(--green-color);
}


.f-info li {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0px;
    padding-bottom: 6px;
}

@media (max-width: 1200px) and (min-width: 768px) {
    .ft-top {
        margin-bottom: 10px;
    }

    .f-link {
        display: grid;
        -ms-grid-columns: 1fr 0 1fr 0 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px 0;
    }
}

@media (max-width: 992px) {


    .f-logo {
        margin: 5px auto 15px;
        max-width: 215px;
    }

    .f-link li a {
        padding: 0 0px;
    }


}


@media (max-width: 768px) {
    .ft-top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;


    }

    .f-logo {
        margin: 5px auto 15px;
        max-width: 300px
    }

    .f-link {
        display: grid;
        -ms-grid-columns: 1fr 0 1fr 0 1fr;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 0;
    }

    .f-link li:nth-of-type(3) a {
        border: none;
    }

    .f-info {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 4px;
        justify-content: center;
        text-align: left;
    }






}

.copyright {
    font-size: 14px;
    color: #959595;
    background: #000080;
    padding: 12px 0;
    border-top: 1px solid #7678a9;
    letter-spacing: 0;
    text-align: center;

    /* ---- footer end ---- */


    .pdt-dt-swipper-thumbs .swiper-button-next::after,
    .pdt-dt-swipper-thumbs .swiper-button-prev::after,
    .pdt-dt-swipper .swiper-button-next::after,
    .pdt-dt-swipper .swiper-button-prev::after {
        color: #214e9d;
        font-size: 22px;
    }

    .pdt-dt-swipper {
        height: 100%;
        margin-bottom: 10px;
    }



    .pdt-dt-swipper-thumbs .swiper-slide {
        opacity: .4;
        transition: .3s ease;
    }

    .pdt-dt-swipper-thumbs .swiper-slide:hover {
        cursor: pointer;
        opacity: 1;
    }

    .pdt-dt-swipper-thumbs .swiper-slide-thumb-active {
        opacity: 1;
    }

    /*--maim---*/
    .main-title {
        letter-spacing: 2px;
        margin-bottom: 20px;
    }

    .main-title h2 {
        padding-left: 10px;
        font-size: 22px;
        border-left: 10px solid #184298;
    }

    .main-list ul li a {}

    .main-list ul li a {
        display: block;
        width: 100%;
        height: 100%;
        color: #666;
        display: block;
        padding: 8px 0px;
        text-align: center;
        background-color: #eee;
        transition: .3s ease;
    }

    .main-list ul li a:hover {
        background-color: #184298;
        color: #fff;
    }

}

.sales-badges {
    position: absolute;
    top: .5rem;
    left: .5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.sales-badge {
    background: red;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 4px;
    line-height: 1.2;
    width: 50px;
    height: auto;
    text-align: center;
}
.specurl {
    color: #212529;
}