﻿.promotion-campaign-page{padding-bottom:50px;}
.promotion-campaign-page .left-page{width:380px; float:left; position:relative;}
.promotion-campaign-page .right-page{width:calc(100% - 380px); float:right; position:relative; padding-left:20px;}
@media (max-width:767px) {
    .promotion-campaign-page{padding-bottom:6px;}
    .promotion-campaign-page .left-page{padding-bottom:6px; width:100%;}
    .promotion-campaign-page .right-page{width:100%; padding-left:0; margin-top:0px;}
}
@media (min-width:768px) and (max-width:991px) {
    .promotion-campaign-page .left-page{width:100%;}
    .promotion-campaign-page .right-page{width:100%; padding-left:0; margin-top:20px;}
}
@media (min-width:992px) and (max-width:1199px) {
    .promotion-campaign-page .left-page{width:100%; display:flex}
    .promotion-campaign-page .right-page{width:100%; padding-left:0; margin-top:20px;}
}

/* Left */
.campaign-hero{width:100%; position:relative; background:#c02e27; border-radius:16px 16px 14px 14px ;float:left; box-shadow: 0 10px 15px rgba(0,0,0,.15)}
.campaign-hero:after{ width:calc(100% - 60px); height:12px; background:#a50800; background-image: linear-gradient(to bottom, #a1150e, #e04343);border-radius: 0 0 15px 15px; position:absolute; top:100%; left:30px; display:block; box-shadow: 0 10px 15px 0px rgba(0,0,0,.3);}
.campaign-hero .promotion-state{width:100px; height:100px; position:absolute; top:-5px; left:-5px; z-index:2; overflow:hidden;}
.campaign-hero .promotion-state:before{content:''; border-bottom:5px solid #ff9800; border-left:5px solid transparent; border-right:5px solid transparent; position:absolute; top:0; right:9px;}
.campaign-hero .promotion-state:after{content:''; border-right:5px solid #ff9800; border-top:5px solid transparent; border-bottom:5px solid transparent; position:absolute; left:0; bottom:9px;}
.campaign-hero .promotion-state span{transform: rotate(-45deg); transform-origin: center; width:200px; height: 26px; line-height:26px; margin: -30px 0 0 -115px; position:absolute; top:50%; left:50%; text-align:center; background:#ffc107; font-size:12px; font-weight:500; box-shadow: 0 2px 5px rgba(0,0,0,.1); z-index:2; }
.campaign-hero .wrap-img{width:100%; position:relative;}
.campaign-hero .wrap-img:before{content:''; padding-top:66.66666666%; display:block;}
.campaign-hero .wrap-img .box{width:100%; height:100%; position:absolute; top:0; left:0; display:block;}
.campaign-hero .wrap-img .box img{width:inherit; height:inherit; object-fit:cover; border-radius:14px 14px 0 0}
.campaign-hero .caption{width:100%; float:left; position:relative; padding: 30px 30px ; color:#fff;}
.campaign-hero .caption:after{content:''; width:100%; height:125px; margin-bottom:-60px;  background:url(../Default/bg-caption-promotion.png) no-repeat center bottom; background-size: 100% auto; position:absolute; left:0; bottom:100%; }
.campaign-hero .caption h2{margin:0; position:relative; z-index:3; font-size:24px; font-weight:600 }
.campaign-hero .caption .date-promotion{width:100%; position:relative; z-index:3; font-size:12px; font-weight:400; opacity:.75; padding-top:10px;}
.campaign-hero .caption p{width:100%; position:relative; z-index:3; padding-top:20px; margin:0;}
.campaign-hero .campaign-actions{width:100%; display:flex; align-items:center; justify-content:space-between; position:relative; padding: 0 0px; margin-top:20px;}
.campaign-hero .campaign-actions a{border:none; outline:none; line-height:36px; padding:0; border-radius:19px; background:#ffc107; padding: 0 15px; font-weight:600; font-size:14px; text-align:left; display:flex; align-items:center; justify-content:space-between; color:var(--color); box-shadow: inset 0 0 rgba(0,0,0,0); transition:.3s;}
.campaign-hero .campaign-actions a:hover{box-shadow:inset 0 36px #ff9800; color:#fff;}
.campaign-hero .campaign-actions a:after{font-family: "Font Awesome 5"; font-weight: 900; content: "\f178"; font-size:16px; padding-left:10px}

.campaign-panel{width:100%; background:#fff; border-radius:0 0 14px 14px; padding:30px 30px 20px 30px; float:left; margin-top:-5px;}
.campaign-panel h2{font-size:18px; font-weight:600; width:100%; border-bottom:1px solid var(--color-border); padding-bottom:15px; margin-bottom:15px;}

@media (max-width:767px) {
    .campaign-hero{border-radius: 0 0 10px 10px; width:calc(100% + 12px); margin-left:-6px;}
    .campaign-hero .wrap-img .box img{border-radius:0;}
    .campaign-hero .caption{padding: 20px 15px 15px 15px}
    .campaign-hero .caption h2{font-size:20px;}
    .campaign-hero .caption:after{margin-bottom:-80px; height:220px; background-size:520px auto}
    .campaign-panel{padding: 25px 10px 15px 10px}
    .campaign-panel h2{font-size:16px; padding-bottom:10px; margin-bottom:10px; font-weight:bold}
}

@media (min-width:768px) and (max-width:991px) {
    .campaign-hero{box-shadow:none; border-radius: 14px 14px 12px 12px; width:100%; position:relative; z-index:3; }
    .campaign-hero .wrap-img .box img{border-radius:12px 12px 0 0}
    .campaign-hero .caption:after{margin-bottom:-105px; height:220px}
}

@media (min-width:992px) and (max-width:1199px) {
    .campaign-hero{box-shadow:none; border-radius: 14px 14px 12px 12px; max-width:350px; position:relative; z-index:3; }
    .campaign-hero .wrap-img .box img{border-radius:12px 12px 0 0}
    .campaign-hero .caption:after{margin-bottom:-52px;}
    .campaign-panel{ border-radius: 0 12px 12px 0; box-shadow: -20px 0 #fff; margin:0;}
}

/* Right */
.campaign-benefit-tabs{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;}
.campaign-benefit-tabs button{flex:0 0 auto;border:1px solid var(--color-blue);border-radius:7px;background:#fff;color:var(--color-blue);padding:10px 15px;font:inherit;font-weight:600;cursor:pointer;}
.campaign-benefit-tabs button[aria-selected="true"]{background:var(--color-blue);color:#fff;}
.campaign-benefit-tabs button:focus-visible{outline:2px solid var(--color-blue);outline-offset:2px;}
.campaign-benefit-list article[hidden]{display:none!important;}
.campaign-benefit-list article{margin-top:0;}
article{width:100%; float:left; margin-top:15px;}
article:first-child{margin:0;}
.campaign-benefit-heading{width:100%; height:50px; float:left; position:relative; background:#fff; border-radius:7px; display:flex; align-items:center; justify-content:space-between; padding-right:15px; gap:15px; z-index:2; box-shadow: 0 1px 0 rgba(0,0,0,.03)}
.campaign-benefit-heading .info-group{position:relative; padding:12px 0 12px 60px;}
.campaign-benefit-heading .info-group span{position:absolute; top:50%; left:-5px; line-height:20px; height:20px; margin-top:-10px; border-radius:4px; background:var(--color-red); color:#fff; font-size:11px; padding: 0 5px; box-shadow: 0 0 0 5px var(--color-bg)}
.campaign-benefit-heading .info-group h3{display:block; margin:0; font-size:16px; font-weight:600;}
.campaign-benefit-heading .info-group p{display:block; margin:0; padding:3px 0 0 0; opacity:.75; font-size:13px; font-weight:500}
.campaign-benefit-heading .col-right{position:relative; display:flex; gap:15px; align-items:center}
.campaign-benefit-heading .col-right b{color:var(--color-red); font-weight:bold; white-space:nowrap}
.campaign-benefit-heading .col-right a{white-space:nowrap; line-height:30px; background:var(--color-blue); color:#fff; padding: 0 12px; border-radius:7px; display:block; font-size:12px; font-weight:500; display:flex; gap:10px;}
.campaign-benefit-heading .col-right a:after{font-family: "Font Awesome 5"; font-weight: 400;content: "\f178"; font-size:16px;}
.note-campaign{width:100%; margin:0; padding:0; position:relative; z-index:1; background:rgba(255,255,255,.5); border-radius: 0 0 7px 7px; padding: 15px 15px 7px 15px; float:left; margin-top:-7px; font-size:13px;}

@media (max-width:767px) {
    .campaign-benefit-heading{flex-direction:column; gap:0; align-items:start; padding-bottom:12px; height:initial; padding-right:0;}
    .campaign-benefit-heading .col-right{padding: 0 10px; justify-content:space-between; width:100%;}

}

.campaign-combo-card{}
.campaign-combo-card .info{width:100%; float:left;}
.campaign-combo-card .info .name{font-size:17px; font-weight:bold; color:var(--color-red); padding-bottom:10px;}
.campaign-combo-card .info .name:before{content:'Đơn từ:'; font-size:14px; font-weight:500; padding-right:5px;}
.campaign-combo-card .info .campaign-combo-components{margin-top:10px; font-size:13px; font-weight:500;opacity:.75}
.campaign-combo-card .wrap-btn{padding-right:0;}
.campaign-combo-card .wrap-btn .nav-addtocart:after{content:"\f06b"; font-weight:900 }

ul.list-product{display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:10px 0 0 0; padding:0;}
ul.list-product li{background:#fff; border-radius:10px;}
@media (max-width:767px) {
    article{margin-top:6px;}
    ul.list-product{grid-template-columns:repeat(2,1fr); gap:6px; margin-top:6px;}
}
@media (min-width:768px) and (max-width:991px) {
    ul.list-product{grid-template-columns:repeat(3,1fr);}
}
@media (min-width:1200px) and (max-width:1439px) {
    ul.list-product{grid-template-columns:repeat(3,1fr);}
}
