/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Card Hover Lift Effect */

.card-hover {
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.04);
}

/* ===== Form Wrapper ===== */

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Grid Layout ===== */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile */

@media (max-width: 767px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Labels ===== */

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #515962;
}

/* ===== Inputs ===== */

.custom-form input,
.custom-form textarea {

    width: 100%;
    height: 42px;

    border-radius: 6px;

    border: 1px solid #e6e8ea;

    padding: 8px 12px;

    font-size: 14px;

    background: #ffffff;

    color: #515962;

    transition: all 0.2s ease;

    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* Textarea Height */

.custom-form textarea {

    min-height: 120px;

    height: auto;

    padding: 10px 12px;

    resize: vertical;
}

/* Placeholder */

.custom-form input::placeholder,
.custom-form textarea::placeholder {
    color: #818a96;
}

/* Focus State */

.custom-form input:focus,
.custom-form textarea:focus {

    outline: none;

    border-color: #1dddbf;

    box-shadow: 0 0 0 1px #1dddbf;
}

/* ===== Submit Button ===== */

.submit-btn {

    width: 100%;

    height: 48px;

    border-radius: 10px;

    border: none;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    color: #ffffff !important;

    background-color: #08734d !important;

    transition: all 0.2s ease;
}

/* Hover */

.submit-btn:hover {

    background-color: #08734d;

    transform: scale(1.02);
}

/* Disabled */

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Layout ===== */

.cf7-custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Grid */

.cf7-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Mobile */

@media (max-width: 767px) {
    .cf7-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Labels ===== */

.cf7-group label {

    display: block;

    font-size: 14px;

    font-weight: 500;

    margin-bottom: 6px;

    color: #515962;
}

/* ===== Inputs ===== */

.cf7-custom-form input,
.cf7-custom-form textarea,
.cf7-custom-form select {

    width: 100%;

    height: 44px;

    border-radius: 8px;

    border: 1px solid #e6e8ea;

    padding: 10px 12px;

    font-size: 14px;

    background: #ffffff;

    color: #515962;

    transition: all 0.2s ease;

    box-shadow: 0 1px 2px rgba(0,0,0,0.05);

}

/* Textarea */

.cf7-custom-form textarea {

    height: auto;

    min-height: 140px;

    resize: vertical;

}

/* Placeholder */

.cf7-custom-form input::placeholder,
.cf7-custom-form textarea::placeholder {
    color: #818a96;
}

/* Focus */

.cf7-custom-form input:focus,
.cf7-custom-form textarea:focus,
.cf7-custom-form select:focus {

    outline: none;

    border-color: #1dddbf;

    box-shadow: 0 0 0 1px #1dddbf;
}

/* ===== Select Arrow ===== */

.cf7-custom-form select {

    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23818a96' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;

    background-position: right 12px center;

    padding-right: 36px;

}

/* ===== Submit Button ===== */

.cf7-submit-btn {

    width: 100%;

    height: 52px;

    border-radius: 10px;

    border: none;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    color: #ffffff;

    background-color: #0a875a;

    transition: all 0.2s ease;

}

/* Hover */

.cf7-submit-btn:hover {

    background-color: #08734d;

    transform: scale(1.02);
}

/* Note Text */

.cf7-note {

    text-align: center;

    font-size: 12px;

    color: #818a96;

    margin-top: 10px;
}



/* ============================================
   CUSTOM SHOP GRID — Paste in:
   Appearance → Customize → Additional CSS
   ============================================ */

/* ---- Wrapper ---- */
.cpg-wrap {
    width: 100%;
    font-family: inherit;
}

/* ============================================
   FILTER BAR
   ============================================ */
.cpg-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0 18px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 28px;
}

@media (min-width: 600px) {
    .cpg-filter-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cpg-count {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.cpg-count strong {
    color: #111827;
    font-weight: 700;
}

.cpg-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---- Select Dropdowns ---- */
.cpg-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cpg-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    outline: none;
    min-width: 145px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.cpg-select:hover {
    border-color: #9ca3af;
}

.cpg-select:focus {
    border-color: #1a1a2e;
    box-shadow: 0 0 0 3px rgba(26,26,46,0.1);
}

.cpg-select-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: #6b7280;
    display: flex;
    align-items: center;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.cpg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 600px) {
    .cpg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 900px) {
    .cpg-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1100px) {
    .cpg-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.cpg-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cpg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.11);
}

/* ---- Image Area ---- */
.cpg-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
}

.cpg-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.cpg-card:hover .cpg-img-wrap img {
    transform: scale(1.07);
}

/* ---- Badges ---- */
.cpg-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 11px;
    border-radius: 999px;
    line-height: 1;
}

.cpg-badge--best {
    background: #1a1a2e;
    color: #ffffff;
}

.cpg-badge--new {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

/* ---- Card Body ---- */
.cpg-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.cpg-cat {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin: 0;
}

.cpg-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cpg-title { font-size: 15px; }
}

.cpg-desc {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .cpg-desc { font-size: 13px; }
}

/* ---- Price ---- */
.cpg-price {
    margin: 5px 0 0;
    display: flex;
    align-items: baseline;
    gap: 3px;
}

/* WooCommerce outputs its own <span> for price — style it */
.cpg-price .woocommerce-Price-amount,
.cpg-price .amount {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

.cpg-price .woocommerce-Price-currencySymbol {
    font-size: 14px !important;
}

.cpg-mrp {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
    margin-left: 2px;
}

/* ---- Buttons ---- */
.cpg-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
}

.cpg-btn-buy,
.cpg-btn-buy:visited {
    display: block;
    text-align: center;
    background: #1a1a2e;
    color: #ffffff !important;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
}

.cpg-btn-buy:hover {
    background: #2d2d5a;
    transform: scale(1.02);
    color: #ffffff !important;
}

.cpg-btn-view,
.cpg-btn-view:visited {
    display: block;
    text-align: center;
    color: #4b5563 !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    padding: 5px;
    transition: color 0.2s;
}

.cpg-btn-view:hover {
    color: #1a1a2e !important;
    text-decoration: underline !important;
}

/* ---- No Products ---- */
.cpg-no-products {
    text-align: center;
    color: #9ca3af;
    padding: 40px 0;
    font-size: 14px;
}
