/* =========================================================
   STORAGE UNIT SECTION
   ========================================================= */

.su-section {
    width: 100%;
    padding: var(--section-pad) 24px;
    background: #fffdf8;    /* matches other sections */
    box-sizing: border-box;
}

.su-container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}


/* =========================================================
   TABS
   ========================================================= */

.su-tabs {
    width: 100%;
    height: 48px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    background: #ffffff;

    border-radius: 11px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    margin-bottom: var(--header-gap);
}

.su-tab {
    border: 0;
    outline: none;

    background: transparent;

    color: var(--gray, #706b61);

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    letter-spacing: 1.2px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;
}

.su-tab:hover {
    background: var(--cream-2, #fff6e5);
    color: var(--orange-dark, #8f3f00);
}

.su-tab-active {
    background: var(--orange, #cb5901);
    color: var(--black, #171714);
}

.su-tab-active:hover {
    background: var(--orange-dark, #8f3f00);
    color: #fff;
}


/* =========================================================
   PANELS
   ========================================================= */

.su-panel {
    display: none;

    animation: suFadeIn 0.45s ease forwards;
}

.su-panel-active {
    display: block;
}

@keyframes suFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   PERSONAL HEADER
   ========================================================= */

.su-header {
    text-align: center;
    margin-bottom: 30px;
}

.su-header h2 {
    margin: 0 0 8px;

    color: var(--black, #171714);

    font-family: "Manrope", sans-serif;
    font-size: clamp(30px, 3.2vw, 43px);
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -1.4px;
}

.su-header p {
    margin: 0;

    color: var(--gray, #706b61);

    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   SIZE SELECTOR
   ========================================================= */

.su-size-list {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 7px;

    margin-bottom: 26px;

    overflow-x: auto;
    scrollbar-width: none;
}

.su-size-list::-webkit-scrollbar {
    display: none;
}

.su-size {
    flex: 0 0 auto;

    min-width: 77px;
    height: 34px;

    padding: 0 15px;

    border: 1px solid #e8e3da;

    background: #ffffff;

    color: var(--black, #171714);

    font-family: inherit;
    font-size: 11px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

.su-size:hover {
    border-color: var(--orange, #cb5901);
    color: var(--orange-dark, #96410a);

    /* transform: translateY(-2px); */
}

.su-size-active {
    background: var(--orange, #cb5901);
    border-color: var(--orange, #cb5901);

    color: var(--black, #171714);

    font-weight: 600;

    box-shadow: 0 7px 15px rgba(254, 111, 1, 0.22);
}

.su-size-active:hover {
    background: var(--orange-dark, #8f3f00);
    color: #fff;
}

/* =========================================================
   PERSONAL UNIT CARD
   ========================================================= */

.su-unit-card {
    width: 100%;
    min-height: 165px;

    display: grid;
    grid-template-columns: 153px minmax(0, 1fr);

    background: #ffffff;

    border-radius: 13px;

    overflow: hidden;

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);

    margin-bottom: 26px;
}


/* =========================================================
   ORANGE VISUAL AREA
   ========================================================= */

.su-unit-visual {
    position: relative;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    padding: 25px 28px;

    overflow: hidden;

    background: var(--orange, #cb5901);
}

.su-unit-visual::before {
    content: "";

    position: absolute;

    width: 105px;
    height: 105px;

    right: -32px;
    top: -28px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.12);
}

.su-unit-visual::after {
    content: "";

    position: absolute;

    width: 82px;
    height: 82px;

    left: -38px;
    bottom: -28px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.09);
}

.su-unit-number {
    position: relative;
    z-index: 2;

    color: #ffffff;

    font-size: 52px;
    font-weight: 800;

    line-height: 0.95;

    letter-spacing: -2px;
}

.su-unit-label {
    position: relative;
    z-index: 2;

    margin-top: 8px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 2px;
}

.su-unit-line {
    position: absolute;
    z-index: 2;

    left: 28px;
    bottom: 30px;

    width: 23px;
    height: 2px;

    background: rgba(255, 255, 255, 0.6);
}


/* =========================================================
   UNIT CONTENT
   ========================================================= */

.su-unit-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px 34px;
}

.su-unit-size {
    margin-bottom: 9px;

    color: var(--orange-dark, #8f3f00);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 2px;
}

.su-unit-content h3 {
    margin: 0 0 10px;

    color: var(--black, #171714);

    font-size: 19px;
    font-weight: 700;

    line-height: 1.2;
}

.su-unit-content p {
    max-width: 850px;

    margin: 0;

    color: var(--gray, #706b61);

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   CALCULATOR CTA
   ========================================================= */

.su-calculator-cta {
    min-height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    padding: 10px 20px;

    border: 1px dashed rgba(254, 111, 1, 0.35);

    border-radius: 9px;

    background: var(--cream-2, #fff6e5);

    color: var(--black, #171714);

    font-size: 10px;
    font-weight: 600;

    box-sizing: border-box;
}

.su-calculator-cta a {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 32px;

    padding: 0 14px;

    border-radius: 5px;

    background: var(--orange, #cb5901);

    color: var(--black, #171714);

    text-decoration: none;

    font-size: 9px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.su-calculator-cta a:hover {
    background: var(--orange-dark, #8f3f00);
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 8px 16px rgba(254, 111, 1, 0.25);
}

.su-arrow {
    font-size: 13px;

    transition: transform 0.25s ease;
}

.su-calculator-cta a:hover .su-arrow {
    transform: translateX(3px);
}


/* =========================================================
   SHARED STORAGE
   ========================================================= */

.su-shared-card {
    width: 100%;

    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(0, 1.15fr);

    min-height: 450px;

    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   SHARED IMAGE
   ========================================================= */

.su-shared-image {
    position: relative;

    width: 100%;
    height: 100%;

    min-height: 450px;

    overflow: hidden;

    background: #f0ebe3;
}

.su-shared-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.10)
        );
}

.su-shared-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.su-shared-card:hover .su-shared-image img {
    transform: scale(1.04);
}


/* =========================================================
   SHARED CONTENT
   ========================================================= */

.su-shared-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 55px 60px;
}

.su-shared-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--orange-dark, #ad4c01);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.su-shared-content h2 {
    margin: 0 0 17px;

    color: var(--black, #171714);

    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;

    line-height: 1.15;
    letter-spacing: -1px;
}

.su-shared-content p {
    max-width: 560px;

    margin: 0 0 13px;

    color: var(--gray, #706b61);

    font-size: 13px;
    line-height: 1.8;
}

.su-shared-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 12px;

    padding: 13px 20px;

    border-radius: 6px;

    background: var(--orange, #cb5901);

    color: var(--black, #171714);

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.su-shared-button:hover {
    background: var(--orange-dark, #8f3f00);
    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(254, 111, 1, 0.25);
}

.su-shared-button span {
    font-size: 16px;

    transition: transform 0.25s ease;
}

.su-shared-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .su-section {
        padding: 55px 20px 65px;
    }

    .su-tabs {
        margin-bottom: 38px;
    }

    .su-shared-card {
        grid-template-columns: 1fr 1fr;
    }

    .su-shared-content {
        padding: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .su-section {
        padding: var(--section-pad) 15px;
    }

    .su-tabs {
        height: 44px;

        margin-bottom: 35px;
    }

    .su-tab {
        font-size: 11px;
    }


    .su-header {
        margin-bottom: 25px;
    }

    .su-header h2 {
        font-size: 29px;
        letter-spacing: -0.8px;
    }

    .su-header p {
        font-size: 10px;
    }


    /* Horizontal scroll for sizes */
    .su-size-list {
        justify-content: flex-start;

        margin-left: -2px;
        margin-right: -2px;
    }

    .su-size {
        min-width: 73px;
        height: 34px;

        padding: 0 12px;

        font-size: 10px;
    }


    /* Personal card */
    .su-unit-card {
        grid-template-columns: 115px minmax(0, 1fr);

        min-height: 190px;
    }

    .su-unit-visual {
        padding: 20px;
    }

    .su-unit-number {
        font-size: 42px;
    }

    .su-unit-line {
        left: 20px;
        bottom: 24px;
    }

    .su-unit-content {
        padding: 22px 20px;
    }

    .su-unit-content h3 {
        font-size: 16px;
    }

    .su-unit-content p {
        font-size: 10px;
        line-height: 1.6;
    }


    /* CTA */
    .su-calculator-cta {
        flex-direction: column;

        gap: 9px;

        padding: 15px;
    }


    /* Shared */
    .su-shared-card {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .su-shared-image {
        height: 300px;
        min-height: 300px;
    }

    .su-shared-content {
        padding: 35px 25px 40px;
    }

    .su-shared-content h2 {
        font-size: 29px;
    }

    .su-shared-content p {
        font-size: 11px;
        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .su-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .su-header h2 {
        font-size: 25px;
    }

    .su-unit-card {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .su-unit-visual {
        padding: 16px;
    }

    .su-unit-number {
        font-size: 36px;
    }

    .su-unit-content {
        padding: 18px 16px;
    }

    .su-unit-content h3 {
        font-size: 14px;
    }

    .su-unit-content p {
        font-size: 9px;
    }

    .su-shared-image {
        height: 250px;
        min-height: 250px;
    }

    .su-shared-content {
        padding: 30px 20px 35px;
    }

}