/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
#zay-announcement-bar {
    background: #111;
    color: #f5c518;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
}
#zay-announcement-bar span { color: #fff; }

/* =============================================
   HEADER REDESIGN
   ============================================= */
#zay-main-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
#zay-main-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
}
#zay-main-header .header-logo img {
    height: 50px;
    width: auto;
}
#zay-main-header .header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    flex-direction: row-reverse;
}
#zay-main-header .header-nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s;
}
#zay-main-header .header-nav ul li a:hover { color: #1a9fd4; }
#zay-main-header .header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}
#zay-main-header .header-icons a {
    color: #333;
    font-size: 18px;
    text-decoration: none;
    position: relative;
}
#zay-main-header .cart-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* =============================================
   SINGLE PRODUCT PAGE
   ============================================= */
.zay-product-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    direction: rtl;
}

/* Product Top: image + info side by side */
.zay-product-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .zay-product-top { grid-template-columns: 1fr; }
    .zay-product-image { order: -1; }
}

/* Product Image */
.zay-product-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Product Info */
.zay-product-info { direction: rtl; text-align: right; }

.zay-product-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-direction: row-reverse;
}
.zay-badge-original {
    background: #f5c518;
    color: #333;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

.zay-product-info h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Star rating */
.zay-stars { color: #f5c518; font-size: 18px; margin-bottom: 12px; }

/* Price */
.zay-price-block { margin-bottom: 12px; }
.zay-price-main {
    font-size: 32px;
    font-weight: 900;
    color: #1a9fd4;
}
.zay-price-old {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

/* Delivery tag */
.zay-delivery-tag {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
}

/* =============================================
   ORDER FORM
   ============================================= */
.zay-order-form-box {
    background: #fff;
    border: 2px solid #d0eaf8;
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 30px;
}
.zay-order-form-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.zay-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
@media (max-width: 600px) {
    .zay-form-grid { grid-template-columns: 1fr; }
}

.zay-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d0eaf8;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    text-align: right;
    direction: rtl;
    outline: none;
    transition: border-color 0.2s;
    background: #f8fbff;
    color: #333;
}
.zay-form-input:focus { border-color: #1a9fd4; background: #fff; }

/* Quantity bundles */
.zay-bundles { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }

.zay-bundle-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 2px solid #d0eaf8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    direction: rtl;
    background: #f8fbff;
}
.zay-bundle-option:hover { border-color: #1a9fd4; }
.zay-bundle-option.selected {
    border-color: #1a9fd4;
    background: #e8f6fd;
}
.zay-bundle-option input[type="radio"] { display: none; }

.zay-bundle-label { font-size: 14px; color: #333; font-weight: 600; }
.zay-bundle-price { font-size: 16px; font-weight: 800; color: #1a9fd4; }

.zay-bundle-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    margin-right: 10px;
}
.zay-bundle-option.selected .zay-bundle-check {
    background: #1a9fd4;
    border-color: #1a9fd4;
    color: #fff;
}

/* Confirm button */
.zay-btn-confirm {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #1a9fd4, #0d7aad);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 12px;
    text-decoration: none;
}
.zay-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,159,212,0.4);
    color: #fff;
}

/* Quantity stepper */
.zay-qty-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    direction: rtl;
}
.zay-qty-row .zay-btn-confirm { flex: 1; margin-bottom: 0; }
.zay-qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0eaf8;
    border-radius: 10px;
    overflow: hidden;
}
.zay-qty-stepper button {
    background: #f0f8ff;
    border: none;
    width: 36px;
    height: 46px;
    font-size: 20px;
    cursor: pointer;
    color: #1a9fd4;
    font-weight: 700;
    transition: background 0.2s;
}
.zay-qty-stepper button:hover { background: #1a9fd4; color: #fff; }
.zay-qty-stepper input {
    width: 44px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 700;
    background: #fff;
    outline: none;
    font-family: 'Cairo', sans-serif;
}

/* WhatsApp button */
.zay-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    border-radius: 12px;
    padding: 13px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
    margin-bottom: 20px;
}
.zay-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    color: #fff;
}

/* Order summary */
.zay-order-summary {
    border: 1.5px solid #d0eaf8;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4px;
}
.zay-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8fbff;
    cursor: pointer;
    direction: rtl;
    font-weight: 700;
    color: #333;
    font-size: 15px;
}
.zay-summary-header i { color: #1a9fd4; }
.zay-summary-body { padding: 16px 18px; display: none; }
.zay-summary-body.open { display: block; }
.zay-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    direction: rtl;
}
.zay-summary-row .label { color: #555; font-weight: 600; }
.zay-summary-row .value { color: #1a9fd4; font-weight: 700; }
.zay-summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 1.5px solid #e0eef7;
    padding-top: 10px;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 800;
    direction: rtl;
}
.zay-summary-total .value { color: #1a9fd4; }

/* =============================================
   PRODUCT DESCRIPTION SECTION
   ============================================= */
.zay-product-description {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
    direction: rtl;
    text-align: right;
}
.zay-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid #1a9fd4;
    display: inline-block;
}

/* =============================================
   REVIEWS SECTION
   ============================================= */
.zay-reviews-section {
    margin-bottom: 40px;
    direction: rtl;
}
.zay-reviews-section .zay-section-title { display: block; }

/* Photo reviews grid */
.zay-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
@media (max-width: 900px) { .zay-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .zay-reviews-grid { grid-template-columns: 1fr; } }

.zay-review-card {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 14px;
    overflow: hidden;
    text-align: right;
    direction: rtl;
    transition: box-shadow 0.2s;
}
.zay-review-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.zay-review-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.zay-review-card-body { padding: 14px; }
.zay-review-name { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.zay-review-stars { color: #f5c518; font-size: 14px; margin-bottom: 8px; }
.zay-review-text { font-size: 13px; color: #555; line-height: 1.6; }

/* Add Review Form */
.zay-add-review {
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 16px;
    padding: 30px;
    direction: rtl;
    text-align: right;
}
.zay-add-review h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}
.zay-add-review .notice {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    text-align: right;
}
.zay-review-form-group { margin-bottom: 18px; }
.zay-review-form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
}
.zay-review-form-group label span { color: #e74c3c; }
.zay-review-form-group input,
.zay-review-form-group textarea {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    direction: rtl;
    text-align: right;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}
.zay-review-form-group input:focus,
.zay-review-form-group textarea:focus { border-color: #1a9fd4; }

/* Star rating selector */
.zay-star-select { display: flex; flex-direction: row-reverse; gap: 4px; }
.zay-star-select input { display: none; }
.zay-star-select label {
    font-size: 26px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s;
}
.zay-star-select label:hover,
.zay-star-select label:hover ~ label,
.zay-star-select input:checked ~ label { color: #f5c518; }

.zay-btn-submit-review {
    background: #1a9fd4;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    float: left;
    transition: background 0.2s;
}
.zay-btn-submit-review:hover { background: #0d7aad; }

/* =============================================
   FOOTER REDESIGN
   ============================================= */
#zay-footer {
    background: #f7f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 50px 0 20px;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}
.zay-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
@media (max-width: 900px) {
    .zay-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .zay-footer-grid { grid-template-columns: 1fr; }
}

.zay-footer-col h4 {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a9fd4;
    display: inline-block;
}
.zay-footer-col ul { list-style: none; padding: 0; margin: 0; }
.zay-footer-col ul li { margin-bottom: 8px; }
.zay-footer-col ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.zay-footer-col ul li a:hover { color: #1a9fd4; }
.zay-footer-col p { font-size: 14px; color: #555; line-height: 1.7; }

.zay-footer-logo {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.zay-footer-copy { font-size: 13px; color: #888; }

/* Social icons */
.zay-social-icons { display: flex; gap: 10px; margin-top: 10px; flex-direction: row-reverse; }
.zay-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}
.zay-social-icons a:hover { border-color: #1a9fd4; color: #1a9fd4; }

/* Footer bottom bar */
.zay-footer-bottom {
    border-top: 1px solid #e0e0e0;
    margin-top: 30px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
    color: #888;
    direction: rtl;
}

/* =============================================
   FLOATING CALL BUTTON
   ============================================= */
.zay-float-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 52px;
    height: 52px;
    background: #1a9fd4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(26,159,212,0.5);
    text-decoration: none;
    z-index: 9998;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(26,159,212,0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(26,159,212,0); }
    100% { box-shadow: 0 0 0 0 rgba(26,159,212,0); }
}

/* Notification bar contact info */
.zay-contact-phone { font-size: 14px; }

/* =============================================
   HIDE DEFAULT WC ELEMENTS
   ============================================= */
.woocommerce-breadcrumb,
.woocommerce-notices-wrapper { display: none !important; }

/* =============================================
   ORDER CONFIRMATION STATE
   ============================================= */
.zay-order-success {
    text-align: center;
    padding: 30px 10px;
    direction: rtl;
}
.zay-order-success .success-icon {
    font-size: 64px;
    margin-bottom: 16px;
    animation: zayBounce 0.5s ease;
}
@keyframes zayBounce {
    0%   { transform: scale(0.5); opacity: 0; }
    70%  { transform: scale(1.1); }
    100% { transform: scale(1);   opacity: 1; }
}
.zay-order-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.zay-order-success p { color: #555; margin-bottom: 6px; }
.zay-order-success .order-num {
    font-size: 20px;
    font-weight: 900;
    color: #1a9fd4;
}
.zay-btn-confirm:disabled {
    cursor: not-allowed;
}
