/* style/main.css */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header --- */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px 20px;
    border-bottom: 5px solid #e74c3c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}
.header-left {
    display: flex;
    align-items: center;
}
.header-logo {
    margin-right: 30px;
}
.header-logo img {
    height: 50px;
    width: auto;
    display: block;
}
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}
.main-nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}
.main-nav ul li a:hover {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
}
.header-search {
    display: flex;
    align-items: center;
}
.header-search form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.header-search input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95em;
    width: 150px;
    transition: width 0.3s ease;
}
.header-search input[type="text"]:focus {
    width: 200px;
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}
.header-search button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}
.header-search button:hover {
    background-color: #2980b9;
}
.header-search .clear-search-btn {
    background-color: #e74c3c;
}
.header-search .clear-search-btn:hover {
    background-color: #c0392b;
}


/* --- Hero Section (main intro for the blog) --- */
.hero-section {
    background-color: #34495e;
    color: #ecf0f1;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.hero-content h2 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #bdc3c7;
}
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 0;
}
.hero-button {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.hero-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* --- Page Title for Product List --- */
.page-main-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 600;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

/* --- Product List (Single-column layout like the image) --- */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-card-image-container {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-right: 1px solid #eee;
}
.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card-info {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
}
.product-card-price {
    font-size: 1.5em;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 10px;
}
.product-card-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}
.product-card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}
.product-card-button {
    display: inline-block;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.product-card-button.buy-now {
    background-color: #3498db;
    color: #fff;
}
.product-card-button.buy-now:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}
.product-card-button.check-price {
    background-color: #2ecc71;
    color: #fff;
}
.product-card-button.check-price:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
}
.product-card-meta {
    font-size: 0.85em;
    color: #888;
    margin-top: 15px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* --- Pagination Dropdown --- */
.pagination-dropdown {
    text-align: center;
    margin: 30px 0;
    font-size: 1em;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.pagination-dropdown label {
    margin-right: 10px;
    color: #555;
    font-weight: 500;
}
.pagination-dropdown select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    cursor: pointer;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.pagination-dropdown select:hover {
    border-color: #999;
}
.pagination-dropdown select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* --- Messages --- */
.no-products-message {
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    padding: 50px 0;
}
.search-results-info {
    text-align: center;
    font-size: 1.1em;
    color: #34495e;
    margin-bottom: 20px;
    font-weight: 500;
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background-color: #34495e;
    color: #ecf0f1;
    font-size: 0.9em;
}

/* --- Mobile Adaptations --- */
@media (max-width: 900px) {
    .header-search input[type="text"] {
        width: 120px;
    }
    .header-search input[type="text"]:focus {
        width: 180px;
    }
    .product-card-image-container {
        width: 200px;
        height: 200px;
    }
    .product-card-title {
        font-size: 1.5em;
    }
    .product-card-price {
        font-size: 1.3em;
    }
    .product-card-description {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .header-left {
        width: 100%;
        justify-content: space-between;
    }
    .header-logo {
        margin-right: 0;
    }
    .main-nav {
        width: 100%;
        margin-top: 15px;
        display: none;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .header-search {
        width: 100%;
        margin-top: 15px;
        justify-content: center;
    }
    .header-search form {
        width: 100%;
        justify-content: center;
        gap: 5px;
    }
    .header-search input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
     .header-search button {
        flex-grow: 1;
        width: auto;
     }
     .header-search .clear-search-btn {
        margin-left: 0;
        margin-right: 0;
     }

    .hero-content h2 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }

    .product-card {
        flex-direction: column;
        align-items: center;
    }
    .product-card-image-container {
        width: 100%;
        height: 300px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .product-card-info {
        width: 100%;
        padding: 15px;
        text-align: center;
    }
    .product-card-title {
        font-size: 1.6em;
    }
    .product-card-price {
        font-size: 1.4em;
    }
    .product-card-buttons {
        justify-content: center;
        width: 100%;
    }
    .product-card-button {
        flex-grow: 1;
    }
    .product-card-meta {
        text-align: center;
    }
    .pagination-dropdown label,
    .pagination-dropdown select {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    .pagination-dropdown select {
        margin-top: 5px;
    }
}
@media (max-width: 480px) {
    .hero-section {
        padding: 40px 15px;
    }
    .hero-content h2 {
        font-size: 1.8em;
    }
    .product-card-image-container {
        height: 250px;
    }
    .product-card-title {
        font-size: 1.3em;
    }
    .product-card-price {
        font-size: 1.1em;
    }
}


/* YORUM SECTION */

/* style/main.css (continue adding to the end of the file) */

/* --- Product Reviews Section - NEW TABBED DESIGN --- */

.review-section-main-container {
    background-color: #f8f9fa; /* Light grey background for the whole section */
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.review-section-title {
    text-align: center;
    color: #343a40; /* Darker grey for title */
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 700;
    border-bottom: 3px solid #007bff; /* Blue underline */
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.review-section-subtitle {
    text-align: center;
    color: #6c757d; /* Muted grey for subtitle */
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-tab-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 25px; /* Inner padding for the main tab content area */
}

/* --- Product Tabs Navigation --- */
.product-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for many tabs */
    margin-bottom: 25px;
    border-bottom: 2px solid #e9ecef; /* Light border below tabs */
    padding-bottom: 5px;
    gap: 5px; /* Space between tab buttons */
}

.product-tab-button {
    background-color: #e2e6ea; /* Light background for inactive tabs */
    color: #495057; /* Dark text for inactive tabs */
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 7px 7px 0 0; /* Rounded top corners */
    transition: all 0.3s ease;
    flex-grow: 1; /* Make buttons expand to fill space */
    max-width: 25%; /* Limit width to allow multiple columns on wider screens */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.product-tab-button:hover:not(.active) {
    background-color: #dae0e5;
    color: #212529;
}

.product-tab-button.active {
    background-color: #007bff; /* Blue for active tab */
    color: #fff;
    box-shadow: 0 -3px 8px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 1;
    margin-bottom: -2px; /* Overlap border */
}

/* --- Product Tab Content --- */
.product-tab-content-wrapper {
    min-height: 400px; /* Ensure content area has a minimum height */
    position: relative;
}

.product-tab-content {
    display: none; /* Hidden by default */
    padding: 20px 0;
    animation: fadeIn 0.5s ease-out; /* Fade-in animation */
}

.product-tab-content.active {
    display: block; /* Show active content */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Individual Review Item Styles --- */
.review-item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e9ecef;
}

.review-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.review-item-title {
    font-size: 2em;
    font-weight: 700;
    color: #343a40;
    margin: 0;
}

/* --- Pros/Cons/Summary Detail Tabs --- */
.review-item-details {
    margin-bottom: 25px;
}

.review-pros-cons-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    gap: 2px; /* Small gap between detail tabs */
}

.review-detail-tab-button {
    background-color: #f2f2f2;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    color: #555;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: all 0.2s ease;
}

.review-detail-tab-button.active {
    background-color: #28a745; /* Green for active detail tab */
    color: #fff;
    border-color: #28a745;
    z-index: 1;
    position: relative;
    margin-bottom: -1px;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.1);
}

.review-detail-tab-button:hover:not(.active) {
    background-color: #e9ecef;
    color: #333;
}

.review-detail-content-wrapper {
    background-color: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px; /* Rounded bottom corners */
    border-top-left-radius: 8px; /* Also round top-left for single content block */
    padding: 20px;
    min-height: 120px; /* Ensure content area has some height */
}

.review-detail-content {
    display: none;
    line-height: 1.7;
    color: #495057;
    font-size: 1.0em;
    animation: fadeIn 0.5s ease-out; /* Fade-in animation for detail content */
}

.review-detail-content.active {
    display: block;
}

.review-detail-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.review-detail-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.tab-icon {
    margin-right: 10px;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1;
    min-width: 1.2em; /* Ensure icon has consistent width */
}

.tab-icon.check {
    color: #28a745; /* Green checkmark */
}
.tab-icon.cross {
    color: #dc3545; /* Red cross */
}

.review-detail-content p {
    margin: 0;
}

.review-read-more {
    display: inline-block;
    background-color: #007bff; /* Blue button */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
}

.review-read-more:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}


/* --- Responsive Adjustments for NEW Product Reviews Section --- */
@media (max-width: 768px) {
    .review-section-main-container {
        padding: 30px 15px;
    }
    .review-section-title {
        font-size: 2em;
    }
    .review-section-subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .product-tabs-nav {
        flex-direction: column; /* Stack product tabs vertically on mobile */
        gap: 8px;
        border-bottom: none; /* Remove bottom border for stacked tabs */
        padding-bottom: 0;
    }
    .product-tab-button {
        width: 100%; /* Full width for stacked buttons */
        max-width: none;
        border-radius: 7px; /* Full rounded corners for stacked buttons */
        margin-bottom: 5px; /* Space between stacked buttons */
    }
    .product-tab-button.active {
        margin-bottom: 5px;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    }
    .review-item-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .review-item-image {
        width: 100px;
        height: 100px;
    }
    .review-item-title {
        font-size: 1.6em;
    }
    .review-pros-cons-tabs {
        flex-wrap: wrap; /* Allow detail tabs to wrap */
        justify-content: center;
        gap: 5px;
    }
    .review-detail-tab-button {
        flex-grow: 1;
        text-align: center;
    }
    .review-detail-content-wrapper {
        padding: 15px;
    }
    .review-read-more {
        width: 100%;
        box-sizing: border-box; /* Include padding in width */
    }
}

@media (max-width: 480px) {
    .review-section-title {
        font-size: 1.8em;
    }
    .review-item-title {
        font-size: 1.4em;
    }
    .review-item-image {
        width: 80px;
        height: 80px;
    }
}


/* YORUM SECTON END */

/* style/main.css (add these new rules) */

/* --- Product List Header (Title + Search) --- */

/* search header */
.product-list-header {
    display: flex;
    justify-content: space-between; /* Push title to left, search to right */
    align-items: center; /* Vertically align items */
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 20px; /* Space between title and search on wrap */
}

.product-list-header .page-main-title {
    margin-bottom: 0; /* Remove default bottom margin */
    /* width: fit-content; already defined */
    /* display: inline-block; already defined */
    /* padding-bottom: 10px; already defined */
    /* border-bottom: 2px solid #e74c3c; already defined */
    margin-left: 0; /* Align left */
    margin-right: auto; /* Push to left */
}

.product-list-search {
    display: flex;
    align-items: center;
}

.product-list-search form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-list-search input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95em;
    width: 150px;
    transition: width 0.3s ease;
}
.product-list-search input[type="text"]:focus {
    width: 200px;
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}
.product-list-search button {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}
.product-list-search button:hover {
    background-color: #2980b9;
}
.product-list-search .clear-search-btn {
    background-color: #e74c3c;
}
.product-list-search .clear-search-btn:hover {
    background-color: #c0392b;
}

/* --- Mobile Adaptations for Product List Header --- */
@media (max-width: 768px) {
    .product-list-header {
        flex-direction: column; /* Stack title and search vertically */
        align-items: center; /* Center them */
        text-align: center;
    }
    .product-list-header .page-main-title {
        margin-right: auto; /* Reset margins */
        margin-left: auto; /* Center the title */
        margin-bottom: 20px; /* Add space below title */
    }
    .product-list-search {
        width: 100%; /* Take full width on mobile */
        justify-content: center; /* Center search form */
    }
    .product-list-search form {
        width: 100%;
        justify-content: center;
        gap: 5px;
    }
    .product-list-search input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    .product-list-search button {
        flex-grow: 1;
        width: auto;
    }
    .product-list-search .clear-search-btn {
        margin-left: 0;
        margin-right: 0;
    }
}

/* search header son */

/* style/main.css (add these new rules for Amazon Categories Guide) */

/* --- Amazon Categories Guide Section --- */
.guide-section-main-container {
    background-color: #f0f8ff; /* Light blue background */
    padding: 40px 20px;
    margin-top: 40px;
    margin-bottom: 40px; /* Space below the section */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.guide-section-title {
    text-align: center;
    color: #1a5276; /* Darker blue for title */
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 700;
    border-bottom: 3px solid #5dadec; /* Lighter blue underline */
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.guide-section-subtitle {
    text-align: center;
    color: #4a6783; /* Muted blue-grey for subtitle */
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-tab-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 25px;
}

/* --- Category Tabs Navigation --- */
.category-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for many tabs */
    margin-bottom: 25px;
    border-bottom: 2px solid #e0eff5; /* Light border below tabs */
    padding-bottom: 5px;
    gap: 5px; /* Space between tab buttons */
}

.category-tab-button {
    background-color: #e6f2f8; /* Light blue background for inactive tabs */
    color: #21618c; /* Dark text for inactive tabs */
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 7px 7px 0 0;
    transition: all 0.3s ease;
    flex-grow: 1; /* Make buttons expand to fill space */
    max-width: 15%; /* Limit width to allow more columns on wider screens */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-tab-button:hover:not(.active) {
    background-color: #d1e5f0;
    color: #154360;
}

.category-tab-button.active {
    background-color: #007bff; /* Primary blue for active tab */
    color: #fff;
    box-shadow: 0 -3px 8px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 1;
    margin-bottom: -2px; /* Overlap border */
}

/* --- Category Tab Content --- */
.category-tab-content-wrapper {
    min-height: 350px; /* Ensure content area has a minimum height */
    position: relative;
}

.category-tab-content {
    display: none; /* Hidden by default */
    padding: 20px 0;
    animation: fadeIn 0.5s ease-out; /* Fade-in animation */
}

.category-tab-content.active {
    display: block; /* Show active content */
}

.category-item-title {
    font-size: 2em;
    font-weight: 700;
    color: #343a40;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 10px;
}

.category-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.category-guide-points h4 {
    font-size: 1.4em;
    color: #28a745; /* Green for section title */
    margin-bottom: 15px;
}

.category-guide-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-guide-points ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1em;
    color: #343a40;
}

.guide-icon {
    margin-right: 10px;
    font-weight: bold;
    color: #007bff; /* Blue icon */
    font-size: 1.1em;
    line-height: 1;
    min-width: 1.1em;
    text-align: center;
}

/* --- Responsive Adjustments for Amazon Categories Guide --- */
@media (max-width: 900px) {
    .category-tab-button {
        max-width: 25%; /* Allow more columns on tablet */
    }
    .guide-section-title {
        font-size: 2em;
    }
    .category-item-title {
        font-size: 1.8em;
    }
}
 

/* category guide css */
/* style/main.css (add these new rules for Amazon Categories Guide) */

/* --- Amazon Categories Guide Section --- */
.guide-section-main-container {
    background-color: #f0f8ff; /* Light blue background */
    padding: 40px 20px;
    margin-top: 40px;
    margin-bottom: 40px; /* Space below the section */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.guide-section-title {
    text-align: center;
    color: #1a5276; /* Darker blue for title */
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 700;
    border-bottom: 3px solid #5dadec; /* Lighter blue underline */
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.guide-section-subtitle {
    text-align: center;
    color: #4a6783; /* Muted blue-grey for subtitle */
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-tab-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 25px;
}

/* --- Category Tabs Navigation --- */
.category-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for many tabs */
    margin-bottom: 25px;
    border-bottom: 2px solid #e0eff5; /* Light border below tabs */
    padding-bottom: 5px;
    gap: 5px; /* Space between tab buttons */
}

.category-tab-button {
    background-color: #e6f2f8; /* Light blue background for inactive tabs */
    color: #21618c; /* Dark text for inactive tabs */
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 7px 7px 0 0;
    transition: all 0.3s ease;
    flex-grow: 1; /* Make buttons expand to fill space */
    max-width: 15%; /* Limit width to allow more columns on wider screens */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-tab-button:hover:not(.active) {
    background-color: #d1e5f0;
    color: #154360;
}

.category-tab-button.active {
    background-color: #007bff; /* Primary blue for active tab */
    color: #fff;
    box-shadow: 0 -3px 8px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 1;
    margin-bottom: -2px; /* Overlap border */
}

/* --- Category Tab Content --- */
.category-tab-content-wrapper {
    min-height: 350px; /* Ensure content area has a minimum height */
    position: relative;
}

.category-tab-content {
    display: none; /* Hidden by default */
    padding: 20px 0;
    animation: fadeIn 0.5s ease-out; /* Fade-in animation */
}

.category-tab-content.active {
    display: block; /* Show active content */
}

.category-item-title {
    font-size: 2em;
    font-weight: 700;
    color: #343a40;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e9ecef;
    padding-bottom: 10px;
}

.category-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.category-guide-points h4 {
    font-size: 1.4em;
    color: #28a745; /* Green for section title */
    margin-bottom: 15px;
}

.category-guide-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-guide-points ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1em;
    color: #343a40;
}

.guide-icon {
    margin-right: 10px;
    font-weight: bold;
    color: #007bff; /* Blue icon */
    font-size: 1.1em;
    line-height: 1;
    min-width: 1.1em;
    text-align: center;
}

/* --- Responsive Adjustments for Amazon Categories Guide --- */
@media (max-width: 900px) {
    .category-tab-button {
        max-width: 25%; /* Allow more columns on tablet */
    }
    .guide-section-title {
        font-size: 2em;
    }
    .category-item-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .guide-section-main-container {
        padding: 30px 15px;
    }
    .guide-section-subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .category-tabs-nav {
        flex-direction: column; /* Stack category tabs vertically on mobile */
        gap: 8px;
        border-bottom: none;
        padding-bottom: 0;
    }
    .category-tab-button {
        width: 100%;
        max-width: none;
        border-radius: 7px;
        margin-bottom: 5px;
    }
    .category-tab-button.active {
        margin-bottom: 5px;
        box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    }
    .category-item-title {
        font-size: 1.6em;
    }
    .category-guide-points ul li {
        font-size: 0.95em;
    }
}
@media (max-width: 480px) {
    .guide-section-title {
        font-size: 1.8em;
    }
    .category-item-title {
        font-size: 1.4em;
    }
}

/* category guide css son */



/* about */

/* style/main.css (add these new rules for About Page) */

/* --- About Page Specific Styles --- */
.about-page-container {
    background-color: #ffffff;
    padding: 40px;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    line-height: 1.8; /* Improve readability */
    font-size: 1.05em;
    color: #444;
}

.about-title {
    text-align: center;
    color: #2c3e50; /* Dark blue-grey, similar to main titles */
    margin-bottom: 30px;
    font-size: 2.8em; /* Slightly larger for main page title */
    font-weight: 700;
    border-bottom: 3px solid #e74c3c; /* Red underline */
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.about-content h3 {
    font-size: 1.8em;
    color: #34495e; /* Slightly lighter header */
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.about-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    color: #333;
}

.about-icon {
    margin-right: 10px;
    font-weight: bold;
    color: #2ecc71; /* Green checkmark */
    font-size: 1.2em;
    line-height: 1;
    min-width: 1.2em;
    text-align: center;
}

.about-signature {
    margin-top: 40px;
    text-align: right;
    font-size: 1.1em;
    color: #555;
}

.about-signature p {
    margin: 5px 0;
}

.about-signature strong {
    font-size: 1.2em;
    color: #34495e;
}

/* Responsive Adjustments for About Page */
@media (max-width: 768px) {
    .about-page-container {
        padding: 25px;
    }
    .about-title {
        font-size: 2.2em;
        margin-bottom: 20px;
    }
    .about-content h3 {
        font-size: 1.5em;
        margin-top: 25px;
    }
    .about-content p, .about-content ul li {
        font-size: 1em;
    }
}
@media (max-width: 480px) {
    .about-page-container {
        padding: 15px;
    }
    .about-title {
        font-size: 1.8em;
    }
    .about-content h3 {
        font-size: 1.3em;
    }
}

/* about son */

/* style/main.css (Replace ALL previous Traffic Report styles with these) */

/* --- Modern Traffic Report Page Styles --- */
.modern-traffic-report-container {
    background-color: #f7f9fc; /* Very light background for the whole section */
    padding: 40px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); /* Stronger, modern shadow */
}

.modern-traffic-report-title {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px; /* Increased margin */
    font-size: 3em; /* Larger title */
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.modern-traffic-report-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* Short, impactful underline */
    height: 4px;
    background-color: #e74c3c; /* Accent color */
    border-radius: 2px;
}

/* Traffic Overview Cards Section */
.traffic-overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive grid */
    gap: 25px; /* Spacing between cards */
    margin-bottom: 50px;
    padding: 25px;
    background-color: #eef3f7; /* Slightly darker background for the overview area */
    border-radius: 12px;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.05); /* Subtle inner shadow */
}

.overview-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px; /* Ensures consistent card height */
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Lift effect on hover */
}

.card-icon {
    font-size: 2.5em; /* Larger icons */
    margin-bottom: 10px;
    line-height: 1; /* Aligns icon vertically */
}

.overview-card.primary .card-icon { color: #007bff; }
.overview-card.success .card-icon { color: #28a745; }
.overview-card.info .card-icon { color: #17a2b8; }
.overview-card.warning .card-icon { color: #ffc107; }
.overview-card.danger .card-icon { color: #dc3545; }

.overview-card h3 {
    color: #343a40;
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
}

.overview-card p {
    font-size: 2.5em; /* Larger numbers */
    font-weight: 800; /* Bolder numbers */
    color: #495057;
    margin: 0;
}

.overview-card small {
    font-size: 0.85em;
    color: #888;
    margin-top: 5px;
    display: block;
}


/* Traffic Filter Section */
.traffic-filter-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}

.traffic-filter-section h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
}

.date-filter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.date-filter-form label {
    font-weight: 500;
    color: #555;
    font-size: 1.05em;
}

.form-input-date {
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-input-date:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Modern Buttons */
.btn {
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}
.btn-primary:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0,123,255,.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #545b62;
    box-shadow: 0 4px 10px rgba(108,117,125,.3);
}

.filter-summary-info {
    margin-top: 25px;
    font-size: 1.15em;
    color: #343a40;
    font-weight: 500;
    background-color: #e9ecef;
    padding: 15px 20px;
    border-radius: 8px;
    display: inline-block; /* To make padding/background work well */
}
.filter-summary-info span {
    font-weight: 700;
    color: #007bff;
}


/* Traffic Data Table */
.traffic-data-table-wrapper {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow-x: auto; /* For responsive table on small screens */
}

.table-heading {
    text-align: center;
    color: #2c3e50;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
}

.modern-traffic-table {
    width: 100%;
    border-collapse: separate; /* For border-radius on cells */
    border-spacing: 0; /* Remove default spacing */
    margin-top: 20px;
}

.modern-traffic-table thead tr {
    background-color: #343a40; /* Dark header */
    color: #f8f9fa;
}

.modern-traffic-table th, .modern-traffic-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0; /* Light separator */
}

.modern-traffic-table th:first-child { border-top-left-radius: 8px; }
.modern-traffic-table th:last-child { border-top-right-radius: 8px; }

.modern-traffic-table tbody tr:last-child td {
    border-bottom: none; /* No border on last row */
}
.modern-traffic-table tbody tr:last-child td:first-child { border-bottom-left-radius: 8px; }
.modern-traffic-table tbody tr:last-child td:last-child { border-bottom-right-radius: 8px; }


.modern-traffic-table tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* Zebra striping */
}

.modern-traffic-table tbody tr:hover {
    background-color: #e9ecef; /* Subtle hover effect */
    transition: background-color 0.2s ease;
}

.modern-traffic-table td {
    color: #495057;
}

.no-data-message {
    text-align: center;
    font-size: 1.2em;
    color: #7f8c8d;
    padding: 30px 0;
}

/* Responsive Adjustments for Modern Traffic Report Page */
@media (max-width: 900px) {
    .modern-traffic-report-title {
        font-size: 2.5em;
    }
    .traffic-overview-cards {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
        padding: 20px;
    }
    .overview-card {
        padding: 20px;
        min-height: 130px;
    }
    .overview-card h3 {
        font-size: 1.1em;
    }
    .overview-card p {
        font-size: 2em;
    }
    .traffic-filter-section {
        padding: 25px;
    }
    .traffic-filter-section h3 {
        font-size: 1.6em;
    }
    .traffic-data-table-wrapper {
        padding: 25px;
    }
    .table-heading {
        font-size: 1.6em;
    }
    .modern-traffic-table th, .modern-traffic-table td {
        padding: 15px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .modern-traffic-report-container {
        padding: 25px;
    }
    .modern-traffic-report-title {
        font-size: 2.2em;
    }
    .traffic-overview-cards {
        grid-template-columns: 1fr; /* Stack cards vertically on mobile */
        gap: 15px;
        padding: 15px;
    }
    .overview-card {
        min-height: unset; /* Remove fixed height for stacked cards */
    }
    .date-filter-form {
        flex-direction: column;
        gap: 10px;
    }
    .date-filter-form label,
    .form-input-date,
    .btn {
        width: 100%;
        box-sizing: border-box; /* Include padding in width */
    }
    .filter-summary-info {
        font-size: 1em;
        padding: 10px 15px;
    }
    .modern-traffic-table {
        display: block; /* Allows overflow-x scroll */
        width: max-content; /* Helps table scroll horizontally */
    }
    .modern-traffic-table thead, .modern-traffic-table tbody, .modern-traffic-table th, .modern-traffic-table td, .modern-traffic-table tr {
        display: block; /* Make table elements act like blocks */
    }
    .modern-traffic-table tr {
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
    }
    .modern-traffic-table thead {
        /* Hide table header for mobile, as each row will show its own labels */
        position: absolute;
        width: 1px;
        height

        /* traffic report son */