
#ad-module-container {
    /* 固定在左下角 */
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 420px; /* 设定模块宽度 */
    /*padding: 10px;*/
    background-color: white;
    border-radius: 20px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);*/
    z-index: 1000; /* 确保在其他内容之上 */
    /* 初始隐藏，通过 JS 控制显示 */
    display: none;
    transition: opacity 0.3s ease;
}
@media (max-width: 600px) {
    #ad-module-container {
        left: unset;
        right: 0;
    }
}

/* ==================== 内部卡片样式 (设计图的主体部分) ==================== */
.ad-card {
    position: relative;
    padding: 10px 10px 14px 10px;
    /* 渐变背景 - 模仿设计图的紫色/橙色/粉色混合 */
    /*background: linear-gradient(135deg, #A855F7, #EC4899, #F59E0B);*/
    /*border-radius: 20px;*/
    color: white;
    text-align: center;
    border-radius: 20px 20px 0px 0px;
    background: linear-gradient(180.00deg, rgba(241, 117, 39, 1),rgba(120, 20, 194, 1) 100%);
}

/* ==================== 顶部品牌和关闭按钮 ==================== */
.ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ad-brand {
    /*margin:6px 0 0 6px;*/
}

.ad-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.ad-close:hover {
    opacity: 1;
}

/* ==================== 促销信息文本样式 ==================== */
.ad-title {
    color: rgba(255, 255, 255, 1);

    font-family: Poppins;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0px;
    text-align: center;
    margin: 0 0 4px 0;
}

.ad-subtitle {
    color: rgba(255, 255, 255, 0.69);

    font-family: Poppins;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
    margin: 0 0 8px 0;
}

.ad-highlight {
    color: rgba(238, 255, 43, 1);

    font-family: Poppins;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    letter-spacing: 0px;
    text-align: center;
}

/* ==================== 优惠码和按钮区域 ==================== */
.ad-actions {
    padding: 11px 0 20px 0;
    width: 251px;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    gap: 7px;
}

.ad-code-label {
    color: rgba(105, 125, 168, 1);

    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: left;
    margin: 0;
}

.ad-code-group {
    display: flex;
    gap: 15px;
    /*padding: 0 20px;*/
}

.ad-code-box {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 组合 11 */
    width: 118px;
    min-width: 118px;
    height: 37px;
    background: #ffffff url("/images/christmas/2025/border.svg");
    padding: 10px 17px;
}





.ad-code-text {
    /* 确保文本不换行 */
    white-space: nowrap;
}

.ad-copy-btn {
    background: none;
    border: none;
    color: #5B21B6;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    font-size: 18px; /* 使用图标字体或 SVG */
    /* 使用了一个简单的复制图标 (U+1F4C3) - 实际项目中建议使用 Font Awesome 或 SVG */
}

/* Shop Now 按钮 */
.ad-shop-btn {
    background: linear-gradient(90deg, #9333EA, #F59E0B); /* 渐变色 */
    border-radius: 8px;
    width: 118px;
    min-width: 118px;
    height: 37px;
    color: rgba(255, 255, 255, 1) !important;

    font-family: Poppins;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*.ad-shop-btn:hover {*/
/*    opacity: 0.9;*/
/*    transform: translateY(-1px);*/
/*}*/

/* ==================== 详情链接 ==================== */
.ad-details-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #3B82F6; /* 蓝色 */
    text-decoration: none;
    padding-bottom: 10px;
}

.ad-details-link:hover {
    text-decoration: underline;
}

/* 复制成功的提示样式 */
.copy-success-tooltip {
    position: absolute;
    /*position: relative;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1001;
}
.ad-header2{
    border-radius: 14px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.1);
    /* 矩形 6 */
    width: 300px;
    height: 120px;
    margin: 0 auto;
    padding: 20px 16px;
}
.ad-actions2{
    /* 矩形 11 */
    width: 420px;
    height: 35px;
    border-radius: 0px 0px 20px 20px;
    background: rgba(228, 253, 255, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}
.ad-actions2 a{
    box-sizing: border-box;
    /*border-bottom: 1px solid rgba(21, 202, 214, 1);*/
    /* 组合 7 */
    width: 156px;
    height: 18px;
    margin: 0;
    padding: 0;
    color: rgba(21, 202, 214, 1);
    text-decoration: underline;
    padding-right: 10px;
    background: url("/images/christmas/2025/line.svg") no-repeat center right;
}
.ad-actions2 a svg
{
    display: inline;
}