/*
 * QR Hub MVP styling for WOW Moment Creation.
 */

/* Container */
.qr-hub-page {
    max-width: 520px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

/* Intro */
.qr-hub-intro {
    margin-bottom: 1.4rem;
}

/* Force title + tagline left-aligned */
.qr-hub-intro-content {
    text-align: left !important;
}

/* Title */
.qr-hub-intro-content h1 {
    margin: 0 0 0.25rem;
    font-weight: 700;
    font-size: 1.9rem;
}

/* Tagline */
.qr-hub-intro-content p {
    margin: 0.1rem 0 1.1rem;
    font-size: 1.05rem;
    font-weight: 500;   /* slightly bolder */
    color: #444;
}



/* GRID — now 3 columns */
.qr-hub-grid-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
    gap: 1rem;
}

/* On tablets: 4 per row */
@media (min-width: 640px) {
    .qr-hub-grid-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Tile */
.qr-hub-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 0.6rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: all 0.15s ease;
}

.qr-hub-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Center last single tile in the grid */
.qr-hub-grid-inner {
    justify-items: center;
}

/* Icon (SVG) */
.qr-hub-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.4rem;
}

.qr-hub-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111;
    text-align: center;
}

/* ===== WOW SIGNATURE PASTELS (FORCED FILL) ===== */

.qr-hub-tile-shop svg path {
    fill: #3A2E5A !important; /* deep purple */
}

.qr-hub-tile-whatsapp svg path {
    fill: #6CDFA6 !important; /* soft mint */
}

.qr-hub-tile-instagram svg path {
    fill: #E37BCB !important; /* pastel magenta */
}

.qr-hub-tile-facebook svg path {
    fill: #77A7FF !important; /* soft blue */
}

.qr-hub-tile-email svg path {
    fill: #7A7A7A !important; /* neutral grey */
}

.qr-hub-tile-maps svg path {
    fill: #72C297 !important; /* pastel green */
}

.qr-hub-tile-etsy svg path {
    fill: #FF9E57 !important; /* warm orange */
}


/* QR Hub form styling */
.qr-hub-contact-inner input[type="text"],
.qr-hub-contact-inner input[type="email"],
.qr-hub-contact-inner textarea {
    border-radius: 10px;
    border: 1px solid #CCCCCC;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    min-height: 40px;
}

.qr-hub-contact-inner input[type="submit"] {
    background: #3A2E5A;
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
    margin-top: 0.5rem;
}

.qr-hub-contact-inner input[type="submit"]:hover {
    opacity: 0.9;
}

.qr-hub-contact-inner input[type="submit"],
.qr-hub-contact-inner button[type="submit"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    background: #3A2E5A;
    color: white;
    border: none;
    font-weight: 600;
    margin-top: 0.75rem;
    cursor: pointer;
}

.qr-hub-contact-inner input[type="submit"]:hover,
.qr-hub-contact-inner button[type="submit"]:hover {
    opacity: 0.9;
}

@media (max-width: 480px) {
    .qr-hub-tile {
        flex: 0 1 calc(50% - 1rem);
    }
}

/* Force 3 per row */
.qr-hub-tile {
    flex: 0 1 calc(33.333% - 1rem); /* << 3 columns */
    max-width: 140px;               /* optional, keeps tiles visually balanced */
}

/* On very small phones (<360px): switch to 2 columns */
@media (max-width: 360px) {
    .qr-hub-tile {
        flex: 0 1 calc(50% - 1rem);
    }
}






