/* Yokaba Common Styles - Shared across all widgets */

:root {
    --yokaba-color-brown: #a88466;
    --yokaba-color-gray-dark: #1d1c1a;
    --yokaba-color-gray: #403e3c;
    --yokaba-color-gray-light: #999897;
    --yokaba-color-border: #ebebeb;
    --yokaba-color-bg: #f9f9f9;
    --yokaba-color-red: #ff2c56;
    --yokaba-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
}

body{
    font-family: "Montserrat";
}

/* Product Card - Shared */
.yokaba-related-products__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: #ffffff;
    border: 1px solid var(--yokaba-color-border);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 354px !important;
}

.yokaba-related-products__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--yokaba-shadow-soft);
}

.yokaba-related-products__media {
    margin: 0;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.yokaba-related-products__thumb-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.yokaba-related-products__image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    max-width: 190px !important;
    max-height: 190px;
    width: 100%;
    height: 100%;
}

.yokaba-related-products__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.yokaba-related-products__meta {
    padding: 16px 16px 14px 16px;
    display: flex;
    flex-direction: column;
}

.yokaba-related-products__name {
    font-size: 12px;
    font-weight: 600;
    line-height: 18px !important;
    margin: 0;
    color: #1D1C1A !important;
}

.yokaba-related-products__name a {
    color: inherit;
    text-decoration: none;
}

.yokaba-related-products__name a:hover {
    color: var(--yokaba-color-brown);
}

.yokaba-related-products__desc,
.yokaba-related-products__capacity {
    font-size: 11px;
    font-weight: 500;
    color: var(--yokaba-color-gray-light);
    line-height: 18px;
}

.yokaba-related-products__desc p {
    margin: 0 0 6px;
}

.yokaba-related-products__desc p:last-child {
    margin-bottom: 0;
}

.yokaba-related-products__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.yokaba-related-products__rating .star-rating {
    display: inline-flex;
}

.yokaba-related-products__reviews {
    font-size: 12px;
    color: var(--yokaba-color-brown);
    text-decoration: underline;
    font-weight: 500;
}

.yokaba-related-products__footer {
    background-color: var(--yokaba-color-bg);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px !important ;
}

.yokaba-related-products__pricing {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.yokaba-related-products__price {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--yokaba-color-brown);
    line-height: 28px;
}

.yokaba-related-products__regular {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--yokaba-color-gray);
}

.yokaba-related-products__regular-value {
    color: var(--yokaba-color-red);
    text-decoration: line-through;
    font-weight: 600;
}

.yokaba-related-products__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    background-color: transparent !important;
    color: #ffffff !important;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.yokaba-related-products__cta:hover {
    background-color: #926f50;
    transform: translateY(-1px);
}

.yokaba-related-products__cta.button {
    margin: 0;
    border: none;
}

.yokaba-related-products__cta svg {
    display: block;
}

.yokaba-related-products__cta .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.yokaba-related-products__notice {
    font-size: 14px;
    color: var(--yokaba-color-gray);
    background: #fff5f5;
    border: 1px solid #ffdede;
    padding: 16px;
    border-radius: 4px;
    text-align: center;
}

/* Elementor accordion fix */
.elementor-widget-n-accordion .e-n-accordion-item[open]>.e-n-accordion-item-title .e-n-accordion-item-title-icon span>svg,
.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span>svg {
    fill: transparent !important;
}

