/* Saida product cards: reusable, isolated storefront component. */
.sg-product-list,
.sg-product-list *,
.sg-product-list *::before,
.sg-product-list *::after,
.sg-card,
.sg-card *,
.sg-card *::before,
.sg-card *::after {
    box-sizing: border-box;
}

.sg-product-list,
.sg-card {
    --sg-ink: #20130f;
    --sg-ink-muted: #222;
    --sg-cream: #fffaf1;
    --sg-cream-deep: #f2e6d2;
    --sg-line: rgba(32, 19, 15, .14);
    --sg-line-soft: rgba(32, 19, 15, .08);
    --sg-coffee: #74411f;
    --sg-copper: #b87532;
    --sg-gold: #d3a84a;
    --sg-red: #a82036;
    --sg-green: #088a18;
    --sg-orange: #f58026;
    --sg-sale: #b85d14;
    --sg-unavailable: #665f5a;
    --sg-blue: #234f70;
    --sg-radius: 22px;
}

.sg-product-list {
    color: var(--sg-ink);
    container-type: inline-size;
    isolation: isolate;
    margin-top: 18px;
    width: 100%;
}

html body .sg-product-list .sg-product-grid {
    align-items: stretch !important;
    display: grid !important;
    float: none !important;
    gap: clamp(14px, 2vw, 15px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    grid-auto-rows: 1fr;
    width: 100% !important;
}

html body .sg-product-grid > .sg-product-grid__item {
    display: flex !important;
    align-self: stretch !important;
    float: none !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0;
    width: 100% !important;
    padding: 0 !important;
}

.sg-card {
    color: var(--sg-ink);
    height: 100%;
    min-width: 0;
    perspective: 1600px;
    position: relative;
    width: 100%;
}

.sg-card > [itemprop="brand"],
.sg-card > [itemprop="aggregateRating"] {
    display: none;
}

.sg-card__stage {
    min-height: 460px;
    position: relative;
    width: 100%;
}

.sg-card--flip .sg-card__stage {
    height: 660px;
    transform-style: preserve-3d;
    transition: transform .55s cubic-bezier(.2, .72, .2, 1.05);
}

.sg-card--flip.is-flipped .sg-card__stage {
    transform: rotateY(180deg);
}

.sg-card__face {
    background: var(--sg-cream);
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .85) inset, 0 18px 50px -30px rgba(32, 19, 15, .46);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.sg-card--standard .sg-card__face {
    height: 100%;
    min-height: 460px;
    position: relative;
}

.sg-card--flip .sg-card__face {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    inset: 0;
    position: absolute;
}

.sg-card--flip:not(.is-flipped) .sg-card__front,
.sg-card--flip:not(.is-flipped) .sg-card__back,
.sg-card--flip.is-flipped .sg-card__front,
.sg-card--flip.is-flipped .sg-card__back {
    pointer-events: auto;
}

.sg-card--flip:not(.is-flipped) .sg-card__back,
.sg-card--flip.is-flipped .sg-card__front {
    pointer-events: none;
}

.sg-card__front {
    background: radial-gradient(95% 64% at 50% 0%, #fff 0%, var(--sg-cream) 58%, var(--sg-cream-deep) 100%);
}

.sg-card__back {
    background: linear-gradient(180deg, #fffaf2 0%, #f7ecd9 100%);
    transform: rotateY(180deg);
}

.sg-card__media {
    background: radial-gradient(64% 50% at 50% 58%, rgba(184, 117, 50, .18), transparent 66%);
    display: block;
    cursor: pointer;
    flex: 0 0 360px;
    min-height: 320px;
    overflow: hidden;
    padding: 8px 10px 0;
    position: relative;
    text-decoration: none !important;
    transition: none;
}

.sg-card__media,
.sg-card__media * {
    pointer-events: none !important;
}

.sg-card__media a {
    cursor: default !important;
    pointer-events: none !important;
    z-index: 1;
}

.sg-card__media a img,
.sg-card__media a .product-image-photo {
    pointer-events: none !important;
    cursor: default;
}

.sg-card__media-trigger {
    background: transparent;
    border: 0;
    bottom: 0;
    cursor: pointer;
    left: 0;
    margin: 0;
    outline: 0;
    padding: 0;
    pointer-events: auto !important;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99;
}

.sg-card__media-trigger:focus-visible {
    outline: 2px solid rgba(184, 117, 50, .72);
    outline-offset: 3px;
}

.sg-card__media-trigger:hover,
.sg-card__media-trigger:focus,
.sg-card__media-trigger:focus-visible,
.sg-card__media-trigger:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.sg-card__media::after {
    display: none;
}

.sg-card__media .product-image-container,
.sg-card__media .product-image-wrapper {
    display: block;
    height: 100%;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.sg-card__media .product-image-photo,
.sg-card__media img {
    filter: drop-shadow(0 14px 20px rgba(32, 19, 15, .16));
    height: 310px !important;
    inset: auto !important;
    margin: 0 auto;
    max-height: 310px;
    object-fit: contain;
    position: relative !important;
    transform: none;
    transition: none;
    width: 100% !important;
    z-index: 1;
}

.sg-card__media-meta {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    left: 12px;
    pointer-events: none;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 3;
}

.sg-card__media-rating {
    display: none;
}

.sg-card__media-rating-stars {
    display: none;
}

.sg-card__media-rating-count {
    display: none;
}

.sg-card__media-star {
    font-size: 18px;
    line-height: 1;
}

.sg-card__media-star.is-empty {
    color: #d8cbb6;
}

.sg-card__media-star.is-full {
    color: var(--sg-gold);
}

.sg-card__media-star.is-half {
    background: linear-gradient(90deg, var(--sg-gold) 50%, #d8cbb6 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sg-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sg-card__badge,
.sg-card__intensity {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    line-height: 1;
    min-height: 27px;
    padding: 7px 10px;
    text-transform: uppercase;
}

.sg-card__badge {
    background: var(--sg-coffee);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 6px 18px rgba(32, 19, 15, .18);
    color: #fff;
}

.sg-card__badge--discount {
    background: var(--sg-sale);
    border-color: rgba(255, 255, 255, .9);
    border-radius: 12px;
    box-shadow: 0 9px 24px rgba(184, 93, 20, .28);
    color: #fff;
    font-size: 14px;
    min-height: 37px;
    padding: 9px 13px;
    transform: rotate(-2deg) scale(1.04);
    transform-origin: left top;
}

.sg-card__badge--stock {
    background: var(--sg-unavailable);
    border-color: rgba(255, 255, 255, .86);
    box-shadow: 0 6px 18px rgba(32, 19, 15, .20);
    color: #fff;
}

.sg-card__intensity {
    background: rgba(255, 250, 241, .95);
    border: 1px solid var(--sg-line);
    color: var(--sg-copper);
    white-space: nowrap;
}

.sg-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 4px 14px 10px;
}

.sg-card__eyebrow {
    color: var(--sg-coffee);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .075em;
    margin: 0 0 4px;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.sg-card__title {
    color: var(--sg-ink);
    display: -webkit-box;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.012em;
    line-height: 1.18;
    margin: 0 0 8px;
    min-height: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.sg-card__title[class*='sg-card-title-category-'] {
    margin-bottom: 12px;
}

.sg-card__title[class*='sg-card-title-category-65812-1'] {
    margin-bottom: 22px;
}

.sg-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.sg-card__title a:hover {
    text-decoration: underline !important;
    text-decoration-color: var(--sg-copper) !important;
    text-underline-offset: 4px;
}

.sg-card__rating {
    align-items: center;
    color: var(--sg-ink-muted);
    display: flex;
    font-size: 12px;
    margin: 4px 0 5px;
    min-height: 17px;
}

.sg-card__rating--empty {
    font-style: italic;
}

.sg-card__rating .product-reviews-summary {
    align-items: center;
    display: inline-flex;
    float: none;
    gap: 6px;
    margin: 0 !important;
}

.sg-card__rating .rating-summary {
    left: auto !important;
    margin: 0 8px 0 0 !important;
}

.sg-card__rating .reviews-actions {
    display: inline-flex !important;
    font-size: 11px !important;
    margin: 0 !important;
    text-transform: none !important;
}

.sg-card__rating .rating-result::before {
    color: #d8cbb6 !important;
}

.sg-card__rating .rating-result > span::before {
    color: var(--sg-gold) !important;
}

.sg-card__facts {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 2px;
}

.sg-card__facts-row {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-card__facts-row + .sg-card__facts-row {
    margin-top: 5px;
}

.sg-card__facts-row > div,
.sg-card__facts > div {
    background: rgba(255, 255, 255, .54);
    border: 1px solid var(--sg-line-soft);
    border-radius: 13px;
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 6px 9px;
}

.sg-card__facts dt {
    color: var(--sg-ink-muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.sg-card__facts dd {
    color: var(--sg-ink);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    margin: 0;
    overflow-wrap: anywhere;
}

.sg-card__options {
    margin: 0 0 9px;
}

.sg-card__footer {
    display: grid;
    gap: 2px;
    margin-top: 0;
}

.sg-card__from-price {
    color: var(--sg-ink);
    align-items: center;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sg-card__from-price-label {
    color: var(--sg-ink-muted);
    font-size: 12px;
    margin-right: 4px;
}

.sg-card__from-price-value {
    color: var(--sg-ink);
    font-size: 22px;
    font-weight: 850;
    white-space: nowrap;
}

.sg-card__price-inline-reviews {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    margin-left: auto;
}

.sg-card__price-inline-reviews .sg-card__media-star {
    color: var(--sg-gold);
    font-size: 23px;
    line-height: 1;
}

.sg-card__price-inline-reviews .sg-card__media-star.is-empty {
    color: #d8cbb6;
}

.sg-card__price-inline-reviews .sg-card__review-count {
    color: var(--sg-ink-muted);
    font-size: 12px;
    line-height: 1;
}

.sg-card__flip-button {
    margin-top: 0;
}

.sg-card__flip-button,
.sg-card__flip-button:hover,
.sg-card__flip-button:focus-visible {
    background: #f58026 !important;
    background-color: #f58026 !important;
    border-color: #f58026 !important;
    color: #fff !important;
}

.sg-card__price {
    border-top: 1px dashed var(--sg-line);
    min-height: 40px;
    padding-top: 5px;
}

.sg-card__price .price-box,
.sg-card__format-price .price-box {
    margin: 0 !important;
}

.sg-card__price .price,
.sg-card__format-price .price {
    color: var(--sg-ink);
    font-weight: 850;
}

.sg-card__price > .price-box > .price-container > .price-wrapper > .price,
.sg-card__price > .price-box .special-price .price {
    font-size: 24px !important;
}

.sg-card__price .price-wrapper[data-price-type="finalPrice"] .price,
.sg-card__price .price-box > .price-wrapper[data-price-type="finalPrice"] .price,
.sg-card__price .price-final_price .price,
.sg-card__price .price-box > .special-price .price {
    font-size: 24px !important;
}

.sg-card--configurable .sg-card__price .price-box,
[data-product-type="configurable"] .sg-card__price .price-box.price-final_price,
.sg-card--configurable .sg-card__price .price-box.price-final_price,
[data-product-type="configurable"] .sg-card__price .price-box {
    align-items: baseline;
    display: flex !important;
    flex-wrap: wrap;
    gap: 5px 9px !important;
    margin: 0 !important;
    min-width: 0;
}

.sg-card--configurable .sg-card__price .price-container,
.sg-card--configurable .sg-card__price .special-price,
.sg-card--configurable .sg-card__price .old-price,
[data-product-type="configurable"] .sg-card__price .price-container,
[data-product-type="configurable"] .sg-card__price .special-price,
[data-product-type="configurable"] .sg-card__price .old-price {
    align-items: baseline;
    display: flex !important;
    flex-wrap: wrap;
    margin: 0 !important;
    min-width: 0;
}

.sg-card--configurable .sg-card__price .price,
[data-product-type="configurable"] .sg-card__price .price {
    color: var(--sg-coffee) !important;
    font-size: 24px !important;
    font-weight: 950 !important;
    line-height: 1.06 !important;
}

.sg-card--configurable .sg-card__price .special-price .price,
[data-product-type="configurable"] .sg-card__price .special-price .price {
    background: rgba(168, 32, 54, .09);
    border: 1px solid rgba(168, 32, 54, .18);
    border-radius: 10px;
    color: var(--sg-red) !important;
    display: inline-block;
    font-size: 24px !important;
    line-height: 1.06 !important;
    padding: 4px 8px;
}

.sg-card--configurable .sg-card__price .special-price,
[data-product-type="configurable"] .sg-card__price .special-price {
    order: 1;
}

.sg-card--configurable .sg-card__price .old-price,
[data-product-type="configurable"] .sg-card__price .old-price {
    order: 2;
    opacity: .82;
}

.sg-card--configurable .sg-card__price .old-price .price,
[data-product-type="configurable"] .sg-card__price .old-price .price {
    background: transparent !important;
    border: 0 !important;
    color: var(--sg-ink-muted) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    padding: 0 !important;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.sg-card__price .price-box .old-price .price,
.sg-card__price .price-box > .price-wrapper[data-price-type="oldPrice"] .price {
    color: var(--sg-ink-muted) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.25px !important;
}

.sg-card__price .price-box .price-wrapper[data-price-type="finalPrice"],
.sg-card__price .price-box > .price-wrapper[data-price-type="oldPrice"],
.sg-card__price .price-container,
.sg-card__price .special-price,
.sg-card__price .old-price {
    align-items: baseline;
    display: flex !important;
    flex-wrap: wrap;
    margin: 0 !important;
    min-width: 0;
}

.sg-card .rewards__product-earn-points {
    background: rgba(211, 168, 74, .15);
    border: 1px solid rgba(211, 168, 74, .36);
    border-radius: 999px;
    color: #6e4a09;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    margin-top: 5px;
    line-height: 1.35;
    min-height: 0;
    overflow: visible;
    padding: 6px 10px;
}

/* Visual fallback while Magento's DI/config cache is being refreshed. */
.sg-card__front .rewards__product-earn-points {
    display: none !important;
}

.sg-card__primary,
.sg-card__format-add,
.sg-card__back-footer a {
    align-items: center;
    border: 1px solid var(--sg-ink) !important;
    border-radius: 999px !important;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit;
    font-weight: 850;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    text-align: center;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, transform .18s ease;
    width: 100%;
}

.sg-card__primary {
    border-color: #222 !important;
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    color: #fff !important;
    font-size: 13px;
    margin: 0 !important;
    padding: 11px 14px !important;
}

.sg-card__primary:hover,
.sg-card__primary:focus-visible {
    border-color: #222 !important;
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.sg-card__primary:active,
.sg-card__primary:focus,
.sg-card__primary:visited {
    border-color: #222 !important;
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    color: #fff !important;
}

.sg-card .sg-card__primary,
.sg-card .sg-card__primary:hover,
.sg-card .sg-card__primary:focus,
.sg-card .sg-card__primary:focus-visible,
.sg-card .sg-card__primary:active {
    border-color: #222 !important;
    background: #222 !important;
    color: #fff !important;
}

.sg-card__primary--notify {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
}

.sg-card__primary--notify:hover,
.sg-card__primary--notify:focus-visible {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
    color: #fff !important;
}

.sg-card__back-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--sg-line-soft);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    position: relative;
    z-index: 2;
    padding: 16px 16px 12px;
}

.sg-card__back-header-main {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    min-width: 0;
}

.sg-card__back-header-image {
    background: var(--sg-cream);
    border: 1px solid var(--sg-line);
    border-radius: 8px;
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.sg-card__formats-title {
    color: var(--sg-coffee);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .075em;
    margin: 10px 14px 6px;
    text-transform: uppercase;
}

.sg-card__back-header h3 {
    color: var(--sg-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.18;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-card__back-button {
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: 50%;
    color: var(--sg-ink);
    cursor: pointer;
    display: grid;
    font-size: 18px;
    height: 36px;
    pointer-events: auto;
    padding: 0;
    position: relative;
    place-items: center;
    z-index: 10;
    touch-action: manipulation;
    width: 36px;
    z-index: 30;
}

.sg-card__back-button:hover,
.sg-card__back-button:focus-visible {
    background: var(--sg-ink);
    color: #fff;
}

.sg-card__formats {
    display: grid;
    flex: 1 1 auto;
    gap: 6px;
    list-style: none;
    margin: 0;
    min-height: 0;
    overflow: auto;
    padding: 8px 12px 10px;
    scrollbar-color: var(--sg-copper) transparent;
    scrollbar-width: thin;
}

.sg-card__format {
    align-items: stretch;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--sg-line);
    border-radius: 14px;
    box-shadow: 0 8px 22px -22px rgba(32, 19, 15, .7);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 112px;
    overflow: visible;
    padding: 8px 10px;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sg-card__format.is-best-value {
    padding-top: 0;
}

.sg-card__format:hover,
.sg-card__format:focus-within {
    border-color: rgba(184, 117, 50, .48);
    box-shadow: 0 12px 24px -24px rgba(32, 19, 15, .75);
    transform: translateY(-1px);
}

.sg-card__format.is-unavailable {
    background: rgba(255, 255, 255, .48);
    box-shadow: none;
}

.sg-card__format-tag {
    background: var(--sg-gold);
    border-radius: 999px;
    color: #2d1b05;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .04em;
    padding: 3px 7px;
    position: absolute;
    left: 50%;
    max-width: calc(100% - 20px);
    right: auto;
    text-align: center;
    text-transform: uppercase;
    top: 8px;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 2;
}

.sg-card__format-size {
    background: var(--sg-orange);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    gap: 4px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-self: center !important;
    border: 0;
    justify-items: center;
    line-height: 1.05;
    margin: 0 auto;
    width: fit-content;
    max-width: max-content;
    min-width: 0;
    padding: 6px 12px;
    height: auto;
    min-height: 0;
    text-align: center;
    white-space: nowrap;
}

.sg-card__format-size--free,
.sg-card__format-size--promo {
    align-self: center;
    display: inline-flex;
    max-width: 100%;
}

.sg-card__format-size--promo {
    background: var(--sg-orange);
    box-shadow: 0 7px 16px rgba(245, 128, 38, .22);
}

.sg-card__format-size--free {
    background: var(--sg-green);
    box-shadow: 0 7px 16px rgba(8, 138, 24, .22);
}

.sg-card__format-size--variant {
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px;
    padding: 0 !important;
    width: 34px;
}

.sg-card--configurable .sg-card__format-size--variant,
[data-product-type="configurable"] .sg-card__format-size--variant {
    width: 60px !important;
}

.sg-card__format-size--promo,
.sg-card__format-size--free {
    align-self: center;
    display: inline-flex;
    width: auto;
    max-width: max-content;
}

html body .sg-card__format.has-standard-shipping .sg-card__format-size {
    background: var(--sg-orange) !important;
}

html body .sg-card__format.has-free-shipping .sg-card__format-size {
    background: var(--sg-green) !important;
}

.sg-card__format-size strong {
    font-size: 19px;
    line-height: 1;
    margin: 0;
    padding-top: 0;
    display: inline;
    width: auto;
    text-align: center;
}

.sg-card__format-size--variant .sg-card__format-size-image {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--sg-line);
    border-radius: 7px;
    display: block;
    height: 34px;
    width: 34px;
    object-fit: cover;
}

.sg-card--configurable .sg-card__format-size--variant .sg-card__format-size-image,
[data-product-type="configurable"] .sg-card__format-size--variant .sg-card__format-size-image {
    height: 60px !important;
    width: 60px !important;
}

.sg-card--configurable .sg-card__format-badges .sg-card__format-size,
[data-product-type="configurable"] .sg-card__format-badges .sg-card__format-size {
    align-items: flex-start !important;
    overflow: visible !important;
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 !important;
}

.sg-card--configurable .sg-card__formats,
[data-product-type="configurable"] .sg-card__formats {
    gap: 0px !important;
}

.sg-card--configurable .sg-card__format-badges,
[data-product-type="configurable"] .sg-card__format-badges {
    top: 0 !important;
}

.sg-card--configurable .sg-card__format-grid,
[data-product-type="configurable"] .sg-card__format-grid {
    margin-top: 30px !important;
}

.sg-card__back-header h3,
[data-product-type="configurable"] .sg-card__back-header h3 {
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
}

.sg-card__format-size span {
    font-size: 12px;
    line-height: 1;
    min-height: 0;
    font-weight: 800;
    margin: 0;
    opacity: .92;
    display: inline;
    width: auto;
    text-align: center;
}

.sg-card__format-size strong + span {
    margin-left: 3px;
}

.sg-card__format-grid {
    align-items: start;
    display: grid;
    gap: 8px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.sg-card__format-metrics {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sg-card__format-prices-row {
    color: var(--sg-ink);
}

.sg-card__format-points {
    min-width: 0;
    width: 100%;
    overflow: visible;
    padding-right: 1px;
    margin-top: 2px;
}

.sg-card__format-points .rewards__product-earn-points {
    overflow: visible;
    white-space: normal;
    word-break: break-word;
    min-height: 0;
    padding-top: 7px;
    padding-bottom: 7px;
}

.sg-card__format-price .price-box .price {
    font-size: 24px !important;
    line-height: 1.05 !important;
}

.sg-card__format-price .price-box {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 7px;
    min-width: 0;
}

.sg-card__format-price .old-price,
.sg-card__format-price .special-price,
.sg-card__format-price .price-container {
    margin: 0 !important;
}

.sg-card__format-price .old-price .price {
    color: var(--sg-ink-muted);
    font-size: 14px !important;
}

.sg-card__format-price small {
    color: #222 !important;
    display: block;
    font-size: 14px;
    line-height: 1.2;
}

.sg-card__format .price-label,
.sg-card__format .special-price .price-label,
.sg-card__format .old-price .price-label,
.sg-card__format .price-from .price-label,
.sg-card__format .price-to .price-label {
    display: none !important;
}

.sg-card__format-price .price-box .price {
    font-size: 24px !important;
    }

.sg-card__format-price-unit {
    color: #222 !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.sg-card__format-expiry {
    color: var(--sg-ink-muted);
    font-size: 13px !important;
    margin-top: 1px;
}

.sg-card__format-price .sg-card__free-shipping {
    color: var(--sg-green);
    font-weight: 800;
}

.sg-card__format-price .rewards__product-earn-points {
    align-items: center;
    background: linear-gradient(180deg, rgba(211, 168, 74, .2), rgba(211, 168, 74, .1));
    border-color: rgba(211, 168, 74, .42);
    box-sizing: border-box;
    color: #6e4a09;
    display: block;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1.28;
    margin: 6px 0 0;
    max-width: 100%;
    min-height: 0;
    overflow: visible;
    padding: 7px 10px;
    width: 100%;
    word-break: break-word;
    white-space: normal;
    min-height: 0;
}

/* Hide a stale cached Mirasvit adjustment; the visible label is loaded in the
 * dedicated per-format container immediately below the price box. */
.sg-card__format-price .price-box .rewards__product-earn-points {
    display: none !important;
}

.sg-card__format-points [hidden] {
    display: none !important;
}

.sg-card__format-points .mst-rewards-logo,
.sg-card__format-points i,
.sg-card__format-points svg {
    display: none !important;
}

.sg-card__format-price .rewards__product-earn-points .price {
    color: inherit !important;
    font-size: 12px !important;
    white-space: normal;
}

.sg-card__format .price {
    font-size: 22px !important;
}

.sg-card__format-action {
    min-width: 0;
    margin-left: 0;
    width: auto;
    padding-top: 0;
    border-top: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 3;
}

.sg-card__format-action form {
    align-items: stretch;
    display: flex;
    gap: 7px;
}

.sg-card__format-qty-wrap {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: 999px;
    color: var(--sg-ink);
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 120px;
    min-height: 36px;
    padding: 0 10px;
    white-space: nowrap;
}

.sg-card__format-qty-wrap span {
    display: block;
    font-size: 11px;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.sg-card__format-qty {
    -moz-appearance: textfield;
    appearance: textfield;
    background: transparent;
    border: 0;
    color: var(--sg-ink);
    font-weight: 900;
    min-width: 36px;
    text-align: center;
    width: 36px;
}

.sg-card__format-qty::-webkit-inner-spin-button,
.sg-card__format-qty::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.sg-card__format-action form {
    pointer-events: auto;
}

.sg-card__back .sg-card__back-button,
.sg-card__back .sg-card__back-footer-link,
.sg-card__back .sg-card__format-add,
.sg-card__back .sg-card__format-add:focus,
.sg-card__back .sg-card__format-add:hover {
    pointer-events: auto !important;
}

.sg-card__format-add {
    pointer-events: auto;
}

.sg-card__format-action form {
    margin: 0;
    width: auto;
    margin-left: auto;
}

.sg-card__format-add {
    border-color: #222 !important;
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    box-shadow: 0 8px 18px -12px rgba(32, 19, 15, .85);
    color: #fff !important;
    font-size: 13px !important;
    letter-spacing: .015em;
    height: 36px;
    min-height: 36px;
    min-width: 36px;
    opacity: 1 !important;
    padding: 0 !important;
    pointer-events: auto;
    position: relative;
    visibility: visible !important;
    width: 36px !important;
}

.sg-card__format-action .sg-card__format-add[disabled],
.sg-card__format-action .sg-card__format-add:disabled,
.sg-card__format-action .sg-card__format-add:disabled:hover,
.sg-card__format-action .sg-card__format-add[disabled]:hover {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
}

.sg-card__format-add:hover,
.sg-card__format-add:focus,
.sg-card__format-add:focus-visible,
.sg-card__format-add:active {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.sg-card .sg-card__format-add,
.sg-card .sg-card__format-add:hover,
.sg-card .sg-card__format-add:focus,
.sg-card .sg-card__format-add:focus-visible,
.sg-card .sg-card__format-add:active {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
    color: #fff !important;
}

.sg-card__format-add.disabled,
.sg-card__format-add:disabled,
.sg-card__primary.disabled,
.sg-card__primary:disabled {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
    cursor: wait;
    filter: none !important;
    opacity: .72 !important;
    pointer-events: none;
}

.sg-card__format-action .sg-card__format-add {
    z-index: 5;
}

.sg-card__format-add--notify {
    background: var(--sg-blue) !important;
    border-color: var(--sg-blue) !important;
    height: auto !important;
    line-height: 1.2 !important;
    min-height: 34px !important;
    overflow: visible !important;
    white-space: normal !important;
    width: 100% !important;
    padding: 6px 10px !important;
}

.sg-card__format-add--notify span {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal !important;
}

.sg-card__format-add--notify:hover,
.sg-card__format-add--notify:focus-visible {
    background: #fff !important;
    color: var(--sg-blue) !important;
}

.sg-card__format-add--icon-only {
    align-self: center;
    border-radius: 50% !important;
    display: grid !important;
    align-items: center;
    justify-items: center;
    place-items: center;
    box-shadow: 0 7px 16px rgba(32, 19, 15, .25);
    height: 36px;
    margin: 0;
    min-height: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    width: 36px !important;
}

.sg-card__format-add-icon {
    align-items: center;
    color: #fff !important;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
    line-height: 1;
    margin: 0;
    min-height: 36px;
    min-width: 36px;
    pointer-events: none;
    color: #fff !important;
}

.sg-card__format-add-icon svg {
    width: 19px;
    height: 19px;
    color: #fff !important;
    stroke: #fff !important;
}

.sg-card__format-add--icon-only .sg-card__format-add-icon {
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.sg-card__format-add-icon svg {
    color: currentColor;
    display: block;
    height: 19px;
    width: 19px;
    fill: none;
    stroke: currentColor;
}

.sg-card__format-add-icon svg,
.sg-card__format-add-icon path,
.sg-card__format-add-icon circle {
    fill: none;
    stroke: #fff !important;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-card__format-add-icon path {
    stroke-width: 1.55;
}

.sg-card__format-add-icon circle {
    stroke-width: 1.7;
}

.sg-card__format-add:hover .sg-card__format-add-icon,
.sg-card__format-add:focus-visible .sg-card__format-add-icon,
.sg-card__format-add:active .sg-card__format-add-icon {
    color: #fff !important;
}

.sg-card .rewards__product-earn-points {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    display: block;
    line-height: 1.28;
    white-space: normal;
}

.sg-card__back-footer {
    padding: 0 10px 10px;
}

.sg-card__back-button {
    z-index: 40;
}

.sg-card__back-button {
    background: #222;
    border-color: #222;
    color: #fff;
}


.sg-card__back-footer a,
.sg-card__back-footer .sg-card__back-footer-link {
    z-index: 20;
}

.sg-card__back-footer a,
.sg-card__back-footer .sg-card__back-footer-link {
    background: #222 !important;
    border: 1px solid #222 !important;
    color: #fff !important;
    display: inline-flex;
    font-size: 13px;
    min-height: 35px;
    padding: 9px 12px;
    text-align: center;
    text-decoration: none;
    position: relative;
    z-index: 8;
}

.sg-card__format-add {
    display: grid !important;
    place-items: center !important;
}

.sg-card__format-add-icon {
    align-items: center;
    display: inline-flex !important;
    place-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    pointer-events: none;
    color: #fff !important;
}

.sg-card__back-footer a:hover,
.sg-card__back-footer a:focus-visible,
.sg-card__back-footer .sg-card__back-footer-link:hover,
.sg-card__back-footer .sg-card__back-footer-link:focus-visible {
    background: #050505 !important;
    border-color: #050505 !important;
    color: #fff !important;
}

.sg-card.is-flipped .sg-card__back-footer-link {
    animation: sgCardBackPulse 1.5s ease-in-out infinite;
}

@keyframes sgCardBackPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 128, 38, .4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 128, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 128, 38, 0);
    }
}

.sg-card :focus-visible {
    border-radius: 10px;
    outline: 3px solid rgba(184, 117, 50, .62);
    outline-offset: 3px;
}

.sg-sr-only {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.sg-stock-notice {
    background: #fff;
    border: 1px solid rgba(32, 19, 15, .18);
    border-radius: 18px;
    box-shadow: 0 24px 70px -25px rgba(0, 0, 0, .55);
    display: none;
    left: 50%;
    max-height: calc(100vh - 32px);
    max-width: min(92vw, 560px);
    overflow: auto;
    padding: 24px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 10000;
}

.sg-stock-notice .close {
    background: transparent;
    border: 0;
    font-size: 25px;
    line-height: 1;
    padding: 5px;
    position: absolute;
    right: 12px;
    top: 10px;
}

.sg-stock-notice__title {
    color: var(--sg-ink, #20130f);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
    margin: 0 35px 12px 0;
}

.sg-stock-notice input[type="email"],
.sg-stock-notice input[type="tel"] {
    margin: 6px 0;
    width: 100%;
}

.sg-stock-notice__consent {
    align-items: flex-start;
    display: grid;
    gap: 9px;
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 14px;
}

.sg-stock-notice__consent input {
    height: 20px;
    margin: 0;
    width: 20px;
}

.sg-stock-notice .saida-stock-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.sg-stock-notice .saida-stock-notice-actions button {
    flex: 1 1 190px;
    min-height: 43px;
}

@container (max-width: 300px) {
    .sg-card__format {
        gap: 9px;
        padding: 9px;
        min-height: 84px;
    }
}

@media (max-width: 767px) {
    .sg-product-list {
        margin-top: 12px;
    }

    html body .sg-product-list .sg-product-grid {
        gap: 13px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-card__stage,
    .sg-card--standard .sg-card__face {
        min-height: 470px;
    }

    .sg-card--flip .sg-card__stage {
        height: 500px;
    }

    .sg-card__media {
        flex-basis: 252px;
        min-height: 250px;
    }

    .sg-card__media .product-image-photo,
    .sg-card__media img {
        height: 232px !important;
        max-height: 232px;
    }
}

@media (max-width: 520px) {
    html body .sg-product-list .sg-product-grid {
        grid-template-columns: 1fr;
    }

    .sg-card__media {
        flex-basis: 250px;
        min-height: 248px;
    }

    .sg-card__media .product-image-photo,
    .sg-card__media img {
        height: 226px !important;
        max-height: 226px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-card__stage,
    .sg-card__media img,
    .sg-card__primary,
    .sg-card__format-add,
    .sg-card__back-footer a {
        transition: none !important;
    }

    .sg-card--flip .sg-card__stage,
    .sg-card--flip.is-flipped .sg-card__stage {
        transform: none;
    }

    .sg-card--flip .sg-card__back {
        display: none;
        transform: none;
    }

    .sg-card--flip.is-flipped .sg-card__front {
        display: none;
    }

    .sg-card--flip.is-flipped .sg-card__back {
        display: flex;
    }
}

/* SaidaProductCard visual tuning */
.sg-card__format {
    align-items: center;
    min-height: 84px;
}

.sg-card__format-size {
    align-self: center !important;
    border: 0 !important;
    justify-self: auto !important;
    justify-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    margin-block: 0 !important;
}

.sg-card__format-price small,
.sg-card__format-price-unit {
    color: #222 !important;
}

.sg-card__primary {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
}

.sg-card__primary--icon-only {
    aspect-ratio: 1;
    min-width: 44px;
    padding: 0 !important;
    width: 44px;
}

.sg-card__primary-icon {
    color: #fff;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    width: 44px;
}

.sg-card__primary-icon svg {
    display: block;
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 20px;
}

.sg-card .sg-card__primary,
.sg-card .sg-card__primary:hover,
.sg-card .sg-card__primary:focus,
.sg-card .sg-card__primary:focus-visible,
.sg-card .sg-card__primary:active {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
    color: #fff !important;
}

.sg-card__format-add {
    background: #222 !important;
    background-color: #222 !important;
    background-image: none !important;
    border-color: #222 !important;
    color: #fff !important;
}

.sg-card__format-add-icon {
    color: #fff !important;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    height: 36px;
    width: 36px;
    min-height: 36px;
    min-width: 36px;
    pointer-events: none;
}

/* Layout tuning requested: image size/hover, inline reviews and cleaner back row layout. */
.sg-card__media {
    flex: 0 0 380px;
    min-height: 340px;
    padding: 10px 8px 0;
}

.sg-card__media .product-image-photo,
.sg-card__media img {
    height: 320px !important;
    max-height: 320px !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    transition: none !important;
    transform: none !important;
}

.sg-card__media:hover,
.sg-card__media:hover .product-image-photo,
.sg-card__media:hover img,
.sg-card__media:focus-within,
.sg-card__media:focus-within .product-image-photo,
.sg-card__media:focus-within img {
    transform: none !important;
    transition: none !important;
}

.sg-card__from-price {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 0;
    width: 100%;
}

.sg-card__from-price-value {
    white-space: nowrap;
}

.sg-card__price-inline-reviews {
    align-items: center;
    background: transparent;
    display: inline-flex;
    gap: 3px;
    margin-left: auto;
    padding: 0;
}

.sg-card__price-inline-reviews .sg-card__media-star,
.sg-card__price-inline-reviews .sg-card__media-star.is-full,
.sg-card__price-inline-reviews .sg-card__media-star.is-half,
.sg-card__price-inline-reviews .sg-card__media-star.is-empty {
    text-shadow: none;
}

.sg-card__price-inline-reviews .sg-card__review-count {
    display: none;
}

.sg-card__back-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.sg-card__formats-title {
    font-size: 18px;
    line-height: 1.25;
    margin: 8px 0 10px;
}

.sg-card__formats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.sg-card__format {
    align-items: flex-start;
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 0;
    padding: 10px;
}

.sg-card__format-size {
    align-items: baseline;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 4px;
    margin: 0;
    width: auto;
}

.sg-card__format-size strong {
    font-size: 16px;
}

.sg-card__format-size span {
    font-size: 12px;
}

.sg-card__format-price {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 3px;
    margin: 0;
    min-width: 200px;
}

.sg-card__format-price .price {
    font-size: 20px;
}

.sg-card__format-price small {
    margin: 0;
}

.sg-card__format-action {
    margin-left: auto;
}

.sg-card__format-add,
.sg-card__format-add:hover,
.sg-card__format-add:focus,
.sg-card__format-add:focus-visible {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}

.sg-card__format-add-icon svg,
.sg-card__format-add-icon path,
.sg-card__format-add-icon circle {
    fill: #fff !important;
    stroke: #fff !important;
}

.sg-card__back-footer-link,
.sg-card__back-footer-link:hover,
.sg-card__back-footer-link:focus,
.sg-card__back-footer-link:focus-visible {
    font-size: 13px;
}

.sg-card__back-footer {
    margin-top: 8px;
}

@media (max-width: 640px) {
    .sg-card__media,
    .sg-card__media .product-image-photo,
    .sg-card__media img {
        min-height: 0;
        height: auto !important;
        max-height: 260px !important;
    }

    .sg-card__from-price {
        flex-wrap: wrap;
    }

    .sg-card__price-inline-reviews {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .sg-card__format {
        align-items: stretch;
    }

    .sg-card__format-size,
    .sg-card__format-price,
    .sg-card__format-action {
        flex: 1 1 100%;
        min-width: 0;
    }

    .sg-card__format-action {
        margin-left: 0;
    }
}

/* ProductCard refinements: compact front spacing and readable grouped-product back face. */
.sg-card {
    container-type: inline-size;
}

.sg-card__stage {
    min-height: 610px !important;
}

.sg-card--standard .sg-card__face {
    min-height: 610px !important;
}

.sg-card--flip .sg-card__stage {
    height: 720px !important;
}

/* Keep the active face above the inactive one and prevent invisible overlays
 * from intercepting the back-arrow or add-to-cart controls. */
.sg-card--flip:not(.is-flipped) .sg-card__front {
    pointer-events: auto !important;
    z-index: 3;
}

.sg-card--flip:not(.is-flipped) .sg-card__back,
.sg-card--flip:not(.is-flipped) .sg-card__back * {
    pointer-events: none !important;
    z-index: 1;
}

.sg-card--flip.is-flipped .sg-card__front,
.sg-card--flip.is-flipped .sg-card__front * {
    pointer-events: none !important;
    z-index: 1;
}

.sg-card--flip.is-flipped .sg-card__back {
    pointer-events: auto !important;
    z-index: 4;
}

.sg-card__media {
    flex: 0 0 380px !important;
    min-height: 350px !important;
    padding-top: 4px !important;
}

.sg-card__media .product-image-photo,
.sg-card__media img {
    height: 335px !important;
    max-height: 335px !important;
}

.sg-card__content {
    padding: 0 14px 8px !important;
}

.sg-card__eyebrow {
    margin-bottom: 1px !important;
}

.sg-card__facts,
.sg-card__facts-row {
    gap: 4px !important;
}

/* The CTA now closes the front face instead of leaving a large empty area
 * below "Choose size and price". */
.sg-card__footer {
    margin: 10px;
}

.sg-card__flip-button {
    margin-bottom: 0 !important;
}

.sg-card__from-price {
    align-items: center !important;
    margin-top: 0 !important;
}

.sg-card__from-price-value {
    font-size: 23px !important;
}

.sg-card__price-inline-reviews {
    margin-left: auto !important;
    padding: 0 !important;
}

.sg-card__price-inline-reviews .sg-card__review-count {
    display: none;
}

.sg-card__back-header {
    align-items: center !important;
    display: flex !important;
    flex: 0 0 auto;
    justify-content: space-between !important;
    gap: 10px;
}

.sg-card__back-button {
    flex: 0 0 40px;
    height: 40px;
    isolation: isolate;
    pointer-events: auto !important;
    position: relative !important;
    touch-action: manipulation;
    width: 40px;
    z-index: 100 !important;
}

.sg-card__formats-title {
    flex: 0 0 auto;
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 8px 12px 10px !important;
}

.sg-card__formats {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column !important;
    gap: 10px !important;
    min-height: 0;
    overflow: auto;
    padding: 0 12px 10px !important;
}

.sg-card__format {
    align-items: stretch !important;
    display: block !important;
    flex: 0 0 auto;
    min-height: 138px !important;
    padding: 11px 12px !important;
}

.sg-card__format.is-best-value {
    padding-top: 32px !important;
}

.sg-card__format-tag {
    top: 8px;
}

.sg-card__format-grid {
    align-items: stretch !important;
    display: grid !important;
    gap: 8px 14px !important;
    grid-template-areas:
        "head action"
        "body action";
    grid-template-columns: minmax(0, 1fr) clamp(112px, 36%, 150px) !important;
    grid-template-rows: auto 1fr;
    width: 100%;
}

.sg-card__format-head {
    grid-area: head;
    margin: 0;
    min-width: 0;
}

.sg-card__format-size {
    align-items: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: 100%;
    padding: 7px 12px !important;
    width: auto !important;
}

.sg-card__format-size strong {
    font-size: 17px !important;
}

.sg-card__format-size span {
    font-size: 12px !important;
}

.sg-card__format-body {
    background: rgba(255, 250, 241, .72);
    border: 1px solid var(--sg-line-soft);
    border-radius: 12px;
    display: flex !important;
    grid-area: body;
    min-width: 0;
    padding: 9px 10px;
}

.sg-card__format-metrics {
    display: grid !important;
    gap: 4px !important;
    min-width: 0;
    width: 100%;
}

.sg-card__format-row {
    margin: 0 !important;
}

/* Price hierarchy: sale price highlighted, old price visibly secondary. */
.sg-card__format-prices-row .price-box {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px 9px !important;
    min-width: 0;
}

.sg-card__format-prices-row .price-container,
.sg-card__format-prices-row .special-price,
.sg-card__format-prices-row .old-price {
    margin: 0 !important;
}

.sg-card__format-prices-row .price {
    color: var(--sg-coffee) !important;
    font-size: 24px !important;
    font-weight: 950 !important;
    line-height: 1.06 !important;
}

.sg-card__format-prices-row .special-price {
    order: 1;
}

.sg-card__format-prices-row .special-price .price {
    background: rgba(168, 32, 54, .09);
    border: 1px solid rgba(168, 32, 54, .18);
    border-radius: 10px;
    color: var(--sg-red) !important;
    display: inline-block;
    padding: 4px 8px;
}

.sg-card__format-prices-row .old-price {
    order: 2;
    opacity: .82;
}

.sg-card__format-prices-row .old-price .price {
    background: transparent !important;
    border: 0 !important;
    color: var(--sg-ink-muted) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    padding: 0 !important;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.sg-card__format-price-unit {
    align-items: baseline !important;
    color: var(--sg-copper) !important;
    display: inline-flex !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    gap: 4px !important;
    margin-top: 2px !important;
    white-space: nowrap !important;
}

.sg-card__format-price-unit small {
    color: var(--sg-ink-muted) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.sg-card__format-expiry {
    color: var(--sg-ink-muted) !important;
    font-size: 13px !important;
    margin-top: 1px !important;
}

.sg-card__format-points .rewards__product-earn-points {
    margin-top: 2px !important;
}

/* Quantity and cart are kept together in a dedicated right-hand box. */
.sg-card__format-action {
    align-items: center !important;
    align-self: stretch !important;
    background: linear-gradient(180deg, #fff 0%, rgba(242, 230, 210, .72) 100%);
    border: 1px solid var(--sg-line);
    border-radius: 12px;
    display: flex !important;
    grid-area: action;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 0;
    padding: 10px;
    width: auto !important;
}

.sg-card__format-action form {
    align-items: center !important;
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    margin: 0 !important;
    width: 100% !important;
}

.sg-card__format-qty-wrap {
    justify-content: space-between;
    margin: 0;
    max-width: none;
    min-width: 0;
    padding: 0 8px;
    width: 100%;
}

.sg-card__format-qty {
    min-width: 28px;
    width: 28px;
}

.sg-card__format-action .sg-card__format-add--icon-only {
    justify-self: center;
}

.sg-card__format-add--icon-only {
    height: 42px !important;
    min-height: 42px !important;
    min-width: 42px !important;
    width: 42px !important;
}

.sg-card__format-add-icon,
.sg-card__format-add--icon-only .sg-card__format-add-icon {
    height: 42px;
    min-height: 42px;
    min-width: 42px;
    width: 42px;
}

.sg-card__format-add--notify {
    width: 100% !important;
}

.sg-card__back-footer {
    flex: 0 0 auto;
    margin-top: 0 !important;
    padding: 0 12px 12px;
}

.sg-card__back-footer-link,
.sg-card__back-footer-link:hover,
.sg-card__back-footer-link:focus,
.sg-card__back-footer-link:focus-visible {
    font-size: 13px !important;
}

@media (max-width: 767px) {
    .sg-card--flip .sg-card__stage {
        height: 680px !important;
    }

    .sg-card__media {
        flex-basis: 286px !important;
        min-height: 276px !important;
    }

    .sg-card__media .product-image-photo,
    .sg-card__media img {
        height: 260px !important;
        max-height: 260px !important;
    }

    /* Two product cards per row are narrow in this range, so the action box
     * moves below the price details without losing its visual grouping. */
    .sg-card__format-grid {
        grid-template-areas:
            "head"
            "body"
            "action";
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .sg-card__format-action {
        min-height: 62px;
    }

    .sg-card__format-action form {
        grid-template-columns: minmax(0, 1fr) 42px;
    }
}

@media (max-width: 520px) {
    .sg-card--flip .sg-card__stage {
        height: 690px !important;
    }

    /* On a single full-width mobile card, restore the compact right column. */
    .sg-card__format-grid {
        grid-template-areas:
            "head action"
            "body action";
        grid-template-columns: minmax(0, 1fr) 124px !important;
    }

    .sg-card__format-action {
        min-height: 0;
        padding: 8px;
    }

    .sg-card__format-action form {
        gap: 7px !important;
        grid-template-columns: minmax(0, 1fr);
    }

    .sg-card__format-qty-wrap span {
        font-size: 10px;
    }

    .sg-card__format-add--icon-only,
    .sg-card__format-add-icon,
    .sg-card__format-add--icon-only .sg-card__format-add-icon {
        height: 40px !important;
        min-height: 40px !important;
        min-width: 40px !important;
        width: 40px !important;
    }
}

@media (max-width: 380px) {
    .sg-card__format-grid {
        grid-template-areas:
            "head"
            "body"
            "action";
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Four-column desktop grids can produce cards close to 280–300 px wide. */
@container (max-width: 320px) {
    .sg-card__format-grid {
        gap: 8px !important;
        grid-template-columns: minmax(0, 1fr) 104px !important;
    }

    .sg-card__format-body,
    .sg-card__format-action {
        padding: 7px;
    }

    .sg-card__format-prices-row .price {
        font-size: 20px !important;
    }

    .sg-card__format-prices-row .special-price .price {
        padding: 3px 5px;
    }

    .sg-card__format-prices-row .old-price .price {
        font-size: 12px !important;
    }

    .sg-card__format-price-unit {
        flex-wrap: wrap;
        font-size: 13px !important;
        white-space: normal !important;
    }

    .sg-card__format-price-unit small,
    .sg-card__format-expiry {
        font-size: 10px !important;
    }

    .sg-card__format-size {
        padding: 6px 9px !important;
    }

    .sg-card__format-size strong {
        font-size: 16px !important;
    }

    .sg-card__format-qty-wrap {
        padding: 0 6px;
    }
}

/* --------------------------------------------------------------------------
 * ProductCard 1.0.2: compact grouped options, quantity stepper and image-hover
 * hardening. This final block intentionally wins over legacy/theme rules.
 * -------------------------------------------------------------------------- */

/* Never fade, whiten, swap or animate the product image on hover. */
html body .sg-product-list .sg-card__media,
html body .sg-product-list .sg-card__media:hover,
html body .sg-product-list .sg-card:hover .sg-card__media {
    background: radial-gradient(64% 50% at 50% 58%, rgba(184, 117, 50, .18), transparent 66%) !important;
    filter: none !important;
    opacity: 1 !important;
}

html body .sg-product-list .sg-card__media .product-image-container,
html body .sg-product-list .sg-card__media .product-image-wrapper,
html body .sg-product-list .sg-card__media:hover .product-image-container,
html body .sg-product-list .sg-card__media:hover .product-image-wrapper {
    background: transparent !important;
    filter: none !important;
    opacity: 1 !important;
}

html body .sg-product-list .sg-card__media .product-image-wrapper::before,
html body .sg-product-list .sg-card__media .product-image-wrapper::after,
html body .sg-product-list .sg-card__media:hover .product-image-wrapper::before,
html body .sg-product-list .sg-card__media:hover .product-image-wrapper::after {
    animation: none !important;
    background: transparent !important;
    content: none !important;
    display: none !important;
    opacity: 0 !important;
}

html body .sg-product-list .sg-card__media .product-image-photo,
html body .sg-product-list .sg-card__media img,
html body .sg-product-list .sg-card__media:hover .product-image-photo,
html body .sg-product-list .sg-card__media:hover img,
html body .sg-product-list .sg-card:hover .sg-card__media .product-image-photo,
html body .sg-product-list .sg-card:hover .sg-card__media img {
    animation: none !important;
    background: transparent !important;
    filter: drop-shadow(0 14px 20px rgba(32, 19, 15, .16)) !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

/* Compact grouped-option list. */
.sg-card__formats {
    gap: 6px !important;
    padding: 0 10px 8px !important;
}

.sg-card__format,
.sg-card__format.is-best-value {
    border-radius: 11px !important;
    display: block !important;
    min-height: 88px !important;
    padding: 6px 8px !important;
}

.sg-card__format:hover,
.sg-card__format:focus-within {
    transform: none !important;
}

.sg-card__format-tag {
    font-size: 8px !important;
    left: auto !important;
    line-height: 1 !important;
    max-width: 82px;
    padding: 3px 5px !important;
    right: 5px !important;
    top: 4px !important;
    transform: none !important;
}

.sg-card__format-grid {
    align-items: center !important;
    display: grid !important;
    gap: 7px !important;
    grid-template-areas: "head body action" !important;
    grid-template-columns: minmax(58px, 72px) minmax(0, 1fr) 96px !important;
    grid-template-rows: auto !important;
    width: 100%;
}

.sg-card__format-head {
    align-items: center;
    display: flex;
    grid-area: head;
    min-width: 0;
}

.sg-card__format-size,
.sg-card__format-size--promo,
.sg-card__format-size--free {
    border-radius: 9px !important;
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 2px !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: 72px !important;
    min-width: 58px;
    padding: 5px 6px !important;
    white-space: normal !important;
    width: 100% !important;
}

.sg-card__format-size strong {
    font-size: 15px !important;
    line-height: 1 !important;
}

.sg-card__format-size span {
    font-size: 9px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.sg-card__format-body {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    grid-area: body;
    min-width: 0;
    padding: 0 !important;
}

.sg-card__format-metrics {
    display: grid !important;
    gap: 1px !important;
    min-width: 0;
    width: 100%;
}

.sg-card__format-row {
    line-height: 1.05 !important;
    margin: 0 !important;
}

/* Special-price labels are also removed in PHP; this is a defensive fallback. */
.sg-card__format-prices-row .price-label,
.sg-card__format-prices-row [class*="price-label"] {
    display: none !important;
}

.sg-card__format-prices-row .price-box {
    align-items: baseline !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2px 6px !important;
    line-height: 1 !important;
    min-width: 0;
}

.sg-card__format-prices-row .price-container,
.sg-card__format-prices-row .special-price,
.sg-card__format-prices-row .old-price {
    line-height: 1 !important;
    margin: 0 !important;
}

.sg-card__format-prices-row .price {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--sg-coffee) !important;
    font-size: 19px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    padding: 0 !important;
    white-space: nowrap;
}

.sg-card__format-prices-row .special-price {
    order: 1;
}

.sg-card__format-prices-row .special-price .price {
    color: var(--sg-red) !important;
    font-size: 20px !important;
}

.sg-card__format-prices-row .old-price {
    order: 2;
    opacity: .8;
}

.sg-card__format-prices-row .old-price .price {
    color: var(--sg-ink-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.25px !important;
}

.sg-card__format-price-unit {
    align-items: baseline !important;
    color: var(--sg-copper) !important;
    display: inline-flex !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    gap: 3px !important;
    line-height: 1.05 !important;
    margin: 1px 0 0 !important;
    white-space: nowrap !important;
}

.sg-card__format-price-unit small,
.sg-card__format-expiry {
    color: var(--sg-ink-muted) !important;
    font-size: 9px !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
}

.sg-card__format-expiry {
    margin-top: 1px !important;
}

/* The rewards-points row was removed from the template. */
.sg-card__format-points {
    display: none !important;
}

/* Compact right-side quantity/cart box. */
.sg-card__format-action {
    align-items: center !important;
    align-self: stretch !important;
    background: linear-gradient(180deg, #fff 0%, rgba(242, 230, 210, .72) 100%) !important;
    border: 1px solid var(--sg-line) !important;
    border-radius: 9px !important;
    display: flex !important;
    grid-area: action;
    justify-content: center !important;
    margin: 0 !important;
    min-width: 0;
    padding: 5px !important;
    width: auto !important;
}

.sg-card__format-action form {
    align-items: center !important;
    display: grid !important;
    gap: 5px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    margin: 0 !important;
    width: 100% !important;
}

.sg-card__qty-stepper {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(32, 19, 15, .2);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 27px 30px 27px;
    height: 30px;
    justify-content: center;
    overflow: hidden;
    width: 84px;
}

.sg-card__qty-button {
    align-items: center;
    background: #f5ead8 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--sg-ink) !important;
    cursor: pointer;
    display: flex;
    font-size: 17px !important;
    font-weight: 900 !important;
    height: 28px !important;
    justify-content: center;
    line-height: 1 !important;
    pointer-events: auto;
    margin: 0 !important;
    min-height: 28px !important;
    min-width: 27px !important;
    padding: 0 !important;
    touch-action: manipulation;
    width: 27px !important;
}

.sg-card__qty-button:hover,
.sg-card__qty-button:focus-visible {
    background: var(--sg-coffee) !important;
    color: #fff !important;
}

.sg-card__qty-button:disabled {
    background: #f4f0e8 !important;
    color: #aaa !important;
    cursor: not-allowed;
    opacity: 1 !important;
}

.sg-card__format-qty-wrap {
    display: block !important;
    height: 28px;
    margin: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    width: 30px !important;
}

.sg-card__format-qty {
    appearance: textfield;
    background: #fff !important;
    border: 0 !important;
    border-left: 1px solid rgba(32, 19, 15, .12) !important;
    border-radius: 0 !important;
    border-right: 1px solid rgba(32, 19, 15, .12) !important;
    box-shadow: none !important;
    color: var(--sg-ink) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    height: 28px !important;
    line-height: 28px !important;
    margin: 0 !important;
    min-height: 28px !important;
    min-width: 30px !important;
    padding: 0 2px !important;
    text-align: center;
    width: 30px !important;
}

.sg-card__format-qty::-webkit-inner-spin-button,
.sg-card__format-qty::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.sg-card__format-add--icon-only,
.sg-card__format-add-icon,
.sg-card__format-add--icon-only .sg-card__format-add-icon {
    height: 36px !important;
    min-height: 36px !important;
    min-width: 36px !important;
    width: 36px !important;
}

.sg-card__format-add--icon-only {
    border-radius: 9px !important;
    justify-self: center !important;
    padding: 0 !important;
}

.sg-card__format-add-icon svg {
    height: 20px !important;
    width: 20px !important;
}

@media (max-width: 767px) and (min-width: 521px) {
    .sg-card__format,
    .sg-card__format.is-best-value {
        min-height: 102px !important;
    }

    .sg-card__format-grid {
        gap: 5px 7px !important;
        grid-template-areas:
            "head body"
            "action action" !important;
        grid-template-columns: 54px minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
    }

    .sg-card__format-size,
    .sg-card__format-size--promo,
    .sg-card__format-size--free {
        min-width: 50px;
        padding: 4px !important;
    }

    .sg-card__format-action {
        min-height: 38px !important;
        padding: 3px 5px !important;
    }

    .sg-card__format-action form {
        gap: 5px !important;
        grid-template-columns: 84px 34px !important;
        justify-content: center;
    }

    .sg-card__format-add--icon-only,
    .sg-card__format-add-icon,
    .sg-card__format-add--icon-only .sg-card__format-add-icon {
        height: 32px !important;
        min-height: 32px !important;
        min-width: 32px !important;
        width: 32px !important;
    }
}

@media (max-width: 520px) {
    .sg-card__format-grid {
        grid-template-areas: "head body action" !important;
        grid-template-columns: 62px minmax(0, 1fr) 92px !important;
        grid-template-rows: auto !important;
    }
}

@media (max-width: 360px) {
    .sg-card__format-grid {
        gap: 5px !important;
        grid-template-columns: 54px minmax(0, 1fr) 86px !important;
    }

    .sg-card__qty-stepper {
        grid-template-columns: 25px 28px 25px;
        width: 78px;
    }

    .sg-card__qty-button {
        min-width: 25px !important;
        width: 25px !important;
    }

    .sg-card__format-qty-wrap,
    .sg-card__format-qty {
        min-width: 28px !important;
        width: 28px !important;
    }
}


/* --------------------------------------------------------------------------
 * ProductCard 1.0.3: exactly two grouped-option columns.
 * Left: format and all commercial information. Right: quantity and cart.
 * -------------------------------------------------------------------------- */
.sg-card__format,
.sg-card__format.is-best-value {
    min-height: 92px !important;
    padding: 7px 8px !important;
}

.sg-card__format-grid {
    align-items: stretch !important;
    display: grid !important;
    gap: 8px !important;
    grid-template-areas: "info action" !important;
    grid-template-columns: minmax(0, 1fr) 96px !important;
    grid-template-rows: auto !important;
    width: 100% !important;
}

.sg-card__format-info {
    align-content: start;
    display: grid;
    gap: 4px;
    grid-area: info;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

/* The format/piece pill is always the first row of the information column. */
.sg-card__format-info > .sg-card__format-size,
.sg-card__format-info > .sg-card__format-size--promo,
.sg-card__format-info > .sg-card__format-size--free {
    justify-self: start !important;
    margin: 0 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 5px 9px !important;
    width: auto !important;
}

.sg-card__format-info > .sg-card__format-size strong {
    font-size: 15px !important;
}

.sg-card__format-info > .sg-card__format-size span {
    font-size: 9px !important;
}

.sg-card__format-info .sg-card__format-metrics {
    display: grid !important;
    gap: 2px !important;
    min-width: 0;
    width: 100%;
}

.sg-card__format-action {
    grid-area: action !important;
}

/* Theme-safe removal of standalone labels such as:
 * <span class="special-price">Prezzo speciale</span>
 * PHP removes them server-side; :has is a final browser-side safeguard. */
.sg-card__format-prices-row .price-box > .special-price:not(:has(.price, .price-wrapper, [data-price-amount])) {
    display: none !important;
}

.sg-card__format-prices-row .price-box > .old-price:empty,
.sg-card__format-prices-row .price-box > .special-price:empty {
    display: none !important;
}

/* Support themes that output price wrappers as direct price-box children. */
.sg-card__format-prices-row .price-box > .price-wrapper[data-price-type="oldPrice"] {
    color: var(--sg-ink-muted) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    order: 2;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.25px !important;
    white-space: nowrap;
}

.sg-card__format-prices-row .price-box > .price-wrapper[data-price-type="finalPrice"] {
    color: var(--sg-coffee) !important;
    font-size: 19px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    order: 1;
    white-space: nowrap;
}

.sg-card__format-prices-row .price-box:has(> .price-wrapper[data-price-type="oldPrice"][data-price-amount])
    > .price-wrapper[data-price-type="finalPrice"] {
    color: var(--sg-red) !important;
    font-size: 20px !important;
}

@media (max-width: 767px) {
    .sg-card__format,
    .sg-card__format.is-best-value {
        min-height: 92px !important;
    }

    .sg-card__format-grid {
        gap: 6px !important;
        grid-template-areas: "info action" !important;
        grid-template-columns: minmax(0, 1fr) 92px !important;
        grid-template-rows: auto !important;
    }

    .sg-card__format-action {
        min-height: 0 !important;
        padding: 4px !important;
    }

    .sg-card__format-action form {
        gap: 5px !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 360px) {
    .sg-card__format-grid {
        grid-template-columns: minmax(0, 1fr) 86px !important;
    }

    .sg-card__format-info > .sg-card__format-size,
    .sg-card__format-info > .sg-card__format-size--promo,
    .sg-card__format-info > .sg-card__format-size--free {
        padding: 4px 7px !important;
    }
}

/* Keep the optional best-value badge inside the left information block. */
.sg-card__format-info-head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    min-width: 0;
}

.sg-card__format-info-head .sg-card__format-tag {
    flex: 0 1 auto;
    font-size: 8px !important;
    left: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
    max-width: 100%;
    padding: 3px 5px !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
 * ProductCard 1.0.5: larger typography and floating format badges.
 * The badge sits outside the white panel; the panel keeps only information
 * and the quantity/add-to-cart action column.
 * -------------------------------------------------------------------------- */
.sg-card__back-header {
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 11px 8px !important;
}

.sg-card__back-header h3 {
    display: -webkit-box;
    font-size: 16px !important;
    line-height: 1.14 !important;
    max-height: 37px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sg-card__back-button {
    font-size: 17px !important;
    height: 35px !important;
    width: 35px !important;
}

.sg-card__formats-title {
    font-size: 18px !important;
    letter-spacing: .06em !important;
    line-height: 1 !important;
    margin: 7px 10px 5px !important;
}

.sg-card__formats {
    align-content: start;
    gap: 6px !important;
    padding: 0 8px 6px !important;
}

.sg-card__format,
.sg-card__format.is-best-value {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    min-height: 82px !important;
    overflow: visible !important;
    padding: 17px 0 0 !important;
    position: relative;
}

.sg-card__format:hover,
.sg-card__format:focus-within {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sg-card__format-badges {
    align-items: center;
    display: flex;
    gap: 5px;
    left: 8px;
    max-width: calc(100% - 100px);
    min-width: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    z-index: 4;
}

.sg-card__format-badges .sg-card__format-size,
.sg-card__format-badges .sg-card__format-size--promo,
.sg-card__format-badges .sg-card__format-size--free {
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 9px rgba(32, 19, 15, .14) !important;
    display: inline-flex !important;
    flex: 0 0 auto;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    justify-content: center !important;
    margin: 0 !important;
    max-width: none !important;
    min-height: 23px !important;
    min-width: 0 !important;
    padding: 4px 10px !important;
    position: static !important;
    transform: none !important;
    white-space: nowrap !important;
    width: auto !important;
}

html body .sg-card__format.has-standard-shipping .sg-card__format-badges .sg-card__format-size {
    background: var(--sg-orange) !important;
}

html body .sg-card__format.has-free-shipping .sg-card__format-badges .sg-card__format-size {
    background: var(--sg-green) !important;
}

.sg-card__format-badges .sg-card__format-size strong {
    font-size: 17px !important;
    line-height: 1 !important;
}

.sg-card__format-badges .sg-card__format-size span {
    font-size: 12px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.sg-card__format-badges .sg-card__format-tag {
    background: linear-gradient(180deg, #e5bd54 0%, #cf9827 100%) !important;
    border: 1px solid rgba(116, 65, 31, .15) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 9px rgba(32, 19, 15, .11) !important;
    color: #382111 !important;
    display: inline-flex !important;
    flex: 0 1 auto;
    font-size: 8.5px !important;
    font-weight: 950 !important;
    left: auto !important;
    letter-spacing: .015em !important;
    line-height: 1 !important;
    margin: 0 !important;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 7px !important;
    position: static !important;
    right: auto !important;
    text-overflow: ellipsis;
    top: auto !important;
    transform: none !important;
    white-space: nowrap;
}

.sg-card__format-grid {
    align-items: stretch !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(32, 19, 15, .13) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 18px -20px rgba(32, 19, 15, .72) !important;
    display: grid !important;
    gap: 7px !important;
    grid-template-areas: "info action" !important;
    grid-template-columns: minmax(0, 1fr) 84px !important;
    min-height: 65px !important;
    padding: 7px 6px 6px 8px !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
    width: 100%;
}

.sg-card__format:hover .sg-card__format-grid,
.sg-card__format:focus-within .sg-card__format-grid {
    background: #fff !important;
    border-color: rgba(184, 117, 50, .48) !important;
    box-shadow: 0 11px 23px -20px rgba(32, 19, 15, .8) !important;
}

.sg-card__format-info {
    align-content: center !important;
    display: grid !important;
    gap: 0 !important;
    grid-area: info !important;
    min-width: 0;
}

.sg-card__format-info .sg-card__format-metrics {
    align-content: center !important;
    display: grid !important;
    gap: 2px !important;
    min-width: 0;
}

.sg-card__format-row {
    margin: 0 !important;
    min-width: 0;
}

.sg-card__format-prices-row .price-label,
.sg-card__format-prices-row [class*="price-label"] {
    display: none !important;
}

.sg-card__format-prices-row .price-box {
    align-items: baseline !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3px 6px !important;
    line-height: 1 !important;
    min-height: 20px;
    overflow: hidden;
}

.sg-card__format-prices-row .price-container,
.sg-card__format-prices-row .special-price,
.sg-card__format-prices-row .old-price {
    display: inline-flex !important;
    margin: 0 !important;
}

.sg-card__format-prices-row .price,
.sg-card__format-prices-row .price-box > .price-wrapper[data-price-type="finalPrice"] {
    color: var(--sg-ink) !important;
    font-size: 19px !important;
    font-weight: 950 !important;
    letter-spacing: -.025em;
    line-height: 1 !important;
}

.sg-card__format-prices-row .special-price .price,
.sg-card__format-prices-row .price-box:has(> .price-wrapper[data-price-type="oldPrice"][data-price-amount])
    > .price-wrapper[data-price-type="finalPrice"] {
    color: var(--sg-red) !important;
    font-size: 20px !important;
}

.sg-card__format-prices-row .old-price,
.sg-card__format-prices-row .price-box > .price-wrapper[data-price-type="oldPrice"] {
    opacity: .9;
    order: 2;
}

.sg-card__format-prices-row .old-price .price,
.sg-card__format-prices-row .price-box > .price-wrapper[data-price-type="oldPrice"] {
    color: #9f0000 !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1.25px !important;
}

.sg-card__format-meta-row {
    align-items: baseline;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px 9px;
    min-width: 0;
    overflow: hidden;
}

.sg-card__format-price-unit {
    color: var(--sg-copper) !important;
    flex: 0 0 auto;
    font-size: 11.5px !important;
    font-weight: 950 !important;
    line-height: 1.08 !important;
    margin: 0 !important;
}

.sg-card__format-price-unit small {
    color: var(--sg-ink-muted) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
}

.sg-card__format-expiry {
    color: var(--sg-ink-muted) !important;
    flex: 1 1 auto;
    font-size: 10px !important;
    font-weight: 750 !important;
    line-height: 1.08 !important;
    margin: 0 !important;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sg-card__format-shipping {
    align-items: center;
    color: var(--sg-ink-muted) !important;
    display: flex;
    font-size: 12px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    gap: 4px;
    line-height: 1.14 !important;
    margin-top: 1px !important;
    min-width: 0;
}

.sg-card__format-shipping.is-free {
    color: var(--sg-green) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.sg-card__format-shipping-icon {
    display: inline-flex;
    flex: 0 0 12px;
    margin-top: 0;
}

.sg-card__format-shipping-icon svg {
    fill: none;
    height: 25px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    width: 25px;
}

.sg-card__format-shipping > span:last-child {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sg-card__format-action {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 1px solid rgba(32, 19, 15, .12) !important;
    border-radius: 0 !important;
    display: flex !important;
    grid-area: action !important;
    justify-content: center !important;
    min-width: 0;
    padding: 0 0 0 7px !important;
}

.sg-card__format-action form {
    align-content: center !important;
    display: grid !important;
    gap: 4px !important;
    grid-template-columns: 76px !important;
    grid-template-rows: 28px 34px !important;
    justify-content: center !important;
    margin: 0 !important;
    width: 76px !important;
}

.sg-card__qty-stepper {
    border-color: rgba(32, 19, 15, .17) !important;
    border-radius: 7px !important;
    grid-template-columns: 23px 30px 23px !important;
    height: 28px !important;
    width: 76px !important;
}

.sg-card__qty-button {
    font-size: 16px !important;
    height: 26px !important;
    min-height: 26px !important;
    min-width: 23px !important;
    width: 23px !important;
}

.sg-card__format-qty-wrap,
.sg-card__format-qty {
    height: 26px !important;
    line-height: 26px !important;
    min-height: 26px !important;
    min-width: 30px !important;
    width: 30px !important;
}

.sg-card__format-qty {
    font-size: 13px !important;
    font-weight: 900 !important;
}

.sg-card__format-qty::-webkit-inner-spin-button,
.sg-card__format-qty::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.sg-card__format-action .sg-card__format-add--icon-only,
.sg-card__format-action .sg-card__format-add-icon,
.sg-card__format-action .sg-card__format-add--icon-only .sg-card__format-add-icon {
    height: 34px !important;
    min-height: 34px !important;
}

.sg-card__format-action .sg-card__format-add--icon-only {
    border-radius: 8px !important;
    min-width: 76px !important;
    width: 76px !important;
}

.sg-card__format-action .sg-card__format-add-icon,
.sg-card__format-action .sg-card__format-add--icon-only .sg-card__format-add-icon {
    min-width: 19px !important;
    width: 19px !important;
}

.sg-card__format-add-icon svg {
    height: 19px !important;
    width: 19px !important;
}

.sg-card__format-add--notify {
    font-size: 10px !important;
    line-height: 1.08 !important;
    min-height: 34px !important;
    padding: 4px !important;
    width: 76px !important;
}

.sg-card__back-footer {
    padding: 0 8px 8px !important;
}

.sg-card__back-footer a,
.sg-card__back-footer .sg-card__back-footer-link {
    font-size: 11.5px !important;
    min-height: 32px !important;
    padding: 7px 10px !important;
}

@media (max-width: 767px) {
    .sg-card__format,
    .sg-card__format.is-best-value {
        min-height: 82px !important;
    }

    .sg-card__format-grid {
        gap: 6px !important;
        grid-template-columns: minmax(0, 1fr) 82px !important;
    }

    .sg-card__format-action {
        padding-left: 6px !important;
    }
}

@media (max-width: 360px) {
    .sg-card__format-badges {
        max-width: calc(100% - 92px);
    }

    .sg-card__format-grid {
        grid-template-columns: minmax(0, 1fr) 78px !important;
        padding-left: 7px !important;
    }

    .sg-card__format-action form,
    .sg-card__qty-stepper,
    .sg-card__format-action .sg-card__format-add--icon-only,
    .sg-card__format-add--notify {
        width: 72px !important;
    }

    .sg-card__format-action form {
        grid-template-columns: 72px !important;
    }

    .sg-card__qty-stepper {
        grid-template-columns: 21px 30px 21px !important;
    }

    .sg-card__qty-button {
        min-width: 21px !important;
        width: 21px !important;
    }

    .sg-card__format-prices-row .price,
    .sg-card__format-prices-row .price-box > .price-wrapper[data-price-type="finalPrice"] {
        font-size: 18px !important;
    }

    .sg-card__format-prices-row .special-price .price,
    .sg-card__format-prices-row .price-box:has(> .price-wrapper[data-price-type="oldPrice"][data-price-amount])
        > .price-wrapper[data-price-type="finalPrice"] {
        font-size: 19px !important;
    }
}


/* --------------------------------------------------------------------------
 * ProductCard 1.0.6: opposing unit-price badge and inline expiry.
 * Left floating badge: format/pieces. Right floating badge: unit price.
 * -------------------------------------------------------------------------- */
.sg-card__format-badges {
    max-width: calc(100% - 118px) !important;
}

.sg-card__format-unit-badge {
    align-items: baseline;
    background: #222;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 8px;
    box-shadow: 0 4px 9px rgba(32, 19, 15, .14);
    color: #fff;
    display: inline-flex;
    gap: 2px;
    justify-content: center;
    min-height: 23px;
    padding: 4px 8px;
    pointer-events: none;
    position: absolute;
    right: 8px;
    top: 0;
    white-space: nowrap;
    z-index: 4;
}

.sg-card__format-unit-badge strong {
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 950 !important;
    letter-spacing: -.01em;
    line-height: 1 !important;
}

.sg-card__format-unit-badge span {
    color: rgba(255, 255, 255, .88) !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.sg-card__format-price-line {
    align-items: baseline;
    display: flex;
    gap: 7px;
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
}

.sg-card__format-price-line .sg-card__format-prices-row {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.sg-card__format-price-line .sg-card__format-expiry {
    flex: 0 0 auto;
    font-size: 10.5px !important;
    margin-left: auto !important;
    text-align: right;
}

/* A warm sale accent communicates value without the negative alarm effect of red. */
.sg-card__format-prices-row .special-price .price,
.sg-card__format-prices-row .price-box:has(> .price-wrapper[data-price-type="oldPrice"][data-price-amount])
    > .price-wrapper[data-price-type="finalPrice"] {
    color: #222!important;
}

/* The unit price is now in the floating badge; prevent legacy in-panel output. */
.sg-card__format-meta-row,
.sg-card__format-price-unit {
    display: none !important;
}

@media (max-width: 360px) {
    .sg-card__format-badges {
        max-width: calc(100% - 108px) !important;
    }

    .sg-card__format-unit-badge {
        padding-left: 7px;
        padding-right: 7px;
        right: 6px;
    }

    .sg-card__format-unit-badge strong {
        font-size: 10.5px !important;
    }

    .sg-card__format-price-line {
        gap: 5px;
    }

    .sg-card__format-price-line .sg-card__format-expiry {
        font-size: 9.5px !important;
        max-width: 96px;
    }
}

/* --------------------------------------------------------------------------
 * ProductCard 1.0.7: deterministic responsive grid, aligned grouped CTAs and
 * hard stop for Codazon/theme image-swap animations.
 * -------------------------------------------------------------------------- */

html body .sg-product-list .sg-product-grid > .sg-product-grid__item,
html body .sg-product-list #saida-product-grid > .sg-product-grid__item {
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    width: 100% !important;
}

@media (min-width: 1280px) {
    html body .sg-product-list .sg-product-grid,
    html body .sg-product-list #saida-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {
    html body .sg-product-list .sg-product-grid,
    html body .sg-product-list #saida-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html body .sg-product-list .sg-product-grid,
    html body .sg-product-list #saida-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    html body .sg-product-list .sg-product-grid,
    html body .sg-product-list #saida-product-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Keep a visible but compact separation between the per-piece price and CTA. */
html body .sg-product-list .sg-card .sg-card__footer {
    gap: 8px !important;
    row-gap: 8px !important;
}

/* Match the front CTA's 14px content padding plus 10px footer inset. */
html body .sg-product-list .sg-card .sg-card__back-footer {
    padding: 0 24px 10px !important;
}

/* Both grouped-card CTAs intentionally share the same complete style. */
html body .sg-product-list .sg-card .sg-card__flip-button,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link {
    align-items: center !important;
    appearance: none !important;
    animation: none !important;
    background: #f58026 !important;
    background-color: #f58026 !important;
    background-image: none !important;
    border: 1px solid #f58026 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: #fff !important;
    cursor: pointer !important;
    display: inline-flex !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 850 !important;
    justify-content: center !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    min-height: 44px !important;
    padding: 11px 14px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease !important;
    width: 100% !important;
}

html body .sg-product-list .sg-card .sg-card__flip-button:hover,
html body .sg-product-list .sg-card .sg-card__flip-button:focus,
html body .sg-product-list .sg-card .sg-card__flip-button:focus-visible,
html body .sg-product-list .sg-card .sg-card__flip-button:active,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:hover,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:focus,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:focus-visible,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:active,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:visited {
    animation: none !important;
    background: #f58026 !important;
    background-color: #f58026 !important;
    background-image: none !important;
    border-color: #f58026 !important;
    box-shadow: none !important;
    color: #fff !important;
}

html body .sg-product-list .sg-card .sg-card__flip-button:hover,
html body .sg-product-list .sg-card .sg-card__flip-button:focus-visible,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:hover,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:focus-visible {
    transform: translateY(-1px) !important;
}

/* Disable every fade/swap/zoom layer that themes commonly attach to product
 * images. The click-to-flip interaction remains managed by product-card.js. */
html body .sg-product-list .sg-card .sg-card__media,
html body .sg-product-list .sg-card .sg-card__media:hover,
html body .sg-product-list .sg-card:hover .sg-card__media,
html body .sg-product-list .sg-card .sg-card__media:focus-within {
    animation: none !important;
    background: radial-gradient(64% 50% at 50% 58%, rgba(184, 117, 50, .18), transparent 66%) !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

html body .sg-product-list .sg-card .sg-card__media *,
html body .sg-product-list .sg-card .sg-card__media:hover *,
html body .sg-product-list .sg-card:hover .sg-card__media * {
    animation: none !important;
    transition: none !important;
}

html body .sg-product-list .sg-card .sg-card__media .product-item-photo,
html body .sg-product-list .sg-card .sg-card__media .product-image-container,
html body .sg-product-list .sg-card .sg-card__media .product-image-wrapper,
html body .sg-product-list .sg-card .sg-card__media picture,
html body .sg-product-list .sg-card:hover .sg-card__media .product-item-photo,
html body .sg-product-list .sg-card:hover .sg-card__media .product-image-container,
html body .sg-product-list .sg-card:hover .sg-card__media .product-image-wrapper,
html body .sg-product-list .sg-card:hover .sg-card__media picture {
    animation: none !important;
    background: transparent !important;
    clip-path: none !important;
    display: block !important;
    filter: none !important;
    mask: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    visibility: visible !important;
}

html body .sg-product-list .sg-card .sg-card__media .product-image-photo,
html body .sg-product-list .sg-card .sg-card__media img,
html body .sg-product-list .sg-card .sg-card__media:hover .product-image-photo,
html body .sg-product-list .sg-card .sg-card__media:hover img,
html body .sg-product-list .sg-card:hover .sg-card__media .product-image-photo,
html body .sg-product-list .sg-card:hover .sg-card__media img {
    animation: none !important;
    backface-visibility: visible !important;
    background: transparent !important;
    clip-path: none !important;
    content-visibility: visible !important;
    display: block !important;
    filter: drop-shadow(0 14px 20px rgba(32, 19, 15, .16)) !important;
    mask: none !important;
    max-width: 100% !important;
    mix-blend-mode: normal !important;
    object-fit: contain !important;
    opacity: 1 !important;
    rotate: 0deg !important;
    scale: 1 !important;
    transform: none !important;
    translate: 0 0 !important;
    transition: none !important;
    visibility: visible !important;
    will-change: auto !important;
    z-index: 1 !important;
}

html body .sg-product-list .sg-card .sg-card__media::before,
html body .sg-product-list .sg-card .sg-card__media::after,
html body .sg-product-list .sg-card .sg-card__media .product-item-photo::before,
html body .sg-product-list .sg-card .sg-card__media .product-item-photo::after,
html body .sg-product-list .sg-card .sg-card__media .product-image-container::before,
html body .sg-product-list .sg-card .sg-card__media .product-image-container::after,
html body .sg-product-list .sg-card .sg-card__media .product-image-wrapper::before,
html body .sg-product-list .sg-card .sg-card__media .product-image-wrapper::after {
    animation: none !important;
    background: transparent !important;
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    transition: none !important;
}


/* --------------------------------------------------------------------------
 * ProductCard 1.0.8: unified grouped/configurable flip cards, aligned fronts,
 * compact per-piece price and clearer secondary actions.
 * -------------------------------------------------------------------------- */

/* Every category card occupies the same vertical space. The content remains
 * flexible, while the footer is anchored to the bottom of the front face. */
html body .sg-product-list .sg-card,
html body .sg-product-list .sg-card__stage {
    height: 720px !important;
    min-height: 720px !important;
}

html body .sg-product-list .sg-card .sg-card__face,
html body .sg-product-list .sg-card--standard .sg-card__face,
html body .sg-product-list .sg-card--flip .sg-card__face {
    height: 100% !important;
    min-height: 0 !important;
}

html body .sg-product-list .sg-card .sg-card__content {
    height: 100% !important;
    min-height: 0 !important;
}

html body .sg-product-list .sg-card .sg-card__title,
html body .sg-product-list .sg-card .sg-card__title[class*='sg-card-title-category-'] {
    margin-bottom: 8px !important;
    min-height: 64px !important;
}

html body .sg-product-list .sg-card .sg-card__footer {
    margin-top: auto !important;
}

/* Requested compact front wording: "Da €0,152 per pezzo". */
html body .sg-product-list .sg-card .sg-card__from-price-value {
    font-size: 16px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

/* The paid Italian shipping message uses the brand orange; free shipping
 * intentionally keeps the existing green state. */
html body .sg-product-list .sg-card .sg-card__format-shipping.is-standard {
    color: #ee810a !important;
    font-weight: 750 !important;
}

/* Configurable combinations can contain multiple labels. Keep the variant
 * readable without letting its floating badge collide with the unit price. */
html body .sg-product-list .sg-card .sg-card__format-size--variant {
    justify-content: flex-start !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: left !important;
}

html body .sg-product-list .sg-card .sg-card__format.has-standard-shipping .sg-card__format-size--variant,
html body .sg-product-list .sg-card .sg-card__format.has-free-shipping .sg-card__format-size--variant {
    background: transparent !important;
}

html body .sg-product-list .sg-card .sg-card__format-size--variant strong {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Full stock-alert wording, using the same action/alert hook as the product
 * detail flow while retaining the existing Saida SMS/email modal handler. */
html body .sg-product-list .sg-card .sg-card__format-add--notify {
    border-radius: 8px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    min-height: 42px !important;
    overflow: hidden !important;
    padding: 5px 6px !important;
}

/* Two explicit back-face actions: flip first, product page second. */
html body .sg-product-list .sg-card .sg-card__back-footer {
    display: grid !important;
    gap: 8px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: auto !important;
    padding: 0 24px 10px !important;
}

html body .sg-product-list .sg-card .sg-card__back-footer-flip,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link {
    align-items: center !important;
    appearance: none !important;
    animation: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 850 !important;
    justify-content: center !important;
    letter-spacing: normal !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    min-height: 44px !important;
    padding: 11px 14px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease !important;
    width: 100% !important;
}

html body .sg-product-list .sg-card .sg-card__back-footer-flip {
    background: #fff !important;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #ee810a !important;
    color: #a94f00 !important;
}

html body .sg-product-list .sg-card .sg-card__back-footer-flip:hover,
html body .sg-product-list .sg-card .sg-card__back-footer-flip:focus,
html body .sg-product-list .sg-card .sg-card__back-footer-flip:focus-visible,
html body .sg-product-list .sg-card .sg-card__back-footer-flip:active {
    background: #fff4e7 !important;
    background-color: #fff4e7 !important;
    border-color: #ee810a !important;
    color: #7a3900 !important;
    transform: translateY(-1px) !important;
}

html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:hover,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:focus,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:focus-visible,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:active,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:visited {
    background: #f58026 !important;
    background-color: #f58026 !important;
    background-image: none !important;
    border: 1px solid #f58026 !important;
    color: #fff !important;
}

html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:hover,
html body .sg-product-list .sg-card .sg-card__back-footer .sg-card__back-footer-link:focus-visible {
    transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
    html body .sg-product-list .sg-card,
    html body .sg-product-list .sg-card__stage,
    html body .sg-product-list .sg-card--flip .sg-card__stage,
    html body .sg-product-list .sg-card--standard .sg-card__stage {
        height: 690px !important;
        min-height: 690px !important;
    }

    html body .sg-product-list .sg-card .sg-card__title,
    html body .sg-product-list .sg-card .sg-card__title[class*='sg-card-title-category-'] {
        min-height: 54px !important;
    }

    html body .sg-product-list .sg-card .sg-card__from-price-value {
        font-size: 15px !important;
    }

    html body .sg-product-list .sg-card .sg-card__back-footer {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* --------------------------------------------------------------------------
 * ProductCard 1.0.9: AJAX add-to-cart state.
 * The icon is preserved; no Magento/theme script can replace it with a text
 * label and no rejected AJAX request forces a category-page reload.
 * ----------------------------------------------------------------------- */
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart {
    isolation: isolate;
    overflow: hidden;
    position: relative !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart::after {
    align-items: center;
    color: #fff;
    display: none;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    inset: 0;
    justify-content: center;
    line-height: 1;
    position: absolute;
    z-index: 3;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-loading,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error {
    opacity: 1 !important;
    pointer-events: none !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-loading .sg-card__format-add-icon,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-loading .sg-card__primary-icon,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error .sg-card__format-add-icon,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error .sg-card__primary-icon {
    opacity: 0 !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-loading::after {
    animation: sgCardCartSpin .72s linear infinite;
    border: 2px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    border-top-color: #fff;
    content: '';
    display: block;
    height: 18px;
    inset: 50% auto auto 50%;
    margin: -9px 0 0 -9px;
    width: 18px;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-added,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-added:hover {
    background: #74411f !important;
    background-color: #74411f !important;
    border-color: #8b4e25 !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-added::after {
    content: none !important;
    display: none !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-added {
    pointer-events: auto !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-added .sg-card__format-add-icon,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-added .sg-card__primary-icon {
    opacity: 1 !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error:hover {
    background: #a82036 !important;
    background-color: #a82036 !important;
    border-color: #a82036 !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error::after {
    content: '!';
    display: flex;
}

@keyframes sgCardCartSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-loading::after {
        animation-duration: 1.2s !important;
    }
}

/* --------------------------------------------------------------------------
 * ProductCard 1.0.10: reliable AJAX cart feedback.
 * Errors keep the cart icon visible and expose the Magento message instead of
 * replacing the icon with an unexplained exclamation mark.
 * ----------------------------------------------------------------------- */
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] {
    position: relative;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error::after {
    content: none !important;
    display: none !important;
}

html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error .sg-card__format-add-icon,
html body .sg-product-list .sg-card form[data-sg-card-tocart='1'] .action.tocart.is-error .sg-card__primary-icon {
    opacity: 1 !important;
}

.sg-card__cart-feedback {
    background: #edf8ef;
    border: 1px solid rgba(47, 125, 50, .35);
    border-radius: 7px;
    box-shadow: 0 8px 22px rgba(32, 24, 19, .16);
    color: #245d27;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.3;
    max-width: 230px;
    min-width: 130px;
    padding: 6px 8px;
    position: absolute;
    right: 0;
    text-align: left;
    top: calc(100% + 5px);
    white-space: normal;
    z-index: 40;
}

.sg-card__cart-feedback.is-error {
    background: #fff1ef;
    border-color: rgba(168, 32, 54, .38);
    color: #7d1325;
}

.sg-card__cart-feedback[hidden] {
    display: none !important;
}

.is-sg-card-cart-feedback-suppressed .message,
.is-sg-card-cart-feedback-suppressed .message.message-success,
.is-sg-card-cart-feedback-suppressed .message-success {
    display: none !important;
}

.is-sg-card-cart-feedback-suppressed .message.success,
.is-sg-card-cart-feedback-suppressed .messages .message,
.is-sg-card-cart-feedback-suppressed .message[data-ui-id],
.is-sg-card-cart-feedback-suppressed [class*="message-success"],
.is-sg-card-cart-feedback-suppressed [data-ui-id*="message-success"],
.is-sg-card-cart-feedback-suppressed [data-ui-id*="success"] {
    display: none !important;
}

.sg-card__cart-popup {
    display: none !important;
    align-items: center;
    background: rgba(20, 14, 10, .38);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .22s ease, visibility .22s ease;
    visibility: hidden;
    z-index: 2147483647;
    z-index: 2147483647 !important;
}

.sg-card__cart-popup.is-visible {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.sg-card__cart-popup-panel {
    align-items: center;
    background: linear-gradient(160deg, #fffaf1 0%, #f9f0de 100%);
    border: 1px solid #e0caa4;
    border-radius: 16px;
    box-shadow: 0 22px 46px -24px rgba(33, 18, 14, .52);
    display: flex;
    gap: 14px;
    max-width: min(560px, calc(100vw - 48px));
    min-height: 92px;
    padding: 16px 20px;
    position: relative;
    width: min(560px, calc(100vw - 48px));
}

.sg-card__cart-popup-image {
    border: 1px solid rgba(32, 19, 15, .15);
    border-radius: 12px;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.sg-card__cart-popup-content {
    flex: 1;
    min-width: 0;
}

.sg-card__cart-popup-title {
    color: #20130f;
    display: -webkit-box;
    font-size: 18px;
    font-weight: 800;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    line-height: 1.22;
    margin: 0;
    overflow: hidden;
    text-wrap: balance;
}

.sg-card__cart-popup-details {
    color: #62452f;
    margin: 8px 0 0;
    min-height: 1.15em;
}

.sg-card__cart-popup-message {
    color: #1c3b32;
    font-weight: 700;
    margin: 9px 0 0;
}

.sg-card__cart-popup.is-error .sg-card__cart-popup-message {
    color: #7e1423;
}

.sg-card__cart-popup.is-error .sg-card__cart-popup-panel {
    background: linear-gradient(160deg, #fff2f2 0%, #ffe7ea 100%);
    border-color: rgba(168, 32, 54, .28);
}

@media (max-width: 767px) {
    .sg-card__cart-popup-panel {
        padding: 12px 14px;
    }

    .sg-card__cart-popup-title {
        font-size: 16px;
    }

    .sg-card__cart-popup-details {
        margin-top: 6px;
    }

    .sg-card__cart-popup-message {
        font-size: 13px;
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .sg-card__cart-feedback {
        max-width: min(230px, calc(100vw - 64px));
    }
}


/* --------------------------------------------------------------------------
 * ProductCard 1.0.11: smoother cart feedback, simple-product image links,
 * aligned front CTAs and configurable variant-name badges.
 * ----------------------------------------------------------------------- */

/* Simple products: only their product image links directly to the PDP.
 * Flip-card media keeps its existing grouped/configurable interaction. */
html body .sg-product-list .sg-card[data-product-type='simple'] .sg-card__media .sg-card__media-link {
    cursor: pointer !important;
    display: block !important;
    height: 100% !important;
    pointer-events: auto !important;
    position: relative;
    text-decoration: none !important;
    width: 100% !important;
    z-index: 2;
}

html body .sg-product-list .sg-card[data-product-type='simple'] .sg-card__media .sg-card__media-link:focus-visible {
    border-radius: 14px;
    outline: 3px solid rgba(238, 129, 10, .55);
    outline-offset: -3px;
}

/* Keep every front face aligned while guaranteeing enough non-shrinking
 * space for the price and the \"Choose size/variant and price\" CTA. */
html body .sg-product-list .sg-card,
html body .sg-product-list .sg-card__stage {
    height: 740px !important;
    min-height: 740px !important;
}

html body .sg-product-list .sg-card .sg-card__content {
    flex: 1 1 auto !important;
    height: auto !important;
    min-height: 0 !important;
}

html body .sg-product-list .sg-card .sg-card__footer {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    min-height: 0 !important;
}

html body .sg-product-list .sg-card .sg-card__flip-button {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 44px !important;
    overflow: visible !important;
    white-space: normal !important;
}

/* Configurable back face: preserve the 60px variant image and place a clear
 * name badge directly beside it. */
html body .sg-product-list .sg-card--configurable .sg-card__format-badges,
html body .sg-product-list .sg-card[data-product-type='configurable'] .sg-card__format-badges {
    max-width: calc(100% - 112px) !important;
}

html body .sg-product-list .sg-card--configurable .sg-card__format-size--variant,
html body .sg-product-list .sg-card[data-product-type='configurable'] .sg-card__format-size--variant {
    align-items: center !important;
    display: inline-flex !important;
    flex: 0 1 auto !important;
    gap: 8px !important;
    height: 60px !important;
    justify-content: flex-start !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    width: auto !important;
}

html body .sg-product-list .sg-card .sg-card__variant-name-badge {
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2;
    background: #f58026 !important;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 999px;
    box-shadow: 0 4px 9px rgba(32, 19, 15, .14);
    color: #fff !important;
    display: -webkit-box !important;
    flex: 0 1 auto;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    max-width: 150px !important;
    overflow: hidden !important;
    padding: 6px 9px !important;
    text-align: left !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
}

html body .sg-product-list .sg-card .sg-card__variant-name-badge--standalone {
    max-width: 200px !important;
}

/* Smooth overlay: it stays mounted during fade-out instead of being switched
 * to display:none immediately. JS applies [hidden] only after this transition. */
.sg-card__cart-popup {
    display: flex !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s cubic-bezier(.22, .61, .36, 1) !important;
    visibility: visible;
}

.sg-card__cart-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.sg-card__cart-popup-panel {
    opacity: 0;
    transform: translateY(14px) scale(.975);
    transform-origin: 50% 50%;
    transition: opacity .45s cubic-bezier(.22, .61, .36, 1),
                transform .45s cubic-bezier(.22, .61, .36, 1) !important;
}

.sg-card__cart-popup.is-visible .sg-card__cart-popup-panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 767px) {
    html body .sg-product-list .sg-card,
    html body .sg-product-list .sg-card__stage,
    html body .sg-product-list .sg-card--flip .sg-card__stage,
    html body .sg-product-list .sg-card--standard .sg-card__stage {
        height: 710px !important;
        min-height: 710px !important;
    }

    html body .sg-product-list .sg-card .sg-card__variant-name-badge {
        font-size: 10px !important;
        max-width: 132px !important;
        padding: 5px 8px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-card__cart-popup,
    .sg-card__cart-popup-panel {
        transition-duration: .01ms !important;
    }
}


/* --------------------------------------------------------------------------
 * ProductCard 1.0.12: deterministic front-face vertical slots and longer,
 * dismissible cart feedback.
 * ----------------------------------------------------------------------- */

/* Align the internal landmarks, not only the outer card. This keeps the
 * price/CTA baseline identical when titles or attribute values have different
 * lengths and gives the CTA enough room to avoid clipping. */
html body .sg-product-list .sg-card,
html body .sg-product-list .sg-card__stage,
html body .sg-product-list .sg-card--flip .sg-card__stage,
html body .sg-product-list .sg-card--standard .sg-card__stage {
    height: 780px !important;
    min-height: 780px !important;
}

html body .sg-product-list .sg-card .sg-card__media {
    flex: 0 0 380px !important;
    min-height: 380px !important;
}

html body .sg-product-list .sg-card .sg-card__content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    overflow: visible !important;
}

html body .sg-product-list .sg-card .sg-card__eyebrow {
    flex: 0 0 auto !important;
    min-height: 13px !important;
}

html body .sg-product-list .sg-card .sg-card__title,
html body .sg-product-list .sg-card .sg-card__title[class*='sg-card-title-category-'] {
    flex: 0 0 auto !important;
    margin-bottom: 8px !important;
    min-height: 64px !important;
    max-height: 64px !important;
}

html body .sg-product-list .sg-card .sg-card__facts {
    flex: 0 0 auto !important;
    min-height: 96px !important;
}

html body .sg-product-list .sg-card .sg-card__options {
    flex: 0 0 auto !important;
}

html body .sg-product-list .sg-card .sg-card__footer {
    display: grid !important;
    flex: 0 0 auto !important;
    gap: 6px !important;
    margin: auto 0 0 !important;
    min-height: 112px !important;
    align-content: end !important;
}

html body .sg-product-list .sg-card .sg-card__price {
    align-content: center !important;
    display: grid !important;
    flex: 0 0 auto !important;
    min-height: 58px !important;
}

html body .sg-product-list .sg-card .sg-card__flip-button,
html body .sg-product-list .sg-card .sg-card__footer > .sg-card__primary,
html body .sg-product-list .sg-card .sg-card__footer > form .sg-card__primary {
    flex: 0 0 auto !important;
    min-height: 48px !important;
}

/* The popup remains visible for 6 seconds (JS), then fades out. The same
 * transition is also used when the user dismisses it with the close button. */
.sg-card__cart-popup {
    transition: opacity .45s cubic-bezier(.22, .61, .36, 1) !important;
}

.sg-card__cart-popup-panel {
    padding-right: 58px !important;
    transition: opacity .45s cubic-bezier(.22, .61, .36, 1),
                transform .45s cubic-bezier(.22, .61, .36, 1) !important;
}

html body .sg-card__cart-popup .sg-card__cart-popup-close {
    align-items: center;
    appearance: none !important;
    background: rgba(32, 19, 15, .08) !important;
    border: 1px solid rgba(32, 19, 15, .14) !important;
    border-radius: 999px;
    color: #20130f !important;
    cursor: pointer !important;
    display: inline-flex !important;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    height: 34px !important;
    justify-content: center;
    line-height: 1;
    margin: 0 !important;
    min-height: 34px !important;
    min-width: 34px !important;
    padding: 0 0 2px !important;
    position: absolute;
    right: 14px;
    top: 14px;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
    width: 34px !important;
    z-index: 2;
}

html body .sg-card__cart-popup .sg-card__cart-popup-close:hover,
html body .sg-card__cart-popup .sg-card__cart-popup-close:focus-visible {
    background: rgba(245, 128, 38, .16) !important;
    border-color: rgba(245, 128, 38, .52) !important;
    transform: scale(1.04);
}

html body .sg-card__cart-popup .sg-card__cart-popup-close:focus-visible {
    outline: 3px solid rgba(245, 128, 38, .35);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    html body .sg-product-list .sg-card,
    html body .sg-product-list .sg-card__stage,
    html body .sg-product-list .sg-card--flip .sg-card__stage,
    html body .sg-product-list .sg-card--standard .sg-card__stage {
        height: 740px !important;
        min-height: 740px !important;
    }

    html body .sg-product-list .sg-card .sg-card__media {
        flex-basis: 286px !important;
        min-height: 286px !important;
    }

    html body .sg-product-list .sg-card .sg-card__title,
    html body .sg-product-list .sg-card .sg-card__title[class*='sg-card-title-category-'] {
        min-height: 58px !important;
        max-height: 58px !important;
    }

    html body .sg-product-list .sg-card .sg-card__facts {
        min-height: 92px !important;
    }

    html body .sg-product-list .sg-card .sg-card__footer {
        min-height: 108px !important;
    }

    .sg-card__cart-popup-panel {
        padding-right: 52px !important;
    }

    html body .sg-card__cart-popup .sg-card__cart-popup-close {
        height: 32px !important;
        min-height: 32px !important;
        min-width: 32px !important;
        right: 10px;
        top: 10px;
        width: 32px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sg-card__cart-popup,
    .sg-card__cart-popup-panel,
    html body .sg-card__cart-popup .sg-card__cart-popup-close {
        transition-duration: .01ms !important;
    }
}

/* --------------------------------------------------------------------------
 * ProductCard 1.0.14: AVIF picture wrapper support.
 * The fallback Magento image keeps all native attributes and remains active
 * whenever the AVIF sibling has not been generated.
 * ----------------------------------------------------------------------- */
html body .sg-product-list .sg-card .sg-card__picture {
    display: block;
    height: 100%;
    width: 100%;
}

html body .sg-product-list .sg-card .sg-card__media-link > .sg-card__picture {
    height: 100%;
    width: 100%;
}

