.wccv-variations-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.wccv-variations-grid--single{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.wccv-variations-grid--single .wccv-card{
    width:100%;
}

@media (max-width: 767px){
    .wccv-variations-grid,
    .wccv-variations-grid--single{
        grid-template-columns:1fr;
    }
}

.wccv-card{
    border:1px solid #e5e5e5;
    padding:15px;
    background:white;
    display:flex;
    flex-direction:column;
}

.wccv-product-categories{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
}

.wccv-product-category{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:2px solid var(--wccv-category-color,#CCCCCC) !important;
    border-radius:12px;
    background:#f7f7f7;
    color:inherit;
    text-decoration:none;
    transition:transform .2s ease,box-shadow .2s ease;
}

.wccv-product-category:hover{
    color:inherit;
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(16,24,40,.12);
}

.wccv-product-category__image{
    display:block;
    height:200px !important;
    max-height:200px;
    background:#fff;
}

.wccv-product-category__image img{
    display:block;
    width:120px;
    height:120px;
    max-width:100%;
    margin:40px auto;
    object-fit:contain;
}

.wccv-product-category__name{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:12px;
    text-align:center;
    font-weight:700;
}

.wccv-product-category__title{
    display:block;
}

.wccv-product-category__meta{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.wccv-product-category__count{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:3px 8px;
    border-radius:999px;
    background:var(--wccv-category-color,#CCCCCC);
    color:#fff;
    font-size:12px;
    font-weight:700;
    line-height:1;
}

.wccv-product-category__icon{
    display:inline-flex;
    width:26px;
    height:26px;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:var(--wccv-category-color,#CCCCCC);
    color:#fff;
    flex:0 0 26px;
}

.wccv-product-category__icon svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-width:2;
}

@media (max-width: 767px){
    .wccv-product-categories{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .wccv-product-category__image{
        height:200px !important;
        max-height:200px;
    }
}

.wccv-image-wrap{
    position:relative;
    flex:0 0 auto;
    width:100%;
    aspect-ratio: 1 / 1;
    background:#fff;
    max-height:80vh;
}

.wccv-card--simple .wccv-image-wrap{
    max-height:500px;
    aspect-ratio:auto;
}

.wccv-image-wrap a{
    display:block;
    width:100%;
    height:100%;
}

.wccv-card--simple .wccv-image-wrap a{
    height:auto;
}

.wccv-image{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

.wccv-card--simple .wccv-image{
    height:auto;
    max-height:500px;
}

.wccv-info{
    position:relative;
    clear:both;
    width:100%;
    margin-top:16px;
}

.wccv-stock-badge{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    padding:6px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    line-height:1;
    pointer-events:none;
}

.wccv-stock-badge--out{
    background:#c62828;
    color:#fff;
}

.wccv-lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    align-items:center;
    justify-content:center;
    z-index:999999;
    padding:20px;
}

.wccv-lightbox-image{
    max-width:95vw;
    max-height:80vh;
    width:auto;
    height:auto;
    object-fit:contain;
    display:block;
    background:#fff;
}

.wccv-lightbox-close{
    position:absolute;
    top:10px;
    right:14px;
    width:44px;
    height:44px;
    border:0;
    background:rgba(0,0,0,.35);
    color:#fff;
    font-size:32px;
    line-height:44px;
    cursor:pointer;
}

html.wccv-lightbox-open,
html.wccv-lightbox-open body{
    overflow:hidden;
}

.wccv-sku{
    margin-bottom:8px;
}

.wccv-sku strong{
    font-weight:700;
}

.wccv-attributes{
    padding-left:18px;
    margin:8px 0;
}

.wccv-attribute--quantity{
    list-style:none;
    margin-left:-18px;
}

.wccv-description{
    font-size:14px;
}

.wccv-price{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin:14px 0 4px;
    font-size:18px;
    font-weight:700;
}

.wccv-price__label{
    color:#344054;
}

.wccv-price__regular{
    color:#667085;
    font-size:14px;
    font-weight:500;
}

.wccv-price__sale{
    color:#02b1bb;
    text-decoration:none;
}

.wccv-price__discount{
    padding:3px 7px;
    border-radius:999px;
    background:#fef3f2;
    color:#b42318;
    font-size:12px;
    line-height:1.2;
    font-weight:700;
}

.wccv-variation-discount-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 10px;
    border-radius:8px;
    background:#f97316;
    color:#fff;
    font-size:13px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
}

.wccv-unavailable-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 10px;
    border-radius:8px;
    background:#c62828;
    color:#fff;
    font-size:13px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
}

.wccv-profile-button-form{
    display:inline;
    margin:0;
}

.wccv-profile-buttons{
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.wccv-profile-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:9px 14px;
    border:0;
    border-radius:8px;
    background:#02b1bb;
    color:#fff !important;
    cursor:pointer;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    text-decoration:none;
}

.wccv-profile-button:hover{
    background:#018b93;
    color:#fff !important;
}

.wccv-profile-button--logout{
    background:#475467;
}

.wccv-profile-button--logout:hover{
    background:#344054;
}

.wccv-buyer-product-price__value{
    font-family:Montserrat,Arial,sans-serif;
    font-weight:700;
}

.wccv-buyer-product-price__value > .amount,
.wccv-buyer-product-price__value ins .amount{
    color:#02b1bb;
    font-weight:700;
}

.wccv-buyer-product-price__value del .amount{
    color:#667085;
    font-weight:500;
}

.wccv-swatches{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:var(--wccv-swatch-gap, 6px);
}

.wccv-swatch{
    position:relative;
    width:var(--wccv-swatch-size, 32px);
    height:var(--wccv-swatch-size, 32px);
    border-radius:999px;
    overflow:hidden;
    display:block;
    border:1px solid rgba(0,0,0,.12);
    background:#fff;
    box-sizing:border-box;
}

.wccv-swatch-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.wccv-swatch--out .wccv-swatch-img{
    opacity:.45;
}

.wccv-swatch-status{
    position:absolute;
    right:0;
    bottom:0;
    width:14px;
    height:14px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#c62828;
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:1;
    box-shadow:0 0 0 2px #fff;
}

a.wccv-swatch:hover{
    box-shadow:0 2px 10px rgba(0,0,0,.12);
    transform:translateY(-1px);
}

.wccv-item-name{
    font-weight:700;
    font-size:calc(1em + 3px);
    margin-bottom:8px;
}

.wccv-request-controls{
    display:flex;
    gap:12px;
    align-items:flex-end;
    margin-top:16px;
    flex-wrap:wrap;
}

.wccv-request-controls__qty{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
    font-size:13px;
}

.wccv-request-controls__qty input{
    width:88px;
    min-height:42px;
    padding:8px 10px;
    border:1px solid #d0d7de;
    border-radius:8px;
}

.wccv-request-controls__button,
.wccv-request-form__submit,
.wccv-request-form__whatsapp{
    min-height:42px;
    padding:10px 16px;
    border-radius:8px;
    border:0;
    cursor:pointer;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.wccv-request-controls__button,
.wccv-request-form__submit{
    background:#111827;
    color:#fff;
}

.wccv-request-controls__button{
    background:#02b1bb;
}

.wccv-request-controls__button:hover{
    background:#018b93;
}

.wccv-request-controls__button.is-selected{
    background:#b42318;
}

.wccv-request-box{
    margin-top:28px;
    padding:20px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#f8fafc;
}

.wccv-request-box__header h3{
    margin:0 0 6px;
}

.wccv-request-box__header p{
    margin:0 0 18px;
}

.wccv-request-box__items{
    overflow-x:auto;
    margin-bottom:18px;
}

.wccv-request-table__head,
.wccv-request-item{
    display:grid;
    grid-template-columns:minmax(180px,2fr) 82px repeat(4,minmax(100px,1fr)) 76px;
    column-gap:12px;
    min-width:860px;
}

.wccv-request-table__head{
    align-items:end;
    padding:0 14px 8px;
    color:#475467;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
}

.wccv-request-table__head span:not(:first-child){
    text-align:right;
}

.wccv-request-box__empty{
    margin:0;
    color:#667085;
}

.wccv-request-item{
    align-items:center;
    margin-top:10px;
    padding:12px 14px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
}

.wccv-request-item__product{
    min-width:0;
}

.wccv-request-item__label{
    font-weight:600;
}

.wccv-request-item__meta{
    font-size:14px;
    color:#475467;
}

.wccv-request-item__price,
.wccv-request-item__discount{
    text-align:right;
    font-size:14px;
    color:#111827;
    font-weight:600;
}

.wccv-request-item__actions{
    display:flex;
    justify-content:flex-end;
}

.wccv-request-item__qty{
    display:flex;
    justify-content:flex-end;
}

.wccv-request-item__qty input{
    width:72px;
    min-height:38px;
    padding:6px 8px;
    border:1px solid #d0d7de;
    border-radius:8px;
    background:#fff;
    text-align:right;
}

.wccv-request-item__remove{
    display:inline-flex;
    width:38px;
    height:38px;
    align-items:center;
    justify-content:center;
    padding:8px;
    border:1px solid #b42318;
    border-radius:8px;
    background:#fff;
    color:#b42318;
    cursor:pointer;
    font-weight:600;
}

.wccv-request-item__remove svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-width:1.8;
}

.wccv-request-item__remove:hover{
    background:#fef3f2;
}

.wccv-request-box__items.is-prices-hidden .wccv-request-table__head,
.wccv-request-box__items.is-prices-hidden .wccv-request-item{
    grid-template-columns:minmax(180px,1fr) 82px 76px;
    min-width:360px;
}

.wccv-request-box__items.is-prices-hidden .wccv-request-table__head span:nth-child(3),
.wccv-request-box__items.is-prices-hidden .wccv-request-table__head span:nth-child(4),
.wccv-request-box__items.is-prices-hidden .wccv-request-table__head span:nth-child(5),
.wccv-request-box__items.is-prices-hidden .wccv-request-table__head span:nth-child(6),
.wccv-request-box__items.is-prices-hidden .wccv-request-item__price,
.wccv-request-box__items.is-prices-hidden .wccv-request-item__discount{
    display:none;
}

.wccv-request-box__total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin:0 0 18px;
    padding:14px 16px;
    background:#eef2ff;
    border:1px solid #c7d2fe;
    border-radius:12px;
}

.wccv-request-form{
    display:grid;
    gap:16px;
}

.wccv-request-form__fields{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.wccv-request-form__field{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.wccv-request-form__field input{
    min-height:44px;
    padding:10px 12px;
    border:1px solid #d0d7de;
    border-radius:8px;
    background:#fff;
}

.wccv-request-form__actions{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
}

.wccv-request-form__whatsapp{
    background:#25d366;
    color:#fff;
}

.wccv-request-form__message{
    margin:0;
    font-size:14px;
}

.wccv-request-form__message.is-error{
    color:#b42318;
}

.wccv-request-form__message.is-success{
    color:#027a48;
}

@media (max-width: 767px){
    .wccv-request-form__fields{
        grid-template-columns:1fr;
    }

    .wccv-request-controls{
        align-items:stretch;
    }

}
