/**
 * The Honer Wholesale Widget Styles
 *
 * @package HonerJewellery
 *
 * All styles are scoped under .hjw-wholesale to prevent conflicts.
 */

/* ============================================================
   RESET & BASE
   ============================================================ */

.hjw-wholesale {
    font-family: inherit;
    color: #2c2c2c;
}

.hjw-wholesale *,
.hjw-wholesale *::before,
.hjw-wholesale *::after {
    box-sizing: border-box;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.hjw-wholesale .hjw-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.hjw-wholesale .hjw-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.hjw-wholesale .hjw-section-alt {
    padding: 60px 0;
    background-color: #f8f6f3;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.hjw-wholesale .hjw-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.hjw-wholesale .hjw-section-header h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.hjw-wholesale .hjw-section-header p {
    font-size: 17px;
    color: #6b6b6b;
    margin: 0;
    line-height: 1.7;
}

/* ============================================================
   EYEBROW
   ============================================================ */

.hjw-wholesale .hjw-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 12px;
}

/* ============================================================
   HERO
   ============================================================ */

.hjw-wholesale .hjw-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hjw-wholesale .hjw-hero-content {
    max-width: 780px;
    margin: 0 auto;
}

.hjw-wholesale .hjw-hero-heading {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.hjw-wholesale .hjw-hero-subtitle {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 300;
    font-style: italic;
    color: #1a1a2e;
    margin: 0 0 16px;
}

.hjw-wholesale .hjw-hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================
   OFFER GRID
   ============================================================ */

.hjw-wholesale .hjw-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hjw-wholesale .hjw-offer-card {
    text-align: center;
    padding: 32px 20px;
    background: #ffffff;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.hjw-wholesale .hjw-offer-card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.hjw-wholesale .hjw-offer-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.hjw-wholesale .hjw-offer-card h3 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 18px;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.hjw-wholesale .hjw-offer-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

/* ============================================================
   STEPS
   ============================================================ */

.hjw-wholesale .hjw-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.hjw-wholesale .hjw-step {
    text-align: center;
    padding: 16px;
}

.hjw-wholesale .hjw-step-number {
    display: inline-block;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    color: #c9a96e;
    margin-bottom: 8px;
}

.hjw-wholesale .hjw-step h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.hjw-wholesale .hjw-step p {
    font-size: 13px;
    line-height: 1.5;
    color: #6b6b6b;
    margin: 0;
}

/* ============================================================
   COLORS
   ============================================================ */

.hjw-wholesale .hjw-gold {
    color: #c9a96e;
}

.hjw-wholesale .hjw-text-light {
    color: #6b6b6b;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.hjw-wholesale .hjw-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hjw-wholesale .hjw-btn-primary {
    background-color: #c9a96e;
    color: #ffffff;
    border-color: #c9a96e;
}

.hjw-wholesale .hjw-btn-primary:hover {
    background-color: #b8955a;
    border-color: #b8955a;
    color: #ffffff;
}

.hjw-wholesale .hjw-btn-secondary {
    background-color: transparent;
    color: #1a1a2e;
    border-color: #c9a96e;
}

.hjw-wholesale .hjw-btn-secondary:hover {
    background-color: #c9a96e;
    color: #ffffff;
}

/* ============================================================
   FORM
   ============================================================ */

.hjw-wholesale .hjw-form-wrapper {
    max-width: 820px;
    margin: 0 auto;
}

.hjw-wholesale .hjw-form {
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
}

.hjw-wholesale .hjw-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.hjw-wholesale .hjw-form-group {
    display: flex;
    flex-direction: column;
}

.hjw-wholesale .hjw-form-group-50 {
    /* Used for smaller fields */
}

.hjw-wholesale .hjw-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.hjw-wholesale .hjw-required {
    color: #d9534f;
    margin-left: 2px;
}

.hjw-wholesale .hjw-form-control {
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a2e;
    background: #fcfaf8;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.hjw-wholesale .hjw-form-control:focus {
    border-color: #c9a96e;
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
    background: #ffffff;
}

.hjw-wholesale .hjw-form-control:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hjw-wholesale .hjw-form-control::placeholder {
    color: #b0a8a0;
}

.hjw-wholesale textarea.hjw-form-control {
    resize: vertical;
    min-height: 60px;
}

.hjw-wholesale .hjw-form-group.has-error .hjw-form-control {
    border-color: #d9534f;
}

.hjw-wholesale .hjw-form-group.has-error .hjw-form-control:focus {
    box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.15);
}

.hjw-wholesale .hjw-form-error {
    font-size: 12px;
    color: #d9534f;
    margin-top: 4px;
    display: none;
}

.hjw-wholesale .hjw-form-group.has-error .hjw-form-error {
    display: block;
}

/* ============================================================
   FORM - ITEMS BUILDER
   ============================================================ */

.hjw-wholesale .hjw-form-section-title {
    margin: 32px 0 20px;
    padding-top: 24px;
    border-top: 2px solid #e8e4dc;
}

.hjw-wholesale .hjw-form-section-title h3 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.hjw-wholesale .hjw-item-card {
    background: #f8f6f3;
    border: 1px solid #e8e4dc;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
}

.hjw-wholesale .hjw-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e4dc;
}

.hjw-wholesale .hjw-item-title {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 17px;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0;
}

.hjw-wholesale .hjw-btn-remove-item {
    background: none;
    border: none;
    color: #d9534f;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.hjw-wholesale .hjw-btn-remove-item:hover {
    color: #b52b27;
}

.hjw-wholesale .hjw-add-item-wrap {
    text-align: center;
    margin: 8px 0 16px;
}

/* ============================================================
   FORM - SUBMIT
   ============================================================ */

.hjw-wholesale .hjw-form-submit {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #e8e4dc;
    text-align: center;
}

.hjw-wholesale #hjw-form-messages {
    margin-bottom: 16px;
}

.hjw-wholesale .hjw-form-success {
    color: #5cb85c;
    font-size: 16px;
    padding: 12px 20px;
    background: #f0faf0;
    border: 1px solid #5cb85c;
    border-radius: 4px;
}

.hjw-wholesale .hjw-form-error-message {
    color: #d9534f;
    font-size: 16px;
    padding: 12px 20px;
    background: #fdf0ef;
    border: 1px solid #d9534f;
    border-radius: 4px;
}

.hjw-wholesale #hjw-submit {
    min-width: 200px;
}

.hjw-wholesale #hjw-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.hjw-wholesale .hjw-final-cta {
    text-align: center;
}

.hjw-wholesale .hjw-final-cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.hjw-wholesale .hjw-final-cta-content h2 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-size: 32px;
    font-weight: 400;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.hjw-wholesale .hjw-final-cta-content p {
    font-size: 18px;
    color: #4a4a4a;
    margin: 0 0 24px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 992px) {
    .hjw-wholesale .hjw-offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hjw-wholesale .hjw-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hjw-wholesale .hjw-hero-heading {
        font-size: 38px;
    }

    .hjw-wholesale .hjw-section-header h2 {
        font-size: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hjw-wholesale .hjw-section {
        padding: 40px 0;
    }

    .hjw-wholesale .hjw-section-alt {
        padding: 40px 0;
    }

    .hjw-wholesale .hjw-hero {
        padding: 40px 0 32px;
    }

    .hjw-wholesale .hjw-hero-heading {
        font-size: 30px;
    }

    .hjw-wholesale .hjw-hero-subtitle {
        font-size: 18px;
    }

    .hjw-wholesale .hjw-hero-description {
        font-size: 15px;
    }

    .hjw-wholesale .hjw-section-header h2 {
        font-size: 26px;
    }

    .hjw-wholesale .hjw-offer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hjw-wholesale .hjw-offer-card {
        padding: 24px 16px;
    }

    .hjw-wholesale .hjw-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hjw-wholesale .hjw-step-number {
        font-size: 22px;
    }

    .hjw-wholesale .hjw-step h4 {
        font-size: 14px;
    }

    .hjw-wholesale .hjw-step p {
        font-size: 12px;
    }

    .hjw-wholesale .hjw-form {
        padding: 24px 16px;
    }

    .hjw-wholesale .hjw-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hjw-wholesale .hjw-final-cta-content h2 {
        font-size: 26px;
    }

    .hjw-wholesale .hjw-btn {
        padding: 12px 24px;
        font-size: 12px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hjw-wholesale .hjw-item-card {
        padding: 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hjw-wholesale .hjw-offer-grid {
        grid-template-columns: 1fr;
    }

    .hjw-wholesale .hjw-steps-grid {
        grid-template-columns: 1fr;
    }

    .hjw-wholesale .hjw-hero-heading {
        font-size: 26px;
    }

    .hjw-wholesale .hjw-section-header h2 {
        font-size: 22px;
    }

    .hjw-wholesale .hjw-final-cta-content h2 {
        font-size: 22px;
    }

    .hjw-wholesale .hjw-btn {
        max-width: 100%;
    }

    .hjw-wholesale .hjw-item-header {
        flex-wrap: wrap;
    }
}

/* ============================================================
   FOCUS STATES (Accessibility)
   ============================================================ */

.hjw-wholesale .hjw-form-control:focus-visible {
    outline: 2px solid #c9a96e;
    outline-offset: 0;
}

.hjw-wholesale .hjw-btn:focus-visible {
    outline: 2px solid #c9a96e;
    outline-offset: 2px;
}