/**
 * QualityTop - 1:1 Market.com Clone
 */

/* RESET & BASE */
* { box-sizing: border-box; }
body { font-family: "Segoe UI", Roboto, Arial, sans-serif; background: #f4f7f6; color: #222; margin: 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
img { max-width: 100%; height: auto; }

/* HEADER - 1:1 COMPETITOR CLONE */
.site-header { background: #343942; border-bottom: none; }
.header-main { padding: 10px 0; }
.header-main-content { display: flex; align-items: center; gap: 15px; }
.site-logo { text-decoration: none; flex-shrink: 0; }
.logo-text { font-size: 24px; font-weight: 900; color: #fff; letter-spacing: -0.5px; font-family: Arial, sans-serif; }
.logo-accent { color: #f0ad00; font-weight: 400; }

/* Search Bar - Light Gray with Icon Inside Left */
.main-search-holder { flex: 1; }
.main-search-holder .search-form {
    display: flex;
    align-items: center;
    background: #f2f2f1;
    border-radius: 4px;
    overflow: hidden;
    height: 34px;
}
.search-icon-inside {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
}
.search-icon-inside svg { stroke: #666; }
.main-search-holder .search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 15px 8px 0;
    font-size: 14px;
    outline: none;
    color: #333;
    font-family: Arial, sans-serif;
}
.main-search-holder .search-input::placeholder { color: #888; }

/* Navigation */
.main-navigation { padding: 8px 0; background: #3e4449; }
.primary-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; }
.primary-menu li { margin: 0; }
.primary-menu a { color: #fff; font-size: 13px; font-weight: 400; text-decoration: none; transition: color 0.2s; padding: 6px 10px; font-family: Arial, sans-serif; }
.primary-menu a:hover { color: #f0ad00; }

/* PAGE HEADER */
.page-header-wrap { padding: 30px 0 20px; position: relative; }
.disclosure-top { position: absolute; right: 0; top: 30px; font-size: 13px; color: #666; }
.hero-title { font-size: 36px; font-weight: 700; margin: 0 0 10px; }
.hero-meta { font-size: 14px; color: #888; margin-bottom: 20px; }

/* LAYOUT */
.single-layout { display: grid !important; grid-template-columns: 1fr 280px !important; gap: 30px !important; }
.single-layout--full { grid-template-columns: 1fr !important; }
.content-column { background: #fff; }
.content-column--full { max-width: 100%; }
.article-body { padding: 0 20px 20px; line-height: 1.7; }

/* PRODUCT CARD - 1:1 */
.mkt-card {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 16px rgba(18,18,26,0.25);
}

.mkt-rank-badge {
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 10;
    display: flex;
    background: #008282;
    color: #fff;
    border-radius: 6px 0 6px 0;
    overflow: hidden;
    font-weight: 700;
}

.mkt-rank-num {
    background: #006666;
    padding: 7px 14px;
    font-weight: 700;
    font-size: 18px;
}

.mkt-rank-label {
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mkt-card-main {
    display: flex !important;
    padding: 50px 20px 20px !important;
    gap: 10px !important;
    justify-content: space-between !important;
}

/* LEFT: Images */
.mkt-visual {
    width: 220px;
    flex-shrink: 0;
    text-align: center;
}

.mkt-img-wrap {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.mkt-main-img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.mkt-thumbs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.mkt-thumb {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: 1px solid #eee;
}

.mkt-brand-logo {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
}

/* MIDDLE: Info */
.mkt-info {
    flex: 1;
    padding: 0 20px;
}

.mkt-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.3;
}

.mkt-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.mkt-discount {
    background: #e8f5e9;
    color: #28a745;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.mkt-shipping {
    font-size: 12px;
    color: #666;
}

.mkt-pros {
    list-style: none;
    padding: 0;
    margin: 0 0 15px;
}

.mkt-pros li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.mkt-pros li::before {
    content: "✔";
    color: #ffb700;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.mkt-readmore {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    cursor: pointer;
}

/* RIGHT: Score & CTA */
.mkt-action-box {
    width: 180px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mkt-score-wrap {
    background: #fff9e6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.mkt-score-val {
    font-size: 36px;
    font-weight: 800;
    color: #000;
    line-height: 1;
    margin-bottom: 5px;
}

.mkt-score-text {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mkt-stars {
    color: #ffb700;
    font-size: 18px;
    letter-spacing: 2px;
}

.mkt-btn {
    background: #ffb700 !important;
    color: #000 !important;
    padding: 12px 20px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: block !important;
    box-shadow: 0 2px 0 #cc9500 !important;
    transition: background 0.2s !important;
}

.mkt-btn:hover {
    background: #e6a400 !important;
}

.mkt-amazon-label {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
}

/* SIDEBAR */
.sidebar-column { background: #fff; padding: 20px; border-radius: 6px; }
.sidebar-title { font-size: 18px; font-weight: 700; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 20px; }
.sim-product { display: flex; gap: 15px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.sim-img { width: 60px; height: 60px; object-fit: contain; }
.sim-info h4 { font-size: 13px; margin: 0 0 8px; }
.sim-link { font-size: 12px; color: #008282; font-weight: 700; }

/* FOOTER - uk.market.com style (light) */
.site-footer { background: #f5f5f5; border-top: 1px solid #ddd; margin-top: 40px; }
.footer-main { padding: 40px 0; }
.footer-content { display: flex; gap: 60px; }
.footer-brand { flex: 1; }
.footer-col { flex: 0 0 auto; }
.footer-logo { margin-bottom: 15px; }
.footer-logo .logo-text { font-size: 28px; font-weight: 900; color: #0f1111; }
.footer-logo .logo-accent { color: #f0ad00; }
.footer-description { font-size: 14px; color: #565959; line-height: 1.6; }
.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
    color: #0f1111;
}
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: #565959; font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-menu a:hover { color: #0066c0; text-decoration: underline; }

/* Footer Bottom */
.footer-bottom { background: #fff; border-top: 1px solid #ddd; padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: #565959; margin: 4px 0; line-height: 1.5; }
.footer-bottom a { color: #0066c0; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 950px) {
    .single-layout { grid-template-columns: 1fr !important; }
    .mkt-card-main { flex-direction: column !important; }
    .mkt-visual, .mkt-action-box { width: 100% !important; }
    .footer-content { flex-direction: column; gap: 25px; }
}

@media (max-width: 768px) {
    .header-main-content { flex-wrap: wrap; }
    .main-search-holder { order: 3; max-width: 100%; width: 100%; margin-top: 15px; }
}
