/*
Theme Name: Mesmerize PRO
Theme URI: https://kosmospc.com
Author: Kosmos Webhosting LLC
Author URI: https://kosmospc.com
Description: Custom-built theme for Kosmos Hosting Services. Independent, self-contained theme (no third-party theme framework dependency). Also powers the /construction demo subsite on this network.
Version: 1.0.1
License: All Rights Reserved
Text Domain: kosmos-custom
*/

/* =========================================================
 * RESET & BASE
 * ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: #0b0f0d;
    color: #e9fff3;
}
img { max-width: 100%; height: auto; display: inline-block; }
a { text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 14px; font-weight: 700; line-height: 1.25; }
h1 { font-size: 40px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; line-height: 1.6; }
.small { font-size: 13px; }
.upper { text-transform: uppercase; }
.font-300 { font-weight: 300; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.color-black { color: #05080a; }
.h1 { font-size: 40px; }
.warning { color: #c0392b; }

/* =========================================================
 * GRID SYSTEM
 * ========================================================= */
.gridContainer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.row > [class*="col-"] {
    padding: 0 15px;
}
.col-xs, .col-xs-12 { width: 100%; }
.flexcol { display: flex; flex-direction: column; }
.flexbox { display: flex; }
.bottom-xs { align-items: flex-end; }
.center-xs { justify-content: center; }
@media (min-width: 576px) {
    .col-sm-4 { width: 33.3333%; }
    .col-sm-6 { width: 50%; }
    .col-sm-10 { width: 83.3333%; }
    .col-sm-offset-1 { margin-left: 8.3333%; }
}
@media (min-width: 992px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.3333%; }
    .col-md-8 { width: 66.6667%; }
    .col-md-offset-2 { margin-left: 16.6667%; }
}
.spaced-cols { row-gap: 30px; }
.spaced-cols > [class*="col-"] { margin-bottom: 0; }
.space-bottom { margin-bottom: 30px; }
.col-padding { padding: 28px; }
.col-padding-small-xs { padding: 20px; }
.section-title-col {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

/* =========================================================
 * SECTIONS
 * ========================================================= */
.content-section { position: relative; }
.content-section-spacing { padding: 70px 0; }
.content-section-spacing-medium { padding: 50px 0; }
@media (max-width: 767px) {
    .content-section-spacing { padding: 40px 0; }
    .content-section-spacing-medium { padding: 30px 0; }
}

/* =========================================================
 * CARDS
 * ========================================================= */
.card {
    background: #101a15;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}
.rounded { border-radius: 8px; }
.shadow-small { box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.shadow-medium { box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.shadow-large, .shadow-large-black { box-shadow: 0 12px 34px rgba(0,0,0,0.4); }
.pricing-featured .card { transform: scale(1.04); }

/* =========================================================
 * BUTTONS
 * ========================================================= */
.button {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #3dffa0;
    border-radius: 4px;
    background: transparent;
    color: #3dffa0;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s ease;
}
.button:hover { background: #3dffa0; color: #05080a; }
.button.round { border-radius: 999px; }
.button.upper { text-transform: uppercase; letter-spacing: .5px; }
.button.outline { background: transparent; }
.button.white, .button.inverted { border-color: #fff; color: #fff; }
.button.white:hover, .button.inverted:hover { background: #fff; color: #05080a; }
.button.y-move { transition: transform .15s ease, background .2s ease, color .2s ease; }
.button.y-move:hover { transform: translateY(-2px); }
.button.small { padding: 8px 18px; font-size: 13px; }
.button.color1, .button.color2, .button.color3 { border-color: #3dffa0; color: #3dffa0; }
.button.color1:hover, .button.color2:hover, .button.color3:hover { background: #3dffa0; color: #05080a; }
.button.disabled {
    opacity: .55;
    border-style: dashed;
    cursor: default;
}
.button.disabled:hover { background: transparent; color: inherit; }

/* =========================================================
 * COMING SOON BADGE
 * ========================================================= */
.coming-soon-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(61,255,160,.14);
    color: #3dffa0;
    border: 1px solid #3dffa0;
}
.coming-soon-badge.white {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: #fff;
}

/* =========================================================
 * LISTS
 * ========================================================= */
.unstyled { list-style: none; margin: 0; padding: 0; }
.unstyled.checked li {
    position: relative;
    padding: 6px 0 6px 26px;
    text-align: left;
    display: inline-block;
    width: 100%;
}
.unstyled.checked.text-center li { text-align: center; padding-left: 0; }
.unstyled.checked li::before {
    content: "\2713";
    color: #3dffa0;
    font-weight: 700;
    margin-right: 8px;
}
.unstyled.checked.text-center li::before { display: inline; }

/* =========================================================
 * BACKGROUND / COLOR UTILITY CLASSES
 * (actual colors are applied by the cyberpunk override in
 * functions.php; these just guarantee sane fallbacks and
 * correct box structure before that stylesheet loads)
 * ========================================================= */
.bg-color1, .bg-color2, .bg-color3, .bg-color4, .bg-color5, .bg-color6, .bg-color-white {
    background: #101a15;
    border-radius: 8px;
}
.white-text, .inverted { color: #fff; }

/* =========================================================
 * ICONS
 * ========================================================= */
.icon { font-size: 34px; margin-bottom: 14px; display: inline-block; color: #3dffa0; }
.icon.bordered {
    border: 2px solid #3dffa0;
    border-radius: 50%;
    width: 74px;
    height: 74px;
    line-height: 70px;
    text-align: center;
    margin-bottom: 18px;
}
.icon.big { font-size: 30px; }

/* =========================================================
 * TOP BAR / HEADER / NAV
 * ========================================================= */
.header-top {
    background: #05080a;
    border-bottom: 1px solid #1c3a2a;
    font-size: 13px;
}
.top-bar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.top-bar-inner span { color: #9df5c4; }
.site-header {
    background: #05080a;
    border-bottom: 1px solid #1c3a2a;
}
.site-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.site-logo {
    font-size: 20px;
    font-weight: 700;
    color: #e9fff3;
}
.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.main-nav a {
    color: #e9fff3;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.main-nav a:hover { color: #3dffa0; }
.cart-link { position: relative; }
.cart-count {
    background: #3dffa0;
    color: #05080a;
    border-radius: 999px;
    font-size: 11px;
    padding: 1px 6px;
    margin-left: 4px;
}
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #1c3a2a;
    color: #e9fff3;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
}
@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; width: 100%; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; padding: 14px 0; }
}

/* =========================================================
 * HOME PAGE HERO (restored top-of-page banner)
 * ========================================================= */
.site-hero {
    position: relative;
    min-height: 64vh;
    background: #05080a center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.site-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,26,18,.55), rgba(5,8,10,.8));
}
.site-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}
.button.big { padding: 16px 34px; font-size: 15px; }
@media (max-width: 767px) {
    .site-hero { min-height: 50vh; }
}

/* =========================================================
 * FOOTER
 * ========================================================= */
.site-footer {
    background: #05080a;
    border-top: 1px solid #1c3a2a;
    padding: 50px 0 20px;
    color: #9df5c4;
}
.site-footer h4 { color: #e9fff3; margin-bottom: 16px; }
.site-footer .footer-nav {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.site-footer .footer-nav a { color: #9df5c4; font-size: 14px; }
.site-footer .footer-nav a:hover { color: #3dffa0; }
.site-footer .footer-copyright {
    text-align: center;
    font-size: 13px;
    padding-top: 18px;
    border-top: 1px solid #1c3a2a;
}
.site-footer .footer-copyright a { color: #9df5c4; }

/* =========================================================
 * WOOCOMMERCE TOUCH-UPS (base plugin CSS handles the rest)
 * ========================================================= */
.woocommerce ul.products { list-style: none; padding: 0; margin: 0 -15px; display: flex; flex-wrap: wrap; }
.woocommerce ul.products li.product { padding: 0 15px; margin-bottom: 30px; width: 100%; }
@media (min-width: 576px) { .woocommerce ul.products.columns-3 li.product { width: 33.3333%; } }
.ope-woo-card-item { background: #101a15; border-radius: 8px; overflow: hidden; height: 100%; }
.ope-woo-card-header img { width: 100%; display: block; }
.ope-woo-card-content { padding: 18px; }
.ope-woo-card-footer { padding: 0 18px 18px; }
.ope-woo-card-content-title h3 { font-size: 18px; margin-bottom: 8px; }

/* =========================================================
 * PC BUILDER PAGE (kept minimal, page already ships its own
 * inline styles for #pcb-wrap; these just tie card/button
 * classes it reuses back into the rest of the design)
 * ========================================================= */
#pcb-summary { text-align: center; }

@media (max-width: 480px) {
    h1 { font-size: 30px; }
    h2 { font-size: 26px; }
}

/* =========================================================
 * IMAGE GROUP (homepage "About" 3-photo cluster)
 * ========================================================= */
.image-group-bottom-3-img {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 30px 0;
}
.image-group-bottom-3-img img {
    border-radius: 8px;
    width: 30%;
    min-width: 220px;
    object-fit: cover;
}
.image-group-bottom-3-img .center-img {
    width: 34%;
    min-width: 240px;
    transform: translateY(-16px);
}
@media (max-width: 767px) {
    .image-group-bottom-3-img img,
    .image-group-bottom-3-img .center-img { width: 100%; transform: none; }
}
