/* 弹窗 */
/* 全局覆盖 Element UI 抽屉的样式，使其背景色符合设计 */
.custom-drawer .el-drawer {
    background-color: #fcecdb !important;
    /* 图中所示的米色背景 */
}

/* 调整关闭按钮样式，使其符合设计图 */
.custom-drawer .el-drawer__header {
    /* 隐藏 Element UI 默认的 header 区域，因为我们自己控制关闭按钮 */
    display: none;
}

.custom-drawer .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1000;
    /* 确保在最上层 */
}

/* 抽屉内容基础样式 */
.drawer-content {
    background-color: #fcecdb;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    /* 确保内边距和边框包含在元素总宽度和高度内 */
    padding-top: 50px;

    /* 为关闭按钮留出空间 */
}

/* Logo 样式 */
.drawer-header {
    text-align: center;
    padding: 20px;
}

.logo {
    width: 80px;
    /* 调整logo大小 */
    height: auto;
}

/* 导航列表样式 */
.navigation-list {
    list-style: none;
    padding: 0;
    margin: 0;

}

.navigation-item {
    margin-bottom: 5px;
    /* 减小导航项之间的垂直间距 */
}

.navigation-item a {
    text-decoration: none;
    color: #102223;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-family: 'Bowlby One', display;
    text-transform: uppercase;
    font-size: 30px;
    cursor: pointer;
}

.navigation-item a:hover {
    color: #FF7F27;
    /* 鼠标悬停效果 */
}

.menu-plus-icon {
    font-size: 16px;
    margin-left: 10px;
    /* + 号与文字的间距 */
}

/* ==================================== */
/* PC 端特定样式 */
/* ==================================== */
.drawer-content.pc-mode {
    padding-left: 20px;
    /* PC端左侧内边距 */
    padding-right: 20px;
    /* PC端右侧内边距 */
}

.drawer-content.pc-mode .drawer-header {
    padding-top: 40px;
    /* PC端Logo顶部内边距 */
    padding-bottom: 30px;
    text-align: left;
    /* Logo 左对齐 */
}

.drawer-content.pc-mode .navigation-list {
    padding-left: 0;
    /* PC端导航列表左侧无额外内边距 */
    padding-right: 0;
    /* PC端导航列表右侧无额外内边距 */
}

.drawer-content.pc-mode .navigation-item a {
    font-size: 30px;
    /* PC端字体大小 */
    /* PC端导航项垂直内边距 */
}

/* ==================================== */
/* 移动端特定样式 */
/* ==================================== */
.drawer-content.mobile-mode {
    padding-left: 15px;
    /* 移动端左侧内边距 */
    padding-right: 15px;
    /* 移动端右侧内边距 */
}

.drawer-content.mobile-mode .drawer-header {
    padding-top: 20px;
    /* 移动端Logo顶部内边距 */
    padding-bottom: 20px;
    text-align: center;
    /* Logo 居中 */
}

.drawer-content.mobile-mode .navigation-list {
    padding-left: 0;
    padding-right: 0;
}

.drawer-content.mobile-mode .navigation-item {
    margin-bottom: 15px;
    /* 移动端导航项之间更大的间距 */
}

.drawer-content.mobile-mode .navigation-item a {
    font-family: 'Bowlby One';
    background-color: rgba(198, 46, 61, 0.05);
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
    color: #102223;
    padding: 15px 10px;
    justify-content: center;
    position: relative;
}



.order-now-container {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    padding-top: 0;
}

.order-now-button {
    display: block;
    width: 100%;
    /* 按钮宽度 */
    background-color: #FF7F27;
    /* 图中所示的红色 */
    color: #fff;
    border-color: #bb2836;
    font-weight: bold;
    font-size: 16px;
    padding: 15px 0;
    border-radius: 50px;
    /* 圆角 */
}

.order-now-button:hover {
    background-color: #d0303f;
    /* 悬停效果 */
    border-color: #d0303f;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.product-detail {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-subtitle {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-stats {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.like-btn {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s;
}

.like-btn.active {
    background-color: #ffecec;
    color: #e25555;
}

.like-btn i {
    margin-right: 5px;
}

.comments-section {}

.comments-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.comment-form {
    margin-bottom: 20px;
}

.comment-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    resize: none;
}

.submit-btn {
    background-color: #409EFF;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-btn {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

.comment-list {
    list-style: none;
}

.comment-item {
    background-color: #eee;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-user {
    font-weight: bold;
}

.comment-like {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
}

.comment-like.active {
    color: #e25555;
}

.comment-like i {
    margin-right: 5px;
}

.comment-body {
    margin-bottom: 10px;
    line-height: 1.5;
    padding: 0 !important;
    min-height: 0;
}

.comment-content {
    margin-right: 5px;
}

.comment-location {
    color: #999;
    font-size: 12px;
}

.dialog-btn-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.el-empty {
    text-align: center;
    padding: 40px 0;
    color: #909399;
}

.responsive-dialog {}

.responsive-dialog .el-dialog__body {
    padding: 32px 24px 18px 24px;
}

.responsive-dialog .dialog-product-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.responsive-dialog .dialog-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.responsive-dialog .dialog-title {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.responsive-dialog .dialog-like {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #e25555;
    font-size: 18px;
    gap: 4px;
}

.responsive-dialog .dialog-like .fa-heart.liked {
    color: #e25555;
}

.responsive-dialog .dialog-like .fa-heart.not-liked {
    color: #bbb;
}

.responsive-dialog .dialog-subtitle {
    color: #888;
    font-size: 16px;
    margin-bottom: 12px;
}

.responsive-dialog .dialog-comment-count {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    color: #888;
    font-size: 15px;
    gap: 6px;
}

.responsive-dialog .dialog-comment-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.responsive-dialog .dialog-comment-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.responsive-dialog .dialog-comment-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 14px;
    gap: 10px;
}

.responsive-dialog .dialog-comment-user {
    font-weight: 500;
    color: #333;
}

.responsive-dialog .dialog-comment-content {
    color: #666;
    font-size: 15px;
    margin: 2px 0 0 0;
}

.responsive-dialog .dialog-comment-like {
    display: flex;
    align-items: center;
    margin-left: 12px;
    cursor: pointer;
    color: #e25555;
    font-size: 15px;
    gap: 3px;
}

.dialog-btn-row {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

@media (max-width: 1200px) {
    .responsive-dialog .el-dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        border-radius: 0 !important;
    }

    .responsive-dialog .el-dialog__body {
        padding: 18px 6px 10px 6px;
    }
}

.index_dialog .el-dialog {
    background-color: #000 !important;
}

.index_dialog .responsive-dialog .el-dialog__body {
    background-color: #000 !important;
}

.index_dialog {
    color: #fff !important;

}

.index_dialog .el-dialog__close {
    color: #fff !important;
    font-size: 30px;
}

.index_dialog_title {
    color: #fff !important;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.index_dialog .index_dialog_subtitle {
    color: #fff !important;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.index_dialog_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.index_dialog_btn>a {
    flex: 1;
    padding: 12px 0;
    background-color: rgb(217, 43, 41) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    border-radius: 12px;
}

.el-dialog__wrapper {
    overflow: hidden !important;
    display: flex;
    justify-content: center;
    align-items: center;
}