/* Spanning full screen and breaking out of default containers */
.sbc-b265-section-wrap {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.sbc-b265-section {
    position: relative;
    overflow: hidden;
}

.sbc-b265-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Subtle organic background decorations */
.sbc-b265-decor {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-color: #165a32;
    opacity: 0.04;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}
.sbc-b265-decor-left {
    top: 10%;
    left: -100px;
}
.sbc-b265-decor-right {
    bottom: 10%;
    right: -100px;
}

/* Header & Typography Defaults */
.sbc-b265-header {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}
.sbc-b265-align-left { text-align: left; }
.sbc-b265-align-center { text-align: center; }
.sbc-b265-align-right { text-align: right; }

.sbc-b265-title {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.sbc-b265-divider {
    width: 60px;
    height: 3px;
    margin: 16px auto;
    border-radius: 2px;
}
.sbc-b265-align-left .sbc-b265-divider { margin-left: 0; }
.sbc-b265-align-right .sbc-b265-divider { margin-right: 0; }

.sbc-b265-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    margin: 16px 0 0 0;
    line-height: 1.6;
}

/* Grid Layout definitions */
.sbc-b265-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

/* Category Card Structure */
.sbc-b265-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.35s ease;
}

.sbc-b265-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(22, 90, 50, 0.16) !important;
    border-color: #165a32 !important;
}

/* Image container & Zoom */
.sbc-b265-img-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.sbc-b265-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sbc-b265-zoom-active:hover .sbc-b265-img {
    transform: scale(1.08);
}

/* Hover overlay */
.sbc-b265-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.sbc-b265-img-container:hover::after {
    opacity: 1;
}

/* Badges */
.sbc-b265-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 3;
}

/* Card Body */
.sbc-b265-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    box-sizing: border-box;
}

.sbc-b265-card-title {
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.sbc-b265-card-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    margin: 0 0 20px 0;
    line-height: 1.5;
    flex-grow: 1;
}

.sbc-b265-card-btn {
    align-self: center;
    text-decoration: none;
    padding: 10px 24px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}
.sbc-b265-card-btn:active {
    transform: scale(0.97);
}

/* Footer Collections Button */
.sbc-b265-footer {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sbc-b265-footer-btn {
    text-decoration: none;
    padding: 14px 36px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box;
}
.sbc-b265-footer-btn:active {
    transform: scale(0.97);
}

/* Grid Breakpoints responsive */
@media (max-width: 1024px) {
    .sbc-b265-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .sbc-b265-grid {
        grid-template-columns: 1fr;
    }
    .sbc-b265-title {
        font-size: 30px;
    }
    .sbc-b265-subtitle {
        font-size: 14px;
    }
}
