.co-page {
    background: #f7f7fb;
    min-height: 100vh;
    padding-bottom: 3rem;
}

.co-search-bar {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    margin-bottom: 1.5rem;
}

.co-search-bar .form-control {
    border-radius: 999px;
    padding: .6rem 1.2rem;
}

.co-search-bar .btn-outline-light {
    color: #495057;
    border-color: #ced4da;
    background: #fff;
}

.co-search-bar .btn-outline-light:hover {
    background: #f8f9fa;
    color: #212529;
}

.co-categories-strip {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: .5rem .25rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.co-category-item {
    flex: 0 0 auto;
    text-align: center;
    text-decoration: none;
    color: #333;
    width: 96px;
}

.co-category-item img,
.co-category-item .co-category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto .4rem;
}

.co-category-item.active img,
.co-category-item.active .co-category-icon {
    border-color: #d63384;
}

.co-category-item span {
    display: block;
    font-size: .78rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

.co-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 1rem 0;
}

.co-banners-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: .5rem .25rem 1rem;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.co-banner-item {
    flex: 0 0 auto;
    display: block;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .15s ease;
}

.co-banner-item:hover {
    transform: translateY(-3px);
}

.co-banner-item img {
    display: block;
    height: 120px;
    width: auto;
    max-width: 340px;
    object-fit: cover;
}

.co-offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.co-offer-grid--narrow {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 576px) {
    .co-offer-grid--narrow { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
    .co-offer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .co-offer-grid { grid-template-columns: repeat(2, 1fr); }
}

.co-offer-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .15s ease;
}

.co-offer-card:hover {
    transform: translateY(-3px);
}

.co-offer-card-media {
    position: relative;
    height: 320px;
    background: #f7f7fb;
    display: block;
    overflow: hidden;
}

.co-offer-card-media img,
.co-offer-card-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-offer-card-logo {
    position: absolute;
    top: .6rem;
    right: .6rem;
    width: 42px;
    height: 42px;
    max-width: 42px;
    max-height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    z-index: 3;
}

.co-offer-card-discount {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: #d63384;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    padding: .25rem .6rem;
    border-radius: 999px;
}

.co-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
}

.co-video-placeholder-tiktok { background: #010101; }
.co-video-placeholder-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.co-video-placeholder-facebook { background: #1877f2; }

.co-play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    pointer-events: none;
    z-index: 2;
}

.co-offer-card-body {
    padding: .9rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.co-offer-card-title {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: .25rem;
}

.co-offer-card-business {
    font-size: .8rem;
    color: #888;
    margin-bottom: .6rem;
}

.co-offer-card-actions {
    margin-top: auto;
    display: flex;
    gap: .5rem;
}

.co-offer-card-actions a {
    flex: 1;
    text-align: center;
    padding: .45rem;
    border-radius: .6rem;
    font-size: .85rem;
    text-decoration: none;
}

.co-btn-call {
    background: #eef2ff;
    color: #4338ca;
}

.co-btn-whatsapp {
    background: #dcfce7;
    color: #15803d;
}

.co-home-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: .5rem .25rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.co-home-strip::-webkit-scrollbar {
    height: 6px;
}

.co-home-strip::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 999px;
}

.co-home-strip .co-offer-card {
    flex: 0 0 220px;
}

.co-days-left {
    position: absolute;
    bottom: .5rem;
    right: .5rem;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: .72rem;
    padding: .2rem .5rem;
    border-radius: 999px;
}

.co-offer-detail-media {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.co-share-btn {
    position: absolute;
    top: .8rem;
    left: .8rem;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.co-business-card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.co-business-card-discount {
    position: absolute;
    top: .8rem;
    right: .8rem;
    background: #d63384;
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    padding: .3rem .7rem;
    border-radius: 999px;
}

.co-business-card img.co-business-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: .75rem;
}

.co-trust-badge-verified {
    background: #d1fae5;
    color: #065f46;
}

.co-trust-badge-featured {
    background: #fef3c7;
    color: #92400e;
}

[data-theme="dark"] .co-page {
    background: #161c29;
}

[data-theme="dark"] .co-search-bar {
    background: #21222f;
    box-shadow: none;
}

[data-theme="dark"] .co-search-bar .btn-outline-light,
[data-theme="dark"] .co-search-bar .btn-outline-secondary {
    color: #e4e6eb;
    border-color: #2d3444;
    background: transparent;
}

[data-theme="dark"] .co-search-bar .btn-outline-light:hover,
[data-theme="dark"] .co-search-bar .btn-outline-secondary:hover {
    background: #2d3444;
    color: #fff;
}

[data-theme="dark"] .co-category-item {
    color: #e4e6eb;
}

[data-theme="dark"] .co-category-item img,
[data-theme="dark"] .co-category-item .co-category-icon {
    background: #21222f;
    border-color: #2d3444;
    color: #e4e6eb;
}

[data-theme="dark"] .co-offer-card,
[data-theme="dark"] .co-business-card {
    background: #21222f;
    color: #e4e6eb;
    box-shadow: none;
    border: 1px solid #2d3444;
}

[data-theme="dark"] .co-offer-card-media {
    background: #161c29;
}

[data-theme="dark"] .co-offer-card-logo {
    border-color: #21222f;
}

[data-theme="dark"] .co-offer-card-business {
    color: #9aa0a8;
}

[data-theme="dark"] .co-btn-call {
    background: #1e2a4a;
    color: #93b4ff;
}

[data-theme="dark"] .co-btn-whatsapp {
    background: #123524;
    color: #6ee7a8;
}

[data-theme="dark"] .co-share-btn,
[data-theme="dark"] .co-expand-btn {
    background: rgba(33,34,47,.9);
    color: #e4e6eb;
}

[data-theme="dark"] .co-business-logo {
    border: 2px solid #2d3444;
}

[data-theme="dark"] .co-home-strip::-webkit-scrollbar-thumb {
    background: #3a3d52;
}

.co-btn-pill {
    border-radius: 999px !important;
    padding: 5px 20px !important;
}
