/* ==========================================================================
   OHB On Tap Menu – Stylesheet
   Matches Oak Highlands Brewery brand:
     Primary accent : #996633 (amber-brown)
     Secondary      : #c09970 (warm tan)
     Text           : #000000
     Background     : #ffffff / #f3f4f6
     Font           : PT Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* --------------------------------------------------------------------------
   Wrapper
   -------------------------------------------------------------------------- */
.ohb-on-tap-wrapper {
    font-family: 'PT Sans', sans-serif;
    color: #111111;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.ohb-on-tap-header {
    text-align: center;
    margin-bottom: 48px;
}

.ohb-on-tap-title {
    font-family: 'PT Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #996633;
    margin: 0 0 10px;
    line-height: 1.1;
}

.ohb-on-tap-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #996633;
    margin: 14px auto 0;
    border-radius: 2px;
}

.ohb-on-tap-subtitle {
    font-size: 1rem;
    color: #666666;
    margin: 16px 0 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Beer Card Grid  – responsive 4 → 3 → 2 → 1 columns
   -------------------------------------------------------------------------- */
.ohb-on-tap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1100px) {
    .ohb-on-tap-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .ohb-on-tap-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .ohb-on-tap-title { font-size: 2rem; }
}
@media (max-width: 480px) {
    .ohb-on-tap-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --------------------------------------------------------------------------
   Individual Beer Card
   -------------------------------------------------------------------------- */
.ohb-beer-card {
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ohb-beer-card:hover {
    box-shadow: 0 6px 24px rgba(153, 102, 51, 0.15);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Beer Image
   -------------------------------------------------------------------------- */
.ohb-beer-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ohb-beer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ohb-beer-card:hover .ohb-beer-image {
    transform: scale(1.04);
}

.ohb-beer-no-image {
    background: #f3f4f6;
}

.ohb-beer-placeholder {
    font-size: 3rem;
    opacity: 0.3;
}

/* --------------------------------------------------------------------------
   Card Body
   -------------------------------------------------------------------------- */
.ohb-beer-body {
    padding: 18px 18px 12px;
    flex: 1;
}

.ohb-beer-name {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

/* --------------------------------------------------------------------------
   ABV / IBU Stats Row
   -------------------------------------------------------------------------- */
.ohb-beer-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ohb-stat {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #996633;
    color: #ffffff;
    border-radius: 4px;
    padding: 4px 10px;
    min-width: 52px;
}

.ohb-stat-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    line-height: 1;
}

.ohb-stat-value {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Beer Description
   -------------------------------------------------------------------------- */
.ohb-beer-desc {
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Card Footer / Order Button
   -------------------------------------------------------------------------- */
.ohb-beer-footer {
    padding: 12px 18px 18px;
}

.ohb-order-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 2px solid #996633;
    color: #996633;
    font-family: 'PT Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.ohb-order-btn:hover,
.ohb-order-btn:focus {
    background: #996633;
    color: #ffffff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   Footer Note
   -------------------------------------------------------------------------- */
.ohb-on-tap-footer-note {
    text-align: center;
    margin-top: 40px;
}

.ohb-on-tap-footer-note a {
    color: #996633;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid #c09970;
    padding-bottom: 2px;
    transition: color 0.2s;
}

.ohb-on-tap-footer-note a:hover {
    color: #7a5228;
}

/* --------------------------------------------------------------------------
   Error State
   -------------------------------------------------------------------------- */
.ohb-on-tap-error {
    text-align: center;
    padding: 40px;
    background: #f3f4f6;
    border-radius: 6px;
    color: #666666;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Skeleton Loading State
   -------------------------------------------------------------------------- */
@keyframes ohb-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.ohb-skeleton {
    background: linear-gradient(90deg, #e8e0d5 25%, #f3f0eb 50%, #e8e0d5 75%);
    background-size: 600px 100%;
    animation: ohb-shimmer 1.4s infinite linear;
    border-radius: 4px;
}

.ohb-skeleton-card {
    pointer-events: none;
}

.ohb-skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0;
}

.ohb-skeleton-title {
    height: 18px;
    width: 70%;
    margin: 0 0 12px;
}

.ohb-skeleton-line {
    height: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.ohb-skeleton-line.short {
    width: 55%;
}
