/* Drinks页面样式 */

/* 整体容器样式 */
.banner {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

    .banner img {
        max-width: 100%;
        height: auto;
    }

.ad-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 行样式 */
.ad-row {
    margin-bottom: 40px;
    overflow: hidden;
    clear: both;
}

    .ad-row > h2 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 28px;
        color: #333;
        font-weight: bold;
    }

/* 列样式 */
.ad-col {
    float: left;
    width: 50%;
    height: 445px;
    padding: 15px;
    box-sizing: border-box;
}

.ad-col-text {
    background: #FFFFFF;
    font-weight: normal;
    font-size: 20px;
    color: #333333;
    line-height: 36px;
}

    .ad-col img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .ad-col h2 {
        font-size: 22px;
        color: #333;
        margin-bottom: 10px;
    }

    .ad-col h5 {
        font-size: 16px;
        color: #666;
        margin-bottom: 15px;
    }

    .ad-col p {
        font-size: 14px;
        line-height: 1.6;
        color: #555;
    }
/* Foods页面样式 */

/* 整体容器样式 */
.banner {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    position: relative; /* 添加相对定位，作为banner-info的定位参考 */
}

.banner img {
    max-width: 100%;
    height: auto;
    display: block;
}

.banner-info {
    position: absolute; /* 改为绝对定位 */
    top: 50%; /* 垂直居中 */
    right: 10%; /* 放置在右侧 */
    transform: translateY(-50%); /* 精确垂直居中 */
    z-index: 10; /* 确保位于上层 */
    text-align: center; /* 文本居中 */
    padding: 20px; /* 添加内边距 */
    max-width: 40%; /* 限制最大宽度 */
}

.ad-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative; /* 添加z-index使其位于顶层 */
    z-index: 10; /* 添加z-index使其位于顶层 */
}

/* 行样式 */
.ad-row {
    margin-bottom: 40px;
    overflow: hidden;
    clear: both;
}

    .ad-row > h2 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 28px;
        color: #333;
        font-weight: bold;
    }

/* 列样式 */
.ad-col {
    float: left;
    width: 50%;
    height: 445px;
    padding: 15px;
    box-sizing: border-box;
}

    .ad-col img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .ad-col h2 {
        font-size: 22px;
        color: #333;
        margin-bottom: 10px;
    }

    .ad-col h5 {
        font-size: 16px;
        color: #666;
        margin-bottom: 15px;
    }

    .ad-col p {
        font-size: 14px;
        line-height: 1.6;
        color: #555;
    }

/* 产品行样式 */
.ad-row-box {
    margin-top: -180px;
    margin-bottom: 40px;
    overflow: hidden;
    clear: both;
    text-align: center;
    position: relative;
    background: #E1DBF2;
    z-index: 5; /* 添加较低的z-index */
}

.shopping-box {
    position: relative;
    z-index: 5; /* 添加较低的z-index */
}

.ad-line-box {
    height: 66px;
    background-color: transparent;
    width: 80%;
    margin: 20px auto;
    border: 1px dashed #999;
    position:relative;
    z-index: 15;
}

/* 标语样式 - 居中显示 */
.ad-slogan {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 30px auto;
    line-height: 1.5;
    max-width: 80%;
    white-space: pre-line;
}

/* 产品列样式 */
.ad-col-prdouct {
    display: inline-block;
    width: 45%;
    margin: 0 2%;
    vertical-align: top;
    box-sizing: border-box;
}

.ad-col-addchart {
    padding: 15px;
    transition: all 0.3s ease;
}

    .ad-col-addchart:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    }

    .ad-col-addchart img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 15px;
    }

.ad-col-addchart-info {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    white-space: pre-line;
}

.ad-col-addchart-action {
    display: inline-block;
    background: #333333;
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .ad-col-addchart-action:hover {
        background: #333333;
    }

/* 响应式布局 */
@media screen and (max-width: 768px) {
    .page {
        overflow: none;
        min-height: 8600px;
    }

    .ad-col {
        width: 100%;
        float: none;
        height: auto;
    }

    .ad-row > h2 {
        font-size: 24px;
    }

    .ad-col h2 {
        font-size: 20px;
    }

    .ad-col-prdouct {
        width: 90%;
        margin: 0 auto 20px;
        display: block;
    }

    .ad-slogan {
        font-size: 20px;
        margin: 20px auto;
    }

    .banner-info {
        position: absolute; /* 改为绝对定位 */
        top: 25%; /* 垂直居中 */
        left: 170px; /* 放置在右侧 */
        transform: translateY(-50%); /* 精确垂直居中 */
        z-index: 10; /* 确保位于上层 */
        /*text-align: center;*/ /* 文本居中 */
        /*padding: 20px;*/ /* 添加内边距 */
        max-width: 100%; /* 限制最大宽度 */
        scale: 0.6;
        font-size: 12px;
        min-width: 260px;
    }
}
/* 响应式布局 */
@media screen and (max-width: 768px) {
    .ad-col {
        width: 100%;
        float: none;
    }

    .ad-row > h2 {
        font-size: 24px;
    }

    .ad-col h2 {
        font-size: 20px;
    }
}
