/* Book Now button styles for MageWorx landing pages. Loaded as a shared static asset
   so it applies to every page regardless of whether that page's own stored HTML
   (baked at generation time) already contains an identical <style> block — the rules
   are idempotent duplicates of what L4Assembler.php inlines into newly generated pages.

   box-sizing on .pc-book-site-btn/.pc-book-now-btn is !important specifically: this
   <link> loads in <head>, but every already-generated page also has its own baked
   inline <style> block further down in <body> with the pre-fix rule (no box-sizing),
   and same-specificity + later-in-source wins — so without !important this file's
   fix is silently overridden on every page generated before the fix, while only
   applying on brand new ones. Belt-and-braces here saves re-touching every stored
   category description. */
.pc-book-now-wrap--stacked {
    flex-direction: column;
    gap: 12px;
}

.pc-store-card .pc-book-now-wrap {
    margin-top: 4px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-content: stretch;
}

.pc-store-card .pc-book-now-wrap.pc-book-now-wrap--has-booking {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pc-store-card .pc-book-site-btn,
.pc-store-card .pc-book-now-btn {
    max-width: none;
    padding: 12px 14px;
    font-size: 14px;
    gap: 8px;
}

.pc-store-card .pc-book-now-btn svg {
    width: 20px;
    height: 20px;
}

.pc-book-site-btn {
    box-sizing: border-box !important;
    max-width: 340px;
    width: 100%;
    padding: 14px 28px;
    border-radius: 10px;
    background: #ffffff;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 2px solid #1a1a1a;
    transition: 0.25s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pc-book-site-btn:hover {
    background: #1a1a1a;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.pc-book-site-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* WhatsApp button (chat link) — distinct class from the "Book Now" site-link button above */
.pc-book-now-btn {
    box-sizing: border-box !important;
    position: relative;
    overflow: hidden;
    max-width: 340px;
    width: 100%;
    padding: 14px 28px;
    border-radius: 10px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.2);
    transition: 0.25s ease;
    text-align: center;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pc-book-now-btn:hover {
    background: #128C7E;
    box-shadow: 0 10px 18px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.pc-book-now-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Store image thumbnail strip */
.pc-store-gallery {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pc-store-gallery-btn {
    flex: 0 0 76px;
    width: 76px;
    height: 58px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    opacity: 0.74;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.pc-store-gallery-btn:hover,
.pc-store-gallery-btn.is-active {
    border-color: #128C7E;
    opacity: 1;
    transform: translateY(-1px);
}

.pc-store-gallery-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Other Branches block */
.pc-other-branches {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.pc-other-branches-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #333;
}

.pc-other-branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.pc-other-branch-card {
    display: block;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    text-decoration: none !important;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.pc-other-branch-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.pc-other-branch-img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.pc-other-branch-body {
    padding: 16px 18px;
}

.pc-other-branch-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pc-other-branch-meta {
    font-size: 13px;
    color: #64748b;
}
