/* Auto-isolated page CSS - DO NOT EDIT HERE; edit this file. */



/* ===== Curate 标题限宽：防止 Bring 等单词突出 (2026-08-24) ===== */
.page-id-5799 .elementor-section[data-id="6ea2137"] .qodef-m-title {
    max-width: 660px;
}

.page-id-5799 .elementor-section[data-id="6ea2137"] .qodef-m-title,
.page-id-5799 .elementor-section[data-id="6ea2137"] .qodef-m-subtitle {
    overflow-wrap: break-word;
    word-break: normal;
}


/* ===== Main Categories 画廊：标题居中 + 默认蒙版 + hover 去蒙版 (2026-08-24) ===== */
.page-id-5799 .qodef-image-gallery .qodef-image-wrapper {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.page-id-5799 .qodef-image-gallery .qodef-image-wrapper img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    aspect-ratio: 3 / 4 !important;
}

.page-id-5799 .qodef-image-gallery .qodef-image-wrapper:hover img {
    transform: scale(1.08);
}

/* 默认整图蒙版（深色），hover 时去掉 */
.page-id-5799 .qodef-image-gallery .qodef-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(31,38,30,0.35);
    transition: background 0.5s ease;
    pointer-events: none;
}

.page-id-5799 .qodef-image-gallery .qodef-image-wrapper:hover::after {
    background: rgba(31,38,30,0);
}

/* 标题容器：垂直居中，无背景色块 */
.page-id-5799 .qodef-image-gallery .qodef-e-content {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: none;
    text-align: center;
    transition: opacity 0.4s ease;
}


.page-id-5799 .qodef-image-gallery .qodef-e-caption {
    color: #ffffff !important;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin: 0;
}

.page-id-5799 .qodef-image-gallery .qodef-e-additional-caption {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* 左右箭头：Hero 同款细线 V 形，无圆形底 */
.page-id-5799 .qodef-image-gallery .swiper-button-prev svg,
.page-id-5799 .qodef-image-gallery .swiper-button-next svg {
    display: none;
}

.page-id-5799 .qodef-image-gallery .swiper-button-prev,
.page-id-5799 .qodef-image-gallery .swiper-button-next {
    background: none !important;
    border-radius: 0 !important;
    width: 26px;
    height: 60px;
    top: 50%;
    margin-top: -30px;
    left: auto;
    right: auto;
    z-index: 5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-id-5799 .qodef-image-gallery .swiper-button-prev {
    left: 30px;
}

.page-id-5799 .qodef-image-gallery .swiper-button-next {
    right: 30px;
}

.page-id-5799 .qodef-image-gallery .swiper-button-prev::before,
.page-id-5799 .qodef-image-gallery .swiper-button-next::before {
    content: '';
    display: block;
    width: 26px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform .2s ease-out;
}

.page-id-5799 .qodef-image-gallery .swiper-button-prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 50.9'%3E%3Cpolyline fill='none' stroke='%23FFFFFF' stroke-width='1' stroke-miterlimit='10' points='25.6,0.4 0.7,25.5 25.6,50.6'/%3E%3C/svg%3E");
}

.page-id-5799 .qodef-image-gallery .swiper-button-next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 50.9'%3E%3Cpolyline fill='none' stroke='%23FFFFFF' stroke-width='1' stroke-miterlimit='10' points='0.4,50.6 25.3,25.5 0.4,0.4'/%3E%3C/svg%3E");
}

.page-id-5799 .qodef-image-gallery .swiper-button-prev:hover::before {
    transform: translateX(-3px);
}

.page-id-5799 .qodef-image-gallery .swiper-button-next:hover::before {
    transform: translateX(3px);
}


/* 2026-08-31: 首页画廊居中放大效果（centeredSlides active 放大）
   2026-09-04: 改为 5 张渐大体系——按 data-dist 阶梯（0 最大 → ±1 → ±2 渐小），外圈弱化 */




/* 2026-08-31: 画廊分页点与图片间距加大 */
body.page-id-5799 .qodef-image-gallery .qodef-swiper-pagination,
body.page-id-5799 .qodef-image-gallery .swiper-pagination {
    margin-top: 120px !important;
    position: relative !important;
}


/* 2026-08-31: 画廊箭头移到图片区域外部（不压图） */
@media (min-width: 1025px) {
    body.page-id-5799 .qodef-image-gallery .swiper-button-prev {
        left: -40px !important;
    }
    body.page-id-5799 .qodef-image-gallery .swiper-button-next {
        right: -40px !important;
    }
}

@media (max-width: 1024px) {
    body.page-id-5799 .qodef-image-gallery .swiper-button-prev {
        left: 10px !important;
    }
    body.page-id-5799 .qodef-image-gallery .swiper-button-next {
        right: 10px !important;
    }
}


/* 2026-08-31: 画廊容器收窄（竖图占版面大） */
body.page-id-5799 .qodef-image-gallery {
    display: block !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    box-sizing: border-box;
}


/* 2026-08-31: 顺滑修复——hover 图片不再单独触发蒙版/缩放（避免与滑动动画打架） */
.page-id-5799 .qodef-image-gallery .qodef-image-wrapper:hover img {
    transform: none !important;
}

.page-id-5799 .qodef-image-gallery .qodef-image-wrapper:hover::after {
    background: rgba(31,38,30,0.35) !important;
}


/* ===== 2026-09-04 画廊箭头可见性修复：移入图区边缘（Hero 同款白色细线）+ 淡投影 ===== */
body.page-id-5799 .qodef-image-gallery .swiper-button-prev {
    left: 18px !important;
}

body.page-id-5799 .qodef-image-gallery .swiper-button-next {
    right: 18px !important;
}

body.page-id-5799 .qodef-image-gallery .swiper-button-prev::before,
body.page-id-5799 .qodef-image-gallery .swiper-button-next::before {
    filter: drop-shadow(1px 1px 2px rgba(31,38,30,0.4)) drop-shadow(0 0 1px rgba(31,38,30,0.25));
}

@media (max-width: 1024px) {
    body.page-id-5799 .qodef-image-gallery .swiper-button-prev {
        left: 8px !important;
    }
    body.page-id-5799 .qodef-image-gallery .swiper-button-next {
        right: 8px !important;
    }
}


/* ===== 2026-09-04 v3 箭头移到画廊外侧，与首屏 Hero 箭头水平对齐（视口 x=78，Hero sr7 箭头实测值） =====
   容器居中 1100px：容器左缘 = 50vw - 550px
   左箭头目标视口 left=78  → 相对容器 left = 78 - (50vw - 550) = calc(628px - 50vw)
   右箭头对称                                                   */
body.page-id-5799 .qodef-image-gallery .swiper-button-prev {
    left: calc(628px - 50vw) !important;
    right: auto !important;
}

body.page-id-5799 .qodef-image-gallery .swiper-button-next {
    right: calc(628px - 50vw) !important;
    left: auto !important;
}

@media (max-width: 1100px) {
    body.page-id-5799 .qodef-image-gallery .swiper-button-prev {
        left: 10px !important;
        right: auto !important;
    }
    body.page-id-5799 .qodef-image-gallery .swiper-button-next {
        right: 10px !important;
        left: auto !important;
    }
}


/* ===== 2026-09-26 移除: 9-04 时代的画廊箭头 / 杂志轮播 stage 样式 =====
   原因: 这些规则的选择器(.qodef-cavfc-arrow / .qodef-cavfc-stage)被新版首页 Featured
   Collections 组件复用, 造成严重样式污染(箭头被 top/left:calc 推到页外、stage 被
   margin:0 auto 强制居中打乱布局)。新组件样式已由 mu-plugins/cavallo-featured-collections.php
   内联完整接管。历史原文: 同目录 page-id-24-removed-20260926.css 及 page-id-24.css.bak-20260926 */

.qodef-mag-item {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    opacity: 0;
    z-index: 1;
    box-shadow: 0 40px 80px -32px rgba(31,38,30,0.5);
    will-change: transform, opacity, filter;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1), opacity 0.5s ease;
}

.qodef-mag-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qodef-mag-mask {
    position: absolute;
    inset: 0;
    background: rgba(31,38,30,0.32);
}

.qodef-mag-cap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 18px;
    pointer-events: none;
}

.qodef-mag-title {
    font-family: Jost, sans-serif;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    max-width: 100%;
}

.qodef-mag-sub {
    font-family: 'Ibarra Real Nova', serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-top: 10px;
}

.qodef-mag-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
}

.qodef-mag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(31,38,30,0.25);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.qodef-mag-dot:hover { background: rgba(31,38,30,0.45); }

.qodef-mag-dot.active {
    background: #1F261E;
    transform: scale(1.4);
    box-shadow: 0 0 0 4px rgba(31,38,30,0.08);
}

@media (max-width: 700px) {
    .qodef-mag-dots { margin-top: 36px; }
    .qodef-mag-cap { padding-left: 46px; padding-right: 46px; }
    .qodef-mag-title { font-size: 19px; letter-spacing: 0.08em; }
    .qodef-mag-sub { font-size: 13px; }
}
/* ===== 2026-09-08: 隐藏首页 demo 标题+数字区(Individuality of your design / High Quality Tailor / 进度条) ===== */
body.page-id-5799 .cav-hide-numbers { display: none !important; }

/* ===== 2026-09-27: 隐藏 FC 标题上方的空 section(e31a043, 93px) ===== */
body.page-id-5799 .cav-hide-spacer { display: none !important; }

/* 2026-10-28 中文首页左侧副标题暂不显示（后台字段保留，后续需要时删除下面这条规则即可） */
body.page-id-5799 .elementor-element-a6df1af .qodef-m-subtitle { display: none !important; }

/* 2026-10-28 「来自不同产地，各有鲜明所长」保持一行：放开标题容器宽度 */
body.page-id-5799 .elementor-element-97ead8c,
body.page-id-5799 .elementor-element-97ead8c .qodef-m-title,
body.page-id-5799 .elementor-element-97ead8c .qodef-m-title-inner { width: 100% !important; max-width: 100% !important; }
body.page-id-5799 .elementor-element-97ead8c .qodef-m-title { white-space: nowrap; }
