/* Pastel Pollen Tactical Logo Override */

.symbol img {
    max-height: none !important;
    height: 100px !important;
    width: auto !important;
    display: inline-block !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.logo .symbol {
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header .logo .symbol img {
    width: auto !important;
    height: 160px !important;
    display: inline-block !important;
}

@media screen and (max-width: 736px) {
    #header .logo .symbol img {
        height: 60px !important;
    }
}

/* Product Grid and Layout Fix - Scoped to Order Page */

.order-page .tiles {
    max-width: 900px;
    margin: 0 auto !important;  /* Center it horizontally */
    padding: 0 !important;
    width: 100%;
}

.order-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .order-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Tile Core Layout */

.product-tile {
    width: 100%;
    text-align: center;
    padding: 1em;
    position: relative;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.product-tile:hover {
    transform: translateY(-5px);
}

.product-tile .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Overlay Effect */

/* Overlay Effect - Inverted Behavior */

.product-tile .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;  /* Overlay is visible by default */
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

/* Hover removes the color overlay */
.product-tile:hover .overlay {
    opacity: 0;
}

/* Color Overlays */

.color1 .overlay { background-color: rgba(238, 174, 202, 0.6); }
.color2 .overlay { background-color: rgba(173, 216, 230, 0.6); }
.color3 .overlay { background-color: rgba(144, 238, 144, 0.6); }
.color4 .overlay { background-color: rgba(255, 239, 184, 0.6); }
.color5 .overlay { background-color: rgba(216, 191, 216, 0.6); }
.color6 .overlay { background-color: rgba(255, 182, 193, 0.6); }

.product-tile:hover .overlay {
    opacity: 1;
}

/* Color Overlays */

.color1 .overlay { background-color: rgba(238, 174, 202, 0.6); }  /* Pinkish */
.color2 .overlay { background-color: rgba(173, 216, 230, 0.6); }  /* Light blue */
.color3 .overlay { background-color: rgba(144, 238, 144, 0.6); }  /* Light green */
.color4 .overlay { background-color: rgba(255, 239, 184, 0.6); }  /* Pale yellow */
.color5 .overlay { background-color: rgba(216, 191, 216, 0.6); }  /* Lavender */
.color6 .overlay { background-color: rgba(255, 182, 193, 0.6); }  /* Light pink */

/* Product Description */

.product-tile .content {
    padding: 1em;
    text-align: center;
}

/* Legacy Product Styles (if still needed elsewhere) */

.product {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff0f5;
    padding: 20px;
    border-radius: 10px;
    height: 100%;
}

.product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.product p {
    flex-grow: 1;
    margin-top: 10px;
    margin-bottom: 10px;
}

.product button {
    align-self: center;
}
/* === Custom Shop Layout Overrides === */

.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
}

.intro-text {
    flex: 1 1 300px;
    min-width: 280px;
}

.product-grid {
    flex: 3 1 700px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.product {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    width: 250px;
    text-align: center;
    transition: transform 0.2s ease;
}

.product:hover {
    transform: scale(1.03);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

button, .button {
    background-color: transparent;
    border-radius: 4px;
    border: 2px solid #585858;
    color: #585858;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 900;
    padding: 0.75em 1.5em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

button:hover, .button:hover {
    background-color: #f2849e;
    color: #ffffff;
    border-color: #f2849e;
}
