/* openscientifics.store — Retro 2000s Stylesheet */

/* ===== BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Arial, Verdana, sans-serif;
    font-size: 13px;
    background-color: #C8CBE0;
    color: #222222;
    min-width: 800px;
}
a { color: #0000CC; }
a:visited { color: #551A8B; }
a:hover { color: #CC0000; text-decoration: underline; }

/* ===== STORE HEADER ===== */
.store-header {
    background: linear-gradient(to bottom, #001566, #003399);
    border-bottom: 3px solid #FFCC00;
    width: 100%;
    border-collapse: collapse;
}
.store-name {
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    letter-spacing: 1px;
    font-family: 'Arial Black', Arial, sans-serif;
    text-shadow: 1px 1px 0px #000033;
    vertical-align: middle;
    margin-right: 10px;
}
.store-slogan {
    font-size: 10px;
    color: #99BBDD;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* ===== NAVIGATION BAR ===== */
.nav-bar {
    background: linear-gradient(to bottom, #FFD700, #FFAA00);
    border-bottom: 2px solid #CC8800;
    width: 100%;
    border-collapse: collapse;
}
.nav-link {
    display: block;
    padding: 6px 6px;
    color: #333300 !important;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none !important;
    border-right: 1px solid #BB8800;
    /*center text */
    text-align: center;

}
.nav-link:hover {
    background: linear-gradient(to bottom, #FF9900, #DDAA00);
    color: #000000 !important;
}

/* ===== ANNOUNCEMENT TICKER ===== */
/* ===== BREADCRUMB ===== */
#breadcrumb-bar {
    background: #002266;
    color: #AACCFF;
    padding: 4px 10px;
    font-size: 12px;
    border-bottom: 1px solid #004499;
    min-height: 8px;
}
.breadcrumb-link { color: #AACCFF; text-decoration: none; }
.breadcrumb-link:hover { text-decoration: underline; }
.breadcrumb-current { color: #FFFF99; }

/* ===== SIDEBAR ===== */
.sidebar {
    background: #EBEBEB;
    border-right: 2px solid #AAAAAA;
    padding: 8px;
    vertical-align: top;
}
.sidebar-box {
    background: #FFFFFF;
    border: 1px solid #AAAACC;
    margin-bottom: 8px;
}
.sidebar-title {
    background: linear-gradient(to bottom, #2255AA, #113388);
    color: #FFFFFF;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.3px;
}
.sidebar-list {
    list-style: none;
    padding: 4px 0;
}
.sidebar-list li a {
    display: block;
    padding: 3px 10px;
    font-size: 11px;
    color: #003399 !important;
    text-decoration: none !important;
    border-bottom: 1px dotted #DDDDEE;
}
.sidebar-list li a:hover {
    background: #E8EEFF;
    color: #CC0000 !important;
}
.sidebar-text {
    padding: 8px 10px;
    font-size: 11px;
    color: #444444;
    line-height: 1.6;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 10px 14px;
    background: #F7F7F9;
    vertical-align: top;
}
.section-title {
    font-size: 15px;
    color: #002266;
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 5px;
    margin-bottom: 12px;
    font-family: 'Arial Black', Arial, sans-serif;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: #FFFFFF;
    border: 1px solid #AAAACC;
    border-top: 3px solid #003399;
    padding: 9px;
    position: relative;
}
.product-card:hover {
    border-top-color: #CC3300;
    box-shadow: 2px 2px 6px rgba(0, 0, 50, 0.15);
}
.cat-badge {
    position: absolute;
    top: 7px;
    right: 7px;
    background: #FFCC00;
    color: #443300;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border: 1px solid #CC9900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.product-icon {
    font-size: 38px;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px dotted #DDDDDD;
    margin-bottom: 7px;
}
.product-image-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border: 1px solid #CCCCCC;
    margin-bottom: 7px;
    display: block;
}
.product-name {
    font-size: 12px;
    color: #002266;
    margin-bottom: 4px;
    font-weight: bold;
}
.product-name a { color: #002266 !important; text-decoration: none !important; }
.product-name a:hover { color: #CC0000 !important; }
.product-desc {
    font-size: 11px;
    color: #555555;
    line-height: 1.4;
    margin-bottom: 7px;
    min-height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.product-actions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-top: 1px dotted #CCCCCC;
    padding-top: 7px;
}

/* ===== BUTTONS ===== */
.btn-quote {
    background: linear-gradient(to bottom, #EE5500, #BB3300);
    color: #FFFFFF;
    border: 1px solid #882200;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}
.btn-quote:hover { background: linear-gradient(to bottom, #FF6600, #DD4400); }
.btn-quote-large {
    padding: 9px 16px;
    font-size: 13px;
    width: 100%;
    text-align: center;
    display: block;
}
.btn-detail {
    background: linear-gradient(to bottom, #224499, #112266);
    color: #FFFFFF !important;
    border: 1px solid #001144;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none !important;
    display: inline-block;
    white-space: nowrap;
}
.btn-detail:hover { background: linear-gradient(to bottom, #3355AA, #224499); }
.btn-primary {
    background: linear-gradient(to bottom, #224499, #112266);
    color: #FFFFFF;
    border: 1px solid #001144;
    padding: 5px 18px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
.btn-primary:hover { background: linear-gradient(to bottom, #3355AA, #224499); }
.btn-primary:disabled { background: #AAAAAA; border-color: #888888; cursor: not-allowed; }
.btn-secondary {
    background: linear-gradient(to bottom, #DDDDDD, #BBBBBB);
    color: #333333;
    border: 1px solid #888888;
    padding: 5px 18px;
    font-size: 12px;
    cursor: pointer;
    font-family: Arial, sans-serif;
}
.btn-secondary:hover { background: linear-gradient(to bottom, #EEEEEE, #CCCCCC); }

/* ===== SEARCH BAR ===== */
#search-bar {
    position: relative;
    margin-bottom: 8px;
}
#search-input {
    width: 100%;
    padding: 5px 26px 5px 8px;
    font-size: 12px;
    font-family: Arial, sans-serif;
    border: 2px inset #888888;
    background: #FFFFFF;
    color: #222222;
    box-sizing: border-box;
}
#search-input:focus {
    outline: none;
    border-color: #3355AA;
}
#search-clear {
    display: none;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #888888;
    line-height: 1;
}
#search-clear:hover { color: #CC0000; }

/* ===== FILTER BAR ===== */
.filter-active {
    background: #FFFCE8;
    border: 1px solid #FFCC00;
    padding: 4px 10px;
    font-size: 11px;
    margin-bottom: 8px;
    display: none;
}

/* ===== QUOTE MODAL (Windows XP style) ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 80, 0.55);
    z-index: 900;
}
.modal-window {
    display: none;
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    max-width: 96vw;
    background: #ECE9D8;
    border: 2px solid #0020AA;
    z-index: 1000;
    box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.6);
}
.modal-titlebar {
    /* background: #0B28C8; linear-gradient(to right, #0B28C8, #3C6CF5, #0B28C8);*/
    color: #444444;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
    user-select: none;
}
.modal-close {
    background: #ECE9D8; /*linear-gradient(to bottom, #EE4444, #CC0000); */
    color: #440000;
    border: 0px solid #880000;
    width: 20px; height: 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    line-height: 16px;
    text-align: center;
    font-family: Arial, sans-serif;
}
.modal-close:hover {
    color: #dd4444; /*linear-gradient(to bottom, #EE4444, #CC0000); */
}
.modal-body { padding: 14px; }
.form-input {
    width: 100%;
    padding: 3px 5px;
    border: 1px solid #7F9DB9;
    background: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #000000;
}
.form-input:focus { outline: 1px solid #3399FF; border-color: #3399FF; }
textarea.form-input { resize: vertical; min-height: 55px; }
.form-label {
    font-size: 11px;
    font-weight: bold;
    color: #333333;
    white-space: nowrap;
    padding-right: 8px;
    vertical-align: top;
    padding-top: 5px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-wrap {
    background: #F7F7F9;
    padding: 12px 16px;
}
.breadcrumb {
    font-size: 11px;
    color: #666666;
    padding: 6px 0 10px 0;
    border-bottom: 1px solid #DDDDDD;
    margin-bottom: 14px;
}
.breadcrumb a { color: #003399; font-size: 11px; }
.product-detail-icon {
    font-size: 80px;
    text-align: center;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-top: 3px solid #003399;
}
.product-detail-img {
    width: 100%;
    max-width: 280px;
    border: 1px solid #CCCCCC;
    border-top: 3px solid #003399;
    display: block;
}
.new-badge {
    background: #CC0000;
    color: #FFFFFF;
    text-align: center;
    padding: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.product-detail-info { padding-left: 20px; vertical-align: top; }
.product-detail-title {
    font-size: 22px;
    color: #002266;
    font-family: 'Arial Black', Arial, sans-serif;
    line-height: 1.2;
    margin-bottom: 6px;
}
.cat-badge-large {
    display: inline-block;
    background: #FFCC00;
    color: #443300;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border: 1px solid #CC9900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.detail-divider { border: none; border-top: 1px solid #CCCCCC; margin: 10px 0; }
.product-detail-desc {
    font-size: 13px;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 14px;
}
.spec-heading {
    font-size: 13px;
    color: #002266;
    font-weight: bold;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 4px;
    margin-bottom: 8px;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.spec-table th {
    background: linear-gradient(to bottom, #2255AA, #113388);
    color: #FFFFFF;
    padding: 5px 8px;
    text-align: left;
    font-size: 11px;
}
.spec-table td { padding: 4px 8px; border-bottom: 1px solid #DDDDDD; vertical-align: top; }
.spec-table tr:nth-child(even) td { background: #F0F0F8; }
.spec-table tr:nth-child(odd) td { background: #FFFFFF; }
.product-full-desc {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-left: 3px solid #003399;
    padding: 14px;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.6;
    color: #333333;
}
.product-full-desc h3 { margin-bottom: 10px; }
.product-full-desc p { margin-bottom: 8px; }
.product-full-desc ul { margin: 8px 0 8px 20px; }
.product-full-desc li { margin-bottom: 4px; }
.cta-box {
    background: linear-gradient(to right, #EEF4FF, #F5F8FF);
    border: 2px solid #003399;
    padding: 16px;
    margin-top: 16px;
    text-align: center;
}
.cta-box p { font-size: 13px; color: #333333; margin-bottom: 10px; }

/* ===== HOMEPAGE & ABOUT ===== */
.hp-hero {
    background: linear-gradient(135deg, #001566 0%, #003399 60%, #0044BB 100%);
    border-bottom: 3px solid #FFCC00;
    padding: 30px 20px;
}
.hp-hero-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 960px;
    margin: 0 auto;
}
.hp-hero-text { flex: 1; }
.hp-hero-eyebrow {
    display: inline-block;
    background: #FFCC00;
    color: #332200;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hp-hero-title {
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 48px;
    color: #FFFFFF;
    line-height: 1;
    text-shadow: 2px 2px 0 #000033;
    margin-bottom: 12px;
    letter-spacing: -1px;
}
.hp-hero-sub {
    font-size: 13px;
    color: #AACCFF;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 480px;
}
.hp-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hp-hero-img {
    flex: 0 0 300px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top: 3px solid #FFCC00;
    overflow: hidden;
}
.hp-hero-img img { width: 100%; display: block; }

.hp-section {
    background: #F7F7F9;
    padding: 20px 20px;
    border-bottom: 1px solid #CCCCDD;
}
.hp-feature-cell {
    width: 33%;
    padding: 0 8px;
    vertical-align: top;
}
.hp-feature-cell:first-child { padding-left: 0; }
.hp-feature-cell:last-child  { padding-right: 0; }
.hp-feature-box {
    background: #FFFFFF;
    border: 1px solid #AAAACC;
    border-top: 3px solid #003399;
    padding: 14px;
    height: 100%;
}
.hp-feature-icon { font-size: 28px; margin-bottom: 8px; }
.hp-feature-title {
    font-size: 13px;
    font-weight: bold;
    color: #002266;
    margin-bottom: 6px;
    font-family: 'Arial Black', Arial, sans-serif;
}
.hp-feature-box p { font-size: 12px; color: #555555; line-height: 1.6; }

.hp-specs-band {
    background: linear-gradient(to bottom, #002277, #001155);
    border-top: 2px solid #FFCC00;
    border-bottom: 2px solid #FFCC00;
    padding: 16px 20px;
}
.hp-specs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
}
.hp-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}
.hp-spec-val {
    font-size: 14px;
    font-weight: bold;
    color: #FFCC00;
    font-family: 'Arial Black', Arial, sans-serif;
    white-space: nowrap;
}
.hp-spec-label {
    font-size: 10px;
    color: #99BBDD;
    letter-spacing: 0.4px;
    margin-top: 3px;
    text-transform: uppercase;
    white-space: nowrap;
}
.hp-spec-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

.hp-part-cell {
    width: 20%;
    padding: 0 6px;
    vertical-align: top;
    text-align: center;
}
.hp-part-cell:first-child { padding-left: 0; }
.hp-part-cell:last-child  { padding-right: 0; }
.hp-part-link {
    display: block;
    text-decoration: none !important;
    color: #002266 !important;
    background: #FFFFFF;
    border: 1px solid #AAAACC;
    border-top: 3px solid #003399;
    padding: 8px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
}
.hp-part-link:hover { border-top-color: #CC3300; color: #CC0000 !important; }
.hp-part-link img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
    margin-bottom: 6px;
    border: 1px solid #EEEEEE;
}
.hp-part-link span { display: block; }

.hp-cta-band {
    background: linear-gradient(to right, #FFFCE8, #FFF8CC);
    border-top: 2px solid #FFCC00;
    border-bottom: 2px solid #FFCC00;
    padding: 18px 20px;
    text-align: center;
}
.hp-cta-text {
    font-size: 14px;
    color: #333300;
    font-weight: bold;
    margin-bottom: 12px;
}
.hp-cta-btn {
    background: linear-gradient(to bottom, #224499, #112266);
    color: #FFFFFF !important;
    border: 1px solid #001144;
    padding: 9px 28px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none !important;
    display: inline-block;
    font-family: Arial, sans-serif;
}
.hp-cta-btn:hover { background: linear-gradient(to bottom, #3355AA, #224499); }

.about-block {
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-left: 3px solid #003399;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 18px;
}
.about-block p { margin-bottom: 0; }
.about-block em { color: #002266; font-style: italic; }

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(to bottom, #1A2A55, #0D1A3A);
    color: #8899BB;
    border-top: 3px solid #FFCC00;
    font-size: 11px;
    line-height: 1.7;
}
.footer a { color: #7799CC; }
.footer a:hover { color: #FFCC00; text-decoration: none; }
.footer-heading {
    color: #FFCC00;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
    border-bottom: 1px solid #2A3A66;
    padding-bottom: 4px;
}

/* ===== IMAGE CAROUSEL ===== */
.carousel-box {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-top: 3px solid #003399;
    overflow: hidden;
    user-select: none;
}
.carousel-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    border: none;
    font-size: 28px;
    width: 34px;
    height: 50px;
    cursor: pointer;
    z-index: 5;
    line-height: 50px;
    text-align: center;
    padding: 0;
    font-family: Arial, sans-serif;
}
.carousel-arrow:hover { background: rgba(0, 0, 0, 0.82); }
.carousel-arrow-prev { left: 0; }
.carousel-arrow-next { right: 0; }
.carousel-counter {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    color: #FFFFFF;
    font-size: 10px;
    text-align: center;
    padding: 3px 0;
}
