.old-carousel-wrapper {
    position: relative;
    padding-bottom: 70px;
    width: 100%;
    overflow: hidden;
}

.old-swiper-container {
    width: 100%;
    overflow: hidden;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    width: 100% !important;
    min-width: 100% !important;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.product-image .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-image.has-hover-image .hover-image {
    opacity: 1;
}

.product-card:hover .product-image.has-hover-image .primary-image {
    opacity: 0;
}

.product-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-subtitle {
    font-size: 13px;
    color: #888;
    margin: 0 0 24px 0;
    font-weight: 600;
    text-transform: uppercase;
}

.product-action {
    margin-top: auto;
    display: flex;
    align-items: center;
    border-radius: 12px;
    background-color: var(--theme-color, #154e8d);
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.15);
    padding: 6px 6px 10px 15px;
}

.product-price {
    color: var(--price-color, #fff);
    font-weight: 800;
    font-size: 18px;
    padding-right: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-price *, .product-price .amount {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
    font-weight: inherit;
}

.product-price del {
    opacity: 0.7;
    font-size: 0.8em;
    text-decoration: line-through;
}

.product-btn {
    background-color: var(--btn-bg-color, #fff);
    color: var(--theme-color, #154e8d);
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    line-height: 1;
    white-space: nowrap !important;
}

.product-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.old-carousel-wrapper .swiper-pagination {
    bottom: 15px !important;
    left: 0 !important;
    width: auto !important;
    text-align: left;
    display: flex;
    align-items: center;
}

.old-carousel-wrapper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 4px;
    background: #d4d4d4;
    opacity: 1;
    margin: 0 3px !important;
    transition: all 0.3s ease;
}

.old-carousel-wrapper .swiper-pagination-bullet-active {
    width: 24px;
    background: #888;
}

.old-carousel-wrapper .swiper-button-nav-container {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.old-carousel-wrapper .swiper-button-prev-custom,
.old-carousel-wrapper .swiper-button-next-custom {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #5b79d6; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.1);
}

.old-carousel-wrapper .swiper-button-prev-custom:hover,
.old-carousel-wrapper .swiper-button-next-custom:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.old-carousel-wrapper .swiper-button-prev-custom:active,
.old-carousel-wrapper .swiper-button-next-custom:active {
    transform: translateY(1px);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.2), 0 2px 4px rgba(0,0,0,0.1);
    padding-top: 2px;
}

.old-carousel-wrapper .swiper-button-prev-custom:after,
.old-carousel-wrapper .swiper-button-next-custom:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.old-carousel-wrapper .swiper-button-prev-custom:after {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.old-carousel-wrapper .swiper-button-next-custom:after {
    transform: rotate(45deg);
    margin-right: 4px;
}
