/* ======================================================
   HOW much size
====================================================== */

.howmuchsize .storage-card {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ced4da;
    transition: all 0.1s ease-in-out;
}

.howmuchsize .storage-card:hover {
    border: 1px solid #f5dc4a !important;
}

/* =======================================
   IMAGE WRAPPER
======================================= */

.howmuchsize .storage-card .image-wrapper {
    flex: 1 1 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-height: 200px;
}

.howmuchsize .storage-card .image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: 100%;
    object-fit: unset;
    display: block;
}

/* XS ONLY */
@media (max-width: 575.98px) {
    .howmuchsize .storage-card .image-wrapper img {
        object-fit: unset;
    }
}

/* MD ONLY */
@media (min-width: 768px) and (max-width: 991.98px) {
    .howmuchsize .storage-card .image-wrapper img {
        object-fit: unset;
    }
}

.howmuchsize .storage-card .image-wrapper .badge-popular {
    position: absolute;
    top: 35px;
    right: 12px;
    background: #fde047;
    color: #222;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 4px 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* =======================================
   CONTENT AREA
======================================= */

.howmuchsize .storage-card .content {
    flex: 1 1 55%;
    padding: 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* XS ONLY */
@media (max-width: 575.98px) {
    .howmuchsize .storage-card .content {
        padding: 1rem 2rem 1.5rem;
    }
}

.howmuchsize .storage-card .content .recommended {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #107e7f;
    border-radius: 8px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.howmuchsize .storage-card .content .recommended::before {
    content: "📦";
    margin-right: 12px;
    padding: 10px 12px;
    border-radius: 50px;
    background: #f5dc4a;
}

.howmuchsize .storage-card .content .subtitle {
    color: #0d9488;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.howmuchsize .storage-card .content p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.howmuchsize .storage-card .content .teal {
    color: #0d9488;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.howmuchsize .storage-card .content .info-box {
    background: #f9fafb;
    border-left: 4px solid #107e7f;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #374151;
}

.howmuchsize .storage-card .content .info-box strong {
    color: #000;
}

/* =======================================
   RESPONSIVE (768px)
======================================= */

@media (max-width: 768px) {
    /* intentionally left commented as per SCSS */
}

/* =======================================
   SLIDER STYLES
======================================= */

.howmuchsize .slider-container {
    max-width: 98%;
    margin: 2rem auto;
    text-align: center;
    border-radius: 0;
}

.howmuchsize .slider-container .slider-output {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
}

/* RANGE INPUT */

.howmuchsize .slider-container #slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
    background: #b5b5b5;
    position: relative;
    --slider-progress: 0%;
}

/* WEBKIT TRACK */
.howmuchsize .slider-container #slider::-webkit-slider-runnable-track {
    height: 4px;
    background: linear-gradient(
        to right,
        #107e7f 0%,
        #107e7f var(--slider-progress),
        #b5b5b5 var(--slider-progress),
        #b5b5b5 100%
    );
}

/* WEBKIT THUMB */
.howmuchsize .slider-container #slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid #107e7f;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #fefefe, rgb(238, 238, 238), #fefefe);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* FIREFOX TRACK */
.howmuchsize .slider-container #slider::-moz-range-track {
    height: 4px;
    background: linear-gradient(
        to right,
        #107e7f 0%,
        #107e7f var(--slider-progress),
        #b5b5b5 var(--slider-progress),
        #b5b5b5 100%
    );
}

/* FIREFOX THUMB */
.howmuchsize .slider-container #slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 4px solid #107e7f;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #fefefe, rgb(238, 238, 238), #fefefe);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* HOVER EFFECT */
.howmuchsize .slider-container #slider::-webkit-slider-thumb:hover,
.howmuchsize .slider-container #slider::-moz-range-thumb:hover {
    background: radial-gradient(circle, white 55%, transparent 40%), #107e7f;
    border-color: #107e7f;
}

.howmuchsize .slider-container .slider-output-sizes {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}



.howmuchsize .text-primary {
    color: #107e7f !important;
}


.howmuchsize .btn.btn-warning {
  background-color: #f5dc4a !important;
  font-weight: 600;
  font-size: 14px !important;
}