/* Global Font */
body, .pwcui-card {
    font-family: 'Poppins', sans-serif;
}

a{
    color: #16a34a;
}
a:hover{
    color: black;
}

/* header cart icon css */

#pwcui-cart-icon {
    position: relative;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwcui-cart-img {
    width: 28px !important;
    height: 28px;
    object-fit: contain;
    display: block;
}

.pwcui-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #16a34a;
    color: #fff;
    padding: 2px 7px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
}


/* End css cart icon */


/* Product Cards */

/* Stop Elementor from overriding link colors */
.pwcui-card a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Product Title */
.pwcui-title a {
    color: #333 !important;
    font-weight: 600;
    line-height: 1.3;
}

.pwcui-title a:hover {
    color: #16a34a !important;
}

/* Stars */
.pwcui-stars {
    /* color: #16a34a !important; */
}

/* Price */
.pwcui-price {
    color: #16a34a !important;
    font-weight: 700;
}


/* GRID */
.pwcui-grid {
    display: grid;
    gap: 32px;
}

.pwcui-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
.pwcui-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* CARD */
.pwcui-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

.pwcui-card:hover {
    transform: translateY(-5px);
}

/* IMAGE */
.pwcui-img-wrap {
    position: relative;
    overflow: hidden;
}

/* .pwcui-img-wrap img {
    width: 100%;
    display: block;
    transition: 0.25s ease;
} */

.pwcui-img-wrap img {
    width: 100%;
    height: 220px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: 0.3s ease;
}


.pwcui-card:hover .pwcui-img-wrap img {
    transform: scale(1.05);
}

/* WEIGHT BADGE */
.pwcui-weight {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #2FB545;
    padding: 4px 10px;
    font-size: 13px;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
}

/* INFO */
.pwcui-info {
    padding: 15px;
}

/* TITLE */
.pwcui-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #222;
    margin-bottom: 0px;
}

/* PRICE + RATING */
.pwcui-price-rating {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 18px; */
    align-items: center;
}

.pwcui-price {
    font-size: 20px;
    color: #2FB545;
    font-weight: 700;
}

.pwcui-stars {
    color: #FFC93D;
    font-size: 20px;
}

/* BUTTON ROW (NEW DESIGN) */
.pwcui-actions {
    display: flex;
    gap: 12px;
}

/* ADD TO CART BUTTON */
.pwcui-add-btn {
    flex: 1;
    padding: 12px 0;
    background: #2FB545;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.pwcui-add-btn:hover {
background: yellow;
color: black;
}


/* QUICK VIEW BUTTON */
.pwcui-quickview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    border: 2px solid #e5e5e5;
    cursor: pointer;
    transition: 0.2s;
}

.pwcui-quickview:hover {
    border-color: #16a34a;
    background: #f7fff4;
}

.pwcui-actions .pwcui-add-btn {
    text-align: center;
    color: white !important;
}
.pwcui-actions .pwcui-add-btn:hover {
    text-align: center;
    color: black !important;
}
a.added_to_cart.wc-forward {
    display: none;
}


/* RESPONSIVE */
@media (max-width: 768px) {
    .pwcui-grid.columns-3,
    .pwcui-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .pwcui-grid.columns-3,
    .pwcui-grid.columns-4 {
        grid-template-columns: repeat(1, 1fr);
    }
}




/* End Product Cards */

/* ---------------------------
   DRAWER MAIN WRAPPER
---------------------------- */
#pwcui-cart-drawer {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 999999;
}

.pwcui-cart-overlay {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

/* ---------------------------
   PANEL
---------------------------- */
.pwcui-cart-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 380px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 10px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: 0.3s ease;
    padding: 20px 25px;
}

.pwcui-cart-open .pwcui-cart-panel {
    transform: translateX(0);
}

/* ---------------------------
   HEADER
---------------------------- */
.pwcui-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pwcui-cart-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.pwcui-close {
    font-size: 28px;
    cursor: pointer;
}

/* ---------------------------
   CART LIST (MINI CART)
---------------------------- */

.pwcui-cart-items {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

/* Remove bullets */
.pwcui-cart-items .woocommerce-mini-cart {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Each item */
.pwcui-cart-items .woocommerce-mini-cart li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    align-items: flex-start;
}

/* Remove bullet marker */
.pwcui-cart-items .woocommerce-mini-cart li::marker {
    display: none !important;
}

/* Product Image */
.pwcui-cart-items .woocommerce-mini-cart img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Product Title */
.pwcui-cart-items .woocommerce-mini-cart .woocommerce-mini-cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.pwcui-cart-items a {
    color: #333 !important;
    text-decoration: none !important;
}

.pwcui-cart-items a:hover {
    color: #16a34a !important;
}

/* mini cart  */
/* CART ITEM LAYOUT */
.pwcui-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* IMAGE */
.pwcui-thumb img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover;
    border-radius: 10px;
}

/* RIGHT SIDE DETAILS */
.pwcui-details {
    flex: 1;
}

/* TITLE */
.pwcui-cart-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

/* PRICE */
.pwcui-cart-price {
    font-size: 15px;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 8px;
}

/* QTY BUTTONS */
.pwcui-cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pwcui-cart-qty button {
    background: #f2f2f2;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.pwcui-cart-qty span {
    font-size: 16px;
    font-weight: 600;
}

/* end css mini cart */

#pwcui-cart-drawer .woocommerce-mini-cart__buttons,
#pwcui-cart-drawer .woocommerce-mini-cart__total {
    display: none !important;
}



/* Price + qty text */
.pwcui-cart-items .quantity {
    font-size: 13px;
    color: #555;
}

/* Remove button (×) */
.pwcui-cart-items .remove {
    position: absolute;
    right: 0;
    top: 0;
    color: #999 !important;
    font-size: 18px;
}

.pwcui-cart-items .remove:hover {
    color: #ff4d4d !important;
}

/* ---------------------------
   FOOTER
---------------------------- */

.pwcui-cart-footer {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.pwcui-subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500;
}

/* Buttons */

.pwcui-viewcart-btn,
.pwcui-checkout-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 10px;
}

.pwcui-viewcart-btn {
    background: black;
    color: white;
}
.pwcui-viewcart-btn:hover {
    background: #fad53e;
    color: black;
}

.pwcui-checkout-btn {
    background: #16a34a;
    color: black;
}
.pwcui-checkout-btn:hover {
    background: #fad53e;
    color: black;
}


/* Single page  */
body { font-family: Poppins, sans-serif; }

.pwcui-single-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.pwcui-single-images img {
    border-radius: 12px;
}

.pwcui-main-img img {
    width: 100%;
}

.pwcui-thumb-row {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.pwcui-thumb {
    width: 80px;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: .2s;
}

.pwcui-thumb:hover {
    opacity: 1;
}

/* RIGHT SIDE INFO */
.pwcui-title {
    font-size: 32px;
    font-weight: 600;
}

.pwcui-price {
    font-size: 26px;
    color: #16a34a;
    font-weight: 600;
    margin: 15px 0;
}

.pwcui-short-desc {
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* QTY BOX */
.pwcui-qty-box {
    display: flex;  /* prevents full-width stretching */
    align-items: center;
    gap: 6px;              /* smaller gap */
    margin-bottom: 20px;
    width: 250px;
}

.pwcui-qty {
    width: 32px;
    height: 32px;
    background: black;
    border-radius: 6px;
    border: 1px solid #16a34a;
    cursor: pointer;
    color: white;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwcui-qty:hover{
    background: #16a34a;
    color: white;
}

.pwcui-qty-input {
    width: 48px;           /* FIXED: smaller width */
    height: 32px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    padding: 0;
}

/* ADD TO CART */
.pwcui-add-to-cart-btn {
    background: #16a34a;
    color: #fff;
    padding: 14px 50px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.pwcui-add-to-cart-btn:hover {
     background: black;
     color: white;
}

.pwcui-meta {
    color: #666;
    /* margin-top: 15px; */
    font-size: 14px;
}

/* TABS */
.pwcui-tabs-wrapper {
    max-width: 1200px;
    margin: 60px auto;
}

.pwcui-tabs-wrapper h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.pwcui-tab-content {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* RELATED */
.pwcui-related {
    max-width: 1200px;
    margin: 70px auto;
}

.pwcui-related h2 {
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .pwcui-single-wrapper {
        grid-template-columns: 1fr;
    }
}
