/**
 * Custom Styles for Goodr C3 2026 Theme
 *
 * @package Goodr_C3_2026
 */

 body {
    font-family: "Oxygen", sans-serif;
    font-weight: 400;
    font-style: normal;
 }
 .custom-logo {max-height: 70px; width: auto;}
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--goodr-yellow) 0%, var(--goodr-pink) 100%);
    min-height: 500px;
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero-content {
    padding: 50px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn {
    border-radius: 25px;
    padding: 10px 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* About Section */
.about-section {
    background: var(--goodr-teal);
    color: white;
    padding: 80px 60px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.sunglasses-showcase {
    background: white;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

/* Products Section */
.products-section {
    background: var(--goodr-light);
    padding: 50px 0;
}

.filters-panel {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.filter-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.filter-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    background: #f5f5f5;
    padding-left: 5px;
}

.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-name {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    min-height: 40px;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

.product-name a:hover {
    color: var(--goodr-teal);
}

.product-rating {
    color: #ffc107;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.product-collection {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--goodr-dark);
}

.btn-add-cart {
    background: #ff1493;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: #e0127e;
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--goodr-teal) !important;
}

.navbar-nav .badge {
    position: absolute;
    top: 0;
    right: -5px;
    font-size: 0.6rem;
}

/* Footer */
.site-footer {
    background: var(--goodr-dark);
    color: #f0f0f0;
}

.site-footer a {
    color: #f0f0f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--goodr-teal);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    display: inline-block;
}

.widget-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    margin-bottom: 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 30px;
    bottom: 30px;
    z-index: 996;
    background: var(--goodr-teal);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.4s;
    color: white;
    text-decoration: none;
}

.back-to-top i {
    font-size: 28px;
    line-height: 0;
}

.back-to-top:hover {
    background: var(--goodr-pink);
    color: white;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.comment-author {
    font-weight: 700;
    margin-bottom: 10px;
}

.comment-metadata {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    font-size: 0.85rem;
}

/* Pagination */
.navigation.pagination {
    margin: 30px 0;
}

.page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--goodr-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--goodr-teal);
    color: white;
    border-color: var(--goodr-teal);
}

/* Search Form */
.search-form {
    margin: 20px 0;
}

.search-form .input-group {
    max-width: 500px;
}

.search-field {
    border-radius: 25px 0 0 25px !important;
}

.search-submit {
    border-radius: 0 25px 25px 0 !important;
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--goodr-teal);
    color: white;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: inherit;
}

.nav-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.nav-title {
    display: block;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-section {
        padding: 50px 30px;
    }

    .sunglasses-showcase {
        padding: 30px;
    }

    .filters-panel {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
    }

    .nav-links {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .product-card {
        padding: 15px;
    }
}

/* Accessibility */
.skip-link:focus {
    clip: auto;
    height: auto;
    left: 6px;
    top: 7px;
    width: auto;
    z-index: 100000;
    background: var(--goodr-teal);
    color: white;
    padding: 15px 23px 14px;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.5s ease-out;
}

/* WordPress Blocks */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-quote {
    border-left: 4px solid var(--goodr-teal);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
}

.wp-block-button__link {
    background: var(--goodr-teal);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    background: var(--goodr-pink);
    transform: translateY(-2px);
}

/* ============================================
   SIDEBAR & WIDGET STYLES (Storefront-like)
   ============================================ */

/* Widget Area Wrapper */
.widget-area {
    font-size: 0.95rem;
}

/* Sticky Sidebar on Desktop */
@media (min-width: 768px) {
    .widget-area {
        position: sticky;
        top: 120px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }
}

/* Individual Widget Styling */
.widget {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.widget:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.widget:last-child {
    margin-bottom: 0;
}

/* Widget Title */
.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--goodr-teal);
    color: #333;
    letter-spacing: 0.5px;
}

/* Widget Lists */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.widget ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget ul li:hover {
    padding-left: 10px;
    background: #f8f8f8;
}

.widget ul li a {
    color: #555;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.widget ul li a:hover {
    color: var(--goodr-teal);
}

/* Widget Count/Badge */
.widget ul li .count,
.widget ul li .post-count {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 10px;
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: 8px;
}

.widget_search .search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
}

.widget_search .search-submit {
    padding: 10px 20px;
    background: var(--goodr-teal);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.widget_search .search-submit:hover {
    background: var(--goodr-pink);
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar th,
.widget_calendar td {
    padding: 8px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.widget_calendar th {
    background: var(--goodr-teal);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.widget_calendar td a {
    color: var(--goodr-pink);
    font-weight: 600;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: 6px 12px;
    margin: 4px;
    background: #f5f5f5;
    color: #555;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
}

.widget_tag_cloud .tagcloud a:hover {
    background: var(--goodr-teal);
    color: white;
    transform: translateY(-2px);
}

/* Recent Posts/Comments Widget */
.widget_recent_entries ul li,
.widget_recent_comments ul li {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.widget_recent_entries .post-date,
.widget_recent_comments .comment-author-link {
    font-size: 0.85rem;
    color: #999;
}

/* Categories Widget */
.widget_categories select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    background: white;
}

/* Text Widget */
.widget_text p:last-child {
    margin-bottom: 0;
}

/* RSS Widget */
.widget_rss ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.widget_rss .rss-date,
.widget_rss .rssSummary {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* WooCommerce Sidebar Specific */
.woocommerce-sidebar .widget {
    background: #fafafa;
}

.woocommerce-sidebar .widget-title {
    border-bottom-color: var(--goodr-pink);
}

/* Main Content Area */
.site-main {
    padding-right: 0;
}

@media (min-width: 768px) {
    .site-main {
        padding-right: 20px;
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .widget {
        margin-bottom: 20px;
        padding: 15px;
    }

    .widget-title {
        font-size: 1rem;
    }

    .widget ul li {
        padding: 8px 0;
    }
}

