/* Widgets2 preview only. Existing Widgets/Plugins sections keep their own layout. */
.store--storemain .store-collection--widgets2 .store-collection__rail {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,370px),1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    align-items: start;
    gap: 18px;
    overflow: visible;
    padding: 4px 1px 22px;
    scroll-snap-type: none;
}
.ke-w2 {
    --w2-border:var(--store-border,#abb6bd);
    --w2-card:var(--store-card-bg,#fff);
    --w2-ink:var(--store-heading,#09222d);
    --w2-muted:var(--store-muted,#7f9098);
    --w2-accent:var(--store-accent,#08715e);
    position:relative;
    min-width:0;
    border:1px solid var(--w2-border);
    border-radius:11px;
    background:var(--w2-card);
    color:var(--w2-ink);
    display:grid;
    grid-template-rows:54px minmax(260px,auto) minmax(59px,auto);
    overflow:visible;
    isolation:isolate;
    font-family:"Nimbus Sans D OT",Arial,sans-serif;
}
.ke-w2__header {
    border-bottom:1px solid var(--w2-border);
    display:flex;
    align-items:center;
    gap:9px;
    padding:8px 12px;
    min-width:0;
}
.ke-w2__header h2{
    min-width:0;flex:1;margin:0;line-height:1.15;font-size:17px;font-weight:800;
    overflow-wrap:anywhere;
}
.ke-w2__header h2 a {text-decoration:none;color:var(--w2-ink)}
.ke-w2__header h2 a:hover {text-decoration:underline}
.ke-w2__heading-icon {
    display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;
    border-radius:7px;background:#082e36;color:#fff;font-size:17px;
}
.ke-w2__catalog-icon {display:block;width:21px;height:21px;background:var(--w2-color,#fff);
    -webkit-mask:var(--ke-w2-icon) center/contain no-repeat;mask:var(--ke-w2-icon) center/contain no-repeat}
.ke-w2__heading-icon img {width:22px;height:22px;object-fit:contain;}
.ke-w2__app-icon {width:28px;height:29px;flex:0 0 28px;object-fit:contain;margin-left:auto}
.ke-w2__content{
    display:grid;grid-template-columns:50% minmax(0,1fr);
    min-width:0;min-height:0;
}
.ke-w2--portrait .ke-w2__media-col{
    display:flex;flex-direction:column;min-width:0;min-height:0;
    border-right:1px solid var(--w2-border);
}
.ke-w2--portrait .ke-w2__visual{
    flex:1 1 auto;min-height:0;border-right:0;
    padding:8px 8px 3px;
}
.ke-w2--portrait .ke-w2__visual img{
    max-height:302px;max-width:100%;
}
.ke-w2--portrait .ke-w2__meta--under-widget{
    width:100%;
    display:flex;align-items:start;justify-content:flex-start;
    flex:0 0 auto;gap:6px 9px;flex-wrap:wrap;
    padding:5px 8px 8px;
    margin:0;
}
.ke-w2--portrait .ke-w2__meta--under-widget div{
    max-width:100%;
}
.ke-w2--portrait .ke-w2__meta--under-widget dt,
.ke-w2--portrait .ke-w2__meta--under-widget dd{
    font-size:10px;line-height:1.17;
}
.ke-w2--portrait .ke-w2__body{
    gap:6px;
    padding:8px 9px 8px;
}
.ke-w2--portrait .ke-w2__tag-icons{
    grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;
}
.ke-w2--portrait .ke-w2__tag-icon{
    max-height:30px;
    aspect-ratio:auto;
    height:29px;
    font-size:15px;
}
.ke-w2--portrait .ke-w2__description{
    flex:0 1 auto;min-height:0;max-height:148px;
    font-size:12px;line-height:1.45;
    -webkit-line-clamp:8;
}
.ke-w2--portrait .ke-w2__meta-actions{
    display:flex;justify-content:flex-end;align-items:flex-end;
    margin-top:auto;gap:0;
}
.ke-w2--portrait .ke-w2__learn{
    font-size:11px;padding:7px 8px;min-height:35px;
}
.ke-w2__visual{
    display:grid;place-items:center;position:relative;
    min-width:0;min-height:270px;border-right:1px solid var(--w2-border);
    color:var(--w2-accent);background:var(--w2-card);text-decoration:none;padding:10px;
    overflow:hidden;
}
.ke-w2__visual img{
    width:100%;height:100%;max-width:100%;max-height:265px;object-fit:contain;
    transition:transform .15s ease;
}
.ke-w2__visual:hover img {transform:scale(1.025)}
.ke-w2__visual--empty i{
    display:grid;place-items:center;width:86px;height:86px;
    border:1px solid var(--w2-border);border-radius:12px;
    font-size:32px;
}
.ke-w2__body{min-width:0;min-height:0;padding:10px 10px 10px 10px;display:flex;flex-direction:column;gap:11px}
.ke-w2__tag-icons {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;min-width:0}
.ke-w2__tag-icon {
    min-width:0;aspect-ratio:1.13/1;max-height:32px;display:grid;place-items:center;
    border:1px solid var(--w2-border);border-radius:6px;
    background:var(--w2-card);color:#0a2f3e;text-decoration:none;
    font-size:16px;
}
.ke-w2__tag-icon:nth-child(3n+1){border-color:#a049ff;color:#8640ff;}
.ke-w2__tag-icon:hover,.ke-w2__tag-icon:focus-visible{outline:1px solid var(--w2-accent);background:rgba(0,180,130,.09)}
.ke-w2__description {
    margin:0;flex:1;min-height:62px;max-height:117px;
    overflow:hidden;color:var(--w2-ink);
    font-size:13px;line-height:1.55;
    display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;
    overflow-wrap:anywhere;
}
.ke-w2__meta-actions {display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:auto;min-width:0;}
.ke-w2__meta{display:flex;gap:12px;flex-wrap:wrap;min-width:0;margin:0}
.ke-w2__meta div{display:grid;min-width:0;max-width:150px;}
.ke-w2__meta dt{font-size:11px;font-weight:400;color:var(--w2-muted);line-height:1.25;}
.ke-w2__meta dd{font-size:11px;font-weight:650;color:var(--w2-ink);margin:0;line-height:1.22;overflow-wrap:anywhere;}
.ke-w2__learn {
    flex:0 0 auto;display:grid;place-items:center;text-decoration:none;
    border:1px solid var(--w2-border);border-radius:5px;background:var(--w2-card);
    padding:10px 8px;color:var(--w2-ink);font-size:12px;font-weight:750;min-height:38px;
}
.ke-w2__learn:hover {background:rgba(8,113,94,.08);border-color:var(--w2-accent)}
.ke-w2__footer{
    min-width:0;border-top:1px solid var(--w2-border);
    padding:10px 11px;display:grid;
    grid-template-columns:minmax(0,1fr) 34px auto;grid-template-areas:"price info cart";
    align-items:center;gap:7px;position:relative;
}
.ke-w2__purchase-form{display:contents;}
.ke-w2__price-choice{grid-area:price;min-width:0;margin:0}
.ke-w2__price-select {
    display:block;width:100%;max-width:100%;height:38px;min-width:0;
    padding:5px 18px 5px 7px;
    border:1px solid var(--w2-border);border-radius:5px;
    background:var(--w2-card);color:var(--w2-ink);font:600 11px/1.1 "Nimbus Sans D OT",Arial,sans-serif;
    text-overflow:ellipsis;white-space:nowrap;
}
.ke-w2__price-label{grid-area:price;min-width:0;font-size:15px;font-weight:800;color:var(--w2-ink)}
.ke-w2__cart {
    grid-area:cart;align-self:stretch;display:grid;place-items:center;
    min-height:38px;min-width:95px;padding:8px;
    border:1px solid var(--w2-border);border-radius:5px;
    background:#eff6f4;color:#122c37;text-decoration:none;
    white-space:nowrap;cursor:pointer;
    font:750 12px/1.2 "Nimbus Sans D OT",Arial,sans-serif;
}
.ke-w2__cart:not(:disabled):hover {background:#d8efe7;border-color:var(--w2-accent)}
.ke-w2__cart:disabled,.ke-w2__cart--included {cursor:default;opacity:.62}
.ke-w2__offer{grid-area:info;position:relative;z-index:4;align-self:stretch}
.ke-w2__offer summary {
    display:grid;place-items:center;cursor:pointer;list-style:none;width:34px;height:100%;
    border:1px solid var(--w2-border);border-radius:5px;color:var(--w2-accent);
}
.ke-w2__offer summary::-webkit-details-marker {display:none}
.ke-w2__offer-content{
    position:absolute;z-index:10;bottom:calc(100% + 8px);right:-2px;
    width:min(285px,75vw);max-height:185px;overflow:auto;
    background:var(--w2-card);border:1px solid var(--w2-border);
    border-radius:9px;padding:12px;box-shadow:0 6px 20px rgba(0,0,0,.2);
    font:400 12px/1.4 "Nimbus Sans D OT",Arial,sans-serif;
}
.ke-w2__offer-content p{margin:0 0 7px;}
.ke-w2__offer-content p:last-child{margin-bottom:0}
.ke-w2--landscape {
    grid-template-rows:54px minmax(350px,auto) minmax(59px,auto);
}
.ke-w2--landscape .ke-w2__content{display:flex;flex-direction:column}
.ke-w2--landscape .ke-w2__media-col{display:contents}
.ke-w2--landscape .ke-w2__visual{
    flex:0 0 154px;min-height:154px;max-height:154px;
    border-right:0;border-bottom:1px solid var(--w2-border);
    padding:6px 10px;
}
.ke-w2--landscape .ke-w2__visual img{width:auto;height:100%;max-height:143px;max-width:100%}
.ke-w2--landscape .ke-w2__body {
    display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,0.9fr);
    grid-template-rows:auto minmax(105px,1fr) auto;
    grid-template-areas:"meta meta" "description tags" "description learn";
    gap:8px 12px;
    padding:8px 13px 12px;
}
.ke-w2--landscape .ke-w2__meta-actions{display:contents;}
.ke-w2--landscape .ke-w2__meta{
    grid-area:meta;padding-bottom:7px;border-bottom:1px solid var(--w2-border);margin:0;
}
.ke-w2--landscape .ke-w2__description {
    grid-area:description;min-height:0;max-height:154px;
    -webkit-line-clamp:7;
}
.ke-w2--landscape .ke-w2__tag-icons {grid-area:tags;align-content:start;grid-template-columns:repeat(4,minmax(0,1fr));}
.ke-w2--landscape .ke-w2__learn{grid-area:learn;justify-self:end;align-self:end;padding:9px 12px;}
.ke-w2__example-note{
    grid-column:1/-1;font-weight:750;font-size:14px;color:var(--store-heading,#09222d);
    padding:5px 0 0;
}
@media(max-width:767px) {
    .store--storemain .store-collection--widgets2 .store-collection__rail{
        grid-template-columns:1fr;gap:14px;
    }
    .ke-w2__header h2 {font-size:16px;}
    .ke-w2__footer {padding:9px;gap:5px;grid-template-columns:minmax(0,1fr) 32px auto;}
    .ke-w2__cart {min-width:92px;}
    .ke-w2__body {padding:9px}
    .ke-w2--portrait .ke-w2__body {padding:7px;gap:5px}
    .ke-w2--portrait .ke-w2__tag-icons {gap:3px}
    .ke-w2--portrait .ke-w2__tag-icon {height:27px;font-size:14px}
    .ke-w2--portrait .ke-w2__meta--under-widget {padding:5px 6px 7px;gap:3px 7px}
    .ke-w2--portrait .ke-w2__description {font-size:11px;line-height:1.4}
    .ke-w2--landscape .ke-w2__visual {max-height:148px;flex-basis:148px;}
}
@media(prefers-reduced-motion:reduce){.ke-w2__visual img{transition:none}}


/* Widgets2 unified card iteration 2026-11-02: all items use identical dimensions. */
.store--storemain .store-collection--widgets2 .store-collection__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 525px;
    align-items:stretch;
}
.store--storemain .store-collection--widgets2 .ke-w2 {
    box-sizing:border-box;
    height:525px;
    min-height:525px;
    max-height:525px;
    min-width:0;
    grid-template-rows:54px minmax(0,1fr) 59px;
    overflow:hidden;
}
.store--storemain .store-collection--widgets2 .ke-w2__content{
    min-height:0;
}
.ke-w2--portrait .ke-w2__media-col{
    display:grid;
    grid-template-rows:minmax(0,1fr);
    align-items:stretch;
    justify-items:stretch;
    min-height:0;
}
.ke-w2--portrait .ke-w2__visual{
    display:grid;
    place-items:center;
    min-width:0;
    min-height:0;
    height:100%;
    width:100%;
    padding:11px;
}
.ke-w2--portrait .ke-w2__visual img{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:min(100%,345px);
    object-fit:contain;
    object-position:center;
}
.ke-w2--portrait .ke-w2__body {
    min-height:0;
    gap:7px;
    padding:10px 10px 11px;
}
.ke-w2--portrait .ke-w2__tag-icons{
    width:100%;
    max-width:163px;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    align-content:start;
}
.ke-w2--portrait .ke-w2__tag-icon{
    display:grid;
    place-items:center;
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:1/1;
    border-radius:6px;
    font-size:16px;
}
.ke-w2--portrait .ke-w2__description{
    flex:0 1 auto;
    min-height:0;
    max-height:140px;
    margin:0;
    line-height:1.5;
    -webkit-line-clamp:7;
}
.ke-w2--portrait .ke-w2__meta-actions{
    display:flex;
    flex-direction:column;
    justify-content:end;
    align-items:stretch;
    gap:9px;
    min-width:0;
    margin-top:auto;
}
.ke-w2--portrait .ke-w2__meta{
    display:grid;
    grid-template-columns: minmax(0,.75fr) minmax(0,1.35fr);
    gap:6px;
    min-width:0;
    margin:0;
}
.ke-w2--portrait .ke-w2__meta div{
    min-width:0;
    max-width:100%;
}
.ke-w2--portrait .ke-w2__meta dt,
.ke-w2--portrait .ke-w2__meta dd{
    font-size:10px;
    line-height:1.2;
}
.ke-w2--portrait .ke-w2__learn{
    align-self:end;
}
/* Use exactly the existing Widgets CTA format, including the background and typography. */
.store--storemain .store-collection--widgets2 .ke-w2__learn{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    min-height:40px;
    height:40px;
    width:max-content;
    max-width:100%;
    border:1px solid var(--store-border,#929292);
    border-radius:4px;
    padding:8px 12px;
    color:var(--store-heading,#021522);
    background:#eef4f2;
    text-decoration:none;
    font-family:"Nimbus Sans D OT",Arial,sans-serif;
    font-size:13px;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;
    letter-spacing:normal;
    box-shadow:none;
}
.store--storemain .store-collection--widgets2 .ke-w2__learn:hover,
.store--storemain .store-collection--widgets2 .ke-w2__learn:focus-visible{
    background:#d8efe7;
    border-color:var(--w2-accent);
    text-decoration:none;
}
.ke-w2--landscape .ke-w2__content {
    min-height:0;
}
.ke-w2--landscape .ke-w2__media-col {
    display:contents;
}
.ke-w2--landscape .ke-w2__visual{
    display:grid;
    place-items:center;
    flex:0 0 196px;
    height:196px;
    min-height:196px;
    max-height:196px;
    padding:9px 12px;
}
.ke-w2--landscape .ke-w2__visual img{
    display:block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    object-position:center;
}
.ke-w2--landscape .ke-w2__body{
    min-height:0;
    flex:1 1 auto;
    grid-template-rows:auto minmax(0,1fr) auto;
    padding:8px 13px 9px;
    gap:6px 10px;
}
.ke-w2--landscape .ke-w2__meta{
    padding-bottom:5px;
}
.ke-w2--landscape .ke-w2__tag-icons{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:4px;
    max-width:168px;
}
.ke-w2--landscape .ke-w2__tag-icon{
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:1/1;
    border-radius:6px;
}
.ke-w2--landscape .ke-w2__learn{
    align-self:end;
    justify-self:end;
}
.ke-w2--landscape .ke-w2__description {
    max-height:120px;
    min-height:0;
}
@media(max-width:767px){
    .store--storemain .store-collection--widgets2 .store-collection__rail {
        grid-template-columns:minmax(0,1fr);
        grid-auto-rows:525px;
    }
    .ke-w2--portrait .ke-w2__body {gap:6px;padding:8px 7px 9px;}
    .ke-w2--portrait .ke-w2__visual {padding:7px;}
    .ke-w2--portrait .ke-w2__visual img {max-height:100%;max-width:100%;}
    .ke-w2--portrait .ke-w2__tag-icons {max-width:140px;gap:3px;}
    .ke-w2--portrait .ke-w2__tag-icon {border-radius:5px;font-size:14px;}
    .ke-w2--portrait .ke-w2__meta {gap:4px;grid-template-columns:minmax(0,.75fr) minmax(0,1.35fr);}
    .ke-w2--portrait .ke-w2__meta dt,
    .ke-w2--portrait .ke-w2__meta dd {font-size:10px;}
    .ke-w2--portrait .ke-w2__meta-actions {gap:7px;}
    .ke-w2--landscape .ke-w2__visual{
        flex-basis:174px;
        height:174px;
        min-height:174px;
        max-height:174px;
    }
    .ke-w2--landscape .ke-w2__body {padding:7px 10px 9px;gap:6px 9px;}
    .ke-w2--landscape .ke-w2__tag-icons {max-width:146px;gap:3px;}
    .ke-w2--landscape .ke-w2__description {font-size:12px;}
}
/* Flex alignment prevents intrinsic image ratio from expanding a CSS grid track. */
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__visual,
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual {
    display:flex;
    align-items:center;
    justify-content:center;
}
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__visual img,
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual img {
    display:block;
    flex:0 1 auto;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}


/* Widgets2 cards have fixed dimensions but share the original Widgets
   page/container width, so the whole catalogue stays aligned. */
.store--storemain .store-collection--widgets2 .store-collection__rail {
    display:grid;
    grid-template-columns:repeat(auto-fill,min(438px,100%));
    grid-auto-flow:row;
    grid-auto-rows:525px;
    justify-content:start;
    justify-items:stretch;
    align-items:stretch;
    gap:16px;
    padding-top:4px;
}
.store--storemain .store-collection--widgets2 .ke-w2 {
    width:100%;
    height:525px;
    min-height:525px;
    max-height:525px;
    grid-template-rows:54px minmax(0,1fr) 54px;
}
/* Footer matches the header, including available space for real payment controls. */
.store--storemain .store-collection--widgets2 .ke-w2__header,
.store--storemain .store-collection--widgets2 .ke-w2__footer {
    height:54px;
    min-height:54px;
    max-height:54px;
    box-sizing:border-box;
}
.store--storemain .store-collection--widgets2 .ke-w2__footer {
    padding:7px 10px;
    align-items:center;
}
.store--storemain .store-collection--widgets2 .ke-w2__price-select,
.store--storemain .store-collection--widgets2 .ke-w2__cart {
    height:38px;
    min-height:38px;
}
/* Keep real metadata on the right, as in Widgets: Version line then Created by line. */
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta-actions {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    justify-content:space-between;
    gap:7px;
    min-width:0;
}
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta {
    display:flex;
    flex-direction:column;
    align-items:start;
    justify-content:end;
    gap:5px;
    min-width:0;
    max-width:100%;
}
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta div {
    display:grid;
    gap:1px;
    min-width:0;
    max-width:100%;
}
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta dt,
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta dd {
    line-height:1.14;
    overflow-wrap:anywhere;
}
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__learn {
    justify-self:end;
    align-self:end;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta {
    display:flex;
    flex-direction:column;
    gap:4px;
    align-items:start;
    padding-bottom:6px;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta div {
    display:grid;
    gap:1px;
}
/* Maintain centered photo in both formats and give landscape text the lower area. */
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__visual,
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual {
    display:flex;
    align-items:center;
    justify-content:center;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual{
    flex:0 0 193px;
    height:193px;
    min-height:193px;
    max-height:193px;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__body {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr) auto;
    grid-template-areas:"meta meta" "description tags" "description learn";
    min-height:0;
    padding:8px 12px 9px;
    gap:6px 10px;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta-actions{
    display:contents;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__learn {
    grid-area:learn;
    align-self:end;
    justify-self:end;
}
/* The store's generic footer had a 16px top margin.
   Reset it so the 54px footer occupies its assigned grid track exactly. */
.store--storemain .store-collection--widgets2 .ke-w2__footer {
    margin:0;
    align-self:stretch;
}
/* At small viewports the fixed tile is constrained by the available page width,
   but never overflows horizontally. */
@media(max-width:767px){
    .store--storemain .store-collection--widgets2 .store-collection__rail {
        grid-template-columns:min(438px,100%);
        gap:14px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta-actions{
        grid-template-columns:minmax(0,1fr) auto;
        gap:4px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta{
        gap:5px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta dt,
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta dd{
        font-size:10px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual{
        flex-basis:174px;
        height:174px;
        min-height:174px;
        max-height:174px;
    }
}
/* Keep author/version readable when the right half is narrow on mobile. */
@media(max-width:767px) {
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta-actions {
        display:flex;
        flex-direction:column;
        align-items:stretch;
        justify-content:end;
        gap:6px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta {
        display:flex;
        flex-direction:column;
        width:100%;
        max-width:100%;
        align-items:start;
        gap:5px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta div{
        width:100%;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta dt,
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta dd {
        overflow-wrap:normal;
        word-break:normal;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__learn {
        align-self:end;
    }
}


/* Align the horizontal card's publisher/version with the Learn more action.
   Keep the photograph centered and the 438x525 card geometry unchanged. */
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__body{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:minmax(0,1fr) auto;
    grid-template-areas:"description tags" "actions actions";
    gap:9px 10px;
    align-items:start;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta-actions {
    display:flex;
    flex-direction:row;
    align-items:end;
    justify-content:space-between;
    grid-area:actions;
    align-self:end;
    margin:0;
    gap:9px;
    min-height:0;
    min-width:0;
    width:100%;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    gap:5px;
    min-width:0;
    max-width:100%;
    padding:0;
    margin:0;
    border:0;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta div{
    display:grid;
    gap:1px;
    min-width:0;
    max-width:100%;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta dt,
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta dd{
    line-height:1.14;
    overflow-wrap:anywhere;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__learn{
    grid-area:auto;
    align-self:end;
    flex:0 0 auto;
    justify-self:auto;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__description{
    grid-area:description;
    min-height:0;
    max-height:100%;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__tag-icons{
    grid-area:tags;
    align-self:start;
}
@media(max-width:767px){
    .store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__body{
        gap:7px;
    }
    .store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta dt,
    .store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta dd{
        font-size:10px;
        overflow-wrap:normal;
    }
}

/* Visible optical centering: preserve symmetrical breathing room around
   screenshots in both orientations. The intrinsic PNG alpha bounds are centered. */
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__visual,
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual {
    display:flex;
    align-items:center;
    justify-content:center;
}
.store--storemain .store-collection--widgets2 .ke-w2--portrait .ke-w2__visual img {
    display:block;
    flex:0 1 auto;
    width:auto;
    height:auto;
    max-height:min(335px, calc(100% - 56px));
    max-width:calc(100% - 22px);
    object-fit:contain;
    object-position:center;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual img {
    display:block;
    flex:0 1 auto;
    width:auto;
    height:auto;
    max-height:min(155px, calc(100% - 36px));
    max-width:calc(100% - 28px);
    object-fit:contain;
    object-position:center;
}
/* Compensate for the 1px bottom border of the landscape image zone:
   the visible PNG is centered against the full outer rectangle. */
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual {
    padding-bottom:8px;
}

/* Center against the ACTUAL card content edges, not a 16px-shifted box.
   A generic store margin was displacing both portrait and landscape content. */
.store--storemain .store-collection--widgets2 .ke-w2__content {
    margin:0;
    padding:0;
    min-height:0;
    align-self:stretch;
}

/* Widgets2: give the landscape screenshot the same physical scale as portrait:
   portrait = 335 px high; landscape (rotated) = 335 px wide.
   Keep the tile at 438x525 and move the content below the larger picture down. */
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual {
    flex:0 0 231px;
    height:231px;
    min-height:231px;
    max-height:231px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    padding:9px 12px 8px;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual img {
    display:block;
    flex:0 1 auto;
    width:auto;
    height:auto;
    max-width:min(335px,calc(100% - 28px));
    max-height:min(165px,calc(100% - 32px));
    object-fit:contain;
    object-position:center;
}
.store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__body {
    flex:1 1 auto;
    min-height:0;
    grid-template-rows:minmax(0,1fr) auto;
}
@media(max-width:767px) {
    .store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual {
        flex-basis:231px;
        height:231px;
        min-height:231px;
        max-height:231px;
    }
}

/* On narrow tiles mirror the portrait's available image width after rotation. */
@media(max-width:767px){
    .store--storemain .store-collection--widgets2 .ke-w2--landscape .ke-w2__visual img{
        max-width:min(335px,calc(100% - 45px));
    }
}

/* Widgets2 2026-11-10: normal-width Nimbus typography and stacked action layout. */
/* The former Nimbus face uses Extended glyphs, which distort bold prices
   and captions. Use the site's already declared normal-width Nimbus face. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2 {
    font-family:"Nimbus Sans D OT Normal",Arial,Helvetica,sans-serif;
    font-stretch:normal;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__header h2 {
    font-family:"Nimbus Sans D OT Normal",Arial,Helvetica,sans-serif;
    font-weight:700;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__price-label {
    font-family:"Nimbus Sans D OT Normal",Arial,Helvetica,sans-serif;
    font-size:19px;
    font-weight:700;
    line-height:1.15;
    font-stretch:normal;
    letter-spacing:0;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__cart,
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__price-select,
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__learn {
    font-family:"Nimbus Sans D OT Normal",Arial,Helvetica,sans-serif;
    font-size:13px;
    font-weight:600;
    line-height:1.2;
    font-stretch:normal;
    letter-spacing:0;
    text-transform:none;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__meta-actions {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-end;
    gap:8px;
    min-width:0;
    margin-top:auto;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__meta {
    display:grid;
    grid-template-columns:minmax(0,.83fr) minmax(0,1.47fr);
    align-items:start;
    width:100%;
    min-width:0;
    max-width:100%;
    gap:7px;
    margin:0;
    padding:0;
    border:0;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__meta div {
    display:grid;
    align-content:start;
    gap:2px;
    min-width:0;
    max-width:100%;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__meta dt {
    color:var(--w2-muted);
    font:400 11px/1.2 "Nimbus Sans D OT Normal",Arial,Helvetica,sans-serif;
    overflow-wrap:normal;
    word-break:normal;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__meta dd {
    color:var(--w2-ink);
    font:600 11px/1.2 "Nimbus Sans D OT Normal",Arial,Helvetica,sans-serif;
    margin:0;
    overflow-wrap:normal;
    word-break:normal;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__learn {
    flex:0 0 auto;
    align-self:flex-end;
    justify-self:end;
}
/* The landscape card still uses the same reserved grid-area for actions. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--landscape .ke-w2__meta-actions {
    grid-area:actions;
    align-self:end;
}

/* 2026-11-10 DB-backed Class and Genre icons on Widgets2 */
.store--storemain .store-collection--widgets2 .ke-w2__tag-icon--class {
    border-color:#9A39FF;
    color:#9A39FF;
    box-shadow:inset 0 0 0 1px rgba(154,57,255,.18);
}
.store--storemain .store-collection--widgets2 .ke-w2__tag-icon--genre {
    border-color:#2836E0;
    color:#2836E0;
    box-shadow:inset 0 0 0 1px rgba(40,54,224,.18);
}
.store--storemain .store-collection--widgets2 .ke-w2__tag-icon--class:hover,
.store--storemain .store-collection--widgets2 .ke-w2__tag-icon--class:focus-visible {
    border-color:#9A39FF;
    background:rgba(154,57,255,.08);
}
.store--storemain .store-collection--widgets2 .ke-w2__tag-icon--genre:hover,
.store--storemain .store-collection--widgets2 .ke-w2__tag-icon--genre:focus-visible {
    border-color:#2836E0;
    background:rgba(40,54,224,.08);
}

/* Widgets2 refinement 2026-11-10: real widgets, tags, column and actions */
/* Give the screenshot more room; right column holds exactly four icons per row. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__content {
    grid-template-columns:55% minmax(0,1fr);
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__tag-icons {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:100%;
    max-width:none;
    gap:4px;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__tag-icon {
    min-width:0;
    width:100%;
    aspect-ratio:1/1;
}
/* Only DB Class and Genre are colored; all other tag icons are monochrome. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__tag-icon:not(.ke-w2__tag-icon--class):not(.ke-w2__tag-icon--genre) {
    color:#151515;
    background:#fff;
    border-color:#909090;
    box-shadow:none;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__tag-icon:not(.ke-w2__tag-icon--class):not(.ke-w2__tag-icon--genre):hover,
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2__tag-icon:not(.ke-w2__tag-icon--class):not(.ke-w2__tag-icon--genre):focus-visible {
    color:#111;
    background:#f1f1f1;
    border-color:#333;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__description {
    font-size:13px;
    line-height:1.5;
    max-height:148px;
    -webkit-line-clamp:7;
}
/* Version and Created by remain side by side; CTA is centered beneath their gap. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta-actions {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__meta {
    display:grid;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);
    align-items:start;
    gap:6px;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__learn {
    display:flex;
    width:min(126px,100%);
    min-width:0;
    max-width:100%;
    justify-self:center;
    align-self:center;
    margin-inline:auto;
    white-space:nowrap;
}
@media(max-width:767px) {
    .store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__description {
        font-size:12.5px;
        line-height:1.48;
    }
    .store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__tag-icons {
        gap:3px;
    }
}


/* Very narrow phones: preserve a comfortable Learn more control. */
@media(max-width:350px) {
    .store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__content {
        grid-template-columns:53% minmax(0,1fr);
    }
}

/* Widgets2 2026-11-10: subtle separation from the catalogue background. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2 {
    background:#f5f9f7;
    border-width:2px;
    border-style:solid;
    border-color:#9cb8ab;
    box-shadow:0 2px 9px rgba(2,21,34,.055);
    transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2:hover,
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2:focus-within {
    background:#f8fbfa;
    border-color:#719b88;
    box-shadow:0 5px 16px rgba(2,21,34,.085);
}
@media (prefers-reduced-motion:reduce) {
    .store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2 {
        transition:none;
    }
}


/* 2026-11-11: larger Widgets2 descriptions. */
.store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__description {
    font-size:15px;
    line-height:1.5;
}
@media(max-width:767px) {
    .store--storemain.store--widgets2 .store-collection--widgets2 .ke-w2--portrait .ke-w2__description {
        font-size:14.5px;
        line-height:1.48;
    }
}
