@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Poppins:wght@400;700&display=swap');

/* =====================================================
   REVIEW PAGE STYLES - Matching Reference Site Exactly
   ===================================================== */

/* Global Styles */
:root {
    --bs-body-bg: #ffffff !important;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff !important;
    background: #ffffff !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: #252A32;
    padding: 0;
    margin: 0;
}

/* Typography Resets - Matching Vibrator Design */
p, h1, h2 {
    margin: 0;
    padding: 0;
    font-size: unset;
    font-weight: unset;
    font-family: unset;
    line-height: unset;
    font-style: unset;
    text-align: unset;
}

strong {
    font-weight: bold !important;
}

/* Force white background everywhere - override Bootstrap 5.3 */
html, body, .container, .container-fluid, main, article, section {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Custom Wrapper Layout - Matching Vibrator Design */
.main_wrapper_main {
    color: rgb(37, 42, 50);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    padding: 0;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
}

.main-wrapper {
    min-height: 100vh;
}

.section_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.section_row {
    max-width: 1170px;
    margin: 0 auto;
    width: 100%;
}

/* Desktop width control (match vibrator reference) */
@media (min-width: 1025px) {
    .main_wrapper_main .section_row {
        max-width: 1170px !important;
    }
    .main_wrapper_main .intro-section {
        max-width: 1170px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    #top-pick .section_row {
        max-width: 1170px !important;
        width: 100% !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .section_wrapper {
        width: 100%;
    }
    .section_row {
        max-width: 1170px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 600px) {
    .section_wrapper {
        width: 100%;
    }
}

/* Custom Button Styles - Matching Vibrator Design */
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    flex-direction: column;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #f6f9fe;
    background: #4368e0;
    border-radius: 4px;
    transition: 0.15s all ease-in-out;
    transition-property: all;
    transition-duration: 0.2s;
}

/* Navbar Styles */
.navbar {
    border-bottom: none !important;
    box-shadow: 0 0 7px 0 rgba(0,0,0,0.15);
    padding: 10px !important;
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.navbar-brand:hover {
    color: #333 !important;
}

/* Navbar Links */
.navbar-nav .nav-link {
    font-size: 14px;
    color: #555 !important;
    padding: 8px 15px;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #000 !important;
}

.navbar-nav .nav-link i {
    font-size: 12px;
}

/* Mobile navbar */
@media (max-width: 767px) {
    .navbar-nav {
        padding: 15px 0;
        border-top: 1px solid #eee;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

/* Advertorial Section */
.advertorial-section {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

/* Advertorial Badge */
.advertorial-badge {
    color: #9B9B9B !important;
    background-color: transparent !important;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Disclosure Link in Navbar */
.disclosure-link {
    color: #E57373 !important;
    font-size: 13px !important;
}

.disclosure-link:hover {
    color: #c62828 !important;
}

/* Override Bootstrap badge if used */
.badge.bg-light.text-muted {
    color: #E57373 !important;
    background-color: transparent !important;
    font-size: 14px;
    font-weight: 500;
}

/* Main Title (H1) - Matching vibrator-review.com Exactly */
h1, .display-5, .main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 39px !important;
    font-weight: 400 !important;
    color: #303030 !important;
    line-height: 1;
    letter-spacing: 0;
    margin: 0 0 0 0;
    padding: 20px 5px 5px 5px;
    text-align: center;
}

.main-title {
    margin-top: 0;
    margin-bottom: 0;
}

/* Intro Section - Matching reference 75% width on desktop, 100% on tablet/mobile */
.intro-section {
    max-width: 850px;
    width: 75%;
    margin: 0 auto;
    padding-top: 10px;
}

/* Tablet and mobile: Full width for intro section */
@media (max-width: 1024px) {
    .intro-section {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Intro Divider - Matching reference site */
.intro-divider {
    border-top: 1px solid #C3ADAD;
    margin: 0;
    padding: 0 5px;
}

/* Featured Image Banner - 16:9 aspect ratio with cropping for AI-generated white edges */
.featured-image-banner {
    display: block;
    width: 580px;
    max-width: 100%;
    margin: 15px auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 15px;
}

.featured-image-banner.mb-4 {
    margin-bottom: 15px !important;
}

.featured-image-banner img {
    width: 100%;
    height: 100%;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: cover;
    object-position: center center;
}

/* Article Content / Introduction Text - Matching vibrator-review.com */
.article-content p,
.intro-paragraph {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #303030;
    text-align: left;
    margin: 10px 0 10px 0;
    padding: 10px 220px 5px 220px;
}

.container p {
    font-size: 16px;
    line-height: 1.3;
    color: #303030;
    margin-bottom: 10px;
}

/* Review card paragraphs */
.review-card-container p,
.review-card p {
    font-size: 16px;
    line-height: 1.4;
    color: #252A32;
    margin-bottom: 14px;
    padding: 5px;
}

/* Product Header Styles */
.product-header {
    padding: 30px 0;
    margin-bottom: 0;
    text-align: center;
    background-color: transparent;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700 !important;
    font-size: 28px;
}

.product-rank {
    font-size: 24px;
    font-weight: bold;
    color: #000441;
    margin-bottom: 10px;
}

.product-rank h2 {
    font-size: 30px;
    color: #000441;
    font-weight: 400;
}

.product-rank a {
    color: #000441;
    text-decoration: underline;
}

.product-rank a:hover {
    color: #E57373;
}

.product-brand {
    font-size: 21px;
    color: #000441;
    margin-bottom: 30px;
    font-style: normal;
}

.product-cards-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Product Image Card */
.product-image-card {
    background: white;
    border-radius: 5px;
    padding: 7px;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    overflow: hidden;
}

.product-image {
    max-width: 100%;
    max-height: 230px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Grade and Rating Cards */
.grade-card, .rating-card {
    background: white;
    border-radius: 5px;
    padding: 7px;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 264px;
}

.grade-card-title, .rating-card-title {
    font-size: 30px;
    color: #0076FF;
    margin-bottom: 10px;
    font-weight: 400;
}

.overall-grade {
    font-size: 94px;
    color: #0076FF;
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.rating-value {
    font-size: 35px;
    color: #000;
    font-weight: bold;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.stars .fa-star,
.stars .fa-star-half-alt {
    color: #f0ad4e;
    font-size: 23px !important;
}

/* Review Card Container - Gray Background (matching reference #E8E8E8) */
.review-card-container {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #E8E8E8;
    border-radius: 0;
}

/* Desktop: 75% width with 850px max (matching vibrator reference) */
@media (min-width: 1025px) {
    .review-card-container {
        width: 75% !important;
        max-width: 850px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Review Card - White Card Inside */
.review-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,0.12);
}

.review-title {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    margin-bottom: 20px;
    text-transform: none;
}

/* =====================================================
   PROGRESS BARS - Matching Reference Site Exactly
   ===================================================== */

.progress-section {
    margin: 20px 0;
}

.progress-item {
    margin-bottom: 20px;
}

.progress-label {
    font-size: 16px;
    color: #252A32;
    margin-bottom: 0;
    padding: 5px;
    font-weight: 400;
}

/* Custom Progress Bar - Matching Vibrator Design Exactly */
.progressbar {
    width: 100%;
    height: 30px;
    background-color: #B0A8A8;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.progressvalue {
    height: 100%;
    width: 0%;
    background-color: #5cb85c;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    transition: width 1s ease-in-out;
}

.progress-percentage {
    color: white;
    padding-inline-end: 15px;
    font-weight: 400;
    font-size: 14px;
    white-space: nowrap;
}

/* Legacy Bootstrap progress bar support - keep for backward compatibility */
.progress {
    height: 30px;
    border-radius: 2px;
    background-color: #B0A8A8;
    overflow: hidden;
    margin-bottom: 0;
}

.progress-bar {
    background-color: #5cb85c;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 400;
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-inline-end: 15px;
    transition: width 1s ease-in-out;
}

/* =====================================================
   PROS AND CONS SECTION
   ===================================================== */

.pros-cons-section {
    margin-top: 30px;
}

.pros-title {
    color: #14C649;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.cons-title {
    color: #D0021B;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    margin-top: 30px;
}

/* Pros/Cons Items - Matching reference exactly */
.pros-item, .cons-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 0px 0px 0px 0px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    text-align: left;
    padding: 0px;
}

.pros-item .icon,
.cons-item .icon {
    width: 7%;
    min-width: 7%;
    max-width: 7%;
    margin: 5px 0px 0px 0px;
    font-size: 21px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
}

.pros-item .icon {
    color: #14C649;
}

.cons-item .icon {
    color: #D0021B;
}

.pros-item span,
.cons-item span {
    width: unset;
    min-width: 0;
    max-width: unset;
    padding: 5px 5px 5px 5px;
    flex: 1;
}

/* Use Font Awesome square icons - Matching Vibrator Design */
.pros-item .fa-square-check,
.pros-item .fa-check-circle,
.pros-item .fa-check-square,
.pros-item .fa-check-square-o {
    color: #14C649;
    font-size: 30px !important;
}

.cons-item .fa-square-minus,
.cons-item .fa-times-circle,
.cons-item .fa-minus-square,
.cons-item .fa-minus-square-o {
    color: #D0021B;
    font-size: 30px !important;
}

/* Divider line in review card */
.review-card hr,
.review-divider {
    border-top: 1px solid #BBB2B2;
    margin: 30px 5px;
}

/* =====================================================
   CHECK AVAILABILITY BUTTON
   ===================================================== */

.check-availability-btn {
    font-size: 16px;
    text-align: center;
    line-height: 1;
    margin: 20px 0;
    padding: 15px 30px;
    background-color: #ED1C23;
    box-shadow: none;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0;
    border-radius: 0;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.check-availability-btn:hover {
    background-color: #A71419;
}

/* Responsive Availability Button - Matching Vibrator Design */
@media screen and (min-width: 750px) {
    .check-availability-btn {
        width: 45% !important;
    }
}

/* =====================================================
   AUTHOR SECTION - Matching Reference Site Exactly
   ===================================================== */

.author-section {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #d0d0d0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.author-image {
    width: 110px !important;
    height: 110px !important;
    min-width: 110px;
    min-height: 110px;
    border-radius: 50%;
    object-fit: cover !important;
    display: block;
}

.author-name {
    font-family: 'Poppins', sans-serif;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-top: 10px;
    padding: 5px;
    text-align: center;
}

.author-bio {
    color: rgb(33, 37, 41);
    font-size: 14px;
    line-height: 1.2;
    max-width: 500px;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
}

/* Legacy support - author section img */
.author-section img {
    border: 2px solid #d0d0d0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.author-section h3 {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    margin-top: 10px;
    padding: 5px;
    text-align: center;
}

.author-section p {
    color: rgb(33, 37, 41);
    font-size: 14px;
    line-height: 1.2;
    max-width: 500px;
    margin: 0 auto;
    padding: 5px;
    text-align: center;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background-color: #F0ECEC;
    padding: 40px 0;
    text-align: center;
    border-top: none;
}

.footer .me-5 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.footer p {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* =====================================================
   WHY PRODUCT CATEGORY SECTION
   ===================================================== */

/* Section title - matching reference 26px */
.why-section-title,
section h2.h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px !important;
    font-weight: 700 !important;
}

.card.border-success {
    border-color: #14C649 !important;
}

.card.border-danger {
    border-color: #D0021B !important;
}

.text-success {
    color: #14C649 !important;
}

.text-danger {
    color: #D0021B !important;
}

/* =====================================================
   SECTION WIDTH - Match Reference Site Exactly
   ===================================================== */

/* Main container max-width - Reference uses 1170px */
.container {
    max-width: 1170px !important;
}

/* Content wrapper - 100% on mobile/tablet, 75% on desktop */
.container > .row.justify-content-center > .col-lg-9,
.container > .row.justify-content-center > [class*="col-lg-9"],
.container > section.row.justify-content-center > .col-lg-9 {
    max-width: 100%;
    width: 100%;
}

/* Mobile: Ensure full width for all content columns */
@media (max-width: 767px) {
    .container > .row.justify-content-center > .col-lg-9,
    .container > .row.justify-content-center > [class*="col-lg-9"],
    .container > section.row.justify-content-center > .col-lg-9,
    .container > .row.justify-content-center > .col-md-10 {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure review card containers are full width */
    .review-card-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure product review rows are full width */
    .row.justify-content-center {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Desktop only: 75% width with 850px max */
@media (min-width: 1025px) {
    .container > .row.justify-content-center > .col-lg-9,
    .container > .row.justify-content-center > [class*="col-lg-9"],
    .container > section.row.justify-content-center > .col-lg-9 {
        max-width: 850px;
        width: 75%;
    }
}

@media screen and (min-width: 750px) {
    .review-card-container {
        /* Section width controlled by max-width above */
    }

    .check-availability-btn {
        width: 45%;
    }
}

/* =====================================================
   RESPONSIVE DESIGN - Matching Reference Site (600px breakpoint)
   ===================================================== */

@media (max-width: 600px) {
    h1, .display-5, .main-title {
        font-size: 27px !important;
        font-weight: 400 !important;
        margin: 0 0 0 0;
        padding: 15px 5px 5px 5px;
    }

    .article-content p,
    .intro-paragraph {
        font-size: 16px;
        line-height: 1.3;
        margin: 10px 0 10px 0;
        padding: 5px 5px 5px 5px;
    }

    /* Featured image - maintain 16:9 aspect ratio and cover behavior on mobile */
    .featured-image-banner {
        width: 100%;
    }

    .featured-image-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Author section mobile */
    .author-name {
        font-size: 15px;
    }

    .author-section h3 {
        font-size: 15px;
    }

    /* Ensure review cards are full width on mobile */
    .review-card-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    /* Pros/Cons mobile - ensure icon has enough space */
    .pros-item .icon,
    .cons-item .icon {
        width: 24px;
        min-width: 24px;
        max-width: 24px;
        margin: 2px 0 0 0;
        font-size: 18px;
    }

    .pros-item,
    .cons-item {
        align-items: flex-start;
        gap: 8px;
    }

    .pros-item span,
    .cons-item span {
        padding: 3px 0;
        font-size: 15px;
    }

    .pros-item .fa-square-check,
    .pros-item .fa-check-circle,
    .pros-item .fa-check-square,
    .cons-item .fa-square-minus,
    .cons-item .fa-times-circle,
    .cons-item .fa-minus-square {
        font-size: 18px !important;
    }

    .product-rank h2 {
        font-size: 21px;
    }

    .product-brand {
        font-size: 15px;
    }

    .product-cards-section {
        flex-direction: column;
        align-items: center;
    }

    .product-image-card {
        width: 100%;
        height: 200px;
        min-height: 200px;
        max-height: 200px;
    }

    .product-image {
        max-height: 180px;
    }

    .grade-card, .rating-card {
        width: 100%;
        min-height: auto;
    }

    .review-card {
        padding: 15px;
    }

    .review-card-container {
        padding: 20px;
    }

    .check-availability-btn {
        padding: 15px 30px;
        width: 100%;
    }
}

/* =====================================================
   ADVERTISER DISCLOSURE SECTION
   ===================================================== */

.disclosure-section {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 25px 30px;
    margin-top: 30px;
}

.disclosure-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #303030;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disclosure-text {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 12px;
}

/* =====================================================
   FOOTER - ENHANCED
   ===================================================== */

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.footer-copyright p,
.footer-ownership p {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.footer-ownership {
    margin-top: 5px;
}

.footer-ownership p {
    font-size: 13px;
    color: #666;
}
