/* ============================================
   Bodeca Country Stores — Frontend Styles
   ============================================ */

/* --- Container --- */
.bcs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Banner --- */
.bcs-banner {
    min-height: 420px;
    background-size: cover;
    background-position: center;
    background-color: #2c2c2c;
    position: relative;
    display: flex;
    align-items: center;
}

.bcs-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bcs-banner-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.bcs-flag-large {
    font-size: 64px;
    display: block;
    margin-bottom: 12px;
}

.bcs-store-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.bcs-banner-text {
    font-size: 1.2rem;
    margin: 0 0 24px;
    opacity: .9;
}

.bcs-shop-btn {
    display: inline-block;
    background: #fff;
    color: #222;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.bcs-shop-btn:hover {
    background: #f0b032;
    color: #fff;
}

/* --- Currency Bar --- */
.bcs-currency-bar {
    background: #f8f4ef;
    border-bottom: 1px solid #e8ddd0;
    padding: 10px 0;
    font-size: .9rem;
    color: #555;
}
.bcs-currency-bar .bcs-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* --- Shop Header --- */
.bcs-shop-header {
    background: #f8f4ef;
    padding: 32px 0 24px;
    border-bottom: 1px solid #e8ddd0;
    text-align: center;
}
.bcs-shop-header h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

/* --- Products Grid --- */
.bcs-products-section {
    padding: 48px 20px;
}

.bcs-section-title {
    font-size: 1.6rem;
    margin-bottom: 28px;
    text-align: center;
}

.bcs-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* --- Product Card --- */
.bcs-product-card {
    background: #fff;
    border: 1px solid #ede8e2;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.bcs-product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
}

.bcs-product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.bcs-product-image {
    position: relative;
    overflow: hidden;
}
.bcs-product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.bcs-product-card:hover .bcs-product-image img {
    transform: scale(1.04);
}

.bcs-sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
}

.bcs-product-info {
    padding: 14px 16px 8px;
}

.bcs-product-name {
    font-size: 1rem;
    margin: 0 0 8px;
    font-weight: 600;
    color: #222;
}

.bcs-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bcs-regular-price,
.bcs-new-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c7a2c;
}
.bcs-old-price {
    font-size: .9rem;
    color: #999;
    text-decoration: line-through;
}

/* --- Add to Cart Button --- */
.bcs-add-to-cart {
    margin: 10px 16px 16px;
    width: calc(100% - 32px);
    background: #2c2c2c;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: .95rem;
    transition: background .2s;
}
.bcs-add-to-cart:hover {
    background: #f0b032;
}
.bcs-add-to-cart.added {
    background: #2c7a2c;
}

/* --- View All --- */
.bcs-view-all {
    text-align: center;
    margin-top: 16px;
}
.bcs-view-all-btn {
    padding: 12px 36px !important;
    border-radius: 50px !important;
    font-weight: 600;
}

/* --- Country Switcher --- */
.bcs-country-switcher {
    background: #2c2c2c;
    color: #ccc;
    padding: 24px 0;
    text-align: center;
}
.bcs-country-switcher p {
    margin: 0 0 14px;
    font-size: .9rem;
}
.bcs-switcher-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.bcs-switcher-link {
    background: rgba(255,255,255,.1);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: .9rem;
    transition: background .2s;
}
.bcs-switcher-link:hover,
.bcs-switcher-link:focus {
    background: #f0b032;
    color: #fff;
}
.bcs-main-link {
    border: 1px solid rgba(255,255,255,.3);
}

/* --- Single Product --- */
.bcs-single-product {
    padding: 32px 20px 60px;
}
.bcs-breadcrumb {
    font-size: .85rem;
    color: #888;
    margin-bottom: 28px;
}
.bcs-breadcrumb a {
    color: #555;
    text-decoration: none;
}
.bcs-breadcrumb a:hover { color: #f0b032; }

.bcs-product-single-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) {
    .bcs-product-single-wrap { grid-template-columns: 1fr; }
}

.bcs-main-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #eee;
}
.bcs-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.bcs-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #eee;
    cursor: pointer;
    transition: border-color .2s;
}
.bcs-thumb:hover { border-color: #f0b032; }

.bcs-product-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.bcs-price-large .bcs-regular-price,
.bcs-price-large .bcs-new-price {
    font-size: 1.6rem;
}
.bcs-price-large .bcs-old-price {
    font-size: 1.1rem;
}

.bcs-product-desc {
    margin: 20px 0;
    color: #555;
    line-height: 1.7;
}

.bcs-add-to-cart-wrap {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    align-items: center;
}
.bcs-qty {
    width: 70px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
}
.bcs-btn-large {
    flex: 1;
    padding: 12px 24px !important;
    font-size: 1.05rem !important;
    border-radius: 8px !important;
    margin: 0 !important;
    width: auto !important;
}

.bcs-currency-note,
.bcs-ship-note {
    font-size: .9rem;
    color: #666;
    margin-top: 12px;
    padding: 8px 12px;
    background: #f8f4ef;
    border-radius: 6px;
}

/* --- Pagination --- */
.bcs-pagination {
    text-align: center;
    padding: 32px 0;
}
.bcs-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #555;
}
.bcs-pagination .page-numbers.current {
    background: #2c2c2c;
    color: #fff;
    border-color: #2c2c2c;
}

/* --- No products --- */
.bcs-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 1.1rem;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .bcs-store-title { font-size: 2rem; }
    .bcs-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bcs-banner { min-height: 300px; }
}

/* ============================================
   Blog Styles
   ============================================ */

/* Blog Grid */
.bcs-blog-wrap {
    padding: 48px 20px;
}

.bcs-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

/* Post Card */
.bcs-post-card {
    background: #fff;
    border: 1px solid #ede8e2;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.bcs-post-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    transform: translateY(-3px);
}
.bcs-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.bcs-post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.bcs-post-no-image {
    width: 100%;
    height: 200px;
    background: #f8f4ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}
.bcs-post-info {
    padding: 16px;
}
.bcs-post-cat {
    display: inline-block;
    background: #f0b032;
    color: #fff;
    font-size: .75rem;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}
.bcs-post-title {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: #222;
    line-height: 1.4;
}
.bcs-post-excerpt {
    font-size: .9rem;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.6;
}
.bcs-post-date {
    font-size: .8rem;
    color: #999;
}

/* Single Post */
.bcs-single-post {
    padding: 32px 20px 60px;
}
.bcs-post-single-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .bcs-post-single-wrap { grid-template-columns: 1fr; }
}

.bcs-post-cats {
    margin-bottom: 12px;
}
.bcs-post-single-title {
    font-size: 2rem;
    margin: 0 0 16px;
    line-height: 1.35;
}
.bcs-post-meta {
    display: flex;
    gap: 20px;
    font-size: .85rem;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.bcs-post-featured-image {
    margin-bottom: 28px;
    border-radius: 12px;
    overflow: hidden;
}
.bcs-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.bcs-post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}
.bcs-post-body h2, .bcs-post-body h3 {
    margin-top: 32px;
}
.bcs-post-body img {
    max-width: 100%;
    border-radius: 8px;
}

/* Share */
.bcs-post-share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.bcs-share-btn {
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
}
.bcs-share-fb { background: #1877f2; color: #fff; }
.bcs-share-wa { background: #25d366; color: #fff; }

/* Sidebar */
.bcs-sidebar-card {
    background: #fff;
    border: 1px solid #ede8e2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.bcs-sidebar-card h3 {
    margin: 0 0 16px;
    font-size: 1rem;
    border-bottom: 2px solid #f0b032;
    padding-bottom: 8px;
}
.bcs-related-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.bcs-related-posts li {
    margin-bottom: 12px;
}
.bcs-related-posts a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: .9rem;
}
.bcs-related-posts a:hover { color: #f0b032; }
.bcs-related-posts img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.bcs-sidebar-shop-btn {
    display: block;
    text-align: center;
    background: #2c2c2c;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s;
}
.bcs-sidebar-shop-btn:hover { background: #f0b032; color: #fff; }
