/* Ruya workshop and booking polish — appended after the existing styles */
#workshop-grid .card{display:flex;flex-direction:column;border-radius:24px!important;overflow:hidden;background:#fffdfb;box-shadow:0 10px 30px rgba(66,42,31,.09)}
#workshop-grid .card>img{display:block;width:calc(100% - 20px)!important;height:245px!important;margin:10px 10px 0!important;border-radius:17px!important;object-fit:cover!important;object-position:center!important;background:#e8d6ca!important}
#workshop-grid .card-content{display:flex;flex:1;flex-direction:column;align-items:stretch;padding:16px 19px 18px!important}
#workshop-grid .card .tag{align-self:center}
#workshop-grid .card h3{min-height:2.5em;text-align:center;line-height:1.45}
#workshop-grid .card .card-bottom{margin-top:auto;padding-top:15px;display:flex;flex-direction:column;align-items:stretch;gap:12px}
#workshop-grid .card .card-bottom strong{text-align:center}
#workshop-grid .card .card-bottom button{width:100%;min-height:44px}
.ruya-phone-wrap{display:flex!important;direction:ltr!important;gap:9px;align-items:stretch}
html[dir=rtl] .ruya-phone-wrap{flex-direction:row-reverse!important}
.ruya-phone-wrap input{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext}
.ruya-phone-wrap .ruya-country-trigger{width:125px;min-width:125px;display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid #dbcec1;background:#fff;color:#50382d;border-radius:12px;padding:0 10px;cursor:pointer;font-size:15px;min-height:49px}
.ruya-country-flag{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:20px;line-height:1}
.ruya-country-popup{position:fixed;z-index:999999;left:50%;top:50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 28px));max-height:min(580px,82dvh);display:flex;flex-direction:column;background:#fffdfb;border:1px solid #d9c4b6;border-radius:20px;box-shadow:0 25px 90px #291a1760;padding:14px;direction:ltr}
.ruya-country-popup[hidden],.ruya-country-backdrop[hidden]{display:none!important}
.ruya-country-popup input{margin-bottom:10px;flex-shrink:0}
.ruya-country-list{overflow-y:auto;min-height:0;overscroll-behavior:contain}
.ruya-country-list button{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:11px 10px;border:0;border-radius:10px;background:transparent;color:#47352b;font:inherit;cursor:pointer}
.ruya-country-list button:hover,.ruya-country-list button:focus-visible{background:#f3e7df}
.ruya-country-list button small{margin-left:auto;white-space:nowrap;font-size:13px;color:#7c6253}
.ruya-country-backdrop{position:fixed;inset:0;z-index:999998;background:#24161066}
.ruya-country-popup-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;color:#4b332a;font-weight:700}
.ruya-country-popup-head button{border:0;background:transparent;font-size:26px;color:#4b332a;cursor:pointer}
@media(max-width:760px){#workshop-grid .card>img{height:235px!important}#workshop-grid .card h3{min-height:0}.ruya-phone-wrap .ruya-country-trigger{width:115px;min-width:115px}}

/* Workshop card alignment and safe long-place wrapping */
#workshop-grid .compact-meta{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px!important}
#workshop-grid .meta-line{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:6px!important;width:100%;min-width:0;max-width:100%;text-align:center!important;overflow-wrap:anywhere;word-break:normal;line-height:1.45!important}
#workshop-grid .meta-line>span{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;line-height:1!important}
#workshop-grid .meta-line svg,#workshop-grid .ruya-icon{display:block!important;width:15px!important;height:15px!important;flex-shrink:0!important}
#workshop-grid .card-content{min-width:0}#workshop-grid .card h3{width:100%;text-align:center!important}
@media(max-width:760px){#workshop-grid .meta-line{font-size:11px!important;gap:4px!important}#workshop-grid .meta-line svg,#workshop-grid .ruya-icon{width:14px!important;height:14px!important}}
