/* Classic, Clean, Non-Modern Web Style */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f6;
    color: #222222;
    line-height: 1.5;
    font-size: 15px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header-bar {
    background-color: #2c3e50;
    border-bottom: 2px solid #1a252f;
    padding: 15px 0;
}

.logo {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #e74c3c;
}

/* Top Navigation */
.top-nav {
    background-color: #34495e;
    border-bottom: 3px solid #2c3e50;
    padding: 10px 0;
}

.top-nav a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-right: 25px;
    padding: 5px 0;
}

.top-nav a:hover {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

/* Main Content */
.main-content {
    padding: 25px 15px;
}

/* Classic Definition & Article Box */
.definition-box {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-top: 4px solid #3498db;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.definition-box h1 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.definition-box p {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

/* Catalog Header & Search Bar */
.catalog-section {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 20px;
    border-radius: 2px;
}

.catalog-header {
    display: block;
    margin-bottom: 20px;
    border-bottom: 2px solid #34495e;
    padding-bottom: 12px;
}

.catalog-header h2 {
    font-size: 19px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.search-box input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    outline: none;
    background-color: #fafafa;
}

.search-box input:focus {
    border-color: #3498db;
    background-color: #fff;
}

/* Product Grid */
.product-grid {
    display: table;
    width: 100%;
    margin-top: 15px;
}

.product-card {
    display: block;
    float: left;
    width: 31%;
    margin-right: 3.5%;
    margin-bottom: 25px;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.product-card:nth-child(3n) {
    margin-right: 0;
}

.product-grid::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 768px) {
    .product-card {
        width: 48%;
        margin-right: 4%;
    }
    .product-card:nth-child(3n) {
        margin-right: 4%;
    }
    .product-card:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 100%;
        margin-right: 0;
    }
}

.product-image {
    text-align: center;
    height: 160px;
    margin-bottom: 12px;
    display: table;
    width: 100%;
}

.product-image img {
    max-height: 160px;
    max-width: 100%;
    object-fit: contain;
    vertical-align: middle;
}

.store-badge {
    display: inline-block;
    background-color: #eef2f7;
    color: #555;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.product-card h3 {
    font-size: 15px;
    color: #111;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    line-height: 1.3;
}

.product-card .description {
    font-size: 13px;
    color: #666;
    height: 55px;
    overflow: hidden;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-footer {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #27ae60;
    margin-bottom: 8px;
}

.btn-affiliate {
    display: block;
    text-align: center;
    background-color: #e67e22;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 10px;
    font-weight: bold;
    font-size: 13px;
    border-radius: 3px;
    border-bottom: 2px solid #d35400;
}

.btn-affiliate:hover {
    background-color: #d35400;
}

/* =========================================
   BLOG & ARTICLE STYLES
========================================= */

.article-list {
    list-style: none;
    padding: 0;
}

.article-list li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.article-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-list h3 a {
    color: #2980b9;
    text-decoration: none;
    font-size: 18px;
}

.article-list h3 a:hover {
    text-decoration: underline;
}

.article-meta {
    font-size: 12px !important;
    color: #7f8c8d !important;
    margin-top: 3px;
    margin-bottom: 8px !important;
}

.article-excerpt {
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.read-more {
    font-size: 13px;
    font-weight: bold;
    color: #e67e22;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

/* Single Article View formatting */
.classic-hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 15px 0 20px 0;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h2, 
.article-content h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 10px;
}

.btn-back {
    display: inline-block;
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #bdc3c7;
    font-size: 13px;
    border-radius: 3px;
}

.btn-back:hover {
    background-color: #e0e6ed;
}

/* Footer */
.footer-bar {
    background: #2c3e50;
    color: #bdc3c7;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 13px;
    text-align: center;
    border-top: 3px solid #1a252f;
}

.footer-bar .disclaimer {
    font-size: 11px;
    color: #7f8c8d;
    margin-top: 6px;
}
