/* ============================================================
   Alfacare.gr 复刻样式 (Bootstrap 5 定制)
   配色取自原站: #00a4e1 菜单蓝 / #009ed6 主蓝 / #00aff0 亮蓝
   ============================================================ */

:root {
    --ac-blue: #009ed6;
    --ac-menu: #00a4e1;
    --ac-accent: #00aff0;
    --ac-green: #4fbe31;
    --ac-green-light: #8cd15e;
    --ac-dark: #333;
    --ac-gray: #444;
}

body {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
}

a { text-decoration: none; }

/* ======================= 顶层面板 ======================= */
.top-panel {
    background: #fff;
    border-bottom: 1px solid #eee;
    font-size: 12px;
}
.top-panel a {
    color: #333;
    line-height: 31px;
    display: inline-block;
}
.top-panel a:hover { color: var(--ac-blue); }
.top-cart a {
    color: #333;
    font-size: 13px;
}
.top-cart a:hover { color: var(--ac-blue); }
.top-cart .fa-shopping-cart { color: var(--ac-blue); margin-right: 5px; }

/* ======================= 头部 Logo / 搜索 ======================= */
.site-header { padding: 28px 0 6px; }
.site-logo img { width: 200px; height: 100%; }
.motto {
    margin-left: 18px;
    margin-top: 12px;
    font-size: 20px;
    color: #888;
    font-style: italic;
    white-space: nowrap;
}
.motto .accent { color: var(--ac-accent); }

.search-block { position: relative; margin-top: 8px; }
.search-block input {
    width: 100%;
    height: 44px;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 0 55px 0 15px;
    font-size: 14px;
    color: #333;
}
.search-block input:focus {
    outline: none;
    border-color: var(--ac-accent);
    box-shadow: 0 0 6px rgba(0, 175, 240, .35);
}
.search-block button {
    position: absolute;
    right: 0; top: 0;
    width: 48px; height: 44px;
    border: 0;
    background: var(--ac-menu);
    color: #fff;
    font-size: 18px;
}
.search-block button:hover { background: var(--ac-blue); }

/* ======================= 主菜单 ======================= */
.main-nav {
    background: var(--ac-menu);
    padding: 0;
    margin-top: 20px;
}
.main-nav .navbar-collapse {
    display: block !important;
    width: 100%;
}
.main-nav .nav-row {
    position: relative;
    background: var(--ac-menu);
    width: 100%;
}
.main-nav .navbar-nav {
    width: 100%;
    flex-wrap: nowrap;
    margin-bottom: 0;
}
.main-nav .nav-item {
    flex: 0 0 25%;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.main-nav .nav-link {
    color: #fff;
    text-transform: uppercase;
    font-size: 10.5px;
    font-weight: 500;
    padding: 8px 12px;
    min-height: 46px;
    width: 100%;
    border-right: 1px solid rgba(255, 255, 255, .25);
    letter-spacing: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    text-align: left;
	padding-left: 0px;
    padding-right: 0px;
}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .dropdown.show > .nav-link {
    background: var(--ac-blue);
    color: #fff;

}
.main-nav .navbar-toggler {
    color: #fff;
    border-color: rgba(255,255,255,.5);
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 0;
}
.main-nav .navbar-toggler:focus { box-shadow: none; }

/* 桌面端悬停展开 */
@media (min-width: 992px) {
    .main-nav .dropdown:hover > .dropdown-menu { display: block; }
    .main-nav .dropdown-menu { margin-top: 0; }
    .main-nav .dropdown { position: static; }
    /* 面板跟随所在排,位于该排正下方,并压住后续排 */
    .main-nav .nav-row .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1050;
    }
	
}

/* 大型下拉菜单(带分类产品图) */
.mega-menu {
    background: #fff;
    border: 1px solid #00a0dc;
    border-top: 0;
    border-radius: 0;
    padding: 18px 20px;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.menu-cells {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px 14px;
}
.menu-cell .cell-title {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: var(--ac-blue);
    margin-bottom: 8px;
    line-height: 1.25;
}
.menu-cell .cell-title:hover { text-decoration: underline; }
.menu-cell .cell-title .fa { font-size: 12px; }
.menu-cell .cell-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    border: 1px solid #d0d0d0;
    background: #fff;
    padding: 4px;
    transition: border-color .2s;
}
.menu-cell .cell-img:hover { border-color: var(--ac-accent); }
.menu-cell .cell-img img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
}

/* ======================= 首页横幅轮播 ======================= */
.hero-wrap {
    max-width:100%;
    margin: 25px auto 0;
    padding: 0 12px;
}
.hero-carousel {
    box-shadow: 0 -3px 25px 0 rgba(0,0,0,.5);
}
.hero-carousel .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 6%; }
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.hero-down {
    text-align: center;
    padding: 12px 0 4px;
}
.hero-down a {
    color: var(--ac-accent);
    font-size: 34px;
    display: inline-block;
    animation: acBounce 2s infinite;
}
@keyframes acBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

/* ======================= 首页 4 个 CTA 卡片 ======================= */
.home-ctas { margin: 20px auto 10px; }
.home-cta {
    margin: 10px 0;
    padding: 5px;
    background: #fff;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.5);
    height: calc(100% - 20px);
}
.home-cta img { width: 100%; height: auto; }
.home-cta h2 {
    margin: 20px 0 10px;
    font-weight: 400;
    font-size: 1.3em;
    color: #444;
    text-align: center;
    min-height: 2.6em;
    padding: 0 8px;
}
.home-cta p {
    padding: 0 12px;
    color: #444;
    text-align: center;
    min-height: 4.5em;
}
.home-cta .read-more {
    display: block;
    margin: 10px 0 8px;
    padding: 3px 5px;
    color: var(--ac-accent);
    text-align: center;
    font-size: 14px;
}
.home-cta .read-more:hover { text-decoration: underline; }

/* ======================= 区块标题 ======================= */
.section-title {
    text-align: center;
    color: #333;
    font-size: 28px;
    font-weight: 400;
    margin: 40px 0 20px;
}

/* ======================= 新品轮播 ======================= */
.new-products { margin: 40px auto; }
.product-scroller-wrap { position: relative;	min-height: 1440px; }
.product-scroller {
	width:100%;

}
.product-scroller::-webkit-scrollbar { display: none; }
.product-card {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 10px;
    scroll-snap-align: start;
	float: left;
}
@media (max-width: 1199px) { .product-card { flex: 0 0 25%; max-width: 25%; } }
@media (max-width: 991px)  { .product-card { flex: 0 0 33.333%; max-width: 33.333%; } }
@media (max-width: 575px)  { .product-card { flex: 0 0 50%; max-width: 50%; } }

.product-card-inner {
    background: #fff;
    padding: 5px;
    position: relative;
    border: 1px solid #eee;
    height: 100%;
    transition: box-shadow .3s;
}
.product-card-inner:hover { box-shadow: 0 0 15px 0 #cbcbcb; }
.product-card-inner .p-img {
    display: block;
    text-align: center;
    padding: 8px;
}
.product-card-inner .p-img img { max-width: 100%; height: auto; }
.p-badge {
    position: absolute;
    top: 11px; left: 11px;
    z-index: 5;
    color: var(--ac-accent);
    font-size: 11px;
    padding: 3px 6px;
	font-weight: bolder;
}
.p-title {
    display: block;
    min-height: 44.8px;
    max-height: 44.8px;
    overflow: hidden;
    padding: 5px 4px;
    text-align: center;
    color: #333;
    font-size: 13px;
    line-height: 1.35;
}
.p-title:hover { color: var(--ac-blue); }
.p-price {
    text-align: center;
    color: var(--ac-blue);
    font-size: 16px;
    font-weight: 700;
}
.p-vat {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}
.scroller-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 164, 225, .85);
    color: #fff;
    font-size: 16px;
}
.scroller-btn:hover { background: var(--ac-blue); }
.scroller-btn.prev { left: -6px; }
.scroller-btn.next { right: -6px; }

/* ======================= 品牌墙 ======================= */
.popular-brands { margin: 40px auto 50px; }
.brands-box { border: 1px solid #b7b7b7; }
.brands-row .brand-cell {

    max-width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border-bottom: 1px solid #e5e5e5;
    min-height: 110px;
}
.brands-row .brand-cell img {
    max-width: 100%;
    max-height: 100%;
    transition: transform .25s;
}
.brands-row .brand-cell:hover img { transform: scale(1.06); }
.brands-row .brand-cell.all {
    background: var(--ac-green);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.brands-row .brand-cell.all span { color: #fff; }
.brands-row .brand-cell.all:hover { background: var(--ac-green-light); }
@media (max-width: 767px) {
    .brands-row .brand-cell { flex: 0 0 33.3333%; max-width: 33.3333%; }
}

/* ======================= 页脚 ======================= */
.site-footer {
    background: var(--ac-blue);
    color: #fff;
    margin-top: 40px;
}
.site-footer a { color: #fff; }

/* 页脚顶部 4 个 CTA */
.footer-ctas { padding: 30px 0 10px; }
.cta-block { padding: 10px; height: 100%; }
.cta-block a {
    display: flex;
    align-items: center;
    color: #fff;
}
.cta-block .cta-icon {
    font-size: 34px;
    width: 54px;
    text-align: center;
    flex: 0 0 54px;
}
.cta-block .cta-right { margin-left: 10px; }
.cta-block .cta-header { font-size: 24px; font-weight: 700; line-height: 1.2; }
.cta-block .cta-subheader { font-size: 13px; }
.cta-block:hover {
    background: #fff;
    transition: all .5s;
}
.cta-block:hover a { color: #333; }

/* 邮件订阅 + 社交 */
.footer-connect {
    padding: 20px 0 30px;
    border-top: 1px solid rgba(255,255,255,.25);
}
.footer-connect h2,
.footer-company h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 14px;
}
.footer-connect .intro { margin-bottom: 10px; }
.footer-connect input[type="email"] {
    width: 100%;
    background: #fff;
    border: 0;
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
}
.footer-connect input[type="email"]:focus { outline: 2px solid var(--ac-accent); }
.footer-connect .btn-subscribe {
    width: 100%;
    margin-top: 10px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0;
    padding: 8px;
    font-size: 15px;
}
.footer-connect .btn-subscribe:hover { background: #fff; color: #444; }
.footer-connect .privacy-note {
    color: #fff;
    font-style: italic;
    font-size: 12px;
    margin-top: 10px;
}
.social-text { margin-bottom: 15px; }
.social-icons a {
    display: inline-block;
    width: 52px; height: 52px;
    line-height: 52px;
    text-align: center;
    font-size: 26px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-right: 12px;
    transition: all .4s;
}
.social-icons a:hover {
    background: #fff;
    color: var(--ac-blue);
    transform: rotate(360deg);
}

/* 页脚公司信息 */
.footer-company {
    padding: 10px 0 30px;
    border-top: 1px solid rgba(255,255,255,.25);
}
.footer-company p { color: #fff; font-size: 15px; }
.footer-company p u { text-decoration: underline; }
.footer-company .chip {
    background: #fff;
    color: #333;
    font-size: 15px;
    padding: 3px 8px;
    margin: 10px 15px 0 0;
    display: inline-block;
}
.footer-company .chip:hover { color: var(--ac-blue); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 3px; }
.footer-menu a { color: #fff; font-size: 13.5px; }
.footer-menu a:hover { color: #333; }

/* 页脚底部黑色条 */
.footer-bottom {
    background: #000;
    padding: 24px 0 14px;
    text-align: center;
}
.footer-bottom .quick-links {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.footer-bottom .quick-links li {
    display: inline-block;
    margin: 0 4px;
}
.footer-bottom .quick-links a {
    color: #fff;
    font-size: 13px;
    padding: 2px 6px;
}
.footer-bottom .quick-links a:hover { color: var(--ac-blue); }
.contact-chips { margin-bottom: 14px; }
.contact-chips .chip {
    display: inline-block;
    color: #fff;
    padding: 6px 12px;
    margin: 3px 4px;
    font-size: 13.5px;
}
.contact-chips .chip i { margin-right: 6px; }
.contact-chips .chip.map { background: #777; }
.contact-chips .chip.phone { background: var(--ac-green-light); }
.contact-chips .chip.form { background: #fe9900; }
.contact-chips .chip:hover { background: #fff; color: #333; }
.footer-bottom .copyright-line { color: #fff; font-size: 15px; }
.footer-bottom .copyright-line .name { font-weight: 700; }
.footer-bottom .credit { color: #fff; text-align: center; font-size: 13px; }

/* ======================= ESPA 横幅 ======================= */
.espa-banners {
    text-align: center;
    padding: 22px 10px;
    background: #fff;
}
.espa-banners img { max-width: 100%; height: auto; margin: 5px 8px; }

/* ======================= 移动端调整 ======================= */
@media (max-width: 991px) {
    .motto { display: none; }
    .main-nav .nav-link { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
    .main-nav .dropdown-menu {
        background: rgba(255,255,255,.08);
        border: 0;
        box-shadow: none;
        padding: 8px 0 8px 12px;
    }
    .menu-cells { grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
    .menu-cell .cell-title { color: #fff; }
    .menu-cell .cell-img { border-color: rgba(255,255,255,.4); }
    .site-header { padding: 18px 0 4px; }
}
@media (max-width: 575px) {
    .cta-block .cta-header { font-size: 20px; }
    .footer-connect h2, .footer-company h2 { font-size: 20px; }
}

/* ==================== 导航下方联系信息条 ==================== */
.contact-strip {
    background: #f2f2f2;
    border-bottom: 1px solid #e2e2e2;
    padding: 50px 0 50px;
}
.contact-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.cs-logo img { height: 100px; width: auto; display: block; }
.cs-social {
    margin-left: auto;
    display: flex;
    gap: 14px;
}
.cs-social a {
    color: #8a8a8a;
    font-size: 17px;
    transition: color .15s;
}
.cs-social a:hover { color: var(--ac-blue); }
.cs-cols {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 26px;
}
.cs-contact p {
    margin: 0 0 16px;
    color: #333;
    font-size: 15px;
}
.cs-contact p:last-child { margin-bottom: 0; }
.cs-contact a { color: #333; text-decoration: none; }
.cs-contact a:hover { color: var(--ac-blue); }
.cs-links { text-align: left; }
.cs-links a {
    display: block;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 16px;
}
.cs-links a:last-child { margin-bottom: 0; }
.cs-links a:hover { color: var(--ac-blue); }
@media (max-width: 991px) {
    .contact-strip { padding: 20px 0; }
    .cs-social { margin-left: 0; margin-top: 14px; }
    .cs-cols { flex-direction: column; gap: 6px; margin-top: 18px; }
    .cs-contact p, .cs-links a { margin-bottom: 10px; }
}
footer + .contact-strip { border-bottom: 0; border-top: 1px solid #e2e2e2; }

