/* Custom Cart Styles - Standalone CSS File */
/* This file serves as a fallback if functions.php CSS doesn't load */

.entry-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
    padding: 20px 0;
}
.ast-container{
    max-width: 1440px;
}
.cart-main-content {
    display: flex;
    flex-direction: column;
}

.cart-container {
    width: 100%;
}

.cart_totals {
    width: 100% !important;
    background: #f8f9fa;
    border: none !important;
    border-radius: 8px;
    padding: 0;
    margin: 0 !important;
    box-shadow: unset;
    overflow: hidden;
    margin-bottom: 0 !important;
}

/* Cart Totals Heading - Santrauka */
.cart_totals h2 {
    padding-top: 16px;
    padding-bottom: 24px;
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
    background: unset;
}

/* Cart Totals Table */
.cart_totals table {
    margin: 0;
}

/* Subtotal Row - Tarpinė suma */
.cart_totals .cart-subtotal th,
.cart_totals .cart-subtotal td {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 8px;
}

/* Shipping/Delivery Row - Pristatymas */
.cart_totals .woocommerce-shipping-totals th,
.cart_totals .woocommerce-shipping-totals td {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
}

/* Total Row - Iš viso */
.cart_totals .order-total th,
.cart_totals .order-total td {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 24px;
}

/* Checkout Button - Atsiskaitymas */
.cart_totals .wc-proceed-to-checkout {
    /*padding: 0 24px 24px 24px;*/
    padding: 0;
}

.cart_totals .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    margin: 0 !important;
}

.cart-collaterals {
    width: 100% !important;
    max-width: 400px;
}

.discount-code-section{
    border-top: 1px solid #B2B2B2;
    border-bottom: 1px solid #B2B2B2;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    border: none !important;
    background: #fff;
    border-radius: 8px;
    align-items: start;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    margin-bottom: 16px;
    padding: 0;
}


.cart-item__image {
    width: 199.865px;
    height: 265px;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item__color{
    margin-bottom: 16px;
}
.cart-item__image a{
    height: 100%;
}
.cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__details {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.cart-item__delivery{
	display:flex;
	gap:12px;
	align-items:center;
}

/* Icon wrapper */
.delivery-icon{
	position:relative;
	width:24px;
	height:24px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
}

/* MAIN ICON — FORCE SIZE */
.icon-main{
	width:24px;
	height:24px;
	display:block;
}

/* STATUS BADGE */
.icon-status{
	position:absolute;
	top:-4px;
	left: -6px;
	width:14px;
	height:14px;
	display:block;
}

/* Colors */
.delivery-option.yra  { color:#16A468; }
.delivery-option.nera { color:#808080; }

.icon-yra,
.icon-nera{
	color:inherit;
}

.cart-item__delivery .delivery-icon img{
    width: 32px;
    height: 28px;
}

.cart-item__title {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    margin: 0 0 16px 0;
}

.cart-item__brand,
.cart-item__variation {
    font-size: 14px;
    line-height: 150%;
    color: #808080;
    margin: 0;
    margin-bottom: 0px !important;
}

.cart-item__color {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cart-item__price {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
 
    margin: 0;
    margin-bottom: 32px !important;
    margin-top: 16px;
}

.cart-item__actions {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 16px;
    min-width: 80px;
}

.cart-item__quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    min-width: 80px;
}

.cart-item__quantity .qty-dropdown {
    width: 78px;
    padding: 10px 16px;
    height: unset;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    appearance: none;
    background: rgba(248, 248, 248, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M17.875 8.25L11 15.125L4.125 8.25' stroke='black' stroke-width='2' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 6px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #dc2626;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    background: #F8F8F8;
    border-radius: 6px;
}
.cart-item__delivery-text{
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.delivery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16A468;
    flex-shrink: 0;
}

.cart-item__quantity .qty-dropdown:hover{
    border-color: #000;
}

.page .entry-header{
    margin-bottom: 20px;

}
.page .entry-header .entry-title{
    margin-bottom: 0px;
}

/* Responsive Design */
@media (min-width: 1025px) {
    .cart-item__actions {
        display: flex;
        flex-direction: row;
        align-items: end;
        gap: 16px;
        min-width: 80px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .cart-item {
        grid-template-columns: 120px 1fr auto;
        /*padding: 20px;*/
        gap: 16px;
    }
    
    .cart-item__image {
        width: 120px;
        height: 120px;
    }

    
    .cart-item__details h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .cart-item__details .brand,
    .cart-item__details .color {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .cart-item__details .price {
        font-size: 18px;
        font-weight: 600;
    }
    
    .cart-item__actions {
        display: flex;
        flex-direction: column;
        align-items: end;
        gap: 12px;
        min-width: 80px;
    }
    
    .cart-item__quantity .qty-dropdown {
        width: 78px;
        padding: 8px 24px 8px 12px;
        font-size: 14px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M17.875 8.25L11 15.125L4.125 8.25' stroke='black' stroke-width='2' stroke-linecap='square' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-position: right 6px center;
        background-repeat: no-repeat;
        background-size: 16px;
    }
    
    .remove-item {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .entry-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cart-item__price {
        margin-top: 14px;
        margin-bottom: 12px !important;
    }
    
    .cart-collaterals {
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px) !important;
        background: #f8f9fa;
        max-width: none;
    }
    .cart_totals {
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px) !important;
        max-width: none;
    }
    .cart-item {
        display: grid;
        grid-template-columns: 80px 1fr auto;
        grid-template-rows: auto auto;
        gap: 12px;
        /*padding: 16px;*/
        background: #fff;
        border-radius: 8px;
    }
    .cart-item__quantity{
        order: 2;
    }
    .cart-item__quantity label{
        display: none;
    }
    .cart-item__image {
        width: 78px;
        height: 104px;
        margin-bottom: 0;
        grid-row: 1 / 3;
    }
    
    .cart-item__details {
        text-align: left;
        margin-bottom: 8px;
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }
    
    .cart-item__details h3 {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .cart-item__details .brand {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .cart-item__details .color {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .cart-item__details .price {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .cart-item__actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 24px;
        grid-column: 3;
        grid-row: 1;
        align-self: start;
    }
    
    .cart-item__delivery-text{
        margin-top: 16px;
    }


    .cart-item__quantity {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
    
    .cart-item__quantity label {
        font-size: 12px;
    }
    
    .cart-item__delivery-text {
        justify-content: flex-start;
        grid-column: 2 / 4;
        grid-row: 2;
        font-size: 12px;
    }
    
}

/* Product Brand Styling */
.product-brand {
    margin-bottom: 0 !important;
}

/* Loop Grid Section Styling */
.loop-grid-section {
    margin: 60px 0;
    padding: 0 20px;
}

.loop-grid-section .section-title {
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 32px 0;
    text-align: left;
}

.loop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    row-gap: 32px;
    margin: 0 auto;
}

.loop-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.loop-item:hover {
    border-color: #6b21a8;
    box-shadow: 0 8px 25px rgba(139, 43, 226, 0.15);
    transform: translateY(-4px);
}

.product-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.status-new {
    color: #000000;
}

.status-new .status-dot {
    background: #22c55e;
}

.status-last {
    background: #ffffff;
    color: #000000;
    border: 1px solid #e5e7eb;
}

.status-last .status-dot {
    background: #ef4444;
}

.status-available {
    color: #000000;
}

.status-available .status-dot {
    background: #3b82f6;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-text {
    font-size: 11px;
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-image {
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image a{
    width: 100%;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 34/45;
}

.no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    border-radius: 8px;
}

.product-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
}

.indicator-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px #ffffff;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.product-title {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #8a2be2;
}

.product-brand {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin: 0;
}

.product-colors {
    display: flex;
    gap: 6px;
    margin: 4px 0;
}

.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e5e7eb;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
}

.product-price {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.product-actions {
    display: none;
}

.add-to-cart-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #949494;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.add-to-cart-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #1f2937;
}

.payment-logos{
	display: grid;
	gap: 5px;
	width: max-content;
}

/* Desktop */
@media (min-width: 1025px){
	.payment-logos{
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Tablet */
@media (max-width: 1024px){
	.payment-logos{
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Center logos */
.payment-logo{
	display:flex;
	align-items:center;
	justify-content:center;
}

.payment-logo img{
	max-width:100%;
	height:auto;
	display:block;
}

.payment-section-title {
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
    margin-bottom: 16px;
}

/* Responsive Design for Loop Grid */
@media (max-width: 1024px) {
    .loop-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 32px;
        column-gap: 4px;
    }
    .payment-section-title {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .product-image {
        padding: 12px 12px 0 12px;
    }
    
    .product-image img {
        aspect-ratio: 121/160;
    }
    
    .product-info {
        padding: 0 12px 12px 12px;
    }
    
    .product-title {
        font-size: 15px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .product-actions {
        display: block;
    }
}

@media (max-width: 480px) {
    
    .product-image {
        height: 140px;
        padding: 10px 10px 0 10px;
    }
    
    .product-info {
        padding: 0 10px 10px 10px;
    }
}

/* Payment and Delivery Section Styles */
.payment-delivery-section {
    padding: 40px 0;
    margin: 40px 0;
}

.payment-delivery-row {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 80px;
    align-items: start;
}

.section-title {
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #1f2937;
    margin: 0 0 24px 0;
    text-align: left;
}

/*.payment-logos {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 12px;*/
/*}*/

/*.payment-row {*/
/*    display: flex;*/
/*    gap: 8px;*/
/*    max-width: 456px;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.payment-row:first-child {*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*}*/

/*.payment-row:nth-child(2) {*/
/*    grid-template-columns: 1fr 1fr;*/
/*}*/

/*.payment-row:nth-child(3) {*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*}*/

.payment-logo {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2px 4px;
    display: flex;
    width: 73.75px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.payment-logo:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.payment-logo img {
    max-width: 100%;
    max-height: 24px;
    object-fit: contain;
}

.delivery-logos {
    display: flex;
    gap: 8px;
}

.delivery-logo {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 73.75px;
    min-height: 48px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/*.delivery-logo:first-child {*/
/*    border-color: #8a2be2;*/
/*}*/

.delivery-logo:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.delivery-logo img {
    max-width: 100%;
    max-height: 24px;
    object-fit: contain;
}

.cart-product-actions{
    display: none;
}

/* Responsive Design for Payment/Delivery Section */
@media (max-width: 768px) {
    .payment-delivery-row {
        grid-template-columns: 1fr;
        display: grid;
        gap: 40px;
        padding: 0 16px;
    }
    
    .cart-product-actions{
        display: block;
    }
    
    
    .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .payment-row:first-child,
    .payment-row:nth-child(3) {
        gap: 8px;
    }
    
    .payment-row:nth-child(2) {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 8px;
    }
    
    .payment-logo,
    .delivery-logo {
        padding: 10px;
        min-height: 45px;

    }
    
    .delivery-logos {
        display: flex;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .payment-row {
        grid-template-columns: 1fr;
    }
    
    .payment-logo,
    .delivery-logo {
        padding: 10px;
        min-height: 45px;
    }
}

/* Cart-Specific Loop Item Styles */
.cart-loop-item {
    background: #ffffff;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.cart-loop-item:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}

.cart-product-status {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.cart-status-new {
    color: black;
}

.cart-status-new .cart-status-dot {
    background: #22c55e;
}

.cart-status-last {
    background: #ffffff;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.cart-status-last .cart-status-dot {
    background: #ef4444;
}

.cart-status-available .cart-status-dot {
    background: #3b82f6;
}

/* Status dot colors based on status text */
.cart-product-status[data-status="new"] .cart-status-dot,
.cart-product-status[data-status="naujiena"] .cart-status-dot {
    background: #22c55e;
}

.cart-product-status[data-status="last"] .cart-status-dot,
.cart-product-status[data-status="paskutinis-vienetas"] .cart-status-dot {
    background: #ef4444;
}

.cart-product-status[data-status="available"] .cart-status-dot,
.cart-product-status[data-status="galima-uzsakyti"] .cart-status-dot {
    background: #3b82f6;
}

.cart-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.cart-status-text {
    font-size: 11px;
    color: inherit;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-product-image {
    width: 100%;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 34/45;
}

.cart-no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 34/45;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    border-radius: 8px;
}

.cart-product-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
}

.cart-indicator-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16A468;
}

.cart-product-info {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.cart-product-title {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
}

.cart-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-product-title a:hover {
    color: #8b5cf6;
}

.cart-product-brand {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
    margin-bottom: 12px;
}

.cart-product-colors {
    display: flex;
    gap: 6px;
    margin: 8px 0;
}

.cart-color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #e5e7eb;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-color-swatch:hover {
    transform: scale(1.1);
}

.cart-product-price {
    margin:0;
    margin-bottom: 64px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.cart-product-actions {
    margin-top: 12px;
}

.cart-add-to-cart-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 16px;
    background: white;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid #949494;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cart-add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    color: #ffffff;
}

/* Responsive adjustments for cart loop items */
@media (max-width: 768px) {
    .cart-loop-item {
        border-radius: 8px;
    }
    
    .cart-product-info {
        padding: 0 12px 12px 12px;
    }
    
    .cart-product-title {
        font-size: 14px;
    }
    
    .cart-product-price {
        font-size: 16px;
    }
    
    .cart-add-to-cart-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Astra Product Categories Widget Styles */
.astra-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin: 20px 0;
    padding: 0;
}

.astra-category-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.astra-category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.astra-category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.astra-category-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.astra-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.astra-category-item:hover .astra-category-image img {
    transform: scale(1.05);
}

.astra-category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
}

.astra-category-info {
    padding: 16px 12px;
    text-align: center;
}

.astra-category-name {
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 4px;
}

.astra-category-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive adjustments for categories grid */
@media (max-width: 768px) {
    .astra-categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 16px;
    }
    
    .astra-category-image {
        height: 100px;
    }
    
    .astra-category-info {
        padding: 12px 8px;
    }
    
    .astra-category-name {
        font-size: 13px;
    }

    .cart-item__price{
        margin-top: 14px;
    }
}

@media (max-width: 480px) {
    .astra-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .astra-category-image {
        height: 80px;
    }
    
    .astra-category-info {
        padding: 10px 6px;
    }
    
    .astra-category-name {
        font-size: 12px;
    }
}

