/* ==========================================================
   PRODUCTS SECTION
========================================================== */

.products{
    padding:20px 15px;
    background:#f7f9fc;
}

.products .container{
    width:min(100%,1400px);
    margin:auto;
}

/* ==========================================================
   HEADER
========================================================== */

.products-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.products-title{
    margin:0;
    font-size:2rem;
    font-weight:700;
    color:#0d1b4c;
}

.products-message{
    height: 42px;
border: 1px solid #cbff90;
    background: #f1ffe1;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    color: #8a6730;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

}

.products-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 24px;
    text-decoration: none;
    color: #16325c;
    background: #f8f9fc;
    border: 1px solid #eceff5;
    font-weight: 700;
    transition: .25s;
}

.products-link:hover{
    background:#f4b223;

    color:#fff;
}

/* ==========================================================
   GRID
========================================================== */

.products-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(180px,1fr));

    gap:8px;

}

/* ==========================================================
   CARD
========================================================== */

.product-card{

    position:relative;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    border:1px solid #ececec;

    transition:.30s;

    display:flex;

    flex-direction:column;

    height:100%;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(0,0,0,.08);

}
/* ==========================================================
   BADGE
========================================================== */

.product-badge{

    position:absolute;

    top:16px;

    right:16px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-height:34px;

    padding:0 14px;

    border-radius:999px;

    font-size:.80rem;

    font-weight:700;

    color:#fff;

    z-index:3;

    white-space:nowrap;

}

.badge-new{

    background:#16a34a;

}

.badge-offer{

    background:#dc2626;

}

/* ==========================================================
   WISHLIST
========================================================== */

.product-wishlist{

    position:absolute;

    top:16px;

    left:16px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.25s;

    z-index:3;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.product-wishlist:hover{

    transform:scale(1.08);

}

.product-wishlist img{

    width:18px;

    height:18px;

}

/* ==========================================================
   IMAGE
========================================================== */

.product-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 14px 0px;
    min-height: 240px;
    background: #fbfbfc;
    overflow: hidden;
}

.product-image{

    display:block;

    max-width:100%;

    max-height:190px;

    object-fit:contain;

    transition:.35s;

}

.product-card:hover .product-image{

    transform:scale(1.06);

}
/* ==========================================================
   CONTENT
========================================================== */

.product-content {
    display: flex;
    flex-direction: column;

    padding: 13px;
    flex: 1;
}

/* ==========================================================
   TITLE
========================================================== */

.product-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #0d1b4c;
    font-weight: 700;
    min-height: 26px;
    text-align: center;
}
.product-title a{
    color:inherit;
    text-decoration:none;
    transition:.25s;
}

.product-title a:hover{
    color:var(--primary-color);
}
/* ==========================================================
   PRICE BOX
========================================================== */

.product-price-box{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    padding:14px 16px;

    border:1px solid #ececec;

    border-radius:14px;

    background:#fafafa;

}

.product-price{

    display:flex;

    align-items:center;

    gap:2px;

    color:#0d1b4c;

    font-weight:700;

}

.product-price .currency{

    font-size:.82rem;

    color:#667085;

}

.product-price .amount{

    font-size:1.35rem;

    line-height:1;

}

.product-old-price{

    display:flex;

    align-items:center;

    color:#98a2b3;

    text-decoration:line-through;

}

.product-old-price .currency{

    font-size:.75rem;

}

.product-old-price .amount{

    font-size:.95rem;

}
/* ==========================================================
   FOOTER
========================================================== */

.product-footer{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    margin-top:auto;

}

/* ==========================================================
   RATING
========================================================== */

.product-rating{

    display:flex;

    align-items:center;

    gap:6px;

    color:#475467;

    font-size:.92rem;

}

.product-rating img{

    width:18px;

    height:18px;

}

.product-rating strong{

    color:#0d1b4c;

    font-weight:700;

}

/* ==========================================================
   CART BUTTON
========================================================== */

.product-cart {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 12px;
    background: #f5b223;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .25s;
}

.product-cart:hover{

    background:#c9a227;

    transform:translateY(-2px);

}

.product-cart img{

    width:22px;

    height:22px;

}

/* ==========================================================
   SECTION FOOTER
========================================================== */

.products-footer{

    margin-top:20px;

    display:grid;

    grid-template-columns:1fr auto 1fr;

    align-items:center;

    gap:20px;

}

.products-nav{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:#ffffff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 8px 18px rgba(0,0,0,.08);

}

.products-nav:hover{

    transform:translateY(-2px);

    background:#0d1b4c;

}

.products-nav img{

    width:18px;

    height:18px;

}

.products-pagination{

    display:flex;

    align-items:center;

    gap:10px;

}

.products-pagination span{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#d0d5dd;

}

.products-pagination span.active{

    width:28px;

    border-radius:999px;

    background:#c9a227;

}


/*==================================================
  Products Footer Actions
==================================================*/

.products-actions-left{

    display:flex;

    justify-content:flex-start;

    align-items:center;

    gap:12px;

}

.products-actions-right{

    display:flex;

    justify-content:flex-end;

    align-items:center;

    gap:12px;

}

.products-slider{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

}

.product-action-btn{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px 18px;

    border-radius:18px;

    background:#ffffff;

   border:1px solid #c9a22770;

    text-decoration:none;

    transition:.25s;

    min-width:190px;

    box-shadow:0 6px 20px rgba(0,0,0,.05);

}

.product-action-btn:hover{

    transform:translateY(-4px);

    border-color:#f4b223;

    box-shadow:0 14px 35px rgba(0,0,0,.10);

}
.action-emoji{

    width:46px;

    height:46px;

    border-radius:14px;

    background:#fff6e2;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    flex-shrink:0;

}

.action-text{

    display:flex;

    flex-direction:column;

    gap:3px;

}

.action-text strong{

    color:#11224d;

    font-size:15px;

    font-weight:700;

    line-height:1.2;

}

.action-text small{

    color:#7d8798;

    font-size:12px;

    line-height:1.4;

}

/* ===========================================
   All Products Toolbar
=========================================== */

.sp-products-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

.sp-products-sort-title{
    font-size:15px;
    font-weight:700;
    color:#0d1b4c;
}

.sp-products-sort select{
    min-width:180px;
    height:42px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
    padding:0 14px;
    font-size:14px;
    cursor:pointer;
    transition:.2s;
}

.sp-products-sort select:hover{
    border-color:#f4b223;
}

.sp-products-sort select:focus{
    outline:none;
    border-color:#f4b223;
    box-shadow:0 0 0 3px rgba(244,178,35,.15);
}
.product-wishlist.is-saved{background:#0b1f4b;box-shadow:0 8px 22px rgba(11,31,75,.18)}.product-wishlist.is-saved img{filter:brightness(0) invert(1)}.product-wishlist.is-loading{opacity:.65;pointer-events:none}
