/* =============================================
   Shop Pages Styles – garden.eco
   ============================================= */

/* Font Faces */
@font-face {
    font-family: 'Futura PT Medium';
    src: url('img/shop/FuturaPTMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura PT';
    src: url('img/shop/FuturaPTDemi.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Hero Banner */
.shop-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2e6a4c;
}

.shop-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.shop-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 20px 120px;
    max-width: 1200px;
}

.shop-hero__subtitle {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 400;
    color: #fff;
}

.shop-hero__title {
    font-family: 'Futura PT Medium', 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
}

/* Products Section */
.shop-products {
    padding: 0 0 3rem;
}

.shop-products .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Card (Shop overview) */
.shop-product-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e8e8e8;
}

.shop-product-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-product-card__image {
    flex: 0 0 420px;
    max-width: 420px;
}

.shop-product-card__image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.shop-product-card__info {
    flex: 1;
}

.shop-product-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #262627;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.shop-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.shop-product-card__title a:hover {
    color: #2e6a4c;
}

.shop-product-card__description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.25rem;
}

.shop-product-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #262627;
    margin-bottom: 1.5rem;
}

.shop-product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Buttons */
.shop-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.4;
}

.shop-btn--primary {
    background-color: #2e6a4c;
    color: #fff;
    border: 2px solid #2e6a4c;
}

.shop-btn--primary:hover {
    background-color: #245839;
    border-color: #245839;
    color: #fff;
    text-decoration: none;
}

.shop-btn--secondary {
    background-color: transparent;
    color: #2e6a4c;
    border: 2px solid #2e6a4c;
}

.shop-btn--secondary:hover {
    background-color: #2e6a4c;
    color: #fff;
    text-decoration: none;
}

.shop-btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* =============================================
   Product Detail Page
   ============================================= */

.shop-product-detail {
    padding: 0 0 3rem;
}

.shop-product-detail .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-product-detail__grid {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.shop-product-detail__image {
    flex: 0 0 480px;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.shop-product-detail__info {
    flex: 1;
}

.shop-product-detail__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #262627;
    margin: 0 0 1rem;
    line-height: 1.3;
}

.shop-product-detail__description {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.25rem;
}

.shop-product-detail__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #262627;
    margin-bottom: 0.25rem;
}

.shop-product-detail__tax-note {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.shop-product-detail__actions {
    margin-top: 0.5rem;
}

/* =============================================
   Extras Banner Section
   ============================================= */

.shop-extras-banner {
    padding: 0;
    margin-bottom: 0;
}

.shop-extras-banner .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-extras-banner__grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    background-color: rgb(239, 240, 235);
}

.shop-extras-banner__image {
    width: 500px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.shop-extras-banner__content {
    width: 500px;
    flex-shrink: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-extras-banner__content h2 {
    font-size: 48px;
    font-weight: 400;
    color: rgb(18, 18, 18);
    margin-bottom: 30px;
    line-height: 1.2;
}

.shop-extras-banner__content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.shop-extras-banner__content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(18, 18, 18, 0.75);
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.shop-extras-banner__content ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: rgb(18, 18, 18);
    font-weight: bold;
}

.shop-extras-banner__content ul li strong {
    font-weight: 700;
    color: rgb(18, 18, 18);
}

.shop-extras-banner__cta {
    display: inline-flex;
    background-color: #4b8764;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.shop-extras-banner__cta:hover {
    background-color: #3d6f52;
    color: #ffffff;
    text-decoration: none;
}

/* =============================================
   FAQ Section
   ============================================= */

.shop-faq {
    padding: 3rem 0;
}

.shop-faq .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-faq__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #262627;
    text-align: center;
    margin: 0 0 2rem;
}

.shop-faq__item {
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
}

.shop-faq__item:first-child {
    border-top: 1px solid #e8e8e8;
}

.shop-faq__question {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #262627;
    padding: 1.1rem 2rem 1.1rem 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.5;
}

.shop-faq__question::-webkit-details-marker {
    display: none;
}

.shop-faq__question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: #2e6a4c;
    transition: transform 0.2s ease;
}

.shop-faq__item[open] .shop-faq__question::after {
    content: "\2212";
}

.shop-faq__answer {
    padding: 0 0 1.25rem;
}

.shop-faq__answer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.shop-faq__answer a {
    color: #2e6a4c;
    text-decoration: underline;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1040px) {
    .shop-extras-banner__grid {
        max-width: 100%;
    }
    .shop-extras-banner__image {
        width: 50%;
    }
    .shop-extras-banner__content {
        width: 50%;
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .shop-hero__content {
        padding: 20px 60px;
    }
    .shop-hero__subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
    .shop-hero__title {
        font-size: 2.5rem;
    }

    .shop-product-card {
        flex-direction: column;
        gap: 1.5rem;
    }
    .shop-product-card__image {
        flex: none;
        max-width: 100%;
    }

    .shop-product-detail__grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .shop-product-detail__image {
        flex: none;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .shop-extras-banner__grid {
        flex-direction: column;
        gap: 0;
    }
    .shop-extras-banner__image {
        width: 100%;
        min-height: 300px;
    }
    .shop-extras-banner__content {
        width: 100%;
        padding: 25px;
    }
    .shop-extras-banner__content h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .shop-product-card__actions {
        flex-direction: column;
    }
    .shop-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        height: 360px;
    }
    .shop-hero__content {
        padding: 20px 40px;
    }
    .shop-hero__title {
        font-size: 2.5em;
    }
    .shop-hero__subtitle {
        font-size: 0.75rem;
    }

    .shop-product-card__title,
    .shop-product-detail__title {
        font-size: 1.3rem;
    }

    .shop-extras-banner__content h2 {
        font-size: 28px;
    }
    .shop-extras-banner__content ul li {
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.6;
    }
    .shop-extras-banner__cta {
        padding: 12px 30px;
        font-size: 14px;
    }

    .shop-faq__title {
        font-size: 1.4rem;
    }
}

/* =============================================
   Inline Shop Banner (Blog Posts) – Box Design
   ============================================= */

.gj-shop-banner {
    max-width: 780px;
    width: 100%;
    margin: 25px 0;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background-color: #f1f3ed;
    overflow: hidden;
}

.gj-shop-banner .banner-image {
    position: relative;
    background-image: url('img/shop/hintergrund.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
}

.gj-shop-banner .product-img-wrap {
    position: absolute;
    inset: 5%;
    background-image: url('img/shop/gartenjournal-vegetable-gardenbed-planner-small.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.gj-shop-banner .download-badge {
    position: absolute;
    bottom: 8px;
    left: 16px;
    width: 56px;
    height: 56px;
    background-image: url('img/shop/download.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

.gj-shop-banner .banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 21px;
}

.gj-shop-banner .banner-header {
    margin-bottom: 14px !important;
}

.gj-shop-banner .banner-pre-title {
    font-family: 'Futura PT', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    color: #616163 !important;
    line-height: 1.4 !important;
}

.gj-shop-banner .banner-title {
    font-family: 'Futura PT', sans-serif !important;
    font-weight: 600 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #4b8763 !important;
    transition: none !important;
}

.gj-shop-banner .banner-title.skip-toc {
    margin: 0 !important;
    padding: 0 !important;
}

.gj-shop-banner .banner-list {
    margin-bottom: 14px;
}

.gj-shop-banner .banner-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gj-shop-banner .banner-list li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 28px !important;
    position: relative;
}

.gj-shop-banner .banner-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 4px !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url('img/shop/stichpunkt.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

.gj-shop-banner .banner-list strong {
    font-weight: 600;
    color: #3d3c3c;
}

.gj-shop-banner .banner-button {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    color: #ffffff;
    align-self: flex-start;
    background-color: #4b8763;
}

.gj-shop-banner .banner-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .gj-shop-banner {
        grid-template-columns: 250px 1fr;
    }
    .gj-shop-banner .banner-image {
        min-height: 280px;
    }
    .gj-shop-banner .banner-content {
        padding: 20px;
    }
    .gj-shop-banner .banner-title {
        font-size: 22px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .gj-shop-banner .banner-list li {
        font-size: 13px;
        padding-left: 24px !important;
    }
    .gj-shop-banner .banner-list li::before {
        width: 16px !important;
        height: 16px !important;
        top: 3px !important;
        left: 0 !important;
    }
}

@media (max-width: 767px) {
    .gj-shop-banner {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }
    .gj-shop-banner .banner-image {
        min-height: 300px;
    }
    .gj-shop-banner .download-badge {
        width: 48px;
        height: 48px;
        bottom: 6px;
        left: 12px;
    }
    .gj-shop-banner .banner-content {
        padding: 20px;
    }
    .gj-shop-banner .banner-pre-title {
        font-size: 12px !important;
        letter-spacing: 1px !important;
        font-weight: 600 !important;
        margin: 0 0 3px 0 !important;
        padding: 0 !important;
    }
    .gj-shop-banner .banner-title {
        font-size: 26px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .gj-shop-banner .banner-list {
        margin-bottom: 14px;
    }
    .gj-shop-banner .banner-list li {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 8px;
        padding-left: 28px !important;
    }
    .gj-shop-banner .banner-list li::before {
        width: 18px !important;
        height: 18px !important;
        top: 4px !important;
        left: 0 !important;
    }
    .gj-shop-banner .banner-button {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 10px 20px;
    }
}
