/* ECWID Addons - CSS */

.ecwid-addons-product {
    height: 100%;
    /*background: rgba( 0,0,0,.1);*/
}

.ecwid-addons-product__inner {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    border: 2px solid black;
    border-radius: 25px;
    overflow: hidden;
}

.ecwid-addons-product__image_outer {
    width: 100%;
    aspect-ratio: 1 / 1;   /* Makes it square */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ecwid-addons-product__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps full image visible */
    /*transition: transform 0.35s ease;*/
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.ecwid-addons-product__image_outer:hover .ecwid-addons-product__image {
    transform: scale(1.12);  /* Slight zoom */
}

.ecwid-addons-product__content {
    padding: 10px;
}

.ecwid-addons-product__brand {
    font-size: 16px;
    font-weight: 500;
    color: var(--e-global-color-text);
    text-transform: uppercase;
}

.ecwid-addons-product__prices {
    color: black;
    font-size: 20px;
}

.ecwid-addons-product__title {
    font-size: 24px;
    text-transform: uppercase;
    color: black;
    margin: 0;
}


/* =========================
   Ecwid Addons: Search
========================= */
.ecwid-addons-search {
    width: 100%;
}

.ecwid-addons-search__form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ecwid-addons-search__input {
    width: 100%;
    min-width: 140px;
    padding: 8px 10px;
    line-height: 1.2;
}

.ecwid-addons-search__button {
    padding: 8px 12px;
    line-height: 1.2;
    cursor: pointer;
}

/* Optional: when placed in a header area */
/*.ecwid-addons-search--header,*/
/*.header .ecwid-addons-search {*/
/*    max-width: 420px;*/
/*}*/

/* Widget mode container hook */
.ecwid-addons-search__widget {
    width: 100%;
}

.ecwid-addons-search { position: relative; }

.ecwid-addons-search__results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    overflow: hidden;
}

.ecwid-addons-search__item {
    display: flex;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
}

.ecwid-addons-search__item:hover {
    background: rgba(0,0,0,.04);
}

.ecwid-addons-search__thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
}

.ecwid-addons-search__meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ecwid-addons-search__name {
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ecwid-addons-search__price {
    font-size: 12px;
    opacity: .75;
}





.ecwid-addons-search input.ecwid-addons-search__input {
    width: 100%;
    height: 45px;
    padding: 0 24px;
    font-size: 16px;
    border: 2px solid #555;
    border-radius: 25px;
    background-color: #ffffff;
    color: #222;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.ecwid-addons-search input.ecwid-addons-search__input:focus {
    border-color: #2e7d32; /* your green */
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* Placeholder styling */
.ecwid-addons-search input.ecwid-addons-search__input::placeholder {
    color: #888;
    font-size: 14px;
}

/* =========================
   Ecwid Addons: Breadcrumb
========================= */
.ecwid-addons-breadcrumb {
    font-size: 14px;
    line-height: 1.4;
}

.ecwid-addons-breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.ecwid-addons-breadcrumb__item,
.ecwid-addons-breadcrumb__sep-item {
    display: flex;
    align-items: center;
}

.ecwid-addons-breadcrumb__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ecwid-addons-breadcrumb__link:hover {
    opacity: 0.75;
}

.ecwid-addons-breadcrumb__current {
    opacity: 0.6;
}

.ecwid-addons-breadcrumb__sep {
    opacity: 0.4;
    font-size: 12px;
    padding: 0 2px;
}
