/*
 * Elesen banner styles
 * Home appliance calculator banner with category selection
 */

/* Container & Base Layout */
.elesen_container {
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 10px;
    padding: 30px;
}

.elesen__content {
    display: flex;
    gap: 15px;
}

/* Categories Section */
.elesen__categories {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 16px;
}

.elesen__heading {
    margin: 0;
}

.elesen__title {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 7px 0;
}

.elesen__subtitle {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
    margin: 0;
}

.elesen__categories-row {
    display: flex;
    gap: 6px;
}

/* Category Cards */
.elesen__category {
    flex: 1;
    min-width: 120px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elesen__category:hover {
    border-color: #999;
}

.elesen__category.selected {
    background: rgba(110, 93, 232, 0.1);
    border-color: #6e5de8;
}

.elesen__category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.elesen__icon-wrapper {
    background: rgba(110, 93, 232, 0.1);
    border-radius: 6px;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.elesen__icon-wrapper img {
    width: 24px;
    height: 24px;
    display: block;
}

.elesen__checkmark {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
    position: relative;
}

.elesen__category.selected .elesen__checkmark {
    background: #6e5de8 url('/static/svg/elesen/icon-checkmark.svg') center center no-repeat;
    background-size: 10px 10px;
}

.elesen__category-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.elesen__category-title {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.elesen__category-items {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #777;
    line-height: 1.4;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.elesen__product-link {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.elesen__product-link:hover {
    color: #6e5de8;
    text-decoration: underline;
}

/* Sidebar */
.elesen__sidebar {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.elesen__logo-wrapper {
    width: 117px;
}

.elesen__logo {
    width: 117px;
    height: 27.427px;
    display: block;
}

.elesen__price-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.elesen__price-label {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
    margin: 0 0 4px 0;
}

.elesen__price-value {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.elesen__price-note {
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: #777;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.elesen__cta {
    background: #6e5de8;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background 0.2s ease;
    text-decoration: none;
    display: block;
}

.elesen__cta:hover {
    background: #5d4dc7;
}

/* Mobile Layout */
.elesen_container.mobile {
    padding: 16px;
    border-radius: 5px;
}

.elesen_container.mobile .elesen__content {
    flex-direction: column;
    gap: 12px;
}

.elesen_container.mobile .elesen__categories {
    gap: 8px;
}

.elesen_container.mobile .elesen__categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.elesen_container.mobile .elesen__category {
    gap: 4px;
}

.elesen_container.mobile .elesen__category-header {
    gap: 8px;
}

.elesen_container.mobile .elesen__category-title {
    font-weight: bold;
    flex: 1;
}

.elesen_container.mobile .elesen__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.elesen_container.mobile .elesen__price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}

.elesen_container.mobile .elesen__price-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.elesen_container.mobile .elesen__price-text {
    display: inline;
    margin: 0;
}

.elesen_container.mobile .elesen__price-label {
    font-size: 14px;
}

.elesen_container.mobile .elesen__price-value {
    font-size: 24px;
    margin: 0;
}

.elesen_container.mobile .elesen__price-note {
    font-size: 12px;
    text-align: center;
    margin: 0;
}

.elesen_container.mobile .elesen__cta {
    padding: 12px 20px;
    flex-shrink: 0;
    width: 54%;
    max-width: 81%;
    color: #fff !important;
    text-decoration: none !important;
}

.elesen_container.mobile .elesen__logo-center {
    display: flex;
    justify-content: center;
}

.elesen_container.mobile .elesen__logo {
    width: 117px;
    height: 27.427px;
}
