
:root {
  --ogc-green: #2f6b3c;
  --ogc-green-dark: #244f2d;
  --ogc-accent: #f6b133;
  --ogc-light-gray: #f5f5f5;
  --ogc-border: #e0e0e0;
  --ogc-text: #333333;
  --ogc-max-width: 1200px;
  --ogc-radius: 8px;
  --ogc-shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
  --ogc-logo-blue:#0a132dff;
  --ogc-logo-green:#00a650ff;
  --ogc-logo-gold:#fbbc09ff;
  --ogc-logo-gradient:linear-gradient(to bottom,#fff53bff,#00adefff);
  --ogc-hover-dim:#66666648;
}

.ogc-category-archive .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.ogc-category-archive .archive-header {
    margin-bottom: 32px;
}

.ogc-category-archive .archive-header h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.1;
    color: #1f2a1f;
}

.ogc-category-archive .archive-description {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.6;
    color: #5e5e5e;
}

.ogc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.ogc-product-card {
      border-color:rgba(0, 0, 0, 0.404);
    background: #ffffff;
    border: 1px solid;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: var(--ogc-shadow-soft);
}

.ogc-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    border-color: #d8e4d8;
    background-color: var(--ogc-hover-dim);
}

.ogc-product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.ogc-product-thumb {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fafbfa 0%, #f2f5f2 100%);
    border-bottom: 1px solid #edf1ed;
    display: flex;
    padding: 16px;
    overflow: hidden;
    min-height: 0;
}


.ogc-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.ogc-product-thumb__placeholder {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f2f0, #e5e9e5);
}

.ogc-product-card__body {
    padding: 18px 18px 20px;
}

.ogc-product-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #2f6b3b;
}

.ogc-product-price {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    font-weight: 500;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f2f4f2;
    color: #1f2a1f;
    text-decoration: none;
    border: 1px solid #e1e6e1;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: #17365d;
    color: #fff;
    border-color: #17365d;
}

@media (max-width: 768px) {
    .ogc-category-archive .container {
        padding: 28px 16px 44px;
    }

    .ogc-category-archive .archive-header h1 {
        font-size: 32px;
    }

    .ogc-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .ogc-product-card__body {
        padding: 14px;
    }

    .ogc-product-title {
        font-size: 18px;
    }
}




/* ===== Category page overall spacing ===== */
.ogc-category-archive .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 36px 24px 64px;
}

.ogc-category-archive .archive-header {
    margin-bottom: 28px;
}

.ogc-category-archive .archive-header h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #17365d;
}

.ogc-category-archive .archive-description {
    max-width: 820px;
    font-size: 1rem;
    line-height: 1.6;
    color: #5f6660;
}

/* ===== Product grid ===== */
.ogc-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}

/* ===== Product card ===== */


.ogc-product-card:hover {
    transform: translateY(-3px);
    border-color: #d6e4d6;
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.ogc-product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* ===== Image area ===== */
.ogc-product-thumb {
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #fafbfa 0%, #f2f5f2 100%);
    border-bottom: 1px solid #edf1ed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ogc-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.ogc-product-card:hover .ogc-product-thumb img {
    transform: scale(1.03);
}

.ogc-product-thumb__placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ee, #e2e9e2);
}

/* ===== Card body ===== */
.ogc-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 18px;
    flex: 1;
}

.ogc-product-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 700;
    color: #1e2b1f;
}

.ogc-product-price {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: #2f6b3b;
}

/* Optional stock badge if you add it to cards later */
.ogc-product-stock-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ogc-product-stock-status.is-in-stock {
    color: #2f6b3b;
}

.ogc-product-stock-status.is-out-of-stock {
    color: #a33;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #e2e8e2;
    background: #f6f8f6;
    color: #17365d;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #17365d;
    color: #fff;
    border-color: #17365d;
}

/* ===== Mobile tightening ===== */
@media (max-width: 768px) {
    .ogc-category-archive .container {
        padding: 26px 16px 44px;
    }

    .ogc-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .ogc-product-card__body {
        padding: 13px;
    }

    .ogc-product-title {
        font-size: 0.95rem;
    }

    .ogc-product-price {
        font-size: 0.92rem;
    }
}