@charset "UTF-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2980b9;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --dark-text: #212a33;
    --medium-text: #34495e;
    --light-text: #7f8c8d;
    --background: #fff;
    --light-bg: #f9f9f9;
    --border-color: #ecf0f1;
    --highlight: #fffde7;
    --base-font-size: 18px;
    --heading-ratio: 1.25;
}

html, body {
    background-color: var(--background);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--base-font-size);
    line-height: 1.7;
    color: var(--dark-text);
    height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-text);
    margin: 2rem 0 1rem;
    text-rendering: optimizeLegibility;
}

h1 {
    text-align: center;
    font-weight: 800;
    font-size: 45px;
    font-size: calc(var(--base-font-size) * var(--heading-ratio) * 2);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-weight: 700;
    text-transform: none;
    line-height: 1.35;
    font-size: 32px;
    font-size: calc(var(--base-font-size) * var(--heading-ratio) * 1.45);
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

h3 {
    font-weight: 600;
    font-size: 22px;
    font-size: calc(var(--base-font-size) * var(--heading-ratio));
    line-height: 1.4;
}

h4 {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.4;
}

p, li {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 0 0.8rem;
    color: var(--medium-text);
}

blockquote, ol, ul, .articleImageContainer {
    color: var(--medium-text);
    margin: 0 0 1rem;
}

blockquote {
    background-color: var(--highlight);
    border-left: 5px solid var(--accent-color);
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

hr {
    border: 0;
    height: 1px;
    margin: 1.5rem 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    position: relative;
    overflow: visible;
}

.sectionContainer {
    margin: 0.5rem auto 0;
    max-width: 1140px;
    padding: 0 1.5rem;
}

.contentContainer {
    margin: 0 auto;
    max-width: 1140px;
    padding: 0 1.5rem;
}

.content-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.main-content {
    width: 100%;
    background-color: var(--background);
    border-radius: 8px;
    overflow: hidden;
}

.main-nav {
    background: #2980b9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    height: 55px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 30px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.15rem;
    flex-wrap: nowrap;
    flex: none;
    justify-content: flex-start;
    margin-left: 1rem;
}

.nav-menu li {
    margin: 0;
    flex-shrink: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.7rem;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.85rem;
    display: block;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #2c3e50;
}

.nav-menu a.active {
    background: rgba(255, 255, 255, 0.35);
    color: #2c3e50;
    font-weight: 600;
}

a, button {
    outline: none;
}

a {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
}

a:hover {
    color: var(--secondary-color);
}

button.red {
    width: 100%;
    display: block;
    padding: 0.6rem 0.6rem;
    background: #e74c3c;
    color: #fff;
    border: none;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    margin: 1rem 0 1rem;
    outline: none;
    border-bottom: 3px solid #c0392b;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

button.red:hover {
    background: #c0392b;
}

button.red:active {
    background: #a93226;
}

.product-showcase {
    margin-bottom: 10px;
    overflow: visible;
    position: relative;
}

.product-showcase a {
    display: block;
}

.product-showcase button.red {
    width: 100%;
    font-size: 0.9em;
    padding: 8px 5px;
}

.product-heading {
    margin-top: 1.5rem;
    margin-bottom: 0.1rem;
    font-size: 1.45rem;
    line-height: 1.4;
    color: var(--medium-text);
    font-weight: 700;
    text-align: left;
}

.product-heading .title-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 0.2rem;
    vertical-align: middle;
}

.product-heading a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.product-heading a:hover {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px dotted;
}

header {
    background-color: #fff;
    height: 60px;
    width: 100%;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    position: relative;
}

header .sectionContainer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    max-width: 1140px;
    position: relative;
}

.wpLogo {
    height: 35px;
    width: auto;
    margin: 0;
    margin-right: 10px;
}

.articleContent {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background-color: #fff;
}

.articleInfo {
    text-align: center;
    margin: 1.2rem 0 0.3rem;
    font-size: 0.85rem;
    color: var(--medium-text);
}

.sharethis-inline-share-buttons {
    margin-bottom: 1.5rem;
}

.photoAuthor {
    width: 36px;
    height: 36px;
    margin-right: 0.6rem;
    vertical-align: middle;
    border-radius: 50%;
}

.highlight {
    background-color: var(--highlight);
    padding: 0.2em 0;
}

.img-responsive {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
}

.img-circle {
    border-radius: 50%;
}

footer {
    color: var(--light-text);
    background: var(--light-bg);
    padding: 3rem 0;
    margin-top: 3rem;
    font-size: 0.8rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    font-size: calc(var(--base-font-size) * 0.75);
}

footer a {
    font-size: 0.9rem;
    color: var(--medium-text);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

footer ul {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    gap: 1rem;
}

footer .list-inline > li {
    display: inline-block;
    padding: 0 10px;
    border-right: 1px solid var(--border-color);
}

footer .list-inline > li:last-child {
    border-right: none;
}

footer .wpLogo {
    height: 40px;
    margin-bottom: 1rem;
    width: auto;
}

.product-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 5px 1px;
    background: #f1f3f5;
    border-radius: 0 0 12px 12px;
    border-top: 2px solid var(--primary-color);
    position: relative;
}

.product-meta .star-rating {
    order: 1;
    flex-shrink: 0;
}

.product-meta .review-score {
    order: 2;
    margin-right: auto;
}

.product-meta .discount-button {
    order: 3;
}

.product-meta .usage-counter {
    order: 4;
}

.usage-counter {
    font-size: 0.9rem;
    color: var(--medium-text);
    display: inline-block;
    padding: 2px 6px;
    line-height: 1.2;
}

.discount-button {
    color: #35495e;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: underline;
    display: inline-block;
    cursor: pointer;
    border: none;
    line-height: 1.2;
    text-align: center;
}

.discount-button:hover {
    background: #27ae60;
    color: white;
}

.star-rating {
    position: relative;
    font-size: 0;
    display: inline-block;
    color: transparent;
    margin-right: 1px;
}

.star-rating::before {
    content: "★★★★★";
    color: #e0e0e0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.star-rating span {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
}

.star-rating span::before {
    content: "★★★★★";
    color: #f39c12;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.star-rating[data-rating="4.5"] span {
    width: 90%;
}

.star-rating[data-rating="4"] span {
    width: 80%;
}

.star-rating[data-rating="3.5"] span {
    width: 70%;
}

.review-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--success-color);
    color: white;
    font-weight: 800;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.85rem;
    position: relative;
    border: 2px solid rgba(255,255,255,0.9);
    letter-spacing: 0.5px;
}

.product-showcase.hidden {
    display: none;
}

.offer-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}

.offer-section:last-of-type {
    border-bottom: none;
}

.offer-section.hidden {
    display: none;
}

.offer-section .img-responsive {
    width: 100%;
    max-width: 100%;
}

.user-comment {
    background-color: var(--light-bg);
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-size: 1.1rem;
    color: var(--medium-text);
    font-style: italic;
}

.user-comment em {
    color: var(--medium-text);
}

.offer-section i {
    color: #27ae60;
    font-weight: bold;
    font-style: normal;
}

.editors-choice-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #c41e3a;
    color: white;
    padding: 0.2rem 0.3rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 15;
    border: none;
    white-space: nowrap;
}

.editors-choice-badge.best-value {
    background: #d2691e;
}

.editors-choice-badge.most-popular {
    background: #6b46c1;
}

.editors-choice-badge.limited-time {
    background: #e91e63;
}

.editors-choice-badge.bestseller {
    background: #ff9800;
}

.editors-choice-badge.new-arrival {
    background: #4caf50;
}

.editors-choice-badge.trending {
    background: #ff5722;
}

.editors-choice-badge.save-money {
    background: #2e7d32;
}

.editors-choice-badge.premium {
    background: #9c27b0;
}

.editors-choice-badge.hot-deal {
    background: #f44336;
}

.editors-choice-badge.customers-choice {
    background: #3f51b5;
}

@media (min-width: 1200px) {
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .main-content {
        width: 100%;
    }
    
    html, body { 
        font-size: var(--base-font-size);
    }
    
    p, li {
        font-size: calc(var(--base-font-size) * 1.1);
        line-height: 1.6;
    }
    
    .sectionContainer { 
        max-width: 1140px; 
    }
    
    .contentContainer { 
        max-width: 1140px; 
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    html, body { 
        font-size: 18px;
        font-size: calc(var(--base-font-size) * 0.95);
    }
    
    h1 {
        text-align: center;
        font-size: 45px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 2);
        line-height: 1.3; 
    }
    
    h2 { 
        font-size: 28px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 1.25);
    }
    
    h3 { 
        font-size: 25px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 1.1);
    }
    
    p, li {
        font-size: calc(var(--base-font-size) * 1.05);
        line-height: 1.6;
    }

    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 0.15rem;
        margin-left: 0.5rem;
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        border-radius: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        max-height: none;
        overflow: visible;
        flex-direction: row;
    }
    
    .nav-menu a {
        padding: 0.45rem 0.35rem;
    }
    
    .nav-logo {
        margin-right: 2rem;
    }
    
    header .sectionContainer,
    .sectionContainer,
    .contentContainer {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .content-wrapper {
        flex-direction: row;
        padding: 0 0.5rem;
        max-width: 100%;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .main-content {
        width: 80%;
        padding: 0;
        margin: 0;
        max-width: 100%;
    }
    
    .product-meta {
        padding: 5px 1px;
        gap: 8px;
    }
    
    .discount-button {
        font-size: 0.85rem;
    }

    .product-heading {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    html, body {
        font-size: 17px;
        font-size: calc(var(--base-font-size) * 0.9);
    }
    
    h1 {
        text-align: center;
        font-size: 34px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 1.5);
        line-height: 1.25; 
        margin-bottom: 1rem; 
    }
    
    h2 { 
        font-size: 28px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 1.25);
        line-height: 1.3; 
        padding-top: 1.2rem; 
        margin-top: 2rem; 
    }
    
    h3 { 
        font-size: 23px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 1.05);
    }
    
    h4 { 
        font-size: 21px;
        font-size: calc(var(--base-font-size) * var(--heading-ratio) * 0.95);
    }
    
    p, li {
        line-height: 1.6;
        margin: 0 0 0.75rem;
    }
    
    .nav-container {
        padding: 0.5rem 1rem;
        height: auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
    }
    
    .nav-logo {
        margin-right: 0;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        height: auto;
    }
    
    .nav-logo img {
        height: 32px !important;
        width: auto;
    }
    
    .nav-menu {
        display: none;
    }
    
    .sectionContainer,
    .contentContainer {
        padding: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .content-wrapper {
        flex-direction: column;
        padding: 0;
        max-width: 100%;
        margin: 0;
    }
    
    .main-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        flex: none !important;
    }
    
    header .sectionContainer {
        justify-content: center;
        padding: 0;
    }
    
    .articleInfo {
        text-align: center;
        margin: 1.2rem 0 0.3rem;
    }
    
    .product-heading {
        font-size: 1.45rem;
        line-height: 1.3;
        margin: 1rem 0 0.4rem 0;
    }
    
    .red {
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
        width: 100%;
        box-sizing: border-box;
        font-size: 1.1rem;
    }
    
    .discount-button {
        font-size: 0.85rem;
        padding: 3px 6px;
    }
    
    p {
        margin: 0 0 0.75rem;
        padding: 0;
    }
    
    h1, h2, h3 {
        margin: 1rem 0;
        padding: 0;
    }

    .editors-choice-badge {
        font-size: 0.65rem;
        padding: 0.1rem 0.2rem;
        top: 0px;
        right: 0px;
        border-radius: 5px;
    }
    
    .product-meta {
        gap: 8px;
        padding: 5px 1px;
        flex-wrap: wrap;
    }
    
    .product-meta .review-score {
        margin-right: 0;
        flex: 0 0 auto;
    }

}

@media (max-width: 480px) {
    .product-meta {
        gap: 6px;
        padding: 5px 1px;
    }
    
    .product-meta .review-score {
        margin-right: 0;
    }
    
    .usage-counter {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}