/* Version 1.9 */

/* General Layout */
.storman-facility-container {
    padding: 20px;
}

.storman-main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.storman-facility-details {
    flex: 1 1 50%;
    max-width: 65%;
    display: flex;
    flex-direction: column;
}

.storman-photo-wrapper {
    flex: 1 1 auto;
}

.storman-field {
    margin-bottom: 8px;
    line-height: 1.2;
}

/* Styles for full-width sections */
.full-width {
    width: 100%;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Styles for the two-column trading hours layout */
.storman-trading-hours-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.storman-trading-hours-col-1,
.storman-trading-hours-col-2 {
    flex: 1 1 45%;
}

.storman-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.storman-features-list .storman-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.storman-features-list .storman-feature-item i {
    font-size: 1.2em;
    color: #0056b3;
}

/* Trading Hours Styling */
.storman-field-trading-hours h3,
.storman-field-custom h3 {
    margin-bottom: 5px;
}

.storman-hours-section,
.storman-non-trading-days {
    margin-bottom: 10px;
}

.storman-hours-section h4,
.storman-non-trading-days h4 {
    margin-bottom: 5px;
    font-size: 1em;
}

.storman-hours-section ul,
.storman-non-trading-days ul {
    margin: 0;
    padding-left: 20px;
}

/* Single Column Layout Styles */
.storman-single-column {
    flex-direction: column;
}

.storman-single-column .storman-facility-details {
    max-width: 100%;
}

.storman-single-column .storman-photo-wrapper {
    max-width: 100% !important;
    margin-top: 20px;
}

/* Google Maps Placeholder */
.storman-google-map-container {
    width: 100%;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.storman-google-map-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    border: 1px dashed #ccc;
    text-align: center;
    font-style: italic;
    color: #888;
    padding: 20px;
}

/* -------------------------------------- */
/* PROMOTIONS STYLING */
/* -------------------------------------- */

.storman-promotions-container {
    padding-top: 20px;
}

.storman-promotions-title {
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.storman-promotions-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Base style for all promotion items */
.storman-promotion-item {
    position: relative;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    transition: transform 0.2s ease-in-out;
}

.storman-promotion-item:hover {
    transform: translateY(-5px);
}

.storman-promotion-description {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.storman-promotion-voucher {
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
    font-size: 1.1em;
    font-family: monospace;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------- */
/* STYLE 1: Classic Voucher (Our previous style) */
/* -------------------------------------- */
.storman-promotions-container.style-1 .storman-promotion-item {
    background: #e6f2ff;
    border: 2px solid #0056b3;
    color: #000;
}
.storman-promotions-container.style-1 .storman-promotion-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 25%;
    bottom: 0;
    width: 2px;
    background-image: linear-gradient(#0056b3 50%, transparent 50%);
    background-size: 2px 10px;
    background-repeat: repeat-y;
}
.storman-promotions-container.style-1 .storman-promotion-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 25%;
    width: 10px;
    height: 10px;
    background: #0056b3;
    border-radius: 50%;
    transform: translate(0, -50%);
}
.storman-promotions-container.style-1 .storman-promotion-description {
    color: #0056b3;
}
.storman-promotions-container.style-1 .storman-promotion-voucher {
    background-color: #ffc107;
    color: #333;
}

/* -------------------------------------- */
/* STYLE 2: Simple, Modern */
/* -------------------------------------- */
.storman-promotions-container.style-2 .storman-promotion-item {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    color: #333;
    border-radius: 5px;
    padding: 15px;
    box-shadow: none;
}
.storman-promotions-container.style-2 .storman-promotion-description {
    color: #444;
}
.storman-promotions-container.style-2 .storman-promotion-voucher {
    background-color: #fff;
    border: 1px dashed #ccc;
    color: #555;
    box-shadow: none;
}

/* -------------------------------------- */
/* STYLE 3: Bold, Highlighted */
/* -------------------------------------- */
.storman-promotions-container.style-3 .storman-promotion-item {
    background: #f9f9f9;
    border: 1px solid #00c853; /* Green highlight */
    border-left: 8px solid #00c853;
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 200, 83, 0.1);
    border-radius: 4px;
}
.storman-promotions-container.style-3 .storman-promotion-description {
    color: #00c853;
}
.storman-promotions-container.style-3 .storman-promotion-voucher {
    background-color: #00c853;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: none;
}
.storman-promotions-container.style-3 .storman-promotion-item::before,
.storman-promotions-container.style-3 .storman-promotion-item::after {
    content: none;
}


/* -------------------------------------- */
/* STYLE 4: Minimalist */
/* -------------------------------------- */
.storman-promotions-container.style-4 .storman-promotion-item {
    background: transparent;
    border: 1px dashed #333;
    color: #333;
    padding: 15px;
    border-radius: 0;
    box-shadow: none;
}
.storman-promotions-container.style-4 .storman-promotion-description {
    color: #000;
}
.storman-promotions-container.style-4 .storman-promotion-voucher {
    background-color: transparent;
    border: 1px dashed #555;
    color: #555;
    box-shadow: none;
    font-family: inherit;
    font-weight: bold;
}
.storman-promotions-container.style-4 .storman-promotion-item::before,
.storman-promotions-container.style-4 .storman-promotion-item::after {
    content: none;
}

/* -------------------------------------- */
/* STYLE 5: Retro Ribbon */
/* -------------------------------------- */
.storman-promotions-container.style-5 .storman-promotion-item {
    background: #ffecb3; /* Light orange */
    border: 2px dashed #ffa000; /* Darker orange */
    color: #333;
    padding: 25px 20px;
    border-radius: 5px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.storman-promotions-container.style-5 .storman-promotion-description {
    color: #ffa000;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}
.storman-promotions-container.style-5 .storman-promotion-voucher {
    background: linear-gradient(135deg, #ffa000 0%, #ff6f00 100%);
    color: #fff;
    border-radius: 3px;
    font-family: monospace;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    transform: rotate(-3deg);
}
.storman-promotions-container.style-5 .storman-promotion-item::before,
.storman-promotions-container.style-5 .storman-promotion-item::after {
    content: none;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .storman-main-content,
    .storman-trading-hours-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .storman-facility-details,
    .storman-trading-hours-col-1,
    .storman-trading-hours-col-2 {
        max-width: 100%;
    }
    
    .storman-promotions-list {
        flex-direction: column;
        align-items: center;
    }
}
/* Styles for Click-to-Copy Voucher Code */
.storman-promotion-voucher-wrapper {
    position: relative;
    display: inline-block;
}

.storman-promotion-voucher-code {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between text and icon */
}

.storman-promotion-voucher-code strong {
    font-size: 1.1em;
}

.storman-promotion-voucher-code:hover .copy-icon {
    color: #0073aa; /* A nice hover color for the icon */
}

.storman-copy-message {
    position: absolute;
    bottom: 10px; /* Position below the voucher code */
    left: 100%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 1.8em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none; /* Prevents the message from interfering with clicks */
}

.storman-copy-message.show {
    opacity: 1;
}

.copy-icon {
    font-size: 1em;
    color: #777;
    transition: color 0.3s ease-in-out;
}