/* ==========================================================================
   Other Sizes Section - Dumpster Size Page Specific
   ========================================================================== */

/* Section Container */
.other-sizes-section {
    background-color: var(--bg-gray);
    padding: 80px 0;
}

.other-sizes-container {
    max-width: var(--container-xxl);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Section Header */
.other-sizes-title {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.other-sizes-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
}

/* Grid Layout - Desktop (4 columns) */
.other-sizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* Size Card */
.other-size-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #757575;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--spacing-lg);
}

.other-size-card:hover {
    box-shadow: 0px 4px 40px 0px #00000033;
    background-color: white;
}

.other-size-card:hover {
    color: unset;
}

/* Image Wrapper */
.other-size-image-wrapper {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 -var(--spacing-lg);
    width: calc(100% + calc(var(--spacing-lg) * 2));
}

.other-size-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0 var(--spacing-md);
    margin-left: -24px;
}

/* Content Area */
.other-size-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Dumpster Name */
.other-size-name {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    text-align: center;
    font-weight: var(--font-weight-bold);
    order: -1;
}

/* Capacity Text */
.other-size-capacity {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid var(--border-lighter);
}

/* Ideal For Section */
.other-size-ideal {
    flex: 1;
}

.ideal-title {
    color: var(--text-gray);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.ideal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ideal-item {
    padding-left: 20px;
    position: relative;
    margin-bottom: var(--spacing-xs);
}

.ideal-item:before {
    content: '•';
    position: absolute;
    left: 0;
}

/* Parenthetical note styling */
.ideal-item-note {
    color: #666666;
    font-size: 13px;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Footer */
.other-size-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-sm);
    margin-top: auto;
}

/* CTA Link */
.other-size-cta {
    color: var(--primary-green);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: color var(--transition-fast);
    text-decoration: none;
}

.other-size-cta .material-icons {
    font-size: 20px;
}

/* ==========================================================================
   Mobile Styles (XS - < 600px)
   ========================================================================== */
@media screen and (max-width: 599px) {
    .other-sizes-section {
        padding: 60px 0;
    }
    
    .other-sizes-container {
        padding: 0 var(--spacing-md);
    }

    .other-size-image {
        padding: 0;
    }
    
    .other-sizes-title {
        font-size: 28px;
        margin-bottom: var(--spacing-sm);
    }
    
    .other-sizes-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }
    
    /* Single column on mobile */
    .other-sizes-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .other-size-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
        padding: var(--spacing-md);
    }
    
    .other-size-image-wrapper {
        height: 150px;
        margin: 0 -var(--spacing-md);
        width: calc(100% + calc(var(--spacing-md) * 2));
    }
    
    .other-size-content {
        padding-top: var(--spacing-sm);
    }
    
    .other-size-name {
        font-size: 18px;
    }
}

/* ==========================================================================
   Tablet Styles (SM - 600px to 959px)
   ========================================================================== */
@media screen and (min-width: 600px) and (max-width: 959px) {
    .other-sizes-container {
        padding: 0 40px;
    }
    
    .other-sizes-title {
        font-size: 32px;
    }
    
    .other-sizes-subtitle {
        font-size: 16px;
    }
    
    /* Two columns on tablet */
    .other-sizes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .other-size-image-wrapper {
        height: 160px;
    }
}

/* ==========================================================================
   Desktop Styles (MD - 960px to 1279px)
   ========================================================================== */
@media screen and (min-width: 960px) and (max-width: 1279px) {
    .other-sizes-container {
        padding: 0 40px;
    }
    
    /* Three columns on medium desktop */
    .other-sizes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
    
    .other-size-content {
        padding-top: var(--spacing-sm);
    }
    
    .other-size-name {
        font-size: 18px;
    }
}

/* ==========================================================================
   Large Desktop Styles (LG - 1280px to 1919px)
   ========================================================================== */
@media screen and (min-width: 1280px) and (max-width: 1919px) {
    /* Four columns on large desktop */
    .other-sizes-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }
}

/* ==========================================================================
   Extra Large Desktop Styles (XL - >= 1920px)
   ========================================================================== */
@media screen and (min-width: 1920px) {
    .other-sizes-container {
        max-width: var(--container-xl);
    }
    
    /* Four columns maintained */
    .other-sizes-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }
}