/**
 * Broiling Colombia - Custom Styles
 * gsc.coffee inspired: clean white, minimal, premium green bean shop
 * @package Broiling_Colombia
 */

/* ═══════ HEADER - Clean white (gsc style) ═══════ */
.co-header {
    background: rgba(255,255,255,0.97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}
.co-header.scrolled {
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.co-header .fc-nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.co-header .fc-nav-list li { list-style: none; }
.co-header .fc-nav-list a {
    color: var(--co-text-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.co-header .fc-nav-list a:hover { color: var(--co-green); }
.co-header .fc-header-actions a { color: var(--co-text-body); }
.co-header .fc-header-actions a:hover { color: var(--co-green); }

/* Logo */
.co-logo-text {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--co-green-dark);
    letter-spacing: 3px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}
.co-logo-text small {
    font-family: 'Pretendard', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--co-text-muted);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ═══════ HAMBURGER (CSS-only) ═══════ */
.co-menu-checkbox { display: none; }
.co-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px; height: 32px;
    cursor: pointer; gap: 5px;
}
.co-hamburger span {
    display: block; width: 20px; height: 2px;
    background: var(--co-text-body);
    transition: all 0.3s ease; border-radius: 1px;
}
.co-mobile-nav {
    display: none;
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh;
    background: #fff; z-index: 9999;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}
.co-mobile-nav-close {
    position: absolute; top: 1.2rem; right: 1.5rem;
    font-size: 2rem; color: var(--co-text-muted);
    cursor: pointer; line-height: 1;
}
.co-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.co-mobile-nav li { border-bottom: 1px solid #f0f0f0; }
.co-mobile-nav a {
    display: block; padding: 1rem 0;
    color: var(--co-text-body); font-size: 1rem;
    text-decoration: none; transition: color 0.2s;
}
.co-mobile-nav a:hover { color: var(--co-green); }
body:has(.co-menu-checkbox:checked) .co-mobile-nav { display: flex; transform: translateX(0); }
body:has(.co-menu-checkbox:checked)::after {
    content: ''; position: fixed; inset: 0;
    background: rgba(0,0,0,0.3); z-index: 9998;
}

/* ═══════ HERO (gsc clean style - bright overlay) ═══════ */
.co-hero {
    position: relative;
    width: 100%; height: 85vh;
    min-height: 550px; max-height: 800px;
    overflow: hidden;
    margin-top: -80px;
}
.co-hero-slides { position: relative; width: 100%; height: 100%; }
.co-hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease-in-out;
    display: flex; align-items: center;
}
.co-hero-slide.active { opacity: 1; z-index: 1; }
.co-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(27,94,32,0.7) 0%, rgba(46,125,50,0.4) 50%, rgba(27,94,32,0.6) 100%);
    z-index: 1;
}
.co-hero-content {
    position: relative; z-index: 3;
    max-width: 600px; padding-top: 80px;
}
.co-hero-label {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 4px; color: var(--co-gold);
    margin-bottom: 1rem; text-transform: uppercase;
    background: rgba(0,0,0,0.15); padding: 0.3rem 0.8rem;
    border-radius: 2px;
}
.co-hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 2.8rem; font-weight: 800;
    color: #fff; line-height: 1.3;
    margin-bottom: 1rem; letter-spacing: -0.02em;
}
.co-hero-desc {
    font-size: 1rem; color: rgba(255,255,255,0.85);
    line-height: 1.7; margin-bottom: 2rem; max-width: 480px;
}
.co-hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.co-hero-indicators {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; gap: 0.75rem;
}
.co-hero-dot {
    width: 40px; height: 3px; background: rgba(255,255,255,0.3);
    border: none; cursor: pointer; transition: all 0.3s; padding: 0; border-radius: 2px;
}
.co-hero-dot.active { background: #fff; width: 60px; }

/* ═══════ BUTTONS ═══════ */
.co-btn {
    display: inline-block; padding: 0.8rem 1.8rem;
    font-size: 0.88rem; font-weight: 600;
    text-decoration: none; border-radius: 4px;
    transition: all 0.3s ease; letter-spacing: 0.02em;
    cursor: pointer; border: none; text-align: center;
}
.co-btn-primary { background: var(--co-green); color: #fff; }
.co-btn-primary:hover { background: var(--co-green-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,125,50,0.25); }
.co-btn-secondary { background: transparent; color: var(--co-green); border: 2px solid var(--co-green); }
.co-btn-secondary:hover { background: var(--co-green); color: #fff; }
.co-btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.co-btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

/* ═══════ SECTION HEADERS ═══════ */
.co-section-header { margin-bottom: 2.5rem; }
.co-section-label {
    display: inline-block; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--co-green); margin-bottom: 0.4rem;
}
.co-section-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.8rem; font-weight: 700;
    color: var(--co-text-dark); line-height: 1.3;
}
.co-section-desc {
    font-size: 0.9rem; color: var(--co-text-muted);
    line-height: 1.6; margin-top: 0.5rem; max-width: 500px;
}

/* ═══════ ORIGIN INFO BAR (quick facts strip) ═══════ */
.co-origin-bar {
    padding: 1.5rem 0;
    background: var(--co-bg-green-soft);
    border-bottom: 1px solid rgba(46,125,50,0.1);
}
.co-origin-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.co-origin-item { display: flex; align-items: center; gap: 0.6rem; }
.co-origin-icon { flex-shrink: 0; color: var(--co-green); }
.co-origin-label { font-size: 0.7rem; color: var(--co-text-muted); font-weight: 500; }
.co-origin-value { font-size: 0.8rem; color: var(--co-text-dark); font-weight: 600; }

/* ═══════ REGIONS (5-column cards) ═══════ */
.co-regions { padding: 4rem 0; background: #fff; }
.co-region-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.co-region-card {
    background: var(--co-bg-light); border-radius: 10px;
    padding: 2rem 1rem; text-align: center;
    text-decoration: none; border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.co-region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46,125,50,0.12);
    border-color: var(--co-green-light);
}
.co-region-icon {
    width: 56px; height: 56px; margin: 0 auto 0.8rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--co-green); background: var(--co-bg-green-soft);
    border-radius: 50%; transition: all 0.3s;
}
.co-region-card:hover .co-region-icon { background: var(--co-green); color: #fff; }
.co-region-name { font-size: 0.95rem; font-weight: 700; color: var(--co-text-dark); margin-bottom: 0.15rem; }
.co-region-eng { font-size: 0.7rem; color: var(--co-text-muted); letter-spacing: 0.5px; }
.co-region-desc { font-size: 0.72rem; color: var(--co-text-muted); line-height: 1.4; margin-top: 0.5rem; }

/* ═══════ PRODUCTS (gsc clean grid + tabs) ═══════ */
.co-featured-products { padding: 4rem 0; background: var(--co-bg-light); }
.co-product-tabs {
    display: flex; gap: 0.5rem; margin-bottom: 2rem;
    flex-wrap: wrap; border-bottom: 1px solid #e0e0e0; padding-bottom: 0;
}
.co-tab-btn {
    padding: 0.7rem 1.3rem; font-size: 0.82rem; font-weight: 600;
    color: var(--co-text-muted); background: none; border: none;
    cursor: pointer; transition: all 0.2s;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.co-tab-btn:hover { color: var(--co-text-dark); }
.co-tab-btn.active { color: var(--co-green); border-bottom-color: var(--co-green); }

.co-product-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem; transition: opacity 0.3s;
}
.co-product-card {
    background: #fff; border-radius: 8px; overflow: hidden;
    border: 1px solid #f0f0f0; transition: all 0.3s;
}
.co-product-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.co-product-img {
    position: relative; overflow: hidden;
    aspect-ratio: 1/1; background: var(--co-bg-cream);
}
.co-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.co-product-card:hover .co-product-img img { transform: scale(1.05); }

.co-product-badges { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; gap: 0.25rem; z-index: 2; }
.co-badge { padding: 0.18rem 0.55rem; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.5px; border-radius: 3px; }
.co-badge-new { background: var(--co-green); color: #fff; }
.co-badge-sale { background: var(--co-red); color: #fff; }
.co-badge-best { background: var(--co-gold); color: #fff; }

.co-product-actions {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 0.6rem; display: flex; justify-content: center; gap: 0.4rem;
    opacity: 0; transform: translateY(6px); transition: all 0.3s;
    background: linear-gradient(transparent, rgba(0,0,0,0.2));
}
.co-product-card:hover .co-product-actions { opacity: 1; transform: translateY(0); }
.co-product-action-btn {
    width: 34px; height: 34px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--co-text-dark); text-decoration: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12); transition: all 0.2s;
}
.co-product-action-btn:hover { background: var(--co-green); color: #fff; }

.co-product-content { padding: 0.8rem 1rem 1rem; }
.co-product-name { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.3rem; line-height: 1.4; }
.co-product-name a { color: var(--co-text-dark); text-decoration: none; }
.co-product-name a:hover { color: var(--co-green); }
.co-product-price { font-size: 0.9rem; font-weight: 700; color: var(--co-text-dark); }
.co-product-price del { color: var(--co-text-muted); font-weight: 400; font-size: 0.78rem; }
.co-product-price ins { text-decoration: none; color: var(--co-red); }
.co-products-more { text-align: center; margin-top: 2rem; }
.co-empty-msg { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--co-text-muted); }

/* ═══════ STORY (2-column, gsc about style) ═══════ */
.co-story { padding: 5rem 0; background: var(--co-bg-cream); }
.co-story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.co-story-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.7rem; font-weight: 700;
    color: var(--co-text-dark); line-height: 1.4; margin-bottom: 1rem;
}
.co-story-desc { font-size: 0.9rem; color: var(--co-text-body); line-height: 1.8; margin-bottom: 1.5rem; }
.co-story-image { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.co-story-image img { width: 100%; height: 100%; object-fit: cover; }
.co-story-placeholder {
    width: 100%; height: 100%; min-height: 300px;
    background: var(--co-green); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.3);
}

/* ═══════ TRUST BADGES (4-column) ═══════ */
.co-trust { padding: 4rem 0; background: #fff; }
.co-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.co-trust-card {
    text-align: center; padding: 2rem 1.2rem;
    border-radius: 10px; background: var(--co-bg-light);
    border: 1px solid #f0f0f0; transition: all 0.3s;
}
.co-trust-card:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.06); border-color: var(--co-green-light); }
.co-trust-icon {
    width: 56px; height: 56px; margin: 0 auto 1rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--co-green); background: var(--co-bg-green-soft); border-radius: 50%;
}
.co-trust-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--co-text-dark); margin-bottom: 0.5rem; }
.co-trust-card p { font-size: 0.8rem; color: var(--co-text-muted); line-height: 1.6; margin: 0; }

/* ═══════ SERVICE BAR ═══════ */
.co-service-bar {
    padding: 2rem 0; background: var(--co-bg-green-soft);
    border-top: 1px solid rgba(46,125,50,0.08);
    border-bottom: 1px solid rgba(46,125,50,0.08);
}
.co-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.co-service-item { display: flex; align-items: center; gap: 0.6rem; justify-content: center; }
.co-service-icon { flex-shrink: 0; color: var(--co-green); }
.co-service-title { font-size: 0.82rem; font-weight: 700; color: var(--co-text-dark); }
.co-service-desc { font-size: 0.72rem; color: var(--co-text-muted); }

/* ═══════ MARKETPLACE LINK ═══════ */
.co-marketplace-link { text-align: center; padding: 3rem 0; background: #fff; }
.co-marketplace-link p { color: var(--co-text-muted); margin-bottom: 1rem; }

/* ═══════ FOOTER (gsc clean dark) ═══════ */
.co-footer { background: #1B5E20; color: rgba(255,255,255,0.65); padding: 3.5rem 0 0; }
.co-footer-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.co-footer-brand-name {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: 1.4rem; font-weight: 700; color: #fff;
    letter-spacing: 3px; margin-bottom: 0.2rem;
}
.co-footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem; }
.co-footer-info { font-size: 0.78rem; color: rgba(255,255,255,0.4); line-height: 1.8; }
.co-footer-contact { margin-top: 1.2rem; }
.co-footer-phone { color: #fff; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.2rem; }
.co-footer-email { color: rgba(255,255,255,0.5); }
.co-footer-hours { color: rgba(255,255,255,0.35); font-size: 0.75rem; margin-top: 0.4rem; }
.co-footer-links-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.co-footer-col h4 { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 1.5px; margin-bottom: 0.8rem; }
.co-footer-col ul { list-style: none; padding: 0; margin: 0; }
.co-footer-col li { margin-bottom: 0.4rem; }
.co-footer-col a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.co-footer-col a:hover { color: rgba(255,255,255,0.85); }
.co-footer-bottom {
    margin-top: 2rem; padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.15);
}
.co-footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.72rem; color: rgba(255,255,255,0.3);
}
.co-social-icons { display: flex; gap: 1rem; }
.co-social-icons a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.co-social-icons a:hover { color: rgba(255,255,255,0.8); }

/* ═══════ WooCommerce ═══════ */
.co-products-grid-wc {
    display: grid !important; grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.2rem !important; list-style: none !important; padding: 0 !important;
}

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 1200px) {
    .co-region-grid { grid-template-columns: repeat(3, 1fr); }
    .co-product-grid, .co-products-grid-wc { grid-template-columns: repeat(3, 1fr) !important; }
    .co-trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .co-hamburger { display: flex; }
    .co-header .fc-nav { display: none; }
    .co-hero { height: 75vh; min-height: 480px; }
    .co-hero-title { font-size: 2.2rem; }
    .co-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
    .co-hero { height: 70vh; min-height: 420px; }
    .co-hero-title { font-size: 1.8rem; }
    .co-origin-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .co-region-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .co-product-grid, .co-products-grid-wc { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .co-story-inner { grid-template-columns: 1fr; gap: 2rem; }
    .co-trust-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .co-service-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .co-footer-links-group { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
    .co-hero { height: 60vh; min-height: 380px; }
    .co-hero-title { font-size: 1.5rem; }
    .co-hero-buttons { flex-direction: column; }
    .co-hero-buttons .co-btn { width: 100%; text-align: center; }
    .co-origin-grid { grid-template-columns: 1fr 1fr; }
    .co-region-grid { grid-template-columns: repeat(2, 1fr); }
    .co-tab-btn { padding: 0.5rem 0.7rem; font-size: 0.72rem; }
    .co-trust-grid { grid-template-columns: 1fr; }
    .co-service-grid { grid-template-columns: 1fr; }
    .co-footer-links-group { grid-template-columns: 1fr; }
    .co-footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}
