/* ==========================================================================
   CKM SHOP - MASTER UI (1200px)
   ========================================================================== */

.ckm-shop-page-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

/* NAGŁÓWEK SKLEPU */
.ckm-shop-main-header {
    margin-bottom: 30px;
}

.ckm-shop-title {
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
    color: #0d2818;
    margin: 0;
    letter-spacing: 1px;
}

.ckm-shop-subtitle {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
}

/* MENU PIGUŁEK */
.ckm-shop-nav-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.ckm-pill {
    background: #fff;
    border: 1px solid #e0e6e2;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #444;
    text-decoration: none !important;
    transition: 0.2s;
    text-transform: uppercase;
}

.ckm-pill:hover, .ckm-pill.active {
    background: #00a859;
    color: #fff;
    border-color: #00a859;
}

/* BIAŁE KARTY SEKCJI */
.ckm-shop-category-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.ckm-shop-cat-title {
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8f9fa;
}

/* GRID 5 KOLUMN */
.ckm-shop-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.ckm-product-card {
    text-decoration: none !important;
    text-align: center;
}

.ckm-product-card:hover .ckm-product-img-box {
    border-color: #00a859;
}

.ckm-product-img-box {
    aspect-ratio: 1/1;
    background: #fcfcfc;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
    transition: 0.2s;
}

.ckm-product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ckm-product-name {
    display: block;
    color: #111;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 4px;
    height: 31px;
    overflow: hidden;
}

.ckm-product-price {
    color: #00a859;
    font-weight: 900;
    font-size: 16px;
}

/* SIDEBAR */
.ckm-shop-sidebar {
    width: 320px;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .ckm-shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 950px) {
    .ckm-shop-page-wrapper { flex-direction: column; }
    .ckm-shop-sidebar { width: 100%; }
}

/* ==========================================================================
   SINGLE PRODUCT VIEW
   ========================================================================== */

.ckm-shop-single-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.ckm-product-view {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.ckm-product-gallery {
    width: 40%;
    flex-shrink: 0;
}

.ckm-single-img-box {
    aspect-ratio: 1/1;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ckm-single-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ckm-product-essentials {
    flex: 1;
}

.ckm-single-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 15px 0;
}

.ckm-single-price {
    font-size: 32px;
    font-weight: 900;
    color: #00a859;
    margin-bottom: 25px;
}

.ckm-availability-tag {
    font-size: 14px;
    margin-bottom: 20px;
    color: #444;
}

.ckm-availability-tag span {
    font-weight: 800;
    text-transform: uppercase;
    color: #888;
    margin-right: 5px;
}

.ckm-shop-notice {
    background: #f4f7f5;
    padding: 20px;
    border-radius: 12px;
    font-size: 14px;
    color: #0d2818;
    border-left: 4px solid #00a859;
}

.ckm-shop-notice p { margin: 0; }

.ckm-section-label {
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.ckm-product-description .entry-content {
    line-height: 1.8;
    color: #333;
}

@media (max-width: 850px) {
    .ckm-product-view { flex-direction: column; }
    .ckm-product-gallery { width: 100%; }
}