/* === Container & Layout === */
.kalabin-attributes-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1168px;
    padding-top: 32px;
}

.kalabin-product-info {
    position: relative;
}

.kalabin-product-info-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 24px;
}

.kalabin-attributes-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
}

/* === Header === */
.kalabin-attributes-header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    width: 100%;
}

.kalabin-attributes-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1d2939;
    line-height: 34px;
    margin: 0;
}

/* === Attributes Wrapper (animated) === */
.kalabin-attributes-wrapper {
    position: relative;
    overflow: hidden;
    transition: none;
    /* JS handles animation */
}

/* When expanded, keep shadow hidden */
.kalabin-attributes-wrapper.expanded .kalabin-fade-shadow {
    opacity: 0;
}

/* === Fade Shadow (for collapsed state) === */
.kalabin-fade-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

/* === Attributes List === */
.kalabin-attributes-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.kalabin-attribute-item {
    margin-bottom: 6px;
}

/* === Attribute Card === */
.kalabin-attribute-card {
    display: flex;
    flex-direction: column;
    background-color: #f3f4f6;
    border-radius: 10px;
    padding: 12px 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kalabin-attribute-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* === Attribute Text === */
.kalabin-attribute-name {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #1d2939;
    line-height: 18px;
}

.kalabin-attribute-value {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #4b5563;
    line-height: 18px;
}

/* === Show More Button === */
.kalabin-show-more-btn {
    margin-top: 12px;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #f3f4f6;
    color: #1d2939;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border: none;
    border-radius: 10px !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 3;
    position: relative;
}

.kalabin-show-more-btn:hover {
    background-color: #e5e7eb;
    transform: translateY(-1px);
}

/* === Optional: Icon Rotation Animation === */
.kalabin-show-more-btn svg {
    transition: transform 0.3s ease;
}

.kalabin-attributes-wrapper.expanded+.kalabin-show-more-btn svg {
    transform: rotate(180deg);
}