/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */

/* Main Content */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    /* Prevent horizontal scroll without breaking sticky */
    width: 100%;
}

html,
body {
    overflow-x: clip;
    max-width: 100%;
}

.main-wrapper {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding-top: calc(8rem + 10px);
    padding-bottom: 2.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1600px) {

    /* Reverting homepage wrapper width as requested to focus on hero height instead */
    .homepage .main-wrapper {
        max-width: 1250px;
    }

    .hero-section {
        height: 50vh;
        max-height: 700px;
    }
}

.content-wrapper {
    width: 100%;
}

/* --- Shared Components --- */

/* Buttons */
.btn-catalog {
    padding: 0.6rem 1.75rem;
    background-color: var(--primary-orange);
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.75rem;
    border: 2px solid var(--black);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.3s;
    font-size: 0.7rem;
    display: inline-block;
}

.btn-catalog:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.btn-news {
    padding: 0.6rem 1.75rem;
    background-color: var(--primary-orange);
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.75rem;
    border: 2px solid var(--black);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.3s;
    font-size: 0.7rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

@media(max-width: 768px) {
    .btn-news {
        width: 180px;
        display: block;
        margin-left: 0;
    }
}

.btn-news:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
}

/* Product Card (Shared) */
.product-card {
    min-width: 280px;
    scroll-snap-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: box-shadow 0.3s;
}

@media(min-width: 768px) {
    .product-card {
        min-width: 320px;
    }
}

.product-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .card-image {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 1rem;
    background-color: var(--primary-orange);
    color: var(--black);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 9999px;
    letter-spacing: 0.025em;
}

.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 140px;
}

.card-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.card-info {
    font-size: 10px;
    font-weight: 700;
}

.card-info.gray {
    color: var(--gray-dark);
}

.card-info.black {
    color: var(--black);
}

/* Footer (Shared) */
.site-footer {
    background-color: #171717;
    color: var(--white);
    padding: 60px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    width: 150px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.75rem;
    color: var(--gray-medium);
}

.footer-title {
    font-size: 1rem;
    /* implied h4 */
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.footer-link {
    color: inherit;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--gray-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-btn:hover {
    background-color: var(--white);
    color: var(--black);
}

.social-icon {
    width: 1rem;
    height: 1rem;
    filter: invert(1);
}

.social-btn:hover .social-icon {
    filter: invert(0);
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-dark);
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-legal {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

@media(min-width: 768px) {
    .footer-legal {
        margin-top: 0;
    }
}

/* ==========================================================================
   HOME PAGE (index.html)
   ========================================================================== */

/* Hero Section */
.hero-section {
    position: relative;
    height: 65vh;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-size: cover;
    background-position: center;
    background-image: url('public/strona-glowna-hero2-min.png');
}

@media(max-width: 768px) {
    .hero-section {
        height: 70vh;
        border-radius: 20px;
        box-shadow: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 1.5rem 1.5rem;
}

@media(min-width: 768px) {
    .hero-content {
        padding: 3rem 2rem 2.5rem;
        /* Moved up and left */
    }
}

.hero-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.hero-title-main {
    font-size: 1.5rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
    max-width: 850px;
}

@media(min-width: 768px) {
    .hero-title-main {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 650;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
    max-width: 850px;
}

.hero-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
}

@media(min-width: 1280px) {
    .hero-controls {
        flex-direction: row;
    }
}

.scroll-indicator {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f2f2f2;
    border-radius: 0.75rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    border: 2px solid var(--black);
    cursor: pointer;
}

@media(min-width: 768px) {
    .scroll-indicator {
        display: flex;
    }
}

.scroll-indicator:hover {
    background-color: var(--white);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

@media(max-width: 768px) {
    .hero-actions .action-buttons {
        display: none;
    }
}

@media(min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        width: auto;
    }
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

@media(min-width: 768px) {
    .search-container {
        width: 350px;
    }
}

.search-input {
    width: 100%;
    height: 2.5rem;
    padding-left: 1.5rem;
    padding-right: 8rem;
    border-radius: 15px;
    border: 2px solid var(--black);
    outline: none;
    color: var(--black);
    background-color: var(--white);
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 4px 4px 0px 0px var(--black);
}

.search-input::placeholder {
    color: var(--gray-medium);
}

.search-btn {
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    padding: 0 2rem;
    border-radius: 15px;
    background-color: var(--primary-orange);
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0px 0px var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.search-btn:hover {
    background-color: var(--primary-orange-hover);
    transform: translate(1px, 1px);
    box-shadow: none;
}

.action-buttons {
    display: flex;
    gap: 0.75rem;
}

/* About Section (Home) */
.about-section {
    padding: 5rem 0 2rem 0;
    background-color: #f2f2f2;
    /* Default background */
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media(max-width: 768px) {
    .about-section {
        padding-top: 2rem;
    }
}

@media(max-width: 1100px) {
    .about-container {
        padding: 0;
        margin-top: -2.5rem;
    }
}

@media(min-width: 1100px) {
    .about-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 2rem;
    }
}

.about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    max-width: 600px;
}

@media(max-width: 1100px) {
    .about-content {
        gap: 1rem;
    }
}

.about-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--black);
    letter-spacing: 0.025em;
}

.about-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.about-badge {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--black);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    background-color: var(--white);
    color: var(--black);
}

.about-desc {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--color);
    font-weight: 500;
}

.about-buttons {
    display: flex;
    gap: 1rem;
}

.about-right-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    /* Increased height for offset composition */
    height: 450px;
    max-width: 500px;
    margin-left: auto;
}

.about-bg-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 93%;
    height: 93%;
    background-color: var(--white);
    border-radius: 30px;
    z-index: 1;
}

.about-image-card {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 93%;
    height: 93%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-rotating-logo {
    position: absolute;
    top: -38px;
    left: -105px;
    width: 210px;
    height: 210px;
    z-index: 10;
    animation: spin 20s linear infinite;
}

@media(max-width: 1100px) {
    .about-rotating-logo {
        left: 0;
    }
}

@media(max-width: 1100px) {
    .about-right-wrapper {
        display: block;
        flex: none;
        position: relative;
        margin: 5rem auto 3rem auto;
        /* Increased top margin for larger logo */
        width: 100%;
        height: 400px;
        /* Increased height */
        max-width: 380px;
        /* Increased width */
    }

    .about-rotating-logo {
        width: 160px;
        /* Increased logo size */
        height: 160px;
        top: -45px;
        /* Adjusted position */
        left: 50%;
        margin-left: -80px;
        /* Adjusted centering */
        right: auto;
    }

    .about-bg-card {
        border-radius: 20px;
        width: 95%;
        height: 95%;
        top: 0;
        right: 0;
        left: auto;
        margin: 0;
    }

    .about-image-card {
        width: 95%;
        height: 95%;
        border-radius: 20px;
        bottom: 5px;
        left: 5px;
        right: auto;
        margin: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* New Items Section (Home) */
.new-items-section {
    padding: 5rem 2rem 1rem 2rem;
    /* Increased padding for arrows */
    position: relative;
}

@media(max-width: 768px) {
    .new-items-section {
        box-shadow: none !important;
        padding: 2rem 0;
    }
}

@media(min-width: 768px) {
    .new-items-section {
        padding: 5rem 2rem 1rem 2rem;
        /* Keep padding on desktop */
    }
}

.carousel-outer {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* overflow: hidden; Removed to prevent arrow clipping if decided to keep them outside, but we are moving them inside anyway */
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-nav-btn.next {
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.carousel-nav-btn.prev {
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

@media(min-width: 768px) {
    .carousel-nav-btn {
        display: flex;
    }
}

.carousel-nav-btn:hover {
    background-color: #f9fafb;
}

.carousel-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: -webkit-mask-image 0.3s, mask-image 0.3s;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

#carousel {
    display: none;
}

.section-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* News Section (Home) */
.news-section {
    padding: 1rem 0 5rem 0;
    margin-top: 5rem;
}

@media(max-width: 768px) {
    .news-section {
        padding: 2rem 0;
    }
}

.news-header {
    margin-bottom: 3rem;
}

.news-header-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .news-header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.news-text-group {
    max-width: 42rem;
}

.news-subtitle {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
}

.news-desc {
    color: var(--black);
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.625;
    max-width: 32rem;
}

/* Banners (Home) */
.banners-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media(min-width: 768px) {
    .banners-wrapper {
        flex-direction: row;
    }
}

.banner-box {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
}

@media(max-width: 768px) {
    .banner-box {
        height: 280px;
    }
}

.banner-left {
    background-color: var(--white);
    padding: 1.5rem 0.5rem;
    /* Removing horizontal padding on mobile */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: relative;
}

@media(min-width: 768px) {
    .banner-left {
        padding: 3rem;
    }
}

.banner-content {
    position: relative;
    z-index: 10;
}

.banner-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
    color: var(--black);
}

.banner-text {
    color: var(--gray-dark);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.625;
    max-width: 24rem;
}

.banner-right {
    background-color: #D6442E;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rental Process Section (Home) */
@media(max-width: 768px) {
    .rental-process-section {
        padding: 2rem 0;
    }
}

@media(min-width: 768px) {
    .rental-process-section {
        padding: 5rem 2rem;
    }
}

.rental-process-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .rental-process-container {
        padding: 0;
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .rental-process-container {
        padding: 0;
    }
}

@media (min-width: 1100px) {
    .rental-process-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rental-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: #e5e5e5;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media(min-width: 1100px) {
    .rental-image-wrapper {
        aspect-ratio: auto;
        height: 100%;
    }
}

.rental-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rental-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (min-width: 1100px) {
    .rental-content {
        grid-column: span 2;
    }
}

.rental-header {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
}

.rental-description {
    color: black;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.625;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #f07c00;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid black;
    box-shadow: 3px 3px 0 0 rgba(0, 0, 0, 1);
}

.step-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
}

.step-desc {
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.625;
    margin: 0;
}

/* Offer Section (Home) */
.offer-section {
    padding: 2rem 0 5rem 0;
    background-color: #f2f2f2;
}

@media(max-width: 768px) {
    .offer-section {
        padding: 2rem 0;
    }
}

.offer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media(max-width: 768px) {
    .offer-container {
        padding: 0;
    }
}

@media(min-width: 768px) {
    .offer-container {
        padding: 0 2rem;
    }
}

.offer-header {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media(max-width: 768px) {
    .offer-header {
        gap: 1rem;
    }
}

@media(min-width: 768px) {
    .offer-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.offer-header-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.offer-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    letter-spacing: 0.025em;
    line-height: 1.2;
}

.offer-desc {
    font-size: 0.75rem;
    color: var(--color);
    line-height: 1.5;
    font-weight: 500;
}

.offer-carousel-wrapper {
    position: relative;
    width: 100%;
}

.offer-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Mask handled via JS classes */
    transition: -webkit-mask-image 0.3s, mask-image 0.3s;
}

.offer-carousel::-webkit-scrollbar {
    display: none;
}

/* Dynamic Mask Generators */
.mask-right {
    -webkit-mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 85%, transparent 100%);
}

.mask-left {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 100%);
}

.mask-both {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.offer-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.3s;
}

@media(min-width: 1100px) {
    .offer-nav-btn {
        display: flex;
    }
}

.offer-nav-btn.prev {
    left: -1.5rem;
}

.offer-nav-btn.next {
    right: -1.5rem;
}

.offer-nav-btn:hover {
    background-color: #f9fafb;
}

.offer-card {
    min-width: 240px;
    height: 180px;
    scroll-snap-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

@media(max-width: 768px) {
    .offer-card {
        min-width: 340px;
        height: 340px;
        box-shadow: 0px 0px 0px 0px var(--primary-orange);
        border: 2px solid transparent;
        /* Optional to ensure sizing */
        margin-bottom: 6px;
        /* Space for shadow */
        margin-right: 3px;
        /* Space for shadow */
    }
}

@media(min-width: 768px) {
    .offer-card {
        min-width: 240px;
        height: 180px;
    }

    /* Scoped for Index Page Carousel - Wider Cards */
    .offer-carousel .offer-card {
        min-width: 400px;
        height: 250px;
    }
}

.offer-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.offer-card:hover .offer-card-bg {
    transform: scale(1.05);
}

.offer-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
}

.offer-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.offer-card-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-orange);
    line-height: 1.1;
}

.offer-card-desc {
    font-size: 0.75rem;
    color: var(--white);
    line-height: 1.4;
    max-width: 90%;
}

@media(max-width: 768px) {
    .offer-card-content {
        padding: 1.5rem;
    }

    .offer-card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .offer-card-desc {
        font-size: 0.75rem;
        display: block;
    }
}

/* Cooperation Section (Home) */
.cooperation-section {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

@media(max-width: 768px) {
    .cooperation-section {
        padding: 0rem 0;
    }
}

.cooperation-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media(max-width: 768px) {
    .cooperation-container {
        padding: 0;
    }
}

@media(min-width: 1100px) {
    .cooperation-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 4rem;
    }
}

.cooperation-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cooperation-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: 0.025em;
}

.cooperation-desc {
    font-size: 0.75rem;
    color: var(--color);
    font-weight: 500;
}

.cooperation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.cooperation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cooperation-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--black);
}

.cooperation-icon img {
    border: 2px solid var(--black);
    border-radius: 16px;
    padding: 12px;
    width: 50px;
    height: 50px;
    display: block;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

.cooperation-icon-text {
    font-family: inherit;
}

.cooperation-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Right Wrapper (Image Composition) */
/* Right Wrapper (Image Composition) */
.cooperation-right-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
}

.cooperation-bg-card {
    position: absolute;
    bottom: 0;
    right: 0;
    top: auto;
    width: 93%;
    height: 93%;
    background-color: var(--white);
    border-radius: 30px;
    z-index: 1;
}

.cooperation-image-card {
    position: absolute;
    top: 0;
    left: 0;
    bottom: auto;
    z-index: 20;
    width: 93%;
    height: 93%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cooperation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rotating Logo */
.cooperation-rotating-logo {
    position: absolute;
    bottom: -50px;
    right: -50px;
    top: auto;
    left: auto;
    width: 210px;
    height: 210px;
    z-index: 10;
    animation: spin 20s linear infinite;
}

@media(max-width: 1100px) {
    .cooperation-rotating-logo {
        left: 0;
    }
}



@media(max-width: 1100px) {
    .cooperation-right-wrapper {
        display: block;
        flex: none;
        position: relative;
        margin: 5rem auto 3rem auto;
        /* Matches about section */
        width: 100%;
        height: 400px;
        max-width: 380px;
    }

    .cooperation-rotating-logo {
        width: 160px;
        height: 160px;
        top: -45px;
        /* Top align like about */
        left: 50%;
        margin-left: -80px;
        right: auto;
        bottom: auto;
    }

    .cooperation-bg-card {
        border-radius: 20px;
        width: 95%;
        height: 95%;
        bottom: 0;
        right: 0;
        top: auto;
        left: auto;
        margin: 0;
    }

    .cooperation-image-card {
        width: 95%;
        height: 95%;
        border-radius: 20px;
        top: 0;
        left: 0;
        bottom: auto;
        right: auto;
        margin: 0;
    }
}

/* ==========================================================================
   PAGE: O NAS (onas.html)
   ========================================================================== */

/* O Nas Page Styles */
.onas-hero-section {
    padding: 0;
    padding-top: calc(8rem + 30px);
    /* Header space */
    background-color: #f2f2f2;
    min-height: auto;
    display: flex;
    padding-bottom: 4rem;
}



.onas-container {
    max-width: 1400px;
    /* Standard wide container */
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

@media(min-width: 1200px) {
    .onas-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 4rem;
        gap: 4rem;
    }
}

.onas-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.75rem;
    /* Reduced from 1.5rem */
    max-width: 600px;
}

.onas-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    height: 440px;
    /* Reduced by 20px from 500px */
}

.onas-title {
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--primary-orange);
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.025em;
}

@media(min-width: 768px) {
    .onas-title {
        font-size: 2.5rem;
    }
}

.onas-subtitle {
    font-size: 20px;
    /* Match .about-title */
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
    max-width: 500px;
    letter-spacing: 0.025em;
}

.onas-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    /* Reduced from 1rem */
}

.onas-badge {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--black);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    /* Match .about-badge */
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    background-color: var(--white);
    color: var(--black);
    white-space: nowrap;
}

.onas-description {
    font-size: 0.75rem;
    /* Match .about-desc */
    line-height: 1.6;
    color: var(--color);
    font-weight: 500;
    margin-top: 0.5rem;
    /* Reduced from 1rem */
    display: flex;
    flex-direction: column;
    gap: 0.10rem;
    /* Reduced from 1rem */
    max-width: 550px;
}

.onas-scroll-btn {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-orange);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    cursor: pointer;
    margin-top: 1rem;
    /* Reduced from 2rem previously */
    transition: transform 0.2s;
}

.onas-scroll-btn:hover {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 0 var(--black);
}

.onas-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 30px;
    overflow: hidden;
}

.onas-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.onas-floating-buttons {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

/* Mobile O Nas Adjustments */
@media (max-width: 768px) {
    .onas-hero-section {
        padding-top: calc(8rem + 30px);
    }

    .onas-subtitle {
        font-size: 16px;
    }

    .onas-right {
        height: auto;
        min-height: auto;
        margin-top: 2rem;
    }

    .onas-image-wrapper {
        min-height: 300px;
        /* Adjust height if needed for mobile aspect ratio */
        height: auto;
    }

    .onas-floating-buttons {
        bottom: 1.5rem;
        left: 1.5rem;
        right: auto;
        /* Reset right positioning */
        gap: 0.75rem;
    }
}


/* ==========================================================================
   PAGE: KATALOG & SECTIONS (katalog.html etc)
   ========================================================================== */

/* Catalog Section (Used as Strip) */
.catalog-section {
    padding: 5rem 0;
    background-color: #f2f2f2;
}

.catalog-section .catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column-reverse;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 1100px) {
    .catalog-section .catalog-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 4rem;
    }
}

/* Right Content */
.catalog-content {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalog-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: 0.025em;
    margin: 0;
}

.catalog-desc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalog-desc {
    font-size: 0.75rem;
    color: var(--color);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.catalog-contact-list {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
}

.catalog-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.catalog-icon img {
    border: 2px solid var(--black);
    border-radius: 16px;
    padding: 12px;
    width: 50px;
    height: 50px;
    display: block;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
}

.catalog-icon-text {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--black);
}

.catalog-buttons {
    margin-top: 1rem;
}

/* Left Image Composition */
.catalog-left-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
}

.catalog-bg-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
    background-color: var(--white);
    border-radius: 30px;
    z-index: 1;
}

.catalog-image-card {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    width: 85%;
    height: 85%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.catalog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rotating Logo */
.catalog-rotating-logo {
    position: absolute;
    top: -70px;
    left: 50%;
    margin-left: -125px;
    width: 250px;
    height: 250px;
    z-index: 10;
    animation: rotate 20s linear infinite;
}

@media(max-width: 768px) {
    .catalog-contact-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .catalog-left-wrapper {
        margin-top: 6rem;
        height: 380px;
    }

    .catalog-rotating-logo {
        top: -110px;
        width: 220px;
        height: 220px;
        margin-left: -110px;
    }
}

/* Catalog Page Layout */
.catalog-page-section {
    padding: 1.5rem 0 4rem 0;
    width: 100%;
    margin-top: 8rem;
}

.catalog-container {
    /* Different from .catalog-section .catalog-container due to nesting, but reusing class name. Ensure context. */
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Note: if .catalog-container conflicts between section strip and page layout, careful. */
/* The previous file reused it.  */

@media(min-width: 1100px) {
    .catalog-page-section .catalog-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        padding: 0 2rem;
    }
}


/* Sidebar */
.catalog-sidebar {
    width: 100%;
    flex-shrink: 0;
}

@media(min-width: 1100px) {
    .catalog-sidebar {
        width: 340px;
        position: sticky;
        top: 8.5rem;
        align-self: flex-start;
        max-height: calc(100vh - 9rem);
    }
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--black);
    letter-spacing: 0.025em;
    line-height: 1;
}

/* Mobile/Tablet: Disable sticky on smaller screens */
@media(max-width: 1023px) {
    .catalog-sidebar {
        position: static;
        width: 100%;
        max-height: none;
        margin-bottom: 2rem;
    }

    .catalog-toolbar {
        position: static;
        margin-bottom: 1rem;
    }
}

.sidebar-categories {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 55vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    /* Custom Scrollbar - More Visible */
    scrollbar-width: auto;
    scrollbar-color: #555 #e0e0e0;
}

.sidebar-categories>*:first-child {
    margin-bottom: 0.5rem;
}

.sidebar-categories::-webkit-scrollbar {
    width: 4px;
    display: block;
}

.sidebar-categories::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.sidebar-categories::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.sidebar-categories::-webkit-scrollbar-thumb:hover {
    background: #333;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.2s;
    letter-spacing: 0.025em;
    padding: 0.25rem 0;
}

.category-link:hover,
.category-link.active .cat-name {
    color: var(--primary-orange);
}

.cat-count {
    color: #999;
    font-weight: 500;
    font-size: 0.75rem;
}

.category-link.active .cat-count {
    color: var(--primary-orange);
    font-weight: 700;
}

.cat-name.has-arrow::before {
    content: '▶';
    font-size: 0.5rem;
    margin-right: 8px;
    display: inline-block;
    color: #999;
}

/* Main Content */
.catalog-main {
    flex: 1;
    width: 100%;
}

/* Toolbar */
.catalog-toolbar {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 15px 0;
    background: var(--background);
    z-index: 100;
    position: relative;
}

@media(max-width: 768px) {
    .catalog-toolbar {
        padding-top: 0;
        margin-top: -35px;
    }
}

@media(min-width: 1100px) {
    .catalog-toolbar {
        position: sticky;
        top: 7.5rem;
        background: var(--background);
        padding: 0px 0;
        margin-bottom: 1.5rem;
    }

    /* Mask to hide scrolling products above toolbar - constrained to toolbar width */
    .catalog-toolbar::before {
        content: '';
        position: absolute;
        top: -100px;
        left: 0;
        right: 0;
        height: 100px;
        background: var(--background);
        z-index: -1;
    }
}

@media(min-width: 768px) {
    .catalog-toolbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Search Input */
.catalog-sidebar-search {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.catalog-search-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 3rem;
    border: 1px solid #000;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.8rem;
    outline: none;
    background: var(--white);
    color: var(--black);
    font-weight: 500;
}

/* Sidebar Accordion (Mobile/Tablet) */
@media (max-width: 1023px) {
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 1rem;
    }

    .sidebar-title {
        margin-bottom: 0;
    }

    .sidebar-arrow {
        width: 16px;
        height: 16px;
        transition: transform 0.3s ease;
    }

    .sidebar-categories {
        display: none;
    }

    /* JavaScript will toggle inline display: block, but we can also use a class */
    .sidebar-categories.open {
        display: block;
    }

    .sidebar-header.active .sidebar-arrow {
        transform: rotate(180deg);
    }
}

.search-icon {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    /* Reduced icon size */
    opacity: 1;
    width: 1.25rem;
    z-index: 10;
    pointer-events: none;
}

/* Filters */
.catalog-filters {
    display: flex;
    gap: 1rem;
    /* Reduced gap */
    align-items: center;
    justify-content: center;
}

.filter-btn,
.sort-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.7rem;
    /* Reduced font */
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--black);
}

.filter-btn img,
.sort-btn img {
    width: 1rem;
    /* Reduced icon size */
}

/* Pagination Top */
.catalog-pagination-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

@media(max-width: 768px) {
    .catalog-pagination-top {
        align-self: flex-end;
        align-items: center;
        width: auto;
        margin-top: 15px;
    }
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.page-arrow {
    background: #fff;
    border: 2.5px solid #000;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0px #000;
    transition: transform 0.1s, box-shadow 0.1s;
    margin: 0 0.5rem;
}

.page-arrow:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000;
}

.page-arrow img {
    width: 0.6rem;
    height: auto;
    display: block;
}

.page-numbers {
    display: flex;
    gap: 0.4rem;
}

.page-numbers span.current {
    color: var(--primary-orange);
    font-weight: 800;
}

.results-count {
    margin-left: 0;
    color: #666;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-bottom: 2rem;
}

@media(min-width: 1100px) {
    .catalog-grid {
        margin-top: 1.5rem;
    }
}

@media(min-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media(min-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 200px);
        gap: 10px;
        justify-content: space-between;
    }
}

/* Catalog Grid Product Card Logic (Specific Overrides) */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.catalog-grid .product-card {
    min-width: 0;
    width: 100%;
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ddd;
    position: relative;
    overflow: hidden;
    /* Important for button clipping if radius */
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-details {
    padding: 0.6rem 0.75rem;
    /* Adjusted padding */
    background-color: #E5E5E5;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-id {
    font-size: 0.6rem;
    color: #444;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: block;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    color: var(--black);
    line-height: 1.1;
}

.product-price,
.product-qty {
    font-size: 0.55rem;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

/* Add to Clipboard Button Overlay */
.btn-add-to-clipboard {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: #f7941d;
    color: #000;
    border: 2px solid #000;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.product-card:hover .btn-add-to-clipboard {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.btn-add-to-clipboard:hover {
    background-color: #f7941d;
    transform: translateX(-50%) scale(1.05) !important;
}

/* ==========================================================================
   PAGE: FAQ (generic section)
   ========================================================================== */

.faq-section {
    padding: 5rem 0;
    background-color: #f2f2f2;
    /* Light gray background matching other sections */
}

@media(max-width: 768px) {
    .faq-section {
        margin-bottom: -150px;
        padding: 0rem 0;
    }
}

.faq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 1100px) {
    .faq-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 4rem;
        align-items: stretch;
        /* Stretch to equal height */
    }
}

/* Left - FAQ Card */
.faq-left {
    flex: 1;
    width: 100%;
}

.faq-card {
    background-color: #f2f2f2;
    /* Light Gray Card */
    border: 3px solid var(--black);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 10px 10px 0px 0px var(--black);
    /* Hard shadow behind */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.faq-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color);
    margin-bottom: 2rem;
}

.faq-items {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #d1d1d1;
}

.faq-item {
    border-bottom: 1px solid #d1d1d1;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    /* Default gray text */
    cursor: pointer;
    transition: color 0.3s;
    font-family: inherit;
}

.faq-item.active .faq-question {
    color: var(--primary-orange);
    /* Active orange */
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    transition: transform 0.3s;
    color: #666;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    margin-bottom: 0;
}

.faq-answer p {
    overflow: hidden;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--color);
    margin: 0;
    padding-right: 1rem;
    padding-bottom: 0;
    transition: padding 0.3s ease-out;
}

.faq-item.active .faq-answer p {
    padding-bottom: 1.5rem;
}

/* Right - Image */
.faq-right {
    flex: 1;
    width: 100%;
}

.faq-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.faq-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Animation Keyframes */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   PAGE: RULES & DOWNLOADS
   ========================================================================== */
.rules-section {
    padding: 2.5rem 0 5rem 0;
    background-color: #f2f2f2;
}

.rules-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.rules-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin: 0;
    letter-spacing: 0.025em;
    font-family: var(--font-primary);
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.rule-number {
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    background-color: var(--primary-orange);
    border: 3px solid var(--black);
    border-radius: 14px;
    /* More squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 5px 5px 0px 0px var(--black);
    /* Deeper shadow */
}

.rule-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--black);
}

.rule-content p {
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
    color: var(--black);
}

/* Downloads Section */
.downloads-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.downloads-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--black);
    margin: 0;
}

.downloads-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--black);
    transition: transform 0.2s;
}

.download-item:hover {
    transform: translateY(-2px);
}

.download-icon {
    width: 2.8rem;
    /* Match number size */
    height: 2.8rem;
    background-color: var(--white);
    border: 3px solid var(--black);
    /* Thicker border */
    border-radius: 14px;
    /* Match number radius */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 0px 0px var(--black);
    /* Deeper shadow */
    transition: box-shadow 0.2s;
}

.download-item:hover .download-icon {
    box-shadow: 2px 2px 0px 0px var(--black);
}

.download-label {
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.3;
}

.rules-contact {
    margin-top: 1rem;
}

.rules-contact .btn-hero {
    width: fit-content;
}

@media (max-width: 900px) {
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .rules-container {
        padding: 0 1.5rem;
    }

    .downloads-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   PAGE: CONTACT & LOCATION (kontakt.html)
   ========================================================================== */

/* Contact Page Section */
.contact-page-section {
    padding: 6rem 0 2rem 0;
    background-color: #f4f4f4;
    /* Light gray background like reference */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    height: auto;
    min-height: 500px;
}

.contact-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Left Column */
.contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
    font-family: var(--font-primary);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon-wrapper {
    width: 2.8rem;
    height: 2.8rem;
    background-color: var(--white);
    border: 3px solid var(--black);
    border-radius: 14px;
    /* Squircle matching other pages */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 0px 0px var(--black);
    /* Hard Shadow matching other pages */
    flex-shrink: 0;
}

.contact-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
}

/* Right Column */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
    font-family: var(--font-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--black);
    background-color: #f2f2f2;
    /* Light Gray Input Background */
    font-family: var(--font-primary);
    font-size: 0.75rem;
    color: var(--black);
    outline: none;
    transition: border-color 0.2s;
}

.contact-input {
    border-radius: 50px;
    /* Pill shape */
    height: 3rem;
}

.contact-textarea {
    border-radius: 20px;
    /* Rounded card */
    resize: vertical;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #888;
    font-weight: 500;
}

.contact-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--black);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}

.contact-checkbox:checked {
    background-color: var(--primary-orange);
}

.contact-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--black);
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
    cursor: pointer;
}

.contact-submit {
    align-self: flex-start;
    margin-top: 1rem;
    width: auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-page-section {
        margin-top: 5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.5rem;
    }

    .contact-title,
    .contact-form-title {
        text-align: left;
    }

    .contact-submit {
        width: fit-content;
    }

    .contact-input,
    .contact-textarea {
        font-size: 13px;
        /* Prevent zoom on iOS */
    }

    .contact-text {
        font-weight: 500;
    }

    .contact-text br {
        display: none;
    }
}

/* Location Section */
.location-section {
    padding: 2rem 0 6rem 0;
    background-color: #f4f4f4;
    /* Same bg as contact section */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 4rem;
    letter-spacing: 0.025em;
    font-family: var(--font-primary);
    text-align: center;
}

.location-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.location-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    letter-spacing: 0.025em;
    font-family: var(--font-primary);
}

.location-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.4;
}

.location-map-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--black);
    /* Optional: based on design vibe */
}

@media (max-width: 900px) {
    .location-section {
        padding-top: 0.5rem;
    }

    .location-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        /* Reduced gap from 3rem */
        padding: 0 1.5rem;
    }

    .location-main-title {
        margin-bottom: 2rem;
        /* Reduced from 4rem */
        text-align: left;
        width: 100%;
        padding-left: 1.5rem;
        font-size: 1.25rem;
        /* Matched standard h2/contact-title size */
    }

    /* Swap Map (now 1) and Info (now 2) */
    .location-map-wrapper {
        order: 1;
        width: 100%;
        height: 300px;
    }

    .location-info {
        order: 2;
        width: 100%;
    }

    .location-text br {
        display: none;
    }
}

/* ==========================================================================
   PAGE: NEWS (aktualnosci.html)
   ========================================================================== */

.news-page-section {
    padding: 6rem 0;
    width: 100%;
    margin-top: 4rem;
    /* Match other pages spacing */
}

.news-page-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-page-header {
    text-align: left;
    margin-bottom: 2rem;
}

.news-page-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1rem;
    letter-spacing: 0.025em;
}

.news-page-desc {
    font-size: 0.75rem;
    color: var(--black);
    line-height: 1.5;
    font-weight: 500;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Add gap between cards */
}

@media(min-width: 768px) {
    .news-item {
        flex-direction: row;
        height: 240px;
        /* Fixed height for consistency */
    }
}

.news-item-content {
    flex: 1 1 0%;
    /* width: 50% removed */
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
    border-radius: 20px;
    /* Moved from parent */
    overflow: hidden;
    /* Moved from parent */
}

@media(max-width: 768px) {
    .news-item-content {
        padding: 1.5rem;
    }
}

.news-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.news-item-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.5;
    max-width: 90%;
}

.news-item-image {
    flex: 1 1 0%;
    /* width: 50% removed to fix gap issue */
    /* Force equal width */
    background-color: #D6442E;
    /* Fallback color matching banners */
    position: relative;
    border-radius: 20px;
    /* Moved from parent */
    overflow: hidden;
    /* Moved from parent */
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   PAGE: OFFER & DETAILS (oferta.html)
   ========================================================================== */

/* Offer Page Section */
.offer-page-section {
    padding: 6rem 0;
    width: 100%;
    margin-top: 4rem;
}

.offer-page-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.offer-page-header {
    margin-bottom: 2rem;
    text-align: left;
}

.offer-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
    letter-spacing: 0.025em;
    line-height: 1;
}

@media(min-width: 768px) {
    .offer-page-title {
        font-size: 2.5rem;
    }
}

.offer-page-desc {
    font-size: 0.75rem;
    color: var(--black);
    line-height: 1.5;
    font-weight: 500;
}

.offer-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.offer-card {
    position: relative;
    height: 180px;
    /* overflow: visible forced */
    overflow: visible !important;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
    /* background-color: transparent; */
    border-radius: 20px;
    /* needed for shape but not clipping */
    z-index: 10;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-orange);
    border-radius: 20px;
    z-index: -1;
    transition: transform 0.3s ease;
}

.offer-card:hover::before {
    transform: translate(6px, 6px);
}

.offer-card:hover {
    transform: none;
    /* Remove scale */
    z-index: 50;
    /* Ensure on top of neighbors */
}

.offer-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
    border-radius: 20px;
    /* Clip image corners */
    position: relative;
    z-index: 1;
}

.offer-card:hover .offer-card-bg {
    filter: brightness(0.9);
    transform: none;
    /* Override earlier scale(1.05) */
}

.offer-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    /* Match image corners */
}

.offer-card-title-overlay {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-orange);
    line-height: 1.1;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@media(max-width: 1100px) {
    .offer-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .offer-page-grid {
        grid-template-columns: 1fr;
    }
}

/* Offer Details Section */
.offer-details-section {
    padding: 2rem 0 6rem 0;
    width: 100%;
}

@media(max-width: 768px) {
    .offer-details-section {
        display: none;
    }
}

.offer-details-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media(min-width: 1100px) {
    .offer-details-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }
}

.offer-details-image-wrapper {
    flex: 1;
    width: 100%;
    /* Max width helps keep image sized reasonably on large screens */
    max-width: 600px;
}

.offer-details-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    /* Aspect ratio square-ish based on reference */
    aspect-ratio: 4 / 3;
}

.offer-details-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 600px;
}

.offer-details-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    letter-spacing: 0.025em;
    margin: 0;
}

.offer-details-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.offer-details-text p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--color);
    font-weight: 500;
    margin: 0;
}

.highlight-orange {
    color: var(--primary-orange);
    font-weight: 700;
}

.offer-details-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}


/* ==========================================================================
   PAGE: TASMY FILEMONA (tasmy-filemona.html)
   ========================================================================== */

.tasmy-hero-section {
    padding: 10rem 2rem 1rem;
    background-color: #f4f4f4;
    /* Light gray background matching screenshot */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tasmy-hero-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
}

.tasmy-hero-logo {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    transform: rotate(-2deg);
    /* Slight rotation like a sticker */
}

.tasmy-products-section {
    background-color: #f4f4f4;
    padding: 0 2rem 6rem;
    min-height: 50vh;
}

.tasmy-products-header {
    max-width: 1300px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tasmy-products-header .section-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--black);
    line-height: 1.1;
}

.btn-esklep {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: url('public/tape-icon.png') no-repeat center center / 100% 100%;
    color: #111;
    padding: 20px 45px;
    font-weight: 400;
    font-size: 0.75rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-esklep:hover {
    transform: rotate(-2deg) scale(1.05);
}


.tasmy-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    /* Reduced gap */
    max-width: 1300px;
    margin: 0 auto;
}

@media(min-width: 500px) {
    .tasmy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 900px) {
    .tasmy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width: 1200px) {
    .tasmy-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        /* Reduced gap constraint */
    }
}

.tasmy-card {
    background-color: var(--white);
    border-radius: 16px;
    /* Slightly reduced radius */
    padding: 1rem;
    /* Reduced padding from 2rem */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.2s;
}

.tasmy-card:hover {
    transform: translateY(-5px);
}

.tasmy-card-image {
    width: 100%;
    height: 65%;
    /* Adjusted height balance */
    display: flex;
    justify-content: center;
    align-items: center;
}

.tasmy-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tasmy-card-title {
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    /* Reduced from 1.6rem */
    font-weight: 800;
    color: #E95D2A;
    text-transform: uppercase;
    margin-top: 0.5rem;
    line-height: 1;
}

.tasmy-about-section {
    padding: 2rem 2rem 8rem;
    background-color: #f4f4f4;
}

.tasmy-about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    /* Center items on mobile */
}

@media(min-width: 992px) {
    .tasmy-about-container {
        flex-direction: row;
        align-items: center;
        /* Vertically align image and text */
        gap: 4rem;
    }
}

.tasmy-about-image-wrapper {
    flex: 1;
    width: 100%;
}

.tasmy-about-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    display: block;
}

.tasmy-about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tasmy-about-title {
    font-size: 1.5rem;
    /* Matches adjusted section title size */
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.tasmy-about-text p {
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.tasmy-about-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.btn-tape {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: url('public/tape-icon.png') no-repeat center center / 100% 100%;
    color: #111;
    padding: 20px 45px;
    font-weight: 400;
    font-size: 0.75rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    text-decoration: none;
    transition: transform 0.2s;
}

/* Add slight rotation variation */
.btn-tape-left {
    transform: rotate(-1deg);
}

.btn-tape-right {
    transform: rotate(1deg);
}

.btn-tape:hover {
    transform: scale(1.05) rotate(0deg);
}

/* ==========================================================================
   PAGE: SINGLE PRODUCT (rekwizyt.html)
   ========================================================================== */

/* Add to Clipboard Button (Specific to Product Page) */
/* (Reused from Global .product-card .btn-add-to-clipboard if used in cards, 
   but rekwizyt.html has specific large buttons too) */

.product-card .product-img-wrapper {
    position: relative;
    overflow: hidden;
    /* Ensure button stays within rounded corners if any */
}

.product-page-main {
    padding-top: 140px;
    /* Offset for fixed header - reduced for mobile */
    padding-bottom: 3rem;
    background-color: #f4f4f4;
    min-height: 80vh;
}

@media(min-width: 992px) {
    .product-page-main {
        padding-top: 130px;
        padding-bottom: 4rem;
    }
}

.product-page-container {
    max-width: 1300px;
    width: 100%;
    min-width: 0;
    /* Allow shrinking in flex container */
    margin: 0 auto;
    padding: 0 2rem;
}

.product-breadcrumbs {
    font-size: 0.8rem;
    color: var(--black);
    margin-bottom: 2rem;
    font-weight: 500;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.product-breadcrumbs li {
    display: inline-block;
}

.product-breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin: 0 0.5rem;
    font-weight: 500;
}

.product-breadcrumbs a {
    color: var(--black);
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    text-decoration: underline;
}

.product-breadcrumbs li[aria-current="page"] {
    font-weight: 400;
}

/* Layout Wrapper */
.product-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    min-width: 0;
    /* Allow shrinking */
}

@media(min-width: 992px) {
    .product-content-wrapper {
        flex-direction: row;
        gap: 4rem;
        align-items: flex-start;
    }
}

/* Gallery */
.product-gallery {
    flex: 1.2;
    display: flex;
    gap: 1rem;
    flex-direction: column-reverse;
    /* Mobile default: image top, thumbs bottom */
}

@media(min-width: 992px) {
    .product-gallery {
        flex-direction: row !important;
    }
}

.product-thumbnails {
    display: flex;
    flex-direction: row;
    /* Mobile default: horizontal row */
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    /* Scroll if too many */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    padding-bottom: 5px;
    /* Space for scrollbar if visible */
}

.product-thumbnails::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

@media(min-width: 992px) {
    .product-thumbnails {
        flex-direction: column;
        justify-content: space-between;
        width: 80px;
        overflow-x: visible;
        height: 100%;
        /* Ensure it stretches if needed, or depends on content */
        padding-bottom: 0;
    }
}

.thumb-item {
    width: 70px;
    /* Slightly smaller on mobile */
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
}

@media(min-width: 992px) {
    .thumb-item {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }
}

.thumb-item:focus {
    outline: 2px solid #f7941d;
    outline-offset: 2px;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background: transparent;
}

.thumb-item:hover {
    border: 1px solid #000;
}

.product-main-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    /* In case image is transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    max-width: 100%;
    /* Ensure it doesn't overflow parent */
    width: 100%;
}

.product-main-image .main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    width: 40px;
    display: none;
}

.gallery-arrow:hover {
    opacity: 1;
}

.arrow-prev {
    left: 10px;
}

.arrow-next {
    right: 10px;
}

/* Product Info */
.product-info-panel {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-product-title {
    font-size: 1.25rem;
    /* Smaller on mobile */
    font-weight: 600;
    /* Match other headers */
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    color: var(--black);
}

@media(min-width: 992px) {
    .single-product-title {
        font-size: 1.5rem;
    }
}

.product-sku {
    font-size: 0.75rem;
    font-weight: 500;
    color: #666;
    margin: 0.1rem 0 0.5rem 0;
}

.single-product-price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.single-product-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #444;
    margin-bottom: 0.5rem;
}

.desc-text {
    margin: 0;
}

.desc-text.collapsed {
    overflow: hidden;
    text-overflow: ellipsis;
}

.desc-toggle-btn {
    background: none;
    border: none;
    color: #f7941d;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
    text-decoration: underline;
    transition: color 0.2s;
}

.desc-toggle-btn:hover {
    color: #d67d1a;
}

/* Controls Row */
.product-actions-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 2px solid #000;
    border-radius: 0.75rem;
    padding: 10px 20px;
    font-weight: 500;
    background: #fff;
    min-width: 100px;
    box-shadow: 4px 4px 0px 0px #000;
}

.qty-btn {
    background: #fff;
    border: 2px solid #000;
    border-radius: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all 0.2s;
    box-shadow: 4px 4px 0px 0px #000;
}

.qty-btn:hover {
    background-color: #f7941d;
    transform: translateY(-2px);
}

.qty-btn:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0px 0px #000;
}

.qty-val {
    font-size: 1.2rem;
    font-weight: 600;
}

.qty-unit {
    font-size: 0.8rem;
    opacity: 0.7;
}

.size-info {
    border: 2px solid #000;
    padding: 10px 20px;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    background: #fff;
    box-shadow: 4px 4px 0px 0px #000;
    width: fit-content;
    text-align: center;
    display: block;
}

.btn-add-to-clipboard-large {
    background-color: #f7941d;
    color: #000;
    border: 2px solid #000;
    padding: 12px 20px;
    border-radius: 0.75rem;
    font-weight: 500;
    /* Reduced from 700 */
    text-transform: none;
    /* Reference says "Dodaj do schowka" */
    font-size: 0.9rem;
    box-shadow: 4px 4px 0px 0px #000;
    cursor: pointer;
    transition: transform 0.1s;
    width: 100%;
    /* Full width on mobile */
    display: block;
    text-align: center;
}

@media(min-width: 768px) {
    .btn-add-to-clipboard-large {
        width: fit-content;
        text-align: left;
    }
}

.btn-add-to-clipboard-large:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.product-id-box {
    border: 2px solid #000;
    padding: 8px 20px;
    border-radius: 0.75rem;
    font-weight: 500;
    /* Reduced from 700 */
    font-size: 0.8rem;
    width: fit-content;
    background: #fff;
    box-shadow: 4px 4px 0px 0px #000;
}

.product-extra-info {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-icon {
    width: 48px;
    height: auto;
    flex-shrink: 0;
}

.info-item p {
    font-size: 0.6rem;
    line-height: 1.4;
    color: #000;
    font-weight: 500;
    /* Reduced from 600 */
    margin: 0;
}

/* ==========================================================================
   REKWIZYTY FILMOWE PAGE
   ========================================================================== */

.film-hero-section {
    position: relative;
    height: 65vh;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-image: url('public/rekwizyty_dla_kina-min.png');
    background-size: cover;
    background-position: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.film-hero-container {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 10;
}

.film-hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1.5rem 2rem;
}

@media (min-width: 768px) {
    .film-hero-content {
        padding: 3rem 2rem 2.5rem;
    }
}


.film-hero-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.film-hero-title {
    font-size: 1.8rem;
    font-weight: 650;
    color: var(--primary-orange);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media(min-width: 768px) {
    .film-hero-title {
        font-size: 2.5rem;
    }
}

.film-hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1100px) {


    .film-hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {


    .film-hero-subtitle {
        font-size: 1rem;
    }
}

.film-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.film-hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Content Section */
.film-content-section {
    width: 100%;
    background-color: #f2f2f2;
    border-radius: 20px;
    padding: 4rem 0;
    margin: 2rem 0 1rem 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .film-content-section {
        padding: 3rem 0 1.5rem 0;
        margin-bottom: 0;
    }
}

.film-content-container {
    width: 100%;
    margin: 0;
    padding: 0;
}

.film-content-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0rem;
    line-height: 1.4;
    color: var(--black);
    letter-spacing: 0.025em;
    max-width: 800px;
}

@media (min-width: 1100px) {
    .film-content-title {
        font-size: 1.2rem;
    }
}

.film-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 100%;
}

@media (min-width: 1100px) {
    .film-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.film-text {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--black);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.text-orange {
    color: var(--primary-orange);
    font-weight: 700;
}

.film-content-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Products Section */
.film-products-section {
    width: 100%;
    padding: 0 0 5rem 0;
    box-sizing: border-box;
    margin: 0;
}

@media (max-width: 768px) {
    .film-products-section {
        padding: 0 0 2rem 0;
    }
}

.film-products-text-container {
    margin-bottom: 4rem;
    max-width: 100%;
}

.film-products-text-container p {
    margin-bottom: 1.5rem;
}

.film-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.film-products-grid .product-card {
    min-width: 0;
    /* Allow shrinking to fit grid */
    background-color: #E5E5E5;
    /* Match reference gray */
}

@media (max-width: 1200px) {
    .film-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .film-products-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        gap: 1rem;
    }

    .film-products-grid .product-card {
        min-width: 280px;
        /* Restore min-width for scroll functionality */
        flex-shrink: 0;
    }
}

/* --- Feature Sections --- */

.film-feature-section {
    width: 100%;
    margin-bottom: 1rem;
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    /* Vertically center content */
}

@media (min-width: 1100px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* Image Column & Offset Background */
.feature-image-col {
    display: flex;
    justify-content: center;
    /* or flex-end? */
    padding: 1.5rem;
    /* Space for offset */
}

.feature-image-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
}

.feature-image-bg {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 100%;
    height: 100%;
    background-color: var(--primary-orange);
    border-radius: 20px;
    z-index: 0;
}

.feature-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Numbered List */
.feature-list-col {
    padding-left: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-list-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}



.feature-list-content {
    flex: 1;
}

.feature-list-content h4 {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.feature-list-content p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--black);
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   SCROLL ANIMATIONS & HERO INTRO
   ========================================================================== */

/* 1. Scroll Reveal Animations (Smoother) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 2. Hero Section Intro Animations (On Load) */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-animate {
    opacity: 0;
    /* Start hidden */
    animation: heroFadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Staggered delays for Hero and Scroll */
.delay-100 {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
    animation-delay: 0.5s;
}

/* Ensure content is visible if JS fails/disabled or printed */
@media print {

    .reveal,
    .reveal-left,
    .reveal-right,
    .hero-animate {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================================================
   REGULAMIN PAGE
   ========================================================================== */

.regulamin-section {
    padding: 4rem 1.5rem;
    margin: 6rem 0 2rem 0;
    min-height: 60vh;
}

.regulamin-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.regulamin-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--black);
    text-align: center;
}

.regulamin-iframe-wrapper {
    width: 100%;
    height: 800px;
    border: 2px solid var(--black);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.regulamin-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media(max-width: 768px) {
    .regulamin-iframe-wrapper {
        height: 500px;
    }

    .regulamin-title {
        font-size: 1.5rem;
    }
}