/* Product Dimensions - Elegant Collapsible Design */

.product-dimensions-wrapper {
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.product-dimensions-toggle {
    width: 100%;
    background: white;
    border: none;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.product-dimensions-toggle:hover {
    background: #fafafa;
}

.dimensions-label {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #666;
    text-transform: uppercase;
}

.dimensions-icon {
    font-size: 12px;
    color: #666;
    transition: transform 0.3s ease;
}

.product-dimensions-toggle.active .dimensions-icon {
    transform: rotate(180deg);
}

.product-dimensions-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fafafa;
}

.product-dimensions-content.active {
    max-height: 100px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
}

.dimensions-text {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dimensions-text::before {
    content: '📏';
    font-size: 16px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-dimensions-toggle {
        padding: 12px 16px;
    }

    .dimensions-label {
        font-size: 11px;
    }

    .dimensions-icon {
        font-size: 10px;
    }

    .product-dimensions-content.active {
        padding: 12px 16px;
    }

    .dimensions-text {
        font-size: 13px;
    }
}

/* Ensure it doesn't interfere with hover effects */
.product-card-scroll:hover .product-dimensions-toggle {
    background: white;
}

.product-card-scroll:hover .product-dimensions-toggle:hover {
    background: #fafafa;
}
