/* Base wrapper */
.ac-product-tiles {
    width: 100%;
}

/* Carousel */
.ac-product-tiles.ac-carousel {
    display: flex;
    gap: var(--ac-gap, 20px);
    overflow-x: auto;
    scroll-behavior: smooth;
}

/* Tile */
.ac-tile {
    border: 1px solid #eeeeee;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
}

.ac-shadow .ac-tile:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
    transform: translateY(-4px);
}

.ac-tile-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Image */
.ac-thumb img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Title */
.ac-title {
    margin-top: 10px;
    margin-bottom: 6px;
}

/* Description */
.ac-desc {
    margin-bottom: 8px;
}

/* Bottom info (desc + price) always pushed down */
.ac-bottom-info {
    margin-top: auto;
}

/* Price */
.ac-price {
    margin-top: 8px;
    font-weight: 700;
}
.ac-price-old del {
    text-decoration: line-through;
    opacity: 0.8;
}

/* Hover bar */
.ac-hover-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px;
    display: flex;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.96);
    transform: translateY(100%);
    transition: transform 0.2s ease;
}

.ac-tile:hover .ac-hover-bar {
    transform: translateY(0);
}

.ac-btn {
    border-radius: 999px;
    border: 1px solid #dddddd;
    padding: 4px 10px;
    background: #fafafa;
    font-size: 13px;
    text-decoration: none;
    color: #333333;
}
.ac-btn:hover {
    background: #ffffff;
}
