
/* Defensive layout reset for Elementor/WooCommerce theme updates. */
.gbps-section,
.gbps-section * {
    box-sizing: border-box;
}
.gbps-section .gbps-slider-shell,
.gbps-section .gbps-viewport,
.gbps-section .gbps-track {
    width: 100%;
}
.gbps-section .gbps-viewport {
    overflow: hidden !important;
}
.gbps-section .gbps-track {
    display: flex !important;
    flex-wrap: nowrap !important;
}
.gbps-section .gbps-slide {
    display: block;
    min-width: 0;
}
.gbps-section .gbps-product-card {
    display: flex;
}

.gbps-section {
    background: #f6f2eb;
    padding: 42px 22px;
    border-radius: 28px;
}

.gbps-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.gbps-header {
    text-align: center;
    margin-bottom: 28px;
}

.gbps-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #c79a43;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gbps-eyebrow::before,
.gbps-eyebrow::after {
    content: "";
    width: 42px;
    height: 2px;
    background: #c79a43;
    border-radius: 999px;
}

.gbps-title {
    margin: 16px 0 12px;
    color: #102c57;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 60px);
    line-height: 1.08;
}

.gbps-subtitle {
    max-width: 880px;
    margin: 0 auto;
    color: #5d6674;
    font-size: 17px;
    line-height: 1.7;
}

.gbps-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 26px;
}

.gbps-filter {
    border: 1px solid #d8d2c9;
    background: rgba(255,255,255,.7);
    color: #364152;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
}

.gbps-filter:hover,
.gbps-filter.is-active {
    color: #c79a43;
    border-color: #c79a43;
    background: #fff;
}

.gbps-slider-shell {
    position: relative;
    background: transparent;
}

.gbps-viewport {
    overflow: hidden;
    background: transparent;
}

.gbps-track {
    --gbps-visible: 4;
    display: flex;
    gap: 22px;
    transition: transform .35s ease;
    will-change: transform;
    background: transparent;
}

.gbps-slide {
    flex: 0 0 calc((100% - (22px * (var(--gbps-visible) - 1))) / var(--gbps-visible));
    min-width: 0;
    background: transparent;
}

.gbps-product-card {
    height: 100%;
    background: #fff;
    border-radius: 24px;
    box-shadow: none;
    border: 1px solid rgba(16,44,87,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gbps-image-link {
    display: block;
    position: relative;
    background: #fff;
    padding: 18px 18px 0;
}

.gbps-product-image {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    object-fit: contain;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #faf8f4 100%);
}

.gbps-sale-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #c79a43;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    z-index: 2;
}

.gbps-product-content {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.gbps-category {
    margin-bottom: 8px;
    color: #c79a43;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gbps-product-title {
    margin: 0 0 12px;
    color: #102c57;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.gbps-product-title a {
    color: inherit;
    text-decoration: none;
}

.gbps-rating {
    margin-bottom: 12px;
}

.gbps-product-footer {
    margin-top: auto;
}

.gbps-price {
    color: #c79a43;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 14px;
}

.gbps-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    background: #102c57;
    color: #fff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    box-shadow: 0 10px 24px rgba(16,44,87,.18);
}

.gbps-product-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(16,44,87,.24);
}

.gbps-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(16,44,87,.10);
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 26px rgba(16,44,87,.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #102c57;
    padding: 0;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, opacity .18s ease;
}

.gbps-arrow:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 14px 30px rgba(16,44,87,.18);
    background: #fff;
}

.gbps-arrow:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.gbps-arrow--prev { left: -14px; }
.gbps-arrow--next { right: -14px; }

.gbps-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #102c57;
    stroke-width: 2.15;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gbps-arrow-icon--left {
    transform: rotate(180deg);
}

.gbps-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.gbps-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(16,44,87,.18);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease;
}

.gbps-dot.is-active {
    background: #c79a43;
    transform: scale(1.15);
}

.gbps-empty {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,.72);
    border-radius: 20px;
    color: #5d6674;
}

@media (max-width: 1199px) {
    .gbps-arrow--prev { left: -8px; }
    .gbps-arrow--next { right: -8px; }
}

@media (max-width: 1024px) {
    .gbps-track {
        gap: 18px;
    }

    .gbps-slide {
        flex-basis: calc((100% - (18px * (var(--gbps-visible) - 1))) / var(--gbps-visible));
    }

    .gbps-arrow {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 767px) {
    .gbps-section {
        padding: 28px 16px;
        border-radius: 20px;
    }

    .gbps-title {
        font-size: 32px;
    }

    .gbps-subtitle {
        font-size: 15px;
    }

    .gbps-filters {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .gbps-arrow {
        width: 38px;
        height: 38px;
        box-shadow: 0 8px 20px rgba(16,44,87,.14);
    }

    .gbps-arrow--prev { left: 4px; }
    .gbps-arrow--next { right: 4px; }

    .gbps-arrow svg {
        width: 16px;
        height: 16px;
    }
}

.gbps-attributes {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
}

.gbps-attribute {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: #5d6674;
    font-size: 14px;
    line-height: 1.45;
}

.gbps-attribute-label {
    color: #102c57;
    font-weight: 700;
}

.gbps-attribute-values {
    color: inherit;
}

/* Mobile swipe and drag support */
.gbps-viewport {
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.gbps-viewport:active {
    cursor: grabbing;
}

.gbps-track.is-dragging {
    transition: none;
}

.gbps-slide[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .gbps-track {
        transition-duration: .28s;
    }

    .gbps-slider-shell {
        padding-inline: 0;
    }
}


/* v1.0.9: keep product links clickable inside Elementor templates. */
.gbps-section .gbps-image-link,
.gbps-section .gbps-product-title a,
.gbps-section .gbps-product-button {
    position: relative;
    z-index: 3;
    pointer-events: auto !important;
    cursor: pointer;
}
.gbps-section .gbps-viewport {
    touch-action: pan-y;
}

/* v1.0.10: remove the extra outer frame on mobile. */
@media (max-width: 767px) {
  .gbps-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
    background: transparent !important;
  }
  .gbps-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .gbps-slider-shell {
    border-radius: 18px !important;
    box-shadow: none !important;
  }
}
