/*
 * West Slope Farm & Ranch Product Feed Styles
 * Version 12.0 - POTM Image Fixed Height + All Updates
 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Lora:wght@400;700&display=swap');

#wsde-plugin-container { position: relative; }
.page-container { display: flex; flex-wrap: wrap; position: relative; gap: 2rem; }


/* --- GLOBAL FIX: REMOVE UNDERLINES FROM ALL BUTTONS --- */
a.button, 
button, 
.btn, 
input[type="button"], 
input[type="submit"], 
.wsde-potm-button,
.wsde-carousel-btn {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}





/* --- SIDEBAR STYLES --- */
.sidebar { background-color: white; width: 280px; padding: 1rem; box-sizing: border-box; transform: translateX(-100%); transition: transform 0.3s ease; position: fixed; top: 0; left: 0; height: 100%; z-index: 2000; overflow-y: auto; box-shadow: 5px 0 15px rgba(0,0,0,0.1); border-radius: 8px; }
.sidebar.open { transform: translateX(0); }
.sidebar-header { display: flex; justify-content: flex-end; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid #dee2e6; margin-bottom: 1rem; }
.close-filters-btn { background: none; border: none; font-size: 2rem; cursor: pointer; color: #862835; line-height: 1; }

.page-container .sidebar .category-nav .category-parent { font-family: 'Lora', serif; color: #8B252C; margin: 1rem 0 0.25rem 0; font-size: 0.9rem; font-weight: 700; cursor: pointer; position: relative; padding-right: 20px; }
.page-container .sidebar .category-nav .category-parent::after { content: '▶'; position: absolute; right: 5px; top: 50%; transform: translateY(-50%) rotate(0deg); font-size: 0.6em; color: #5a6a7a; transition: transform 0.3s ease; }
.page-container .sidebar .category-group.is-open .category-parent::after { transform: translateY(-50%) rotate(90deg); }
.page-container .sidebar .child-categories { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; padding-left: 0.5rem; }
.page-container .sidebar .category-group.is-open .child-categories { max-height: 500px; transition: max-height 0.5s ease-in; }
.page-container .sidebar .category-nav > .category-link:first-child { background-color: #f0f0f0; font-weight: 700; margin-bottom: 1rem; border: 1px solid #dee2e6; }
.page-container .sidebar .category-nav .category-link { display: block; text-decoration: none; color: #5a6a7a; padding: 0.4rem 1rem; border-radius: 5px; font-weight: 400; font-size: 0.9rem; transition: all 0.2s ease; }
.page-container .sidebar .category-nav .category-link:hover { background-color: #f8f9fa; color: #2c3e50; }
.page-container .sidebar .category-nav .category-link.active { background-color: #8B252C; color: white; font-weight: 700; }

.product-content { width: 100%; box-sizing: border-box; background-color: white; border-radius: 8px; padding: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.07); }

/* --- FILTER BUTTON --- */
.filter-toggle-btn { 
    display: block; 
    background: #862835; 
    border: none; 
    color: white; 
    padding: 12px 24px; 
    border-radius: 30px; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    font-size: 1rem;
    cursor: pointer; 
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(134, 40, 53, 0.3); 
    transition: all 0.3s ease;
    width: 100%; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-toggle-btn:hover { background: #6a1d22; box-shadow: 0 6px 15px rgba(134, 40, 53, 0.4); transform: translateY(-2px); }

/* --- GRID & CARD FIXES --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; justify-content: start; }
.product-card { display: flex; flex-direction: column; width: 100%; box-sizing: border-box; background-color: white; border: 1px solid #dee2e6; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 180px !important; object-fit: cover; object-position: center; display: block; background-color: #f0f0f0; }
.page-container .product-card h3 { font-family: 'Lora', serif; font-size: 0.9rem; line-height: 1.4; font-weight: 400; color: #2c3e50; margin: 1rem; flex-grow: 1; }
.product-card .btn { display: block; width: calc(100% - 2rem); font-family: 'Montserrat', sans-serif; font-size: 1rem; background-color: #862835; color: white; text-align: center; padding: 0.75rem; text-decoration: none; font-weight: 700; margin: 0 1rem 1rem 1rem; border-radius: 5px; cursor: pointer; margin-top: auto; transition: background-color 0.2s ease, color 0.2s ease; border: none; }
.page-container .product-card .btn:hover { background-color: #6a1d22; color: #000; }

@media (min-width: 1024px) {
    .filter-toggle-btn { display: none !important; }
    .sidebar { width: 250px; flex-shrink: 0; position: sticky; top: 2rem; height: calc(100vh - 4rem); transform: translateX(0); box-shadow: 0 4px 15px rgba(0,0,0,0.07); padding: 1.5rem; }
    .sidebar-header { display: none; }
    .product-content { width: calc(100% - 250px - 2rem); }
}

/* --- SEARCH BAR OPTIMIZED --- */
.wsde-search-container {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    box-sizing: border-box;
    display: block; 
}

#wsde-product-search {
    width: 100% !important;
    height: 55px; 
    padding: 0 20px 0 55px; 
    border: 2px solid #862835; 
    border-radius: 12px;
    font-size: 18px; 
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
    background-color: #fff;
    color: #333;
    display: block;
}

#wsde-product-search:focus { outline: none; box-shadow: 0 0 0 4px rgba(134, 40, 53, 0.2); }

.wsde-search-container::before {
    content: ''; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23862835' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain; pointer-events: none; opacity: 0.9; z-index: 2;
}

/* MOBILE SEARCH & LAYOUT ADJUSTMENTS */
@media (max-width: 768px) {
    .wsde-search-container { width: 100% !important; margin: 0 auto 1.5rem auto !important; padding: 0 !important; }
    #wsde-product-search { width: 100% !important; font-size: 16px; }
}

/* --- MODAL STYLES --- */
.wsde-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.wsde-modal-overlay.active { opacity: 1; visibility: visible; }
.wsde-modal-content { font-family: 'Montserrat', sans-serif; background-color: white; padding: 2.5em; border-radius: 8px; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 5px 20px rgba(0,0,0,0.3); transform: scale(1); }
#wsde-modal-close { position: absolute; top: 10px; right: 10px; background-color: #862835; border: 2px solid #862835; border-radius: 50%; width: 30px; height: 30px; font-size: 1.5rem; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: background-color 0.2s ease, border-color 0.2s ease; }
#wsde-modal-close:hover { background-color: #6a1d22; border-color: #6a1d22; }
#wsde-modal-title { font-family: 'Lora', serif; color: #2c3e50; margin: 0 0 1rem 0; padding-right: 30px; }
#wsde-modal-description { color: #5a6a7a; line-height: 1.6; }
.wsde-no-results-message { text-align: center; padding: 3rem 1rem; background-color: #f8f9fa; border-radius: 8px; width: 100%; }
.wsde-modal-footer { margin-top: 24px; padding-top: 24px; border-top: 1px solid #eee; text-align: center; }
#wsde-modal-bulk-btn { background-color: #862835; color: #ffffff; border: 2px solid #862835; border-radius: 5px; padding: 12px 28px; font-size: 16px; font-weight: 600; font-family: 'Montserrat', sans-serif; cursor: pointer; display: inline-block; text-decoration: none; transition: all 0.3s ease; }
#wsde-modal-bulk-btn:hover { background-color: #ffffff; color: #862835; }

/* --- STYLES FOR ENHANCED PRODUCT OF THE MONTH (RESTORED & FIXED) --- */
.wsde-potm-container {
    width: 100%;
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

.wsde-potm-container.no-bg-image { background-color: #f8f9fa; }

.wsde-potm-container.has-bg-image::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, var(--potm-overlay-opacity, 0.5));
    z-index: 1; border-radius: 8px;
}

.wsde-potm-image, .wsde-potm-details { position: relative; z-index: 2; }
.wsde-potm-image { flex: 1 1 300px; }

/* --- IMAGE HEIGHT FIX HERE --- */
.wsde-potm-image img { 
    width: 100%; 
    height: 450px; /* Fixed height for Desktop */
    object-fit: cover; /* Crops image to fit the frame */
    object-position: center; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    display: block; 
}

.wsde-potm-badge {
    position: absolute; top: -15px; left: -15px;
    background-color: #d9534f; color: white;
    padding: 0.75rem; border-radius: 50%;
    font-weight: 700; font-size: 1rem;
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; line-height: 1.2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: rotate(-15deg); z-index: 3;
}

.wsde-potm-details { flex: 2 1 400px; }
.wsde-potm-details h4 { font-family: 'Montserrat', sans-serif; font-size: 1rem; color: #8B252C; margin: 0 0 0.5rem 0; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.wsde-potm-details h2 { font-family: 'Lora', serif; font-size: 2.5rem; color: #2c3e50; margin: 0 0 1rem 0; font-weight: 700; line-height: 1.2; }
.wsde-potm-details .potm-excerpt { font-family: 'Montserrat', sans-serif; color: #5a6a7a; line-height: 1.6; margin-bottom: 1.5rem; }

.has-bg-image .wsde-potm-details h4 { color: #f0f0f0; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.has-bg-image .wsde-potm-details h2 { color: #ffffff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.has-bg-image .wsde-potm-details .potm-excerpt { color: #e9e9e9; }

.potm-price { margin-bottom: 1rem; }
.potm-sale-price { font-size: 1.8rem; font-weight: 700; margin-right: 0.75rem; }
.has-bg-image .potm-sale-price { color: #ffffff; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.no-bg-image .potm-sale-price { color: #d9534f; }
.potm-regular-price s { font-size: 1.2rem; color: #adb5bd; }
.has-bg-image .potm-regular-price s { color: #f0f0f0; }

.potm-countdown {
    background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px; padding: 0.5rem 1rem; display: inline-block; margin-bottom: 1.5rem;
    font-weight: 700; color: #ffffff;
}
.no-bg-image .potm-countdown { background-color: #e9ecef; border-color: #dee2e6; color: #495057; }

.wsde-potm-details .potm-button {
    display: inline-block; background-color: #8B252C; color: white;
    padding: 0.75rem 1.5rem; border-radius: 5px; font-weight: 700;
    text-decoration: none; transition: all 0.2s ease; border: 2px solid #8B252C;
}
.wsde-potm-details .potm-button:hover { background-color: #6a1d22; }
.has-bg-image .wsde-potm-details .potm-button:hover { background-color: transparent; border-color: #ffffff; color: #ffffff; }

@media (max-width: 768px) {
    .wsde-potm-details h2 { font-size: 2rem; }
    .wsde-potm-container { padding: 1.5rem; gap: 1.5rem; }
    .wsde-potm-badge { width: 70px; height: 70px; font-size: 0.9rem; top: -10px; left: -10px; }

    /* MOBILE IMAGE HEIGHT ADJUSTMENT */
    .wsde-potm-image img {
        height: 300px;
    }
}

/* --- STYLES FOR POTM ADMIN PAGE --- */
.wsde-at-a-glance { margin-top: 1.5rem; padding: 1rem 1.5rem; background: #fff; border-left: 4px solid #4f94d4; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.wsde-at-a-glance h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.wsde-glance-content { display: flex; align-items: center; gap: 1.5rem; }
.wsde-glance-content img { max-width: 80px; height: auto; border-radius: 4px; }
.wsde-glance-content h3, .wsde-glance-content p { margin: 0; }

.wsde-potm-preview { margin-top: 2rem; border: 1px solid #c3c4c7; background: #f6f7f7; }
.wsde-potm-preview h2 { font-size: 1.2rem; padding: 8px 12px; margin: 0; background: #fff; border-bottom: 1px solid #c3c4c7; }
#potm-preview-box { padding: 1rem; }
#potm-preview-box .wsde-potm-container { padding: 1.5rem; gap: 1rem; max-width: 900px; margin: 0 auto; }
#potm-preview-box .wsde-potm-details h2 { font-size: 2.5rem; margin-top: 0; background: none; border: none; padding: 0; box-shadow: none; line-height: 1.2; }
#potm-preview-box .wsde-potm-details h4 { font-size: 1rem; }
#potm-preview-box .potm-excerpt { font-size: 1rem; line-height: 1.6; }

.wsde-potm-settings-form { background: #fff; padding: 1rem; border: 1px solid #c3c4c7; margin-top: 2rem; }
.wsde-potm-history { margin-top: 2rem; background: #fff; padding: 1rem 1.5rem 1.5rem; border: 1px solid #c3c4c7; }
.wsde-potm-history ul { margin: 0; padding-left: 1.5rem; list-style: disc; }
.wsde-potm-history li { padding: 0.25rem 0; }

/* --- CAROUSEL STYLES --- */
.wsde-carousel-container { position: relative; width: 100%; max-width: 1200px; margin: 2rem auto; padding: 0 40px; box-sizing: border-box; }
.wsde-carousel-track-container { overflow: hidden; width: 100%; position: relative; }
.wsde-carousel-track { display: flex; padding: 0; margin: 0; list-style: none; transition: transform 0.5s ease-in-out; gap: 20px; }
.wsde-carousel-slide { flex-shrink: 0; box-sizing: border-box; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.wsde-carousel-slide:hover { transform: translateY(-5px); }
.wsde-carousel-link { text-decoration: none; color: inherit; display: block; }
.wsde-carousel-slide img { width: 100%; height: 200px; object-fit: cover; display: block; background-color: #f0f0f0; }
.wsde-carousel-slide h4 { padding: 1rem; margin: 0; text-align: center; font-family: 'Lora', serif; font-size: 1rem; color: #2c3e50; }

/* Navigation Arrows */
.wsde-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #8B252C; color: white; border: none; width: 45px; height: 45px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; opacity: 0; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; }
.wsde-carousel-container:hover .wsde-carousel-btn { opacity: 1; }
.wsde-carousel-btn:hover { background-color: #6a1d22; transform: translateY(-50%) scale(1.1); box-shadow: 0 6px 15px rgba(0,0,0,0.3); }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Mobile Optimizations */
@media (max-width: 768px) {
    .wsde-carousel-btn { width: 45px; height: 45px; font-size: 1.2rem; opacity: 1; }
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
    .wsde-carousel-container { padding: 0 20px; }
}

.wsde-carousel-nav { display: flex; justify-content: center; padding: 1rem 0; gap: 10px; }
.carousel-indicator { border: none; width: 12px; height: 12px; background: #ccc; border-radius: 50%; cursor: pointer; transition: background 0.3s ease; padding: 0; }
.carousel-indicator.current-slide { background: #8B252C; }


/* --- NEW PRODUCT OF THE MONTH DESIGN (Dave's Feed Aesthetic + Auto Pricing) --- */

.wsde-potm-card {
    background: white;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* Mobile first: Column */
    overflow: hidden;
    max-width: 1000px;
    margin: 2rem auto;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .wsde-potm-card { flex-direction: row; } /* Desktop: Row */
}

/* Visual Side (Bag & Inset) */
.wsde-potm-visual {
    padding: 1.5rem;
    position: relative;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .wsde-potm-visual { width: 50%; padding: 2rem; }
}

.wsde-potm-bag-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    overflow: hidden; /* Contains the image */
}

.wsde-potm-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
    z-index: 1;
    /* transform: scale() is added via JS/PHP */
}

/* Badge */
.wsde-potm-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: #8B2332; /* West Slope Maroon */
    color: white;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: rotate(-12deg);
    border: 2px solid rgba(255,255,255,0.2);
    z-index: 10;
    font-size: 0.9rem;
}

/* Inset Circle (Macro Zoom) - FIXED FOR OVAL ISSUE */
.wsde-potm-inset {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    /* Use fixed dimensions to ensure perfect circle on all devices */
    width: 90px; 
    height: 90px;
    border-radius: 50%;
    border: 5px solid #91684a; /* Wood Brown */
    background-color: #91684a;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 5;
}

/* Tablet size */
@media (min-width: 640px) {
    .wsde-potm-inset { width: 120px; height: 120px; border-width: 6px; }
}
/* Desktop size */
@media (min-width: 1024px) {
    .wsde-potm-inset { width: 160px; height: 160px; border-width: 8px; }
}


.wsde-potm-inset-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* transform: scale() is added via JS/PHP */
}

/* Content Side */
.wsde-potm-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center; /* Mobile: Centered */
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .wsde-potm-content { width: 50%; padding: 3rem; text-align: left; } /* Desktop: Left */
}

/* Typography */
.wsde-potm-header { margin-bottom: 1.5rem; }

.wsde-potm-subtitle {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #8B2332;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.wsde-potm-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: #1e293b;
    line-height: 1.1;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

@media (min-width: 768px) { .wsde-potm-title { font-size: 3rem; } }

.wsde-potm-italic {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #64748b;
    margin: 0;
}

/* Pricing - RESTYLED */
.wsde-potm-pricing { margin-bottom: 2rem; }

.wsde-potm-old-price-label {
    font-size: 1.1rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.wsde-potm-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center; /* Mobile: Center */
    gap: 0.5rem;
}
@media (min-width: 768px) { 
    .wsde-potm-price-row { justify-content: flex-start; } 
    .wsde-potm-old-price-label { text-align: left; }
}

.wsde-potm-current-price {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}
@media (min-width: 768px) { .wsde-potm-current-price { font-size: 3.5rem; } }

.wsde-potm-unit {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 500;
}

.wsde-potm-note {
    font-size: 0.875rem;
    color: #8B2332;
    font-weight: 500;
    font-style: italic;
    margin: 0.75rem 0 0 0;
}

/* Action Area */
.wsde-potm-action {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) { .wsde-potm-action { align-items: flex-start; } }

.wsde-potm-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #8B2332;
    color: white;
    font-weight: 700;
    padding: 1.25rem;
    border-radius: 1rem;
    text-decoration: none !important; /* Force remove underline */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s;
    font-size: 1.125rem;
    width: 100%;
    box-sizing: border-box;
}
.wsde-potm-button:hover { opacity: 0.95; color: white; }

.wsde-potm-footer-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.wsde-potm-info-item {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center; /* Mobile: Center */
    gap: 0.5rem;
}
@media (min-width: 768px) { .wsde-potm-info-item { justify-content: flex-start; } }

.wsde-potm-info-item.highlight { color: #8B2332; }
.wsde-potm-info-item .dashicons { font-size: 1rem; width: 1rem; height: 1rem; }

/* Archive Grid Override */
.wsde-potm-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.wsde-potm-archive-item { text-decoration: none; color: #333; display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.2s; }
.wsde-potm-archive-item:hover { transform: translateY(-5px); }
.wsde-potm-archive-item img { width: 100%; height: 150px; object-fit: cover; }
.wsde-potm-archive-item h3 { padding: 1rem; margin: 0; font-size: 1rem; font-family: 'Lora', serif; text-align: center; }