/* VERA premium categories — intentionally namespaced to avoid Ecomus conflicts */
.vera-cats,
.vera-cats * { box-sizing: border-box; }
.vera-cats {
    background: #faf8f5;
    padding: clamp(34px, 4vw, 68px) 20px;
    color: #29231e;
    width: 100%;
}
.vera-cats__container { max-width: 1380px; margin: 0 auto; }
.vera-cats__header { margin: 0 auto 28px; max-width: 660px; }
.vera-cats--center .vera-cats__header { text-align: center; }
.vera-cats--left .vera-cats__header { text-align: left; max-width: none; }
.vera-cats__eyebrow {
    display: block;
    color: #a38a6b;
    font: 600 10px/1.5 Arial, Helvetica, sans-serif;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 13px;
}
.vera-cats__title {
    font-family: Georgia, 'Times New Roman', serif !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em;
    font-size: clamp(32px, 4vw, 52px) !important;
    color: #29231e;
    margin: 0 !important;
    padding: 0 !important;
}
.vera-cats__description {
    color: #80766c;
    font: 400 14px/1.8 Arial, Helvetica, sans-serif;
    margin: 16px 0 0 !important;
}
.vera-cats__grid {
    --vera-gap: 14px;
    gap: var(--vera-gap);
}
/* Larger, naturally swipeable mobile cards. Scroll position is controlled natively on touch. */
.vera-cats--grid .vera-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.vera-cats--slider { --vera-visible-v13: 4.5; }
.vera-cats--slider .vera-cats__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    touch-action: pan-x pan-y;
    -webkit-user-select: none;
    user-select: none;
    scroll-padding-inline: 2px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 1px 8px;
    position: relative;
    cursor: grab;
}
.vera-cats--slider .vera-cats__grid::-webkit-scrollbar { display: none; }
.vera-cats--slider .vera-cat {
    flex: 0 0 calc((100% - (var(--vera-visible-v13) - 1) * var(--vera-gap)) / var(--vera-visible-v13));
    scroll-snap-align: none;
}
.vera-cat { min-width: 0; margin: 0; }
.vera-cats__grid--dragging, .vera-cats__grid--dragging * { cursor: grabbing !important; user-select: none !important; }
.vera-cats--slider .vera-cat__image { pointer-events: none; user-select: none; -webkit-user-drag: none; }
.vera-cats--slider .vera-cat__link { -webkit-user-drag: none; }
.vera-cats__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin: -8px 0 12px;
}
.vera-cats__hint { display: none; font: 600 9px/1.5 Arial, sans-serif; letter-spacing: .19em; color: #92795e; }
.vera-cats__buttons { display: flex; gap: 8px; }
.vera-cats__nav {
    appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border: 1px solid #c8b7a5;
    color: #574637;
    background: transparent;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 0;
    transition: background .2s ease, color .2s ease, border .2s ease, opacity .2s ease;
}
.vera-cats__nav:hover:not(:disabled), .vera-cats__nav:focus-visible { background: #574637; color: #fff; border-color: #574637; }
.vera-cats__nav:disabled { cursor: default; opacity: .25; }
.vera-cats__nav svg { width: 18px; height: 18px; }

.vera-cat__link {
    aspect-ratio: 4 / 5;
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none !important;
    background: #d9cfc3;
    border-radius: 6px;
    box-shadow: 0 2px 16px rgba(45,34,25,.035);
    outline-offset: 4px;
}
.vera-cat__image,
.vera-cat__placeholder {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    inset: 0;
    display: block;
    object-fit: cover;
    max-width: none !important;
    transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.vera-cat__placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(130deg, #c9b29a 0%, #ebe1d6 55%, #bda189 100%);
    color: rgba(68,49,34,.27);
    letter-spacing: .35em;
    font: 400 34px Georgia, serif;
}
.vera-cat__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,rgba(18,16,14,0) 0%,rgba(18,16,14,0) 49%,rgba(18,16,14,.68) 100%);
    transition: background .3s ease;
}
.vera-cat__arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.vera-cat__arrow svg { width: 19px; height: 19px; }
.vera-cat__bottom {
    position: absolute;
    bottom: 19px;
    left: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.vera-cat__name {
    font: 400 clamp(19px,1.7vw,27px)/1.15 Georgia, 'Times New Roman', serif !important;
    color: #fff !important;
    letter-spacing: -.02em;
    text-shadow: 0 1px 14px rgba(0,0,0,.08);
}
.vera-cat__details {
    display: block;
    width: max-content;
    max-width: 100%;
    color: rgba(255,255,255,.94) !important;
    font: 600 9px/1.3 Arial, Helvetica, sans-serif !important;
    letter-spacing: .19em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,.65);
    padding-bottom: 5px;
}
.vera-cat__link:hover .vera-cat__image,
.vera-cat__link:focus-visible .vera-cat__image,
.vera-cat__link:hover .vera-cat__placeholder { transform: scale(1.065); }
.vera-cat__link:hover .vera-cat__arrow,
.vera-cat__link:focus-visible .vera-cat__arrow {
    background: #fff;
    color: #2b2118;
    transform: translateX(2px);
}
.vera-cat__link:focus-visible { outline: 2px solid #a38a6b; }
.vera-cats--empty { color: #685b4f; padding: 26px; border: 1px dashed #c5b4a4; }
@media (max-width: 1024px) {
    .vera-cats--grid .vera-cats__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .vera-cats--slider { --vera-visible-v13: 2.5; }
    .vera-cat__name { font-size: clamp(22px,3vw,30px) !important; }
}
@media (max-width: 767px) {
    .vera-cats { padding: 36px 12px 42px; }
    .vera-cats__header { margin-bottom: 19px; padding: 0 8px; }
    .vera-cats__title { font-size: clamp(30px,8vw,40px) !important; }
    .vera-cats__description { font-size: 12px; margin-top: 10px !important; }
    .vera-cats__grid { --vera-gap: 8px; }
    .vera-cats--grid .vera-cats__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .vera-cats--slider { --vera-visible-v13: 1.35; }
    .vera-cats__controls { margin: -6px 2px 12px; justify-content: space-between; }
    .vera-cats__hint { display: inline; }
    .vera-cats__nav { width: 32px; height: 32px; }
    .vera-cat__arrow { top: 9px; right: 9px; width: 30px; height: 30px; }
    .vera-cat__arrow svg { width: 16px; height: 16px; }
    .vera-cat__bottom { bottom: 16px; left: 12px; right: 10px; gap: 8px; }
    .vera-cat__name { font-size: clamp(19px,5.1vw,24px) !important; }
    .vera-cat__details { font-size: 8px !important; letter-spacing: .09em; }
}
@media (max-width: 360px) {
    .vera-cat__name { font-size: 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .vera-cat__image, .vera-cat__placeholder, .vera-cat__arrow { transition: none; }
}
