/*
Theme Name: Bitdefender Theme
Theme URI: http://test.softwarestore.co.za/twenty-twenty-three-child/
Description: Twenty Twenty-Three Child Theme
Author: Sofserv
Template: twentytwentythree
Version: 1.0.0
*/


:root{
    --bg: #f6f7f9;
    --bg-soft: #ffffff;
    --text: #000;
    --muted: #5a6a7a;
    --primary: #E72325;     /* red */
    --primary-600: #B10304;
    --accent: #0078ff;       /* blue */
    --success: #25a55b;      /* green */
    --warning: #f0a202;      /* amber */

    --border: #e3e7ef;
    --shadow: 0 8px 24px rgba(16,24,40,.06), 0 2px 6px rgba(16,24,40,.04);

    --radius: 16px;
    --radius-sm: 12px;

    --container-max: 1200px; /* default container max width */
    --container-padding: clamp(16px, 4vw, 24px);
    /* Sofserv - globals */
    --wp--style--global--content-size: 1200px;
    --wp--preset--color--primary: #E72325;
    /*--wp--preset--color--primary: #1C7928;*/
    --wp--preset--color--contrast: #ffffff;
}

*,*::before,*::after{box-sizing:border-box}
html {scroll-behavior: smooth;}
html,body{height:100%; font-family: 'IBM Plex Sans', sans-serif; }
body{
    margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color:var(--text);
    line-height:1.45;
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; display:block}
h1,h2,h3{line-height:1.2; margin:0 0 .5rem 0}
p{margin:.25rem 0 .75rem}
a{color:inherit; text-decoration:none}
.container{max-width:var(--container-max); margin:auto; padding-inline:var(--container-padding)}
/* Optional container size modifiers */
.container--sm{--container-max:720px}
.container--md{--container-max:960px}
.container--lg{--container-max:1200px}
.container--xl{--container-max:1440px}
.d-block {display: block!important;}
.d-none {display: none!important;}

div[role="tabpanel"] {
    margin-bottom: 6em;
}

.chip{
    font: normal normal bold 20px/27px IBM Plex Sans;
    letter-spacing: 0px;
    color: #016DFF;
}
.tag{display:inline-block; padding:.15rem .5rem; border-radius:6px; background:#eef7f0; color:#1a7d49; font-weight:600; font-size:.7rem}
.card {position: relative; }
.card .tag.green-tag {background:#D1FADC; color:#0B6A26; font: normal normal normal 12px/14px Arial;}
.card .top-tag.green-tag {
    height: 30px;
    max-width: 350px;
    width: 86%;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    background-color: #1C7928;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding-top: 7px;
    position: absolute;
    top: -39px;
    left: 7%;
    box-sizing: content-box;
}
.muted{color:var(--muted)}
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0}

/* =============================
  Header / .left-nav nav
  ============================= */
#topbar_.left-nav nav {border-bottom: 1px solid #e5e7eb;}
.topbar {display:flex; align-items:center; justify-content: space-between; padding-top: 1em; font-size:.9rem;}
.left-nav {display:flex; align-items:center; gap:16px;}
.logo {font-weight:800; letter-spacing:.2px}
.left-nav nav ul {margin: 0; padding: 0; display: flex;}
.left-nav nav ul li {list-style-type: none;}
.left-nav nav a {font: normal normal normal 14px/16px Arial; margin: 0 1em; padding: 16px 0; display: inline-block;}
.left-nav nav a:hover {color: #006dff;}
.left-nav nav a.active {border-bottom: 4px solid #006dff;}

/* =============================
   Header / hero
   ============================= */
header{
    background: transparent;
    border-bottom:1px solid var(--border);
}

#hero_banner {background: url('/wp-content/uploads/2025/11/hero_banner.png') no-repeat 0 0 #F6F6F6; background-position: top right; background-size: auto 100%; padding: 2em 0;}
.hero{display:grid; grid-template-columns:1.4fr 1.2fr; align-items:center; gap:32px;}
.hero .breadcrumb {
    font: normal normal normal 12px/14px Arial;
    margin: 10px 0 2em;
}
.hero h1{
    font: normal normal bold 24px/32px IBM Plex Sans;
    letter-spacing: 0px;
    color: #000000;
}
.hero h2{
    font: normal normal bold 40px/44px IBM Plex Sans;
    letter-spacing: 0px;
    color: #006DFF;
    margin-bottom: 0.5em;
}
.hero .hero_image {display: none;}
.badges{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.badges img{height: 46px;}

@media (max-width: 600px){
    .hero{grid-template-columns:1fr;}
}

/* =============================
   Tabs / breadcrumb-ish
   ============================= */
.tabs{display:flex; gap:14px; overflow:auto;}
.tabs a {font: normal normal normal 14px/16px Arial; margin: 0 2em 0 0; padding: 16px 0; display: inline-block;}
.tabs a:hover {color: #006dff;}
.tabs a.active {border-bottom: 4px solid #006dff;}

/* =============================
   Pricing cards grid
   ============================= */
.section-title{margin:1.5em 0 0; font: normal normal bold 32px/37px Arial;}
.section-subtitle{margin:10px 0 1em; font: normal normal normal 24px/26px Arial;}

.grid{display:grid; gap: 30px; margin: 0; padding: 0; grid-template-columns:repeat(1, 1fr)}
/* 1 col on small, 2 col on >=700px, 3 col on >=1100px */
@media (min-width:700px){ .grid{grid-template-columns:repeat(2, 1fr)} }
@media (min-width:1100px){ .grid{grid-template-columns:repeat(3, 1fr)} .grid-2{grid-template-columns:repeat(2, 1fr)} }

.card{
    background: #F6F6F6 0% 0% no-repeat padding-box;
    border-radius: 20px;
    padding:16px;
}
.white-card {background-color: white; box-shadow: 0px 0px 6px #00000029; position: relative; overflow: hidden;}
.white-card .cover_img {
    background-color: white;
    background-position: right top;
    background-size: 210px 210px;
    display: inline;
    position: absolute;
    object-position: -10px center;
    object-fit: fill;
    border-radius: 50%;
    width: 210px;
    height: 210px;
    top: -42px;
    right: -60px;
}
.white-card header, .white-card .selector-row, .white-card .price-row {width: 180px;}

.card header{border: 0 none; background:transparent; padding:0}
.card hr {border: 0.1px solid #00000029;}
.card-title{font: normal normal bold 19px/23px Arial;}
.card-title span{font: normal normal normal 18px/26px Arial;}
.white-card .card-title{font: normal normal bold 24px/26px Arial;}
.card .tag{height: 28px; display: flex; align-items: center; justify-content: center; padding: 0 13px; background:#026DFF; color:#fff; font: normal normal normal 14px/16px Arial; border-radius: 20px; width: fit-content;}
.card .under-tag{margin: 0;}

.selector-row{min-height: 107px; margin: 5px 0;}
.selector-row.no-selector{display: block; font: normal normal normal 14px/18px IBM Plex Sans;}
.selector-row.no-selector .radio-group {display: block; border-top: 0 none; padding: 0;}
.selector-row.no-space .radio-group {height: 36px;}
.selector-row.auto-height {height: auto; min-height: auto;}
.selector-row label {font: normal normal normal 12px/15px IBM Plex Sans; margin: 10px 0 5px; display: block;}
.selector-row label.radio-pill {margin: 0;}
.radio-group{height: 49px; display:flex; gap:10px; align-items:center; margin: 0; padding: 7px 0; width: 100%; border: 0 none; border-top: 0.1px solid #00000029; border-bottom: 0.1px solid #00000029;}
.radio-pill span{display:inline-flex; align-items:center; gap:.35rem; padding:.35rem 0 0 3pxl cursor:pointer; font: normal normal bold 14px/18px IBM Plex Sans;}
.radio-pill input:checked + span{}

select{cursor: pointer; appearance:none; border: 1px solid #006EFF; background: transparent; border-radius: 6px; padding:.5rem .9rem; font: normal normal bold 14px/16px Arial; width: 100%;}
.selector_box {position: relative;}
.selector_box svg { position: absolute; right: 8px; top: 11px;}
.selector_box svg path { color: #006EFF; }

.price-row{margin-top: 15px; display:flex; align-items:baseline; justify-content:space-between; gap:12px}
.price{
    font: normal normal bold 40px/45px Arial;
}
.info {font: normal normal normal 12px/14px Arial;}
.strike{text-decoration: line-through; font: normal normal normal 16px/20px IBM Plex Sans;}
.save{
    color: #0B6A26;
    background-color: #D1FADC;
    border-radius: 8px;
    font: normal normal 600 16px/20px IBM Plex Sans;
    padding: 2px 8px;
    display: inline-block;
    margin-bottom: 10px;
    margin-left: 5px;
}

.btn{display:inline-flex; justify-content:center; align-items:center; gap:.4rem; height:40px; padding:0 14px; border-radius:10px; border: 2px solid #000; background:#fff}
.btn:hover{background:#000; color: white;}
.btn.btn-primary{background:var(--primary); color:#fff; border-color:var(--primary), border: 2px solid border: 2px solid #000;;}
.btn.btn-primary:hover{background: var(--primary-600)}

.cta-row{}
.cta-row a.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 9px 0;
    font: normal normal 600 14px / 19px Roboto;
}

.features{margin-top:2px; padding-top:10px; border-top:1px dashed var(--border); font-size:.92rem; text-align:left;}
.features .line_title {font: normal normal bold 16px/18px Arial; margin-bottom: 10px;}
.features .line{padding:6px 0; background: url('/wp-content/uploads/2025/11/circle-check-sharp-solid.svg') no-repeat 0 0 transparent; background-position: top 8px left; background-size: 18px; padding-left: 26px;}

/* =============================
   scores_brands
============================= */
#scores_brands li {
    list-style-type: none;
    padding-left: 15px;
}
#scores_brands > ul > li {
    border: 0 solid #e5e7eb;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 3px 8px 0 rgb(0 0 0 / 10%);
    display: flex;
    padding: 1em 2em;
    margin: 7px;
    gap: 25px 20px;
}

#scores_brands h3 {
    line-height: 1.25;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

#scores_brands .barchart-body p {
    margin: 7px 0 2em;
    line-height: 1.25;
    font-size: 14px;
    font-weight: 400;
}

#scores_brands .barchart-body p a {
    color: #00439c;
    color: #006DFF;
}

#scores_brands .barchart-body p a:hover {
    text-decoration: underline;
}

#scores_brands .barchart-body p:last-of-type {
    margin-top: 1.5em;
}

#scores_brands .barchart-body ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #000;
    background-color: transparent;
    margin: 0;
    padding: 0;
}

#scores_brands .barchart-body > ul > li {
    font-size: var(--body-font-size-xs);
    font-weight: var(--font-weight-bold);
}

#scores_brands .barchart-body li:nth-child(odd) {
    flex: 85%;
    line-height: 40px;
    position: relative;
    z-index: 1;
}

#scores_brands .barchart-body li:nth-child(even) {
    flex: 10%;
    text-align: right;
    padding: 0 10px 0 0;
    width: 10px;
}

#scores_brands .barchart-body > ul > li:nth-child(even) {
    font-weight: var(--font-weight-regular);
}

#scores_brands .barchart-body li:nth-child(odd)::before {
    background-color: #dedede;
    width: var(--bar-width);
    display: inline-block;
    content: '';
    height: 100%;
    max-width: 100%;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    padding: 0;
    border-radius: 4px;
}

#scores_brands .barchart-body ul:first-of-type > *:first-child {
    color: #fff;
}

#scores_brands .barchart-body ul:first-of-type > *:first-child::before {
    background-color: #005ed9;
}

/* =============================
   World Class Security
============================= */
#world-class-security {
    position: relative;
    background: #e7f2fe;
    border-radius: 20px;
    padding: 25px 0 10px;
    width: 100%;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}
#world-class-security .awards_list {
    margin: 1em auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
#world-class-security h3 {
    font-size: 40px;
    margin: 0 auto;
    line-height: 42px;
    max-width: 80%;
}
#world-class-security p {
    font-size: 21px;
    line-height: 26px;
    margin: 1em 0;
    font-weight: 600;
}

#world-class-security .content > img {
    text-align: center;
    margin: 0 auto;
}

/* =============================
   Video
============================= */
#bitdefender-video .content {
    text-align: center;
}
#bitdefender-video video {
    width: 750px;
    height: 435px;
}

/* =============================
   Particles
============================= */
#particles-effect {
    position: relative;
    background: #006fff;
    color: white;
    border-radius: 20px;
    padding: 2em;
    width: 100%;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}
#particles-effect #particles-js {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    z-index: 0;
}
#particles-effect img {
    margin: 1em auto;
}
#particles-effect h3 {
    font-size: 40px;
    margin: 0 auto;
    line-height: 42px;
}
#particles-effect p {
    font-size: 18px;
    margin: 1em auto!important;
}



/* =============================
   TOS
============================= */
.tos-container {
    width: 100%;
    padding: 3em 15px;
    margin-right: auto;
    margin-left: auto;
}

.tos {
    font-size: 1rem;
}

.tos h3 {
    cursor: pointer;
    font-size: 18px;
    line-height: 25px;
    margin: 0 0 10px;
}

.tos h3 strong {
    font-weight: 600;
}

.tos svg {
    flex-shrink: 0;
}

.tos ul {
    display: none;
    padding: 0;
    margin-top: 0;
}

.tos li {
    list-style: disc;
    margin: 0 0 4px 20px;
    font-size: 16px;
}

.tos h3:hover {
    opacity: 0.7;
}

.tos > div:not(:first-child) {
    margin-bottom: 1em;
}

.tos > div:nth-child(1) {
    font-size: 18px;
    color: #234cff;
    margin-bottom: 16px;
}

.tos > div:last-of-type a {
    color: #0059D6;
}

.tos .tos__link--active {
    transform: rotate(180deg);
}


/* =============================
   Footer
============================= */
footer {
    background: #006EFF;
    color: white;
    padding: 50px 0;
    clear: both;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer img {
    width: 160px;
    height: auto;
    margin-bottom: 15px;
}

footer p {
    margin: 0;
    font-size: 16px;
}

footer a {
    color: white !important;
    font-size: 16px;
    padding: 0 2px;
}

footer a:hover {
    opacity: 0.6;
    color: white;
}

footer strong {
    font-size: 32px;
    font-weight: bold;
    color: white;
}

footer p.trustedAlways {
    font-size: 32px;
    font-weight: bold;
}

footer .footer__links {
    margin-top: 15px;
    padding-left: 0;
    margin-bottom: 0;
}

footer p.footer__copy {
    font: normal normal normal 12px/14px Arial;
    margin: 0;
    padding: 0;
}

.footer__links a {
    font: normal normal bold 12px/32px Arial;
}


/* =============================
   Responsive
============================= */
@media (max-width: 989px) {
    .white-card .cover_img {
        background-size: 160px 160px;
        width: 160px;
        height: 160px;
    }
    #hero_banner {
        background-position: top right -11em;
    }
    .hero h1 {
        font: normal normal bold 23px / 25px IBM Plex Sans;
    }
    .hero h2 {
        font: normal normal bold 32px / 35px IBM Plex Sans;
    }
}

@media (max-width: 750px) {
    .topbar {display: block;}
    .topbar > a:last-of-type {position: absolute; right: 25px; top: 21px;}
    .left-nav nav a {margin-left: 0;}
    #hero_banner { background-image: none;}
    .hero {display: block;}
    #bitdefender-video video {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 700px) {
    .grid{display:block;}
    .card {margin-bottom: 1.5em;}
    .section-title, #world-class-security h3, #particles-effect h3 {font-size: 31px; line-height: 37px;}
    .section-subtitle {
        margin: 0 0 1em;
        font: normal normal normal 20px / 24px Arial;
    }
    .particle-background h2 {
        line-height: 30px;
    }
    .tos-container {
        padding: 1em 0;
    }
    .tos {
        font-size: 15px;
    }
    .tos > div:not(:first-child) {
        margin-bottom: 10px;
    }
    footer {
        padding: 18px 0;
    }
    footer .default-content-wrapper {
        display: block;
    }
    footer img {
        margin-bottom: 10px;
    }
    footer a, footer .footer__links a, .footer__copy {
        font-size: 13px;
        padding: 0 1px;
    }
    footer p {
        font-size: 13px;
    }
    footer strong {
        font-size: 20px;
        text-align: left;
        display: block;
        margin-top: 9px;
    }
}

@media (max-width: 600px) {
    #bitdefender-video video {
        height: 300px;
    }
}

@media (max-width: 500px) {
    .tabs a {
        font: normal normal normal 13px / 16px Arial;
        margin: 0;
    }
}

@media (max-width: 400px) {
    .left-nav nav a {
        font: normal normal normal 13px / 16px Arial;
    }
}

@media (min-width: 700px) {
    #world-class-security .content {
        width: 700px;
        margin: auto;
    }
}

@media (min-width: 1200px) {
    .particle-background-container.we-container {
        max-width: 1330px;
        padding: 0 20px;
    }
}

.wp-block-group h1 {
    display:none;
}

.wp-block-post-excerpt__excerpt {
    display:none;
}

.single_add_to_cart_button.button.alt.wp-element-button:hover {
    background-color: #B10304; /* Darker blue on hover */
    color: #ffffff; /* Lighter text on hover */
}

/*
Sofserv - remove Related Products from Product page
 */
.related.products {
    display: none;
}

/*
* Sofserv - remove block with category name, SKU and Tags
 */
.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-6c531013.wp-block-group-is-layout-flex {
    display:none;
}

