.coupon-display-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    box-sizing: border-box;
    margin: 0;
}

@media (min-width: 768px) {
    .coupon-display-row {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.coupon-price,
.coupon-buy-button {
    font-size: 0.9rem; /* slightly smaller text */
    transform: scale(0.9); /* reduce visual size */
}

.coupon-display h3 {
    margin-top: 0;
}

#coupon-expiry {
    font-size: 0.875rem; /* or smaller, e.g., 0.75rem */
    font-style: italic;
    margin-top: 0;
    color: #555; /* optional, to soften the look */
}
/***** PRICE DISPLAY ********/
.price-container {
    text-align: center;
    font-size: 24px;
    color: black;
    margin-bottom: 0;
    padding-bottom: 0.3rem;
/*    border: 2px dashed red;
    border-radius: 24px;*/
}

.price-value {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 1px;
}

.price-number {
    font-size: 24px;
    font-weight: bold;
}

.coins-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.money-bag-icon {
    height: 46px;
    width: auto;
    display: inline-block;
    vertical-align: bottom;
    object-fit: contain;
}

.coin-icon {
    height: 36px;
    width: auto;
    display: inline-block;
    vertical-align: bottom;
    object-fit: contain;
}

 /********** DESCRIPTION *******/
 .coupon-description-box {
    text-align: center;    

    max-width: 640px;
    margin: 1rem auto;
    padding: 1rem;

    background-color: #FFFFFb;
    border: 1px solid #E6E6E6;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06); /* Optional: subtle shadow */
}

/************** VENDOR INFO ****/
.coupon-vendor-info {
    display: flex;
    flex-direction: row;
    align-items: center;         /* Vertically center the logo and details */
    gap: 0.5rem;
    flex-wrap: wrap;
    
    max-width: 640px;
    margin: 1rem auto;           /* Center block horizontally with spacing */
    padding: 1rem;             /* Add some internal spacing */
 
    background-color: #fffffb;      
    border: 1px solid #E6E6E6;      /* Thin, light gray border */
    border-radius: 6px;         
    box-shadow: 0 1px 2px rgba(0,0,0,0.06); /* Optional: subtle shadow */
  }

.vendor-logo {
  flex-shrink: 0;
  display: flex;              /* To allow vertical center of img inside */
  align-items: center;        /* Vertically center logo image if needed */
  margin: 0;
}

.vendor-logo img {
  width: 70px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0;
}

.vendor-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* space top and bottom items */
  align-items: flex-end;
  flex: 1 1 0%;
  min-width: 0;
  height: auto;               /* Fill the height of the row */
  padding: 0;
}

/* Remove margin/padding from inside elements if needed */
.vendor-details > * {
  margin: 0;
  padding: 0;
}

.vendor-name-link {
    /*font-family: 'Source Serif Pro', serif;*/
    text-decoration: none;      
    color: #444444;                
    font-weight: 450;           /* Normal (400) or semi-bold (500), adjust as needed */
    font-size: 1.1rem;          
}

.vendor-name-link:hover {
    text-decoration: underline; /* Optional: underline on hover */
    color: #0073aa;             /* Optional: change color on hover */
}

/* Optional: scale down logo on very small screens */
@media (max-width: 400px) {
    .coupon-vendor-info .vendor-logo img {
        max-width: 80px;
    }
    .coupon-vendor-info .vendor-details {
        font-size: 0.95em;
    }
}


/******************** DYNAMIC ADDRESS BUTTON **********/
.map-link-wrapper {
    border: 1px solid #ccc;
    background-color: rgba(240, 240, 240, 0.85);
    color: #222;
    padding: 4px 6px;
    display: inline-block;
    border-radius: 4px;
    width: fit-content;
    max-width: 100%;
    align-self: flex-end; /* prevent stretching */
}

.map-link {
    font-size: 0.8rem;
    font-weight: 300;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    flex-shrink: 1;
}

.map-link-icon {
    height: 15px;
    width: auto;
    vertical-align: middle;
    margin-right: 0.6em;
    flex-shrink: 0;
}

.map-link-text {
    flex: 1; /* this is key */
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
}

/***** BUY BUTTON *****/
.coupon-buy-button button {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}
    
/**** FEATURED IMAGE ****/
.coupon-image {
    display: block;
    margin: 1rem auto;
    width: 90%;
    height: auto;
    max-width: 640px;
    max-height: 640px;
    border-radius: 8px; /* optional */
    object-fit: contain;
}

.protected-image {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}


