/* =================================
   ROOT VARIABLES
================================= */

:root {
    --gb-green: #2E7572;
    --gb-orange: #FEA637;
    --gb-dark: #2F4F4D;
    --gb-cream: #F5F1EB;
    --gb-beige: #D9D2C8;
    --gb-black: #1E2523;
    --gb-white: #FFFFFF;
    --gb-text: #303330;
    --gb-muted: #686864;
}

/* =================================
   HEADER
================================= */

.vc_row.tdi_18.site-header.wpb_row.td-pb-row {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

.td-header-desktop-wrap {
    background: #fff;
    border-bottom: 1px solid #D9D2C8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#td-outer-wrap {
    background-color: #F6F1EB;
}



/* =================================
   BASE
================================= */

.gb-accesoriu-silobag,
.gb-accesoriu-silobag * {
    box-sizing: border-box;
}

.gb-accesoriu-silobag {
    font-family: 'Montserrat', sans-serif;
    color: var(--gb-text);
    background: var(--gb-white);
}

.gb-accesoriu-silobag .gb-container {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
}


/* =================================
   TYPOGRAPHY
================================= */

.gb-accesoriu-silobag h1,
.gb-accesoriu-silobag h2,
.gb-accesoriu-silobag h3 {
    color: var(--gb-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.gb-accesoriu-silobag h1 {
    margin: 0 0 24px;
    max-width: 600px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

.gb-accesoriu-silobag h2 {
    margin: 0 0 22px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.15;
}

.gb-accesoriu-silobag h3 {
    font-size: 22px;
    line-height: 1.25;
}

.gb-accesoriu-silobag p {
    font-size: 16px;
    line-height: 1.75;
}

.gb-accesoriu-silobag .section-title-p {
    margin: 0 0 14px;
    color: var(--gb-orange);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* =================================
   BUTTON
================================= */

.gb-accesoriu-silobag .btn-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 20px;
    color: var(--gb-orange);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.gb-accesoriu-silobag .btn-frame:hover {
    color: var(--gb-dark);
}


/* =================================
   BREADCRUMBS
================================= */

.gb-accesoriu-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 32px;
    color: var(--gb-muted);
    font-size: 12px;
    line-height: 1.4;
}

.gb-accesoriu-breadcrumbs a {
    color: var(--gb-muted);
    text-decoration: none;
    transition: color .2s ease;
}

.gb-accesoriu-breadcrumbs a:hover {
    color: var(--gb-green);
}

.gb-accesoriu-breadcrumbs span {
    color: var(--gb-beige);
}

.gb-accesoriu-breadcrumbs .current {
    color: var(--gb-dark);
    font-weight: 600;
}


/* =================================
   HERO
================================= */

.gb-accesoriu-hero {
    padding-bottom: 40px;
    background: var(--gb-cream);
}

.gb-accesoriu-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    align-items: center;
    gap: 80px;
    padding-top: 40px;
}


/* =================================
   HERO CONTENT
================================= */

.gb-accesoriu-hero-content {
    max-width: none;
}

.gb-accesoriu-hero-description {
    max-width: 540px;
    margin-bottom: 30px;
    color: var(--gb-text);
    font-size: 15px;
    line-height: 1.8;
}

.gb-accesoriu-hero-description p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
}

.gb-accesoriu-hero-description p:last-child {
    margin-bottom: 0;
}


/* =================================
   CHECK LIST
================================= */

.gb-accesoriu-hero-description .gb-check-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.gb-accesoriu-hero-description .gb-check-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 28px;
    color: var(--gb-text);
    font-size: 15px;
    line-height: 1.7;
}

.gb-accesoriu-hero-description .gb-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: var(--gb-orange);
    font-weight: 700;
}


/* =================================
   HERO IMAGE
================================= */

.gb-accesoriu-hero-image {
    width: 100%;
    max-width: 680px;
    height: 440px;
    overflow: hidden;
    background: var(--gb-white);
}

.gb-accesoriu-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =================================
   RELATED ACCESSORIES
================================= */

.gb-accesorii-related {
    padding: 80px 0;
}

.gb-accesoriu-section-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.gb-accesoriu-section-heading h2 {
    margin-bottom: 18px;
}

.gb-accesoriu-section-heading > p:last-child {
    margin: 0;
    color: var(--gb-muted);
}

.gb-accesorii-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =================================
   RELATED CARD
================================= */

.gb-accesoriu-card-related {
    overflow: hidden;
    background: rgba(226, 218, 207, 0.35);
    border-radius: 8px;
    transition: transform .25s ease;
}

.gb-accesoriu-card-related:hover {
    transform: translateY(-4px);
}

.gb-accesoriu-card-related a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.gb-accesoriu-card-related img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.gb-accesoriu-card-content {
    padding: 25px 26px 28px;
}

.gb-accesoriu-card-content h3 {
    margin: 0 0 15px;
    font-size: 20px;
}

.gb-accesoriu-card-description {
    display: -webkit-box;
    margin: 0 0 15px;
    overflow: hidden;
    color: var(--gb-text);
    font-size: 14px !important;
    line-height: 1.6;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.gb-card-link {
    color: var(--gb-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}


/* =================================
   CTA
================================= */

.gb-accesoriu-cta {
    padding: 80px 0;
    background: var(--gb-cream);
}

.gb-accesoriu-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.gb-accesoriu-cta-left {
    display: flex;
    flex-direction: column;
}

.gb-accesoriu-cta-left .section-title-p {
    justify-content: flex-start;
}

.gb-accesoriu-cta-left .gb-accesoriu-section-heading {
    margin-bottom: 35px;
    text-align: left;
}

.gb-accesoriu-cta-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.gb-accesoriu-cta-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-accesoriu-form {
    width: 100%;
}

span.wpcf7-spinner{
    display: none;
}

/* NOTE: template markup uses .gb-utilaj-form as the CF7 wrapper class,
not .gb-contact-form — confirm which is correct before relying on this rule */
.gb-contact-form .btn-frame {
    padding: 0px !important;
}

.gb-contact-form .btn-frame input {
    background: transparent !important;
    color: #FEA637;
    border: 0px;
    text-transform: uppercase;
    font-weight: 600;
}

.gb-contact-form .btn-frame input:hover {
    color: #2F4F4D;
}




/* =================================
   TABLET
================================= */

@media (max-width: 1100px) {

    .gb-accesoriu-silobag .gb-container {
        width: min(100% - 48px, 1280px);
    }

    .gb-accesoriu-hero-grid {
        gap: 50px;
    }

    .gb-accesoriu-hero-image {
        height: 420px;
    }

}


/* =================================
   TABLET - 900px
================================= */

@media (max-width: 900px) {

    .gb-accesoriu-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .gb-accesoriu-hero-content {
        order: 2;
    }

    .gb-accesoriu-hero-image {
        order: 1;
        max-width: none;
        height: 460px;
    }

    .gb-accesorii-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gb-accesoriu-cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gb-accesoriu-cta-left .gb-accesoriu-section-heading {
        text-align: center;
    }

    .gb-accesoriu-cta-left .section-title-p{
        justify-content: center;
    }

}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .gb-accesoriu-silobag .gb-container {
        width: calc(100% - 32px);
        padding: 0px;
    }

    .gb-accesoriu-hero {
        padding: 45px 0 55px;
    }

    .gb-accesoriu-silobag h1 {
        font-size: 32px;
    }

    .gb-accesoriu-silobag h2 {
        font-size: 29px;
    }

    .gb-accesoriu-hero-image {
        height: 280px;
    }

    .gb-accesoriu-hero-description {
        font-size: 14px;
    }

    .gb-accesoriu-hero-description p,
    .gb-accesoriu-hero-description .gb-check-list li {
        font-size: 14px;
        line-height: 1.75;
    }

    .gb-accesoriu-hero-description .gb-check-list li {
        padding-left: 26px;
    }

    .gb-accesorii-related {
        padding: 65px 0;
    }

    .gb-accesorii-grid {
        grid-template-columns: 1fr;
    }

    .gb-accesoriu-card-related img {
        height: 230px;
    }

    .gb-accesoriu-cta {
        padding: 55px 0;
    }

    .gb-accesoriu-cta h2 {
        font-size: 30px;
    }

}