.whatsapp-order-grid-789ecfc4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .whatsapp-order-grid-789ecfc4 {
        grid-template-columns: 1fr;
    }
}

.whatsapp-order-item-789ecfc4 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* Centered by default now */
    text-align: center;
    box-sizing: border-box;
    padding: 30px; /* Bigger padding */
    background-color: transparent; /* Transparent background */
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    overflow: hidden; /* Added for borderless image */
}

/* Borderless Image Support */
.wa-img-borderless-yes .whatsapp-order-item-789ecfc4 {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.wa-img-borderless-yes .whatsapp-order-img-wrap-789ecfc4 {
    width: 100% !important;
    border-radius: 0;
    margin-bottom: 5px;
}

.whatsapp-order-img-wrap-789ecfc4 {
    display: inline-block;
    border-radius: 8px;
    overflow: hidden; /* Important for zoom effect */
}

.whatsapp-order-img-789ecfc4 {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* Image Hover Effects based on prefix class */
.wa-img-hover-zoom-in .whatsapp-order-item-789ecfc4:hover .whatsapp-order-img-789ecfc4 {
    transform: scale(1.08);
}

.wa-img-hover-grayscale .whatsapp-order-img-789ecfc4 {
    filter: grayscale(100%);
}

.wa-img-hover-grayscale .whatsapp-order-item-789ecfc4:hover .whatsapp-order-img-789ecfc4 {
    filter: grayscale(0%);
}

.whatsapp-order-title-789ecfc4 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.whatsapp-order-price-789ecfc4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #555;
    transition: color 0.3s;
}

.whatsapp-order-desc-789ecfc4 {
    margin: 0;
    font-size: 16px;
}

.whatsapp-order-colors-789ecfc4 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.whatsapp-order-color-input-789ecfc4 {
    display: none;
}

.whatsapp-order-color-label-789ecfc4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    user-select: none;
    color: #555;
    background-color: transparent;
    margin: 0;
    box-sizing: border-box;
}

.whatsapp-order-color-label-789ecfc4:hover {
    border-color: #bbb;
}

.whatsapp-order-color-label-789ecfc4.active {
    background-color: transparent;
    color: #333;
    border-color: #333;
    font-weight: bold;
}

.whatsapp-order-options-row-789ecfc4 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: center; /* Centered by default */
}

.whatsapp-order-sizes-789ecfc4 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: inherit;
}

.whatsapp-order-size-input-789ecfc4 {
    display: none; /* Hide default radio button */
}

.whatsapp-order-size-label-789ecfc4 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px; /* Increased from 38px */
    height: 44px; /* Increased from 38px */
    padding: 0 10px; /* Allow wider content if needed */
    border: 1px solid #e0e0e0; /* Lighter, less bold border */
    border-radius: 8px; /* Rounded corners */
    cursor: pointer;
    font-size: 15px; /* Slightly larger text */
    transition: all 0.2s ease;
    user-select: none;
    color: #555;
    background-color: transparent; /* Transparent background */
    margin: 0;
    box-sizing: border-box;
}

.whatsapp-order-size-label-789ecfc4:hover {
    border-color: #bbb;
}

/* Default active state */
.whatsapp-order-size-label-789ecfc4.active {
    background-color: transparent;
    color: #333;
    border-color: #333; /* Darker border for active state */
    font-weight: bold;
}

.whatsapp-order-qty-wrap-789ecfc4 {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0; /* Match lighter border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden;
    height: 44px; /* Matched size box height */
    transition: border-color 0.2s;
}

.whatsapp-order-qty-btn-789ecfc4 {
    background: transparent;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    height: 100%;
    font-size: 16px;
    color: #555;
    transition: background 0.2s;
}

.whatsapp-order-qty-btn-789ecfc4:hover {
    background: #f5f5f5;
}

.whatsapp-order-qty-input-789ecfc4 {
    width: 44px; /* Slightly wider */
    border: none;
    text-align: center;
    font-size: 15px; /* Slightly larger text */
    padding: 0;
    margin: 0;
    background: transparent;
    -moz-appearance: textfield;
}

.whatsapp-order-qty-input-789ecfc4:focus {
    outline: none;
}

.whatsapp-order-qty-input-789ecfc4::-webkit-outer-spin-button,
.whatsapp-order-qty-input-789ecfc4::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.whatsapp-order-btn-789ecfc4 {
    display: inline-block;
    padding: 12px 24px;
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 8px; /* Match rounded styling */
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    margin-top: auto;
    margin-bottom: 20px;
}

.wa-img-borderless-yes .whatsapp-order-btn-789ecfc4 {
    margin-bottom: 30px;
}

.whatsapp-order-btn-789ecfc4:hover {
    background-color: #128c7e;
    color: #fff;
}