
@st-namespace 'Card-deprecated-st-css';
:import {
    -st-from: "../../common/formatters.st";
    -st-named: fallback;
}

:vars {
    /*Constance*/
    DefalutRatio: 1;
}

/*Overrides*/
:vars {
     /*  The ratio of a single card container */
    Ratio: --overridable;
}

/*
 * The ratio of a single card container
 * @type size
 */
@property st-global(--wix-ui-tpa-card-ratio);

.root {
    -st-states: stacked;
    display: inline-flex;
    flex-wrap: wrap;
}

.root:stacked {
    flex-direction: column;
}


.container {
    max-height: 100%;
    box-sizing: border-box;
}

.overrideStyleParams, .container {
    flex: fallback(value(Ratio), value(DefalutRatio));
}

.container img {
    max-width: 100%;
}

/* st-namespace-reference="../../../../src/components/Card/Card.deprecated.st.css" */
    