/* =========================================================
   WydrukiJadalne.pl – Custom Stylesheet
   Bootstrap 5 + Custom theme
========================================================= */

:root {
    --pink:       #e91e8c;
    --pink-light: #fce4f3;
    --pink-dark:  #c0185a;
    --purple:     #7c3aed;
    --purple-light: #ede9fe;
    --dark:       #1e1e2e;
    --gray-soft:  #f8f9fc;
    --text-muted: #6c757d;
    --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
    --shadow-md:  0 4px 20px rgba(0,0,0,.10);
    --radius:     14px;
    --radius-sm:  8px;
    --transition: .25s ease;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: var(--dark);
    scroll-behavior: smooth;
}

/* ---- Topbar ---- */
.topbar {
    background: var(--dark);
    color: #ccc;
    font-size: .8rem;
}
.topbar i { color: var(--pink); }

/* ---- Navbar ---- */
.navbar { border-bottom: 1px solid #f0f0f0; }

.brand-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    flex-shrink: 0;
}
.brand-icon--sm { width: 32px; height: 32px; font-size: .9rem; border-radius: 8px; }

.brand-main  { font-weight: 700; font-size: 1.15rem; color: var(--dark); line-height: 1; }
.brand-accent{ font-weight: 700; font-size: 1.15rem; color: var(--pink); line-height: 1; }
.brand-sub   { font-size: .65rem; color: var(--text-muted); letter-spacing: 1px; line-height: 1; }

.navbar .nav-link {
    font-size: .875rem; font-weight: 500; color: var(--dark);
    padding: .5rem .75rem; border-radius: var(--radius-sm);
    transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--pink); background: var(--pink-light); }

.btn-cart {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff; border: none;
    border-radius: 50px; padding: .5rem 1.25rem;
    font-size: .875rem; font-weight: 600;
    transition: var(--transition);
    position: relative;
}
.btn-cart:hover { opacity: .9; transform: translateY(-1px); color: #fff; }

.cart-badge {
    position: absolute; top: -6px; right: -6px;
    background: #fff; color: var(--pink);
    border: 2px solid var(--pink);
    border-radius: 50%; width: 20px; height: 20px;
    font-size: .65rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}

/* ---- Hero Section ---- */
.hero {
    background: linear-gradient(135deg, #fff5fb 0%, #f3eeff 50%, #fff5fb 100%);
    padding: 5rem 0 4rem;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(233,30,140,.08) 0%, transparent 60%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--pink-light); color: var(--pink-dark);
    border-radius: 50px; padding: .35rem 1rem;
    font-size: .8rem; font-weight: 600; letter-spacing: .5px;
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800; line-height: 1.15;
    color: var(--dark);
}
.hero h1 span { color: var(--pink); }
.hero-lead { font-size: 1rem; color: var(--text-muted); max-width: 500px; line-height: 1.7; }

.btn-primary-custom {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff; border: none;
    border-radius: 50px; padding: .75rem 2rem;
    font-weight: 600; font-size: .95rem;
    transition: var(--transition);
}
.btn-primary-custom:hover { opacity: .9; transform: translateY(-2px); color: #fff; box-shadow: 0 8px 20px rgba(233,30,140,.3); }

.btn-outline-custom {
    border: 2px solid var(--pink);
    color: var(--pink);
    border-radius: 50px; padding: .75rem 2rem;
    font-weight: 600; font-size: .95rem;
    background: transparent;
    transition: var(--transition);
}
.btn-outline-custom:hover { background: var(--pink); color: #fff; }

.hero-stats {
    display: flex; gap: 2rem; margin-top: 2rem;
    flex-wrap: wrap;
}
.hero-stat .number { font-size: 1.5rem; font-weight: 800; color: var(--pink); line-height: 1; }
.hero-stat .label  { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }

.btn-hero-designer {
    font-size: 1.05rem;
    padding: .85rem 2rem;
    box-shadow: 0 8px 24px rgba(233,30,140,.35);
}

.hero-image-wrap {
    position: relative;
    display: flex; justify-content: center;
}
.hero-image-wrap img {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(233,30,140,.2);
    max-height: 420px; object-fit: cover; width: 100%;
}
.hero-float-badge {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    padding: .75rem 1rem;
    box-shadow: var(--shadow-md);
    font-size: .8rem;
    display: flex; align-items: center; gap: .5rem;
}
.hero-float-badge i { color: var(--pink); }
.hero-float-1 { top: 20px; left: -20px; }
.hero-float-2 { bottom: 30px; right: -10px; }

/* ---- Trust bar ---- */
.trust-bar {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.25rem 0;
}
.trust-item {
    display: flex; align-items: center; gap: .75rem;
    font-size: .85rem; font-weight: 500;
}
.trust-item i { font-size: 1.4rem; color: var(--pink); }
.trust-item span { color: var(--text-muted); font-size: .75rem; display: block; font-weight: 400; }

/* ---- Section titles ---- */
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.section-title span { color: var(--pink); }
.section-lead { color: var(--text-muted); font-size: .9rem; }

/* ---- Category pills ---- */
.category-pills { display: flex; gap: .5rem; flex-wrap: wrap; }

.pill-btn {
    border: 2px solid #e9ecef;
    background: #fff;
    color: var(--dark);
    border-radius: 50px;
    padding: .45rem 1.1rem;
    font-size: .82rem; font-weight: 500;
    cursor: pointer; transition: var(--transition);
    text-decoration: none; display: inline-block;
}
.pill-btn:hover,
.pill-btn.active {
    border-color: var(--pink);
    background: var(--pink);
    color: #fff;
}

/* ---- Product Grid ---- */
.products-section { background: var(--gray-soft); padding: 4rem 0; }

.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex; flex-direction: column;
    border: 1px solid #f0f0f0;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card-img {
    position: relative; overflow: hidden;
    aspect-ratio: 4/3;
}
.product-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

.badge-bestseller {
    position: absolute; top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: .25rem .65rem; border-radius: 50px;
}

.badge-category {
    position: absolute; top: 10px; right: 10px;
    background: rgba(255,255,255,.92);
    color: var(--dark); font-size: .68rem; font-weight: 600;
    padding: .2rem .6rem; border-radius: 50px;
    backdrop-filter: blur(4px);
}

.product-card-body {
    padding: 1rem 1rem .75rem;
    flex-grow: 1; display: flex; flex-direction: column;
}

.product-title {
    font-size: .88rem; font-weight: 600;
    color: var(--dark); margin-bottom: .5rem;
    line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.type-selector { margin-bottom: .75rem; }
.type-selector label { font-size: .7rem; color: var(--text-muted); font-weight: 500; margin-bottom: .3rem; display: block; }
.type-pills { display: flex; gap: .3rem; flex-wrap: wrap; }
.type-pill {
    border: 1.5px solid #dee2e6;
    background: #fff; color: var(--dark);
    border-radius: 50px; padding: .2rem .65rem;
    font-size: .72rem; cursor: pointer;
    transition: var(--transition);
}
.type-pill:hover,
.type-pill.selected {
    border-color: var(--pink); background: var(--pink-light); color: var(--pink-dark);
}

.product-card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: .75rem 1rem;
    border-top: 1px solid #f5f5f5;
    margin-top: auto;
}

.product-price {
    font-size: 1.15rem; font-weight: 800; color: var(--pink);
}
.product-price small { font-size: .7rem; font-weight: 400; color: var(--text-muted); }

.btn-add {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff; border: none;
    border-radius: 50px; padding: .45rem 1rem;
    font-size: .8rem; font-weight: 600;
    transition: var(--transition);
    display: flex; align-items: center; gap: .4rem;
    white-space: nowrap;
}
.btn-add:hover { opacity: .9; transform: scale(1.04); color: #fff; }
.btn-add:active { transform: scale(.97); }

/* ---- How it works ---- */
.how-section { padding: 5rem 0; background: #fff; }

.step-card {
    text-align: center; padding: 2rem 1.5rem;
    border-radius: var(--radius);
    background: var(--gray-soft);
    height: 100%;
    transition: var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.step-icon {
    width: 70px; height: 70px; margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.step-number {
    display: inline-block;
    background: var(--pink); color: #fff;
    width: 24px; height: 24px; border-radius: 50%;
    font-size: .75rem; font-weight: 700;
    line-height: 24px; text-align: center;
    margin-bottom: .75rem;
}
.step-card h5 { font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.step-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---- Print types section ---- */
.types-section { padding: 4rem 0; background: linear-gradient(135deg, #fff5fb, #f3eeff); }

.type-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem 1.5rem; text-align: center;
    box-shadow: var(--shadow-sm); height: 100%;
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.type-card:hover { box-shadow: var(--shadow-md); border-top-color: var(--pink); }
.type-card .type-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.type-card h5 { font-weight: 700; font-size: 1rem; }
.type-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }
.type-card ul { text-align: left; font-size: .8rem; color: var(--text-muted); padding-left: 1rem; }
.type-card ul li { margin-bottom: .3rem; }

/* ---- FAQ ---- */
.faq-section { padding: 5rem 0; background: var(--gray-soft); }

.accordion-button { font-weight: 500; font-size: .9rem; }
.accordion-button:not(.collapsed) { color: var(--pink); background: var(--pink-light); }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(233,30,140,.15); }
.accordion-body { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* ---- Contact section ---- */
.contact-section { padding: 5rem 0; background: #fff; }

.contact-card {
    background: linear-gradient(135deg, var(--dark), #2d2d45);
    border-radius: 20px; padding: 3rem;
    color: #fff;
}
.contact-card h3 { font-weight: 800; margin-bottom: .75rem; }
.contact-card p  { color: rgba(255,255,255,.65); margin-bottom: 0; }

.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
    margin-bottom: 1.5rem;
}
.contact-item-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(233,30,140,.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--pink); font-size: 1.1rem;
}
.contact-item h6 { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: .2rem; }
.contact-item p  { font-size: .9rem; color: #fff; font-weight: 500; margin: 0; }

/* ---- Footer ---- */
.footer-top  { background: var(--dark); }
.footer-bottom { background: #16162a; }

.footer-heading { color: rgba(255,255,255,.5); font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .85rem; }

.footer-links { padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .85rem; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--pink); }

.footer-contact { padding: 0; }
.footer-contact li { color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: .6rem; }
.footer-contact i { color: var(--pink); width: 18px; }

.social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.65); font-size: .85rem;
    text-decoration: none; transition: var(--transition);
}
.social-link:hover { background: var(--pink); color: #fff; }

.payment-badge {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.75);
    border-radius: 6px; padding: .25rem .65rem;
    font-size: .75rem;
}

/* ---- Cart offcanvas ---- */
.cart-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }

.qty-btn {
    width: 26px; height: 26px;
    border: 1.5px solid #dee2e6; background: #fff;
    border-radius: 50%; font-size: .9rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); color: var(--dark);
}
.qty-btn:hover { border-color: var(--pink); color: var(--pink); }

.text-pink { color: var(--pink) !important; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

/* ---- Utilities ---- */
@media (max-width: 768px) {
    .hero { padding: 3rem 0 2.5rem; text-align: center; }
    .hero-lead { margin: 0 auto; }
    .hero-stats { justify-content: center; }
    .hero-image-wrap { margin-top: 2rem; }
    .hero-float-1, .hero-float-2 { display: none; }
    .trust-item { justify-content: center; text-align: center; flex-direction: column; gap: .3rem; }
}
