/*
Theme Name: Astra Child
Description: Dziecięcy motyw dla Sensory Lab 3D z trybem ciemnym (Kompletny)
Version: 1.0.6
*/

/* --- USTAWIENIA OGÓLNE --- */
body {
    font-family: 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #faf6ef;
    background-image:
        radial-gradient(circle at 8% 15%, rgba(91, 130, 102, 0.10) 0%, transparent 38%),
        radial-gradient(circle at 88% 10%, rgba(217, 119, 87, 0.09) 0%, transparent 32%),
        radial-gradient(circle at 78% 75%, rgba(217, 164, 65, 0.10) 0%, transparent 38%),
        radial-gradient(circle at 12% 85%, rgba(91, 130, 102, 0.08) 0%, transparent 34%),
        radial-gradient(circle at 50% 45%, rgba(217, 119, 87, 0.05) 0%, transparent 45%);
    background-attachment: fixed;
    color: #4a3f30;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 900px) {
    body { background-attachment: scroll; }
}

h1, h2, h3, h4, h5, h6,
.site-title,
.btn,
.card-price,
.nav-menu li a {
    font-family: 'Baloo 2', 'Quicksand', 'Segoe UI', sans-serif;
}

/* --- NAWIGACJA I NAGŁÓWEK --- */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 22px;
    font-weight: 800;
    color: #5b8266;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.nav-menu li a {
    display: inline-block;
    color: #6b5d4a;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.nav-menu li a:hover {
    background-color: #5b8266;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(91, 130, 102, 0.3);
}

.nav-menu li.current-menu-item a {
    background-color: #e6efe1;
    color: #3f6144;
}

.theme-toggle-btn {
    background: #f2ecdd;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: #e6dcc8;
}

/* --- KONTENERY I SEKCJE --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 70px 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #3d3226;
    margin-bottom: 10px;
}

.text-center {
    text-align: center;
}

/* --- BOHATER (HERO) - STRONA GŁÓWNA --- */
.hero {
    background: linear-gradient(135deg, #8fb996 0%, #5b8266 100%);
    color: #ffffff;
    padding: 90px 20px 140px; 
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 19px;
    color: #eef6ea;
    margin-bottom: 35px;
    font-weight: 500;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    justify-content: center;
}

/* --- BOHATER (HERO) - STRONA O NAS --- */
.hero-about {
    background: linear-gradient(135deg, #e0a877 0%, #c77b4f 100%);
    color: #ffffff;
    padding: 80px 20px 140px;
    text-align: center;
    position: relative;
}

.hero-about h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-about .hero-lead {
    font-size: 19px;
    color: #fdf1e6;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

/* --- PRZYCISKI - EFEKT ZABAWKI 3D --- */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: 30px;
    transition: all 0.15s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #d97757;
    color: #ffffff;
    box-shadow: 0 4px 0 #b85c3d;
}

.btn-primary:hover { background-color: #e8946b; }
.btn-primary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #b85c3d;
}

.btn-secondary {
    background-color: #d9a441;
    color: #ffffff;
    box-shadow: 0 4px 0 #b3811f;
}

.btn-secondary:hover { background-color: #f0cb7e; }
.btn-secondary:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #b3811f;
}

.btn-outline {
    background-color: transparent;
    border: 3px solid #d9cdb8;
    color: #8a7a63;
}

.btn-disabled { opacity: 0.6; cursor: not-allowed; }
.btn-full { display: block; width: 100%; box-sizing: border-box; }

/* --- SIATKA KART (KROPLOMATY) --- */
.grid-3-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border: 2px solid #f2ecdd;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(91, 130, 102, 0.15);
    border-color: #e6efe1;
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
    background: #f5efe2;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.card h3 {
    margin-top: 0;
    font-size: 22px;
    color: #3d3226;
    font-weight: 700;
}

.card p {
    color: #8a7a63;
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    display: inline-block;
    margin-top: 15px;
    color: #5b8266;
    text-decoration: none;
    font-weight: 800;
}

.card-featured { border: 3px solid #d97757; position: relative; }
.card-featured-secondary { border: 3px solid #d9a441; position: relative; }

.badge, .badge-secondary {
    position: absolute;
    top: -15px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}
.badge { background-color: #d97757; }
.badge-secondary { background-color: #d9a441; }

.card-price {
    font-size: 28px;
    font-weight: 900;
    color: #3d3226;
    margin: 15px 0 20px;
}

.card-empty { border: 3px dashed #d9cdb8; background: rgba(255, 255, 255, 0.5); }
.card-empty:hover { transform: none; box-shadow: none; border-color: #d9cdb8; }

/* --- STRONA O NAS - UKŁAD --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 28px;
    color: #3d3226;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #6b5d4a;
    margin-bottom: 20px;
}

.about-card-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background-color: #ffffff;
    border: 2px solid #f2ecdd;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
    text-align: center;
}

.stat-card:hover {
    transform: translateX(5px);
    border-color: #e6efe1;
}

.stat-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.stat-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #3d3226;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    color: #8a7a63;
    line-height: 1.5;
}

/* --- BANERY I SEKCJE CECH --- */
.info-banner {
    background-color: #fdf6e8;
    border-bottom: 2px dashed #e8c06b;
    padding: 15px 0;
}

.info-banner-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #b85c3d;
    font-size: 15px;
}

.features-section {
    background-color: #ffffff;
    border-top: 2px dashed #e6dcc8;
    padding: 60px 0;
    margin-top: 40px;
    border-radius: 40px 40px 0 0;
}

.feature-item {
    text-align: center;
    background: #f5efe2;
    padding: 30px 20px;
    border-radius: 24px;
}

.feature-item h4 {
    color: #3d3226;
    font-size: 18px;
    margin-bottom: 12px;
}

.shipping-time {
    display: block;
    font-size: 13px;
    color: #d9a441;
    font-weight: 700;
    margin-top: 10px;
    background: #faf0d9;
    padding: 4px 10px;
    border-radius: 12px;
}

/* --- WOOCOMMERCE & SKLEP - USTAWIENIA SKLEPU PRZY LEWEJ KRAWĘDZI --- */

/* Resetowanie wyśrodkowania dla strony sklepu */
.woocommerce-page .ast-container,
.woocommerce-page #content .ast-container {
    max-width: 100% !important;
    padding-left: 30px !important; /* Sztywne 30px od lewej krawędzi */
    padding-right: 30px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.shop-custom-layout {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 40px !important;
    padding-top: 30px !important;
    padding-bottom: 60px !important;
    align-items: start !important;
    justify-content: start !important;
    text-align: left !important;
    width: 100% !important;
    margin-left: 0 !important;
}

.shop-sidebar-box {
    padding: 25px;
    border: 3px dashed #c3d9b8;
    background-color: #f5f7f0;
    border-radius: 24px;
    width: 100%;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 800;
    color: #3d3226;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Kategorie - jako "chmurki/przyciski" */
.custom-cat-tree, .custom-cat-tree ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.custom-cat-tree li { margin-bottom: 10px; }

.custom-cat-tree a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    color: #6b5d4a;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 20px;
    border: 2px solid #f2ecdd;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.custom-cat-tree a:hover {
    background-color: #5b8266;
    color: #ffffff !important;
    border-color: #5b8266;
    transform: translateY(-2px);
}

.custom-cat-tree a.active-cat {
    background-color: #e6efe1 !important;
    color: #3f6144 !important;
    border-color: #c3d9b8 !important;
    box-shadow: 0 4px 10px rgba(91, 130, 102, 0.15);
}

.custom-cat-tree .children {
    padding-left: 15px !important;
    margin-top: 10px !important;
    border-left: 3px solid #e6dcc8;
}

/* UKRYWANIE I WYSUWANIE PODKATEGORII (PORY ROKU) */
.custom-cat-tree .has-children {
    position: relative;
}

.custom-cat-tree .sub-children {
    display: none; 
    padding-left: 15px !important;
    margin-top: 10px !important;
    border-left: 3px dashed #5b8266;
    animation: slideDown 0.3s ease-out forwards;
}

.custom-cat-tree .has-children:hover .sub-children {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WOOCOMMERCE PRODUKTY - STYL ZABAWKOWY */
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 30px !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff;
    padding: 25px;
    border-radius: 24px;
    border: 2px solid #f2ecdd;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(91, 130, 102, 0.15);
    border-color: #e6efe1;
}

.woocommerce ul.products li.product img {
    border-radius: 12px;
    margin-bottom: 15px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 18px !important;
    color: #3d3226 !important;
    font-weight: 700 !important;
    padding: 10px 0 !important;
}

.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price {
    color: #d97757 !important;
    font-weight: 900 !important;
    font-size: 20px !important;
}

.woocommerce a.button, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #d97757 !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 12px 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 0 #b85c3d !important;
    transition: all 0.15s ease !important;
    display: inline-block;
    margin-top: 10px;
}

.woocommerce a.button:hover, .woocommerce button.button.alt:hover {
    background-color: #e8946b !important;
}

.woocommerce a.button:active, .woocommerce button.button.alt:active {
    transform: translateY(4px) !important;
    box-shadow: 0 0 0 #b85c3d !important;
}

.woocommerce span.onsale {
    background-color: #d9a441 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-weight: 800 !important;
}

/* Responsywność */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .woocommerce-page .ast-container { padding-left: 20px !important; padding-right: 20px !important; }
    .shop-custom-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
    .shop-sidebar-box { margin-bottom: 20px; }
}

/* --- IKONY W NAGŁÓWKU (KOSZYK, HAMBURGER) --- */
.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f2ecdd;
    transition: all 0.25s ease-in-out;
}

.cart-icon-link:hover {
    background-color: #e6efe1;
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #d97757;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* Hamburger - domyślnie ukryty, pokazuje się dopiero na mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: #f2ecdd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #6b5d4a;
    border-radius: 2px;
    transition: all 0.25s ease-in-out;
}

body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}
body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- FOCUS DLA DOSTĘPNOŚCI --- */
a:focus-visible,
button:focus-visible {
    outline: 3px solid #5b8266;
    outline-offset: 2px;
}

/* --- MENU MOBILNE (RWD) --- */
@media (max-width: 860px) {
    .header-container {
        padding: 12px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 260px;
        background: #ffffff;
        box-shadow: -5px 0 25px rgba(0,0,0,0.1);
        padding: 90px 25px 25px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        overflow-y: auto;
    }

    body.mobile-menu-open .main-navigation {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 8px;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 16px;
    }

    /* Przyciemnione tło za otwartym menu */
    body.mobile-menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        z-index: 998;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* --- AKORDEON FAQ --- */
.faq-item {
    border-bottom: 2px dashed #e6dcc8;
    padding: 18px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #3d3226;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 22px;
    font-weight: 800;
    color: #5b8266;
    transition: transform 0.25s ease-in-out;
}

.faq-item.open .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    margin: 15px 0 0;
    color: #8a7a63;
    line-height: 1.7;
}


/* --- CIEMNY MOTYW (DARK MODE) - PALETA LEŚNO-ZIEMISTA --- */
body.dark-mode {
    background-color: #21261c !important;
    background-image:
        radial-gradient(circle at 8% 15%, rgba(91, 130, 102, 0.18) 0%, transparent 38%),
        radial-gradient(circle at 88% 10%, rgba(217, 119, 87, 0.12) 0%, transparent 32%),
        radial-gradient(circle at 78% 75%, rgba(217, 164, 65, 0.12) 0%, transparent 38%),
        radial-gradient(circle at 12% 85%, rgba(91, 130, 102, 0.14) 0%, transparent 34%) !important;
    color: #e8dfc9 !important;
}

body.dark-mode .site-header { background-color: #262b1e !important; }
body.dark-mode .hero { background: linear-gradient(135deg, #1b2016 0%, #0d0f0a 100%); }
body.dark-mode .hero-about { background: linear-gradient(135deg, #3d2717 0%, #241408 100%); }
body.dark-mode .hero-wave path { fill: #21261c !important; }

body.dark-mode .card,
body.dark-mode .feature-item,
body.dark-mode .stat-card,
body.dark-mode .main-navigation,
body.dark-mode .woocommerce ul.products li.product,
body.dark-mode .woocommerce div.product {
    background-color: #2c2e22 !important;
    border-color: #454a37 !important;
}

body.dark-mode .card-icon,
body.dark-mode .stat-icon,
body.dark-mode .cart-icon-link,
body.dark-mode .mobile-menu-toggle {
    background-color: #454a37 !important;
    border-color: #5c5240 !important;
}

body.dark-mode .mobile-menu-toggle span { background-color: #f5efe2 !important; }

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4,
body.dark-mode .card-price { color: #f5efe2 !important; }
body.dark-mode p, body.dark-mode span:not(.stat-icon):not(.info-icon) { color: #cbbfa0 !important; }

body.dark-mode .info-banner { background-color: #3d2717 !important; border-color: #5c4a30 !important; }
body.dark-mode .info-banner-box { color: #e8c06b !important; }
body.dark-mode .features-section { background-color: #2c2e22 !important; border-color: #454a37 !important; }

body.dark-mode .custom-cat-tree a { background-color: #2c2e22 !important; color: #cbbfa0 !important; border-color: #454a37 !important; }
body.dark-mode .custom-cat-tree a:hover { background-color: #5b8266 !important; color: #ffffff !important; }
body.dark-mode .custom-cat-tree a.active-cat { background-color: #454a37 !important; border-color: #5b8266 !important; color: #ffffff !important; }

body.dark-mode .faq-item { border-color: #454a37; }
body.dark-mode .faq-question { color: #f5efe2; }
body.dark-mode .faq-answer p { color: #cbbfa0; }

/* --- ORGANICZNE / RĘCZNIE RYSOWANE AKCENTY --- */
/* Lekko nieregularne, "blobowe" kształty na ikonach - zamiast idealnych kół */
.card-icon,
.stat-icon {
    border: 3px solid #e6dcc8;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.feature-item .card-icon,
.step-number {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

/* Grubsze kontury na kartach i przyciskach outline - bardziej "zabawkowo" */
.card,
.woocommerce ul.products li.product,
.stat-card,
.feature-item {
    border-width: 3px;
}

.btn-outline {
    border-width: 4px;
}

.custom-cat-tree a {
    border-width: 3px;
}

/* --- WIĘCEJ KOLORU W JASNYM MOTYWIE --- */

/* Kolorowy pasek na górze każdej karty (na przemian: zieleń / terakota / musztarda) */
.grid-3-columns .card::before,
.woocommerce ul.products li.product::before {
    content: "";
    display: block;
    height: 6px;
    width: 56px;
    border-radius: 10px;
    margin: 0 auto 16px;
    background: #5b8266;
}

.grid-3-columns .card:nth-child(3n+2)::before,
.woocommerce ul.products li.product:nth-child(3n+2)::before {
    background: #d97757;
}

.grid-3-columns .card:nth-child(3n+3)::before,
.woocommerce ul.products li.product:nth-child(3n+3)::before {
    background: #d9a441;
}

.card-featured::before { background: #d97757 !important; }
.card-featured-secondary::before { background: #d9a441 !important; }

/* Kolorowe lewe obramowanie na kartach statystyk (O nas) */
.stat-card:nth-child(3n+1) { border-left: 5px solid #5b8266; }
.stat-card:nth-child(3n+2) { border-left: 5px solid #d97757; }
.stat-card:nth-child(3n+3) { border-left: 5px solid #d9a441; }

/* Kolorowa górna kreska na kafelkach "Dlaczego nasze pomoce" */
.feature-item:nth-child(3n+1) { border-top: 5px solid #5b8266; }
.feature-item:nth-child(3n+2) { border-top: 5px solid #d97757; }
.feature-item:nth-child(3n+3) { border-top: 5px solid #d9a441; }

/* Delikatny kolorowy tint na sekcji cech */
.features-section { background-color: #eef2e7; }

body.dark-mode .shop-sidebar-box { background-color: #262b1e !important; border-color: #454a37 !important; }

/* --- RAMKI NA ZDJĘCIA (PLACEHOLDER) --- */
/* Puste: pokazują ikonę aparatu i tekst. Gdy wstawisz <img> do środka, */
/* samo wypełni ramkę i zaokrągli rogi (object-fit: cover). */
.photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: repeating-linear-gradient(45deg, #f2ecdd, #f2ecdd 12px, #e9dfc8 12px, #e9dfc8 24px);
    border: 3px dashed #c3d9b8;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #8a7a63;
    text-align: center;
    box-sizing: border-box;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.photo-frame-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
}

.photo-frame-placeholder .photo-frame-icon {
    font-size: 38px;
    opacity: 0.6;
}

.photo-frame-placeholder .photo-frame-text {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.photo-frame-square   { aspect-ratio: 1 / 1; }
.photo-frame-portrait { aspect-ratio: 3 / 4; }
.photo-frame-wide     { aspect-ratio: 16 / 9; }

body.dark-mode .photo-frame {
    background: repeating-linear-gradient(45deg, #2c2e22, #2c2e22 12px, #262a1e 12px, #262a1e 24px);
    border-color: #5c5240;
    color: #cbbfa0;
}

/* Siatka do galerii kilku zdjęć obok siebie */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}