/* ============================================
   Yelp for Business - Static Prototype Styles
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Enable smooth scrolling globally */
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2e2e2e;
    background-color: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #0073bb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   Global Header
   ============================================ */

.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #fff;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
}

.yelp-logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-yelp {
    font-size: 24px;
    font-weight: 700;
    color: #d32323;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background-color 0.15s;
}

.icon-btn:hover {
    background-color: #f5f5f5;
}

.icon-btn:focus-visible {
    outline: 2px solid #0073bb;
    outline-offset: 2px;
}

.profile-btn {
    background-color: #e6e6e6;
    border-radius: 50%;
}

/* ============================================
   Main Layout
   ============================================ */

.main-layout {
    display: flex;
    margin-top: 56px;
    min-height: calc(100vh - 56px);
}

/* ============================================
   Sidebar
   ============================================ */

.sidebar {
    width: 240px;
    background-color: #fff;
    border-right: 1px solid #e6e6e6;
    padding: 24px 0;
    position: fixed;
    top: 56px;
    bottom: 0;
    overflow-y: auto;
}

.business-info {
    padding: 0 16px 20px 16px;
    border-bottom: 1px solid #e6e6e6;
}

.business-name {
    font-size: 16px;
    font-weight: 600;
    color: #2e2e2e;
    margin-bottom: 4px;
}

.business-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.add-location {
    font-size: 13px;
    color: #0073bb;
    display: inline-block;
}

.add-location:hover {
    text-decoration: underline;
}

.nav-menu {
    padding-top: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #2e2e2e;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.15s;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: #f5f5f5;
}

.nav-item:focus-visible {
    outline: 2px solid #0073bb;
    outline-offset: -2px;
}

.nav-item.active {
    background-color: #fff5f5;
    border-left-color: #d32323;
    color: #d32323;
    font-weight: 500;
}

.nav-icon {
    flex-shrink: 0;
    color: #666;
}

.nav-item.active .nav-icon {
    color: #d32323;
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    flex: 1;
    margin-left: 240px;
    padding: 32px 40px;
    background-color: #f5f5f5;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 8px;
}

.page-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

/* ============================================
   Content Grid (Overview Page)
   ============================================ */

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* ============================================
   Cards
   ============================================ */

.card {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 24px;
}

.card-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2e2e2e;
    margin-bottom: 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2e2e2e;
    margin-bottom: 16px;
}

/* Getting Started Card */
.getting-started-content {
    display: flex;
    gap: 20px;
}

.getting-started-icon {
    flex-shrink: 0;
}

.getting-started-text {
    flex: 1;
}

.getting-started-title {
    font-size: 16px;
    font-weight: 600;
    color: #2e2e2e;
    margin-bottom: 4px;
}

.getting-started-time {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.getting-started-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Survey Card */
.survey-content {
    display: flex;
    flex-direction: column;
}

.survey-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.survey-question {
    font-size: 14px;
    color: #2e2e2e;
    margin-bottom: 16px;
}

.survey-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.survey-footer {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

/* ============================================
   Buttons
   ============================================ */

.btn-primary {
    background-color: #d32323;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.15s;
}

.btn-primary:hover {
    background-color: #b81e1e;
}

.btn-primary:focus-visible {
    outline: 2px solid #d32323;
    outline-offset: 2px;
}

.btn-survey {
    flex: 1;
    background-color: #fff;
    color: #2e2e2e;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s;
}

.btn-survey:hover {
    border-color: #999;
    background-color: #f9f9f9;
}

.btn-survey:focus-visible {
    outline: 2px solid #0073bb;
    outline-offset: 2px;
}

/* ============================================
   Performance Section
   ============================================ */

.performance-section {
    margin-top: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2e2e2e;
    margin-bottom: 20px;
}

/* Info Banner */
.info-banner {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.banner-icon {
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
}

.banner-title {
    font-size: 14px;
    font-weight: 600;
    color: #2e2e2e;
    margin-bottom: 8px;
}

.banner-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Metrics Header */
.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.metrics-period {
    font-size: 14px;
    color: #2e2e2e;
}

.metrics-link {
    font-size: 14px;
    color: #0073bb;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.metric-card {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 20px;
}

.metric-icon {
    color: #666;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    color: #2e2e2e;
}

.metric-label-header {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    font-weight: 500;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #2e2e2e;
}

.breakdown-item svg {
    flex-shrink: 0;
    color: #666;
}

.breakdown-value {
    margin-left: auto;
    font-weight: 600;
}

/* ============================================
   Partner Deals Page
   ============================================ */

.partner-deals-header {
    margin-bottom: 24px;
}

/* Perkswall Container */
.perkswall-wrapper {
    background-color: transparent;
    min-height: 400px;
}

/* Loading State */
.perkswall-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #666;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e6e6e6;
    border-top-color: #d32323;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.perkswall-loading p {
    font-size: 14px;
    color: #666;
}

/* Error State */
.perkswall-error {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 60px 40px;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.perkswall-error svg {
    opacity: 0.5;
}

.perkswall-error p {
    font-size: 14px;
    color: #666;
    max-width: 400px;
}

/* Empty State */
.perkswall-empty {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.perkswall-empty svg {
    opacity: 0.3;
    margin-bottom: 8px;
}

.perkswall-empty p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.perkswall-empty .empty-subtitle {
    font-size: 13px;
    color: #999;
}

/* Category Filters */
.category-filter-section {
    margin-bottom: 24px;
}

.category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    justify-content: center; /* Center the filter buttons */
    align-items: center;
}

.category-filter {
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #2e2e2e;
    cursor: pointer;
    transition: all 0.2s;
}

.category-filter:hover {
    border-color: #999;
    background-color: #f9f9f9;
}

.category-filter.active {
    background-color: #d32323;
    border-color: #d32323;
    color: #fff;
}

.category-filter:focus-visible {
    outline: 2px solid #0073bb;
    outline-offset: 2px;
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
    scroll-margin-top: 100px;
    align-items: stretch;
}

/* Featured Carousel */
.featured-carousel {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.carousel-container {
    position: relative;
    width: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 50px;
    color: #fff;
}

.carousel-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    max-width: 800px;
}

.carousel-description {
    font-size: 18px;
    margin: 0 0 24px 0;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.carousel-actions {
    display: flex;
    gap: 16px;
}

.carousel-btn-primary,
.carousel-btn-save {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-btn-primary {
    background-color: #d32323;
    color: #fff;
    box-shadow: 0 4px 12px rgba(211, 35, 35, 0.4);
}

.carousel-btn-primary:hover {
    background-color: #b81e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 35, 35, 0.5);
}

.carousel-btn-save {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.carousel-btn-save:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    transform: translateY(-2px);
}

.carousel-btn-save.saved {
    background-color: rgba(44, 134, 83, 1);
    border-color: #2c8653;
}

/* Carousel Navigation */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s;
    color: #2e2e2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 24px;
}

.carousel-next {
    right: 24px;
}

.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
    background-color: #fff;
    border-color: #fff;
    width: 32px;
    border-radius: 6px;
}

/* Offer Card */
.offer-card {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.offer-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.offer-card:focus-within {
    outline: 2px solid #0073bb;
    outline-offset: 2px;
}

/* Featured cards - subtle featured styling */
.offer-card.featured {
    border: 2px solid #d32323;
    box-shadow: 0 2px 8px rgba(211, 35, 35, 0.15);
    position: relative;
}

.offer-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #d32323;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.offer-card.featured:hover {
    box-shadow: 0 6px 16px rgba(211, 35, 35, 0.25);
    transform: translateY(-4px);
}

/* Logo Section with Background */
.offer-image {
    width: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #e6e6e6;
    position: relative;
}

.offer-image img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Logo images (square/squarish) */
.offer-image-logo img {
    max-width: 120px;
    max-height: 80px;
}

/* Banner images (wide rectangles) */
.offer-image-banner img {
    max-width: 140px;
    max-height: 70px;
}

/* Regular images (moderate rectangles) */
.offer-image-image img {
    max-width: 130px;
    max-height: 75px;
}

/* Featured card logo adjustments */
.offer-card.featured .offer-image {
    min-height: 150px;
    padding: 36px 24px;
}

.offer-card.featured .offer-image-logo img {
    max-width: 130px;
    max-height: 85px;
}

.offer-card.featured .offer-image-banner img {
    max-width: 150px;
    max-height: 75px;
}

.offer-card.featured .offer-image-image img {
    max-width: 140px;
    max-height: 80px;
}

/* Offer Content - White Background, Centered */
.offer-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    text-align: center;
    align-items: center;
    background-color: #fff;
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    color: #2e2e2e;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.offer-card.featured .offer-title {
    font-size: 19px;
    color: #d32323;
}

.offer-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.offer-card.featured .offer-description {
    font-size: 14px;
    -webkit-line-clamp: 3;
}

.offer-mini-text {
    font-size: 12px;
    color: #999;
    margin: 0;
    font-style: italic;
    line-height: 1.4;
    width: 100%;
}

/* Offer Badge */
.offer-badge {
    display: inline-block;
    background-color: #fff5e6;
    color: #cc6600;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Offer Actions */
.offer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
}

.offer-btn-primary,
.offer-btn-save {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-btn-primary {
    background-color: #d32323;
    color: #fff;
    box-shadow: 0 2px 4px rgba(211, 35, 35, 0.2);
}

.offer-btn-primary:hover {
    background-color: #b81e1e;
    box-shadow: 0 4px 8px rgba(211, 35, 35, 0.3);
    transform: translateY(-1px);
}

.offer-btn-primary:active {
    transform: scale(0.98);
}

.offer-btn-primary:focus-visible {
    outline: 2px solid #d32323;
    outline-offset: 2px;
}

.offer-btn-save {
    background-color: #fff;
    color: #0073bb;
    border: 2px solid #0073bb;
}

.offer-btn-save:hover {
    background-color: #f0f8ff;
    border-color: #005a94;
    color: #005a94;
}

.offer-btn-save:active {
    transform: scale(0.98);
}

.offer-btn-save:focus-visible {
    outline: 2px solid #0073bb;
    outline-offset: 2px;
}

.offer-btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.offer-btn-save.saved {
    background-color: #e6f3ff;
    border-color: #2c8653;
    color: #2c8653;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .carousel-slides {
        height: 350px;
    }
    
    .carousel-content {
        padding: 40px;
    }
    
    .carousel-title {
        font-size: 30px;
    }
    
    .carousel-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .offer-image {
        min-height: 120px;
        padding: 28px 20px;
    }
    
    .offer-image img {
        max-width: 100px;
        max-height: 70px;
    }
    
    .offer-content {
        padding: 20px 16px;
    }
    
    .offer-title {
        font-size: 17px;
    }
    
    .offer-description {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .offer-actions {
        gap: 10px;
    }
    
    .offer-btn-primary,
    .offer-btn-save {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        min-height: 48px;
    }
    
    .carousel-slides {
        height: 300px;
    }
    
    .carousel-content {
        padding: 30px 20px;
    }
    
    .carousel-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .carousel-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .carousel-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .carousel-btn-primary,
    .carousel-btn-save {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: 12px;
    }
    
    .carousel-next {
        right: 12px;
    }
    
    .category-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 12px;
    }
    
    .category-filter {
        white-space: nowrap;
        flex-shrink: 0;
        min-height: 44px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* Explicit header height for consistency */
    .global-header {
        height: 56px; /* Same as all other breakpoints */
    }
    
    .main-layout {
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
    
    .sidebar {
        top: 56px;
    }
    
    .offers-grid {
        gap: 14px;
    }
    
    .offer-image {
        min-height: 100px;
        padding: 24px 16px;
    }
    
    .offer-image img {
        max-width: 90px;
        max-height: 60px;
    }
    
    .offer-content {
        padding: 16px 12px;
    }
    
    .offer-title {
        font-size: 16px;
    }
    
    .offer-description {
        font-size: 13px;
    }
    
    .offer-btn-primary,
    .offer-btn-save {
        font-size: 14px;
        padding: 13px 16px;
    }
}

/* ============================================
   Responsive (Basic Layout)
   ============================================ */

/* Desktop and Tablet (768px+) - Explicit header height for maintainability */
@media (min-width: 768px) {
    .global-header {
        height: 56px; /* Explicit declaration for clarity */
    }
    
    .main-layout {
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
    
    .sidebar {
        top: 56px;
    }
}

/* Large Desktop (1201px+) */
@media (min-width: 1201px) {
    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop/Tablet Transition (769px - 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .global-header {
        height: 56px; /* Consistent header height on mobile */
    }
    
    .main-layout {
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
    
    .sidebar {
        width: 200px;
        top: 56px;
    }
    
    .main-content {
        margin-left: 200px;
        padding: 24px 20px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}
