.public-site {
    --order-text-start: #592400;
    --order-text-middle: #602200;
    --order-text-end: #501c00;
    --order-text-gradient: linear-gradient(115deg, var(--order-text-start), var(--order-text-middle), var(--order-text-end));
    --order-fill-gradient: linear-gradient(115deg, rgba(255, 179, 41, .64) 0%, rgba(255, 145, 0, .64) 48%, rgba(237, 106, 8, .64) 100%);
    --order-glass-highlight: linear-gradient(175deg, rgba(255, 255, 255, .48) 0%, rgba(255, 255, 255, .1) 46%, rgba(255, 255, 255, 0) 48%);
}

.public-site .brand img,
.public-site .footer-brand img { object-fit: contain; background: transparent; }

.public-site .basket-add,
.public-site .basket-add:hover,
.public-site .basket-add[aria-pressed="true"],
.public-site .product-tile dl > div {
    border: 1px solid transparent;
    background: var(--order-glass-highlight) padding-box, var(--order-fill-gradient) padding-box, linear-gradient(#fff, #fff) padding-box, var(--brand-gradient) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .65), inset 0 0 14px rgba(255, 255, 255, .3), 0 2px 5px rgba(129, 71, 18, .08);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.public-site .basket-add,
.public-site .basket-add:hover,
.public-site .basket-add[aria-pressed="true"] {
    color: var(--order-text-start);
    transform: none;
}

.public-site .basket-add::before,
.public-site .product-tile dl > div::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: -100%;
    bottom: -100%;
    left: -55%;
    width: 40%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .12) 18%, rgba(255, 255, 255, .7) 43%, rgba(255, 255, 255, .18) 63%, rgba(255, 255, 255, .42) 70%, transparent 100%);
    opacity: 0;
    transform: translateX(0) skewX(-18deg);
}

.public-site .basket-add > span,
.public-site .product-tile dl > div > * { position: relative; z-index: 1; }

.public-site .product-tile dl > div {
    background: linear-gradient(#fff, #fff) padding-box, var(--brand-gradient) border-box;
    box-shadow: none;
}

.public-site .product-tile dl > div::before {
    inset: 0;
    width: auto;
    padding: 1px;
    border-radius: inherit;
    transform: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .98) 45%, rgba(255, 219, 140, .85) 50%, transparent 65%) 150% 0 / 250% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

@keyframes order-glass-sweep {
    0% { transform: translateX(0) skewX(-18deg); opacity: 0; }
    12% { opacity: .85; }
    68% { transform: translateX(420%) skewX(-18deg); opacity: .85; }
    80%, 100% { transform: translateX(420%) skewX(-18deg); opacity: 0; }
}

@keyframes frame-glass-sweep {
    0% { background-position: 150% 0; opacity: 0; }
    12% { opacity: 1; }
    68% { background-position: -150% 0; opacity: 1; }
    80%, 100% { background-position: -150% 0; opacity: 0; }
}

.public-site .site-glass-control { isolation: isolate; }
.public-site .site-glass-anchor { position: relative; }
.public-site .site-glass-control::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, .15) 37%, rgba(255, 255, 255, .72) 46%, rgba(255, 255, 255, .16) 58%, transparent 70%) 150% 0 / 250% 100%;
    opacity: 0;
}

@keyframes control-glass-sweep {
    0% { background-position: 150% 0; opacity: 0; }
    12% { opacity: 1; }
    68% { background-position: -150% 0; opacity: 1; }
    80%, 100% { background-position: -150% 0; opacity: 0; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .public-site .basket-add:hover::before { animation: order-glass-sweep 1.9s ease-in-out infinite; }
    .public-site .product-tile dl > div:hover::before { animation: frame-glass-sweep 1.9s ease-in-out infinite; }
    .public-site .site-glass-control:not(:disabled):not([aria-disabled="true"]):hover::before { animation: control-glass-sweep 1.9s ease-in-out infinite; }
}

@media (hover: none), (pointer: coarse) {
    @media (prefers-reduced-motion: no-preference) {
        .public-site .basket-add.glass-scroll-reflection::before {
            animation: order-glass-sweep 1.45s ease-in-out 1;
        }
        .public-site .product-tile dl > div.glass-scroll-reflection::before { animation: frame-glass-sweep 1.45s ease-in-out 1; }
        .public-site .site-glass-control:not(:disabled):not([aria-disabled="true"]).glass-scroll-reflection::before { animation: control-glass-sweep 1.45s ease-in-out 1; }
    }
}

.public-site .basket-add > span:last-child { text-transform: uppercase; }
.public-site .basket-add .order-icon-start { stop-color: var(--order-text-start); }
.public-site .basket-add .order-icon-middle { stop-color: var(--order-text-middle); }
.public-site .basket-add .order-icon-end { stop-color: var(--order-text-end); }

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .public-site .basket-add > span:last-child {
        background: var(--order-text-gradient);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }
}

@media (forced-colors: active) {
    .public-site .basket-add,
    .public-site .product-tile dl > div { border-color: ButtonText; box-shadow: none; }
    .public-site .basket-add::before,
    .public-site .product-tile dl > div::before,
    .public-site .site-glass-control::before { display: none; }
    .public-site .basket-add > span:last-child { background: none; color: ButtonText; }
    .public-site .basket-add svg g { stroke: ButtonText; }
}

.public-site .product-tile dl > div {
    min-width: 0;
    min-height: 64px;
    border: 1px solid transparent;
    border-radius: 6px;
}

.public-site .product-tile__body > .basket-add {
    grid-area: action;
    align-self: end;
    justify-self: end;
    width: 100%;
    min-height: 64px;
    margin: 0;
}

.public-site .product-facts-actions {
    display: grid;
    grid-area: specs;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(64px, 1fr));
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.public-site .product-facts-actions > dl {
    display: grid;
    grid-area: auto;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(64px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.public-site .product-facts-actions > .basket-add {
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    margin: 0;
}

@media (min-width: 761px) {
    .public-site .product-tile__body:has(> dl),
    .public-site .product-tile__body:has(> .product-facts-actions) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "status status"
            "title title"
            "description description"
            "specs specs"
            ". action";
    }
}

@media (max-width: 760px) {
    .public-site .product-facts-actions {
        grid-area: auto;
        grid-column: 1 / -1;
        grid-row: 4;
        width: auto;
        margin: 0 10px 10px;
    }

    .public-site .product-tile__body > .basket-add {
        grid-area: auto;
        grid-column: 1 / -1;
        grid-row: 5;
        justify-self: end;
        width: calc((100% - 26px) / 2);
        margin: 10px;
    }
}
