.trw-products-grid,
.trw-service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Products search (shortcode: [trw_products]) */
.trw-products-search{margin:12px 0 18px 0}
.trw-products-search-form{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}
.trw-products-search-form input[type="search"]{flex:1 1 260px;min-width:240px;width:100%;padding:12px 14px;border-radius:10px;max-width:100%}
.trw-products-search-form button{background:#04385C;color:#fff;border:0;border-radius:30px;padding:12px 18px;font-family:'Outfit';font-weight:700;cursor:pointer;white-space:nowrap}
.trw-products-search-form button:hover{background-color:rgb(4, 45, 74)}
.trw-products-results.is-loading{opacity:0.65;pointer-events:none}

/* Linked lab tests accordion (shortcode: [trw_lab_tests_accordion]) */
.trw-lab-accordion-block{max-width:100%;width:100%;margin:18px 0;font-family:'Outfit'}
.trw-lab-accordion-title{margin:0 0 12px 0;color:#01203E}
.trw-lab-accordion{margin:0;width:100%}
.trw-lab-acc-item{margin-top:12px;overflow:hidden}
.trw-lab-acc-h{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;text-transform:uppercase;background:#e6effb;border-radius:5px;color:#01203E;padding:15px;font-weight:600;cursor:pointer}
.trw-lab-acc-h:focus{outline:none}
.trw-lab-acc-h:focus-visible{outline:2px solid rgba(1,32,62,0.25);outline-offset:2px}
.trw-lab-acc-title{display:inline-flex;align-items:center;gap:10px;min-width:0}
.trw-lab-acc-name{display:inline-block;min-width:0}
.trw-lab-acc-count{flex:0 0 auto;opacity:0.75}
.trw-lab-cat-icon{width:22px;height:22px;object-fit:contain;flex:0 0 auto}
.trw-lab-acc-chevron{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:rgba(1,32,62,0.08);color:#01203E;transition:transform 180ms ease}
.trw-lab-acc-panel{overflow:hidden;height:0;opacity:0;transform:translateY(-2px);transition:height 240ms ease, opacity 200ms ease, transform 200ms ease;will-change:height}
.trw-lab-acc-item.is-open .trw-lab-acc-panel{opacity:1;transform:translateY(0)}
.trw-lab-acc-item.is-open .trw-lab-acc-chevron{transform:rotate(180deg)}
.trw-lab-acc-panel-inner{padding:12px 20px 0 20px;color:#01203E}
.trw-lab-tests-list{margin:0;padding-left:18px;color:#01203E}

@media(min-width:901px){
    .trw-lab-accordion{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:12px;align-items:start;justify-items:stretch}
    .trw-lab-acc-item{margin-top:0}
}

.trw-lab-tests-badges{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
.trw-lab-tests-badges-title{margin:0 0 10px 0}

/* Standalone lab tests badges: 1 col on narrow, 2 cols on wide */
.trw-lab-tests-badges.trw-lab-tests-badges--two-col{display:grid;grid-template-columns:1fr;gap:10px}
.trw-lab-tests-badges.trw-lab-tests-badges--two-col .trw-lab-test-badge{width:100%}
@media(min-width:901px){
    .trw-lab-tests-badges.trw-lab-tests-badges--two-col{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
.trw-lab-test-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:10px;
    background:#04385C;
    color:#fff !important;
    text-decoration:none !important;
    font-family:'Outfit';
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
}
.trw-lab-test-badge:hover{background-color:rgb(4, 45, 74)}
.trw-product-card {
	max-width: 600px;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color:#fff;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition: transform 0.15s ease-in-out;
}

.trw-cart-sidebar-content{flex:1 1 auto;overflow:hidden;min-height:0;display:flex;flex-direction:column}
.trw-cart-sidebar-inner{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}

/* Scroll only the product list between header and total */
.trw-cart-sidebar-body{flex:1 1 auto;overflow:auto;min-height:0}

/* Service cards (similar look, no cart) */
.trw-service-card{
    max-width: 600px;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color:#fff;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.trw-service-cover{margin:-20px -20px 14px -20px;border-radius:10px 10px 0 0;overflow:hidden}
.trw-service-cover-img{display:block;width:100%;height:auto}

.trw-service-price{
    color: #12C3FC;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    font-family: 'Montserrat';
}
.trw-service-price del,
.trw-service-price del .amount{color:#777 !important;font-weight:600;opacity:0.9}
.trw-service-price ins{background:transparent;text-decoration:none}
.trw-service-title{
    font-size: 1.5rem;
    color: #04385C;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Montserrat';
}
.trw-service-description{
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 20px;
    font-family: 'Outfit';
    line-height: 1.2rem;
    max-height: calc(1.2rem * 3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.trw-service-actions{margin-top:auto}
.trw-service-read-more{
    display:block;
    background-color: #04385C;
    color: #fff !important;
    padding: 13px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border: 0px solid transparent;
    font-family: 'Outfit' !important;
    width: 100%;
    cursor: pointer;
}
.trw-service-read-more:hover{background-color:rgb(4, 45, 74)}

.trw-service-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.trw-service-booking{
    display:block;
    background-color: #04385C;
    color: #fff !important;
    padding: 13px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border: 0px solid transparent;
    font-family: 'Outfit' !important;
    width: 100%;
    cursor: pointer;
}
.trw-service-booking:hover{background-color:rgb(4, 45, 74)}


/* --- Order confirmation: barcode + receipt link --- */
.trw-order-confirmation-barcode {
    margin: 18px 0;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e6effb;
    background: #fff;
}

.trw-order-confirmation-barcode h2 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #01203E;
}

.trw-order-barcode-value {
    margin: 0 0 10px 0;
    color: #01203E;
}

.trw-order-barcode img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
}

/* Prevent theme/email styles from blowing up the barcode */
.trw-order-confirmation-barcode img {
    max-width: 320px !important;
    width: 100% !important;
    height: auto !important;
}

.trw-order-confirmation-barcode h2 {
    margin-bottom: 10px;
}

.trw-order-receipt-link a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 14px;
    background: #01203E;
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
}

.trw-order-receipt-link a:hover {
    opacity: 0.9;
}
.trw-service-single-cta{margin:16px 0 18px 0}

.trw-service-faq{margin-top:26px}
.trw-service-faq h2{margin:0 0 14px 0;color:#01203E}
.trw-faq-item{border:1px solid rgba(1,32,62,0.15);border-radius:12px;padding:14px 16px;margin:0 0 12px 0;background:#fff}
.trw-faq-q{margin:0 0 8px 0;color:#01203E;font-size:18px;line-height:1.25}
.trw-faq-a{color:#01203E}

/* --- TRW Locations (Toimipisteet) --- */
.trw-locations-list{display:flex;flex-direction:column;gap:28px;margin:20px 0}
.trw-location-card{position:relative;display:block}
.trw-location-card.has-image{display:flex;align-items:center}
.trw-location-media{position:relative}
.trw-location-card.has-image .trw-location-media{flex:1 1 auto;min-width:0}
.trw-location-image{display:block;width:100%;height:auto;border-radius:10px}

.trw-location-panel{
    position:relative;
    right:auto;
    top:auto;
    transform:none;
    width:520px;
    max-width:min(520px, 44vw);
    background:#fff;
    border-radius:10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding:22px;
    margin-left:0;
}

.trw-location-card.has-image .trw-location-panel{margin-left:-80px}

@media(min-width:901px){
    .trw-location-card.has-image .trw-location-media{flex:0 0 clamp(340px, 55vw, 680px)}
    .trw-location-card.has-image .trw-location-image{width:100%;height:380px;object-fit:cover}
    .trw-location-card.has-image .trw-location-panel{width:520px;max-width:520px;min-height:320px}
}
.trw-location-title{margin:0;font-family:'Montserrat';font-weight:700;color:#04385C;font-size:1.6rem}
.trw-location-address{margin-top:8px;font-family:'Outfit';color:#777;font-size:1.05rem}

.trw-location-points{list-style:none;margin:16px 0 18px 0;padding:0;display:flex;flex-direction:column;gap:10px}
.trw-location-points li{display:flex;gap:12px;align-items:flex-start;font-family:'Outfit';color:#000;font-size:1.05rem}
.trw-location-check{color:#04385C;font-weight:900;line-height:1;margin-top:2px}

.trw-location-read-more{
    display:block;
    background-color: #04385C;
    color: #fff !important;
    padding: 13px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
    border: 0px solid transparent;
    font-family: 'Outfit' !important;
    width: 100%;
}
.trw-location-read-more:hover{background-color:rgb(4, 45, 74)}

@media(max-width:900px){
    .trw-location-card{display:block}
    .trw-location-panel{position:static;transform:none;width:auto;max-width:none;margin:14px 0 0 0}
    .trw-location-image{height:auto;object-fit:initial}
}

.trw-location-map{margin-top:22px}
.trw-location-map iframe{max-width:100%}
.trw-location-professionals-title{margin-top:26px}

/* --- TRW Professionals (Ammattilaiset) --- */
.trw-professionals-list,
.trw-professionals-search-results{display:grid;grid-template-columns:minmax(0, 1fr);gap:12px;margin:12px 0}
.trw-professionals-search-results.is-loading{opacity:0.65;pointer-events:none}
.trw-professional-card{
    display:flex;
    flex-direction:column;
    gap:12px;
    align-items:flex-start;
    text-decoration:none !important;
    background:#fff;
    border-radius:12px;
    padding:14px 14px 16px 14px;
    box-shadow:none;
    border:1px solid rgba(1,32,62,0.12);
    position:relative;
    transition:transform 160ms ease, box-shadow 160ms ease;
    will-change:transform;
}
.trw-professional-card:hover{transform:scale(1.02);box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);z-index:2}
.trw-professional-card::before{content:none}
.trw-professional-card::after{content:none}
.trw-professional-photo{flex:0 0 auto;width:100%;display:flex;justify-content:center}
.trw-professional-img{width:74px;height:74px;object-fit:cover;border-radius:50%}
.trw-professional-body{flex:1 1 auto;width:100%;text-align:center}
.trw-professional-name{font-family:'Montserrat';font-weight:700;color:#04385C;font-size:1.05rem}
.trw-professional-title{font-family:'Outfit';color:#01203E;margin-top:2px;font-weight:600}
.trw-professional-location{font-family:'Outfit';color:#777;margin-top:2px}
.trw-professional-location::before{content:none}
.trw-professional-excerpt{font-family:'Outfit';color:#000;margin-top:4px;line-height:1.2;max-height:calc(1.2em * 2);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

.trw-professional-excerpt{display:none}
.trw-professional-cta{display:block;margin-top:12px;background:#04385C;color:#fff;font-family:'Outfit';font-weight:700;border-radius:30px;padding:12px 18px;text-align:center;white-space:nowrap}

@media(min-width:901px){
    .trw-professionals-list,
    .trw-professionals-search-results{
        display:grid;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:16px;
    }

    .trw-professional-card{
        padding:14px 14px 16px 14px;
    }
    .trw-professional-img{width:74px;height:74px;border-radius:50%}
}

.trw-professionals-search{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap;margin:12px 0 18px 0}
.trw-professionals-search input[type="text"],
.trw-professionals-search input[type="search"]{flex:1 1 260px;min-width:240px;width:100%;padding:12px 14px;border-radius:10px;max-width:100%}
.trw-professionals-search button{background:#04385C;color:#fff;border:0;border-radius:30px;padding:12px 18px;font-family:'Outfit';font-weight:700;cursor:pointer;white-space:nowrap}
.trw-professionals-search button:hover{background-color:rgb(4, 45, 74)}
.trw-professionals-no-results{font-family:'Outfit';color:#000;margin-top:10px}
.trw-product-title {
    font-size: 1.5rem;
    color: #04385C;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Montserrat';
}
.trw-product-price {
    color: #12C3FC;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Montserrat';
}

/* Sale price formatting: make old price grey */
.trw-product-price del,
.trw-product-price del .woocommerce-Price-amount,
.trw-product-price del .amount{
    color: #777 !important;
    font-weight: 600;
    opacity: 0.9;
}
.trw-product-price ins{background:transparent;text-decoration:none}
.trw-product-description {
    font-size: 1.1rem;
    color: #000;
    flex-grow: 0;
    margin-bottom: 20px;
    font-family: 'Outfit';

    /* Limit to exactly 3 lines */
    line-height: 1.2rem; /* adjust if font-size changes */
    max-height: calc(1.2rem * 3);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.trw-fasting {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: #0A5FA7;
    margin-bottom: 10px;
    font-family: 'Outfit';
}

.trw-meta-icon{
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    display: inline-block;
}
.trw-product-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: auto;
}

.trw-product-actions{
    display:flex;
    gap:10px;
    align-items:stretch;
}
.trw-product-actions button{
    flex:1 1 0;
}
.trw-product-buttons a {
    border-radius: 30px!important;
    text-decoration: none!important;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
}
.trw-read-more {
    background-color: #582438;
    color: #fff;
    font-family: 'Outfit'!important;
    border-radius: 30px!important;
}
.trw-read-more:hover {
    background-color:rgb(75, 30, 47);
}
.trw-buy-now {
    background-color: #04385C;
    color: #fff;
    padding: 13px 20px!important;
    border-radius: 50px!important;
    text-decoration: none!important;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border: 0px solid transparent;
    font-family: 'Outfit'!important;
    width: 100%;
    cursor: pointer;
}
.trw-buy-now:hover {
    background-color:rgb(4, 45, 74);
}

/* Secondary action: add to cart (no redirect) */
.trw-add-to-cart{
    background-color: transparent;
    color: #04385C;
    padding: 13px 20px!important;
    border-radius: 50px!important;
    text-decoration: none!important;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border: 2px solid #04385C;
    font-family: 'Outfit'!important;
    width: 100%;
    cursor: pointer;
}
.trw-add-to-cart:hover{
    background-color:#04385C;
    color:#fff;
}

/* --- TRW Cart Sidebar (opens on add-to-cart) --- */
.trw-cart-sidebar{display:none}
.trw-cart-sidebar.is-open{display:block}

.trw-cart-sidebar-backdrop{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.1);
    z-index:2147483645;
}

.trw-cart-sidebar-panel{
    position:fixed;
    top:0;
    right:0;
    height:100vh;
    width:380px;
    max-width:90vw;
    background-color:#fff;
    box-shadow:0 4px 10px rgba(0, 0, 0, 0.1);
    z-index:2147483646;
    padding:18px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.trw-cart-sidebar-close{
    border:0 !important;
    background:transparent !important;
    font-size:26px;
    font-weight:800;
    cursor:pointer;
    color:#04385C !important;
    padding:0 6px !important;
    line-height:1;
    align-self:flex-end;
}

.trw-cart-sidebar-content{flex:1 1 auto;overflow:hidden;min-height:0;display:flex;flex-direction:column}
.trw-cart-sidebar-inner{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}

.trw-cart-sidebar-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:4px 0 14px 0;
    padding-bottom:10px;
    border-bottom:1px solid rgba(0,0,0,0.08);
}

.trw-cart-sidebar-heading{
    display:flex;
    align-items:center;
    font-family:'Montserrat';
    font-weight:700;
    font-size:1.1rem;
    color:#04385C;
}

.trw-cart-sidebar-heading i{color:#04385C}
.trw-cart-sidebar-heading-text{margin-left:10px}
.trw-cart-sidebar-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:22px;
    height:22px;
    padding:0 7px;
    margin-left:8px;
    border-radius:999px;
    background:#FF7A00;
    color:#fff;
    font-size:12px;
    font-weight:800;
    line-height:1;
}

.trw-cart-sidebar-items{list-style:none;margin:0;padding:0}

.trw-cart-sidebar-item{
    display:flex;
    gap:12px;
    align-items:flex-start;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px solid rgba(0, 0, 0, 0.1);
}

.trw-cart-sidebar-item-main{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-width:0}
.trw-cart-sidebar-item-name{font-family:'Outfit';color:#000;line-height:1.2;word-break:break-word}
.trw-cart-sidebar-item-qty{font-family:'Outfit';color:#777;white-space:nowrap}

.trw-cart-sidebar-item-right{display:flex;gap:10px;align-items:center;flex:0 0 auto}
.trw-cart-sidebar-item-total{font-family:'Outfit';font-weight:800;color:#04385C;white-space:nowrap}

.trw-cart-sidebar-remove{
    appearance:none;
    -webkit-appearance:none;
    border:1px solid rgba(4,56,92,0.25) !important;
    background:transparent !important;
    color:#04385C !important;
    width:30px;
    height:30px;
    border-radius:10px !important;
    font-size:18px;
    font-weight:900;
    line-height:1;
    padding:0 !important;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.trw-cart-sidebar-remove:hover{background:rgba(4,56,92,0.08) !important}

.trw-cart-sidebar-item-locked{font-family:'Outfit';font-size:12px;font-weight:700;color:#777;white-space:nowrap}

.trw-cart-sidebar-total{display:flex;justify-content:space-between;gap:10px;margin-top:14px;font-family:'Outfit';font-weight:800;color:#04385C}
.trw-cart-sidebar-empty{font-family:'Outfit';color:#000;margin-top:10px}

.trw-cart-sidebar-footer{margin-top:auto;padding-top:12px}
.trw-cart-sidebar-checkout{
    display:block;
    background-color:#04385C !important;
    color:#fff !important;
    padding:13px 20px !important;
    border-radius:50px !important;
    text-decoration:none !important;
    font-size:0.95rem;
    font-weight:800;
    text-align:center;
    border:0 !important;
    font-family:'Outfit' !important;
    width:100%;
    cursor:pointer;
}
.trw-cart-sidebar-checkout:hover{background-color:rgb(4, 45, 74) !important}
.trw-cart-sidebar-vismapay{display:block;width:100%;height:auto;max-width:320px;margin:12px auto 0 auto}

/* Hover scale: increase by 2% */
.trw-product-card:hover {
    transform: scale(1.02);
}

.trw-booking-link {
    display: block;
    text-align: center;
    color: #04385C;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

/* Make whole card feel clickable */
.trw-product-card {
    cursor: pointer;
    overflow: hidden;
}

/* Ensure read-more (if any) is hidden since card is clickable */
.trw-read-more {
    display: none !important;
}


/* Sale styling */
.trw-on-sale {
    border-color: #EF6C00 !important;
    border-width: 1px !important;
}
.trw-is-popular{
    border-color:#EF6C00 !important;
    border-width:1px !important;
}
.trw-sale-badge {
    position: absolute;
    top: 0;
    right: -12px;
    transform: translateY(-50%);
    background: #EF6C00;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 6;
}

.trw-popular-badge{
    position:absolute;
    top:0;
    right:-12px;
    transform:translateY(-50%);
    background:#EF6C00;
    color:#fff;
    padding:6px 10px;
    border-radius:6px;
    font-weight:700;
    font-size:0.85rem;
    z-index:6;
}

.trw-on-sale.trw-is-popular .trw-popular-badge{top:28px}

/* Allow badge to appear outside the card */
.trw-product-card {
    overflow: visible;
}
.trw-30day-price {
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-top: 6px;
}
.trw-30day-value {
    color: #777;
    font-weight: 600;
}
.trw-info-box {
    margin-top: 20px;
    padding: 15px;
    background: #fffbea;
    border-left: 4px solid #fbc02d;
    font-size: 1rem;
    border-radius: 10px;
}
.trw-info-box strong {
    display: block;
    margin-bottom: 5px;
}
.trw-icon-booking::before {
    content: '\1F4C5';
    margin-right: 8px;
}
.trw-icon-info::before {
    content: '\2139';
    margin-right: 8px;
}
.ms-2{
    margin-left: 0.5rem;
}

/* --- TRW Notification Banners (Bootstrap-like colors, no Bootstrap dependency) --- */
#trw-notification-banners{width:100%;max-width:none;margin:0;padding:0}
.trw-notice{margin:0;border:0;border-radius:0;padding:12px 14px;display:flex;gap:12px;align-items:flex-start;justify-content:space-between;font-size:14px;line-height:1.35}
.trw-notice, .trw-notice *{color:inherit}
.trw-notice-content p{margin:0}
.trw-notice a{color:inherit;text-decoration:underline;font-weight:600}
.trw-notice a:hover{text-decoration:none}
.trw-notice-content{flex:1 1 auto;color:inherit}
.trw-notice-close{flex:0 0 auto;border:0;background:transparent;padding:2px 6px;line-height:1;font-size:18px;font-weight:700;cursor:pointer;color:inherit;opacity:.75}
.trw-notice-close:hover{opacity:1}

/* Variants roughly matching Bootstrap 5 */
.trw-notice-primary{background:#cfe2ff;color:#084298}
.trw-notice-secondary{background:#e2e3e5;color:#41464b}
.trw-notice-success{background:#d1e7dd;color:#0f5132}
.trw-notice-danger{background:#f8d7da;color:#842029}
.trw-notice-warning{background:#fff3cd;color:#664d03}
.trw-notice-info{background:#cff4fc;color:#055160}
.trw-notice-light{background:#f8f9fa;color:#343a40}
.trw-notice-dark{background:#d3d3d4;color:#141619}

/* --- TRW Checkout Coupon (shortcode) --- */
.trw-checkout-coupon .trw-checkout-coupon-form{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}
.trw-checkout-coupon .trw-checkout-coupon-form .form-row{margin:0;float:none;width:auto;flex:1 1 260px}
.trw-checkout-coupon .trw-checkout-coupon-form .form-row-last{flex:0 0 auto}
.trw-checkout-coupon .trw-checkout-coupon-form .input-text{width:100%}
.trw-checkout-coupon .clear{display:none}

.trw-checkout-coupon .trw-checkout-coupon-form .trw-apply-coupon{
    color: #FFFFFF !important;
    border-radius: 30px;
    letter-spacing: 1px;
    font-family: 'Outfit', Helvetica, Arial, Lucida, sans-serif !important;
    background-color: #04385C;
    padding-top: 9px !important;
    padding-right: 53px !important;
    padding-bottom: 9px !important;
    padding-left: 53px !important;
    margin-top: 28px !important;
}

.trw-coupon-notice{align-items:center}
.trw-coupon-icon{flex:0 0 auto;font-weight:900;line-height:1}
.trw-coupon-notice .trw-notice-content{margin-left:10px}
.trw-coupon-notice .trw-notice-content ul{margin:0;padding-left:0;list-style:none}
.trw-coupon-notice .trw-notice-content li{margin:0}

/* --- TRW Checkout Summary Table --- */
.trw-checkout-summary-table .product-name{position:relative}
.trw-checkout-summary-table .trw-remove-item{float:right;text-decoration:none;font-weight:900;line-height:1;padding:0 6px}
.trw-checkout-summary-table .trw-remove-item:hover{text-decoration:none;opacity:.8}
.trw-checkout-summary h3{margin-top:18px}

.trw-cart-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
.trw-cart-icon {
    position: relative;
    font-size: 24px;
    color: #fff;
    background: #5a3ea1;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.trw-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Booking link text variants: show shorter text on mobile */
.trw-booking-mobile{display:none}
.trw-booking-desktop{display:inline}

@media(max-width:600px){
    .trw-booking-mobile{display:inline}
    .trw-booking-desktop{display:none}
}


