/* ================================================
   FILE LOCATION:
   wp-content/themes/bw-monki/css/blog.css
   ================================================
   Sections:
   1.  Slider
   2.  Trends
   3.  How To
   4.  Celebs
   5.  Watch Now
   6.  Loves / Products
   7.  Shop The Look Carousel
   ================================================ */

/* ── Reset for sections ── */
.slider, .custom-trend-section, .custom-how-to-section,
.custom-celebs-section, .custom-watch-now-section,
.loves-section, .shop-container {
    box-sizing: border-box;
}

/* ================================================
   1. FULL WIDTH SLIDER
   ================================================ */

.slider {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.slider-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ================================================
   2. TRENDS SECTION
   ================================================ */

.custom-trend-section {
    padding: 40px 0;
}

.trends-heading h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
}

.trends-heading h2::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f5a623;
}

.trend-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.trend-item {
    flex: 0 0 48%;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 20px;
}

.trend-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.trend-text {
    margin-top: 15px;
}

.trend-text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.trend-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

@media screen and (max-width: 1024px) {
    .trend-container { justify-content: space-around; }
    .trend-item { flex: 0 0 45%; }
}

@media screen and (max-width: 768px) {
    .trends-heading h2 { font-size: 28px; }
    .trend-container { flex-direction: column; }
    .trend-item { flex: 0 0 100%; margin-bottom: 20px; }
    .trend-text h3 { font-size: 16px; }
    .trend-text p { font-size: 12px; }
}

@media screen and (max-width: 480px) {
    .trend-text h3 { font-size: 14px; }
    .trend-text p { font-size: 10px; }
}

/* ================================================
   3. HOW TO SECTION
   ================================================ */

.custom-how-to-section {
    padding: 40px 0;
}

.how-to-heading h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
}

.how-to-heading h2::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f5a623;
}

.how-to-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.how-to-item {
    flex: 0 0 48%;
    box-sizing: border-box;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.how-to-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.how-to-text {
    margin-top: 10px;
}

.how-to-text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.how-to-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

@media screen and (max-width: 1024px) {
    .how-to-container { justify-content: space-around; }
    .how-to-item { flex: 0 0 48%; }
}

@media screen and (max-width: 768px) {
    .how-to-heading h2 { font-size: 28px; }
    .how-to-container { flex-direction: column; }
    .how-to-item { flex: 0 0 100%; margin-bottom: 20px; }
    .how-to-text h3 { font-size: 16px; }
    .how-to-text p { font-size: 12px; }
}

@media screen and (max-width: 480px) {
    .how-to-text h3 { font-size: 14px; }
    .how-to-text p { font-size: 10px; }
}

/* ================================================
   4. CELEBS SECTION
   ================================================ */

.custom-celebs-section {
    padding: 40px 0;
}

.celebs-heading h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
}

.celebs-heading h2::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f5a623;
}

.celebs-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.celebs-item {
    flex: 0 0 32%;
    box-sizing: border-box;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 20px;
}

.celebs-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.celebs-text {
    margin-top: 15px;
}

.celebs-text h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.celebs-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

@media screen and (max-width: 1024px) {
    .celebs-container { justify-content: space-around; }
    .celebs-item { flex: 0 0 48%; }
}

@media screen and (max-width: 768px) {
    .celebs-heading h2 { font-size: 28px; }
    .celebs-container { flex-direction: column; gap: 20px; }
    .celebs-item { flex: 0 0 100%; margin-bottom: 20px; }
    .celebs-text h3 { font-size: 16px; }
    .celebs-text p { font-size: 12px; }
}

@media screen and (max-width: 480px) {
    .celebs-text h3 { font-size: 14px; }
    .celebs-text p { font-size: 10px; }
}

/* ================================================
   5. WATCH NOW SECTION
   ================================================ */

.custom-watch-now-section {
    padding: 40px 0;
}

.watch-now-heading h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
}

.watch-now-heading h2::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f5a623;
}

.video-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.video-item {
    flex: 0 0 48%;
    box-sizing: border-box;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
}

.video-item iframe {
    width: 100%;
    height: 315px;
    border-radius: 6px;
    border: none;
}

.video-description {
    margin-top: 15px;
}

.video-description h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.video-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

.watch-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
    color: #f5a623;
    text-decoration: none;
}

.watch-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1024px) {
    .video-container { justify-content: space-around; }
    .video-item { flex: 0 0 48%; }
}

@media screen and (max-width: 768px) {
    .video-container { flex-direction: column; }
    .video-item { flex: 0 0 100%; margin-bottom: 20px; }
    .video-item iframe { height: 260px; }
    .video-description h3 { font-size: 16px; }
    .video-description p { font-size: 12px; }
    .watch-link { font-size: 12px; }
}

@media screen and (max-width: 480px) {
    .video-item iframe { height: 220px; }
    .video-description h3 { font-size: 14px; }
    .video-description p { font-size: 10px; }
    .watch-link { font-size: 10px; }
}

/* ================================================
   6. LOVES / PRODUCTS SECTION
   ================================================ */

.loves-section {
    padding: 40px 0;
}

.loves-heading h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.loves-heading h2::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f5a623;
}

.products-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.product-item {
    flex: 0 0 18%;
    box-sizing: border-box;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 15px;
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info {
    margin-top: 15px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.product-info p {
    font-size: 14px;
    color: #888;
    margin: 5px 0;
}

.product-info .price {
    font-size: 16px;
    font-weight: bold;
    color: #f5a623;
    display: block;
    margin-bottom: 10px;
}

.buy-now-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #f5a623;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
    background-color: #d47b00;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .products-container { justify-content: space-around; }
    .product-item { flex: 0 0 45%; }
    .buy-now-btn { font-size: 14px; padding: 8px 14px; }
}

@media screen and (max-width: 768px) {
    .loves-heading h2 { font-size: 28px; }
    .product-item { flex: 0 0 48%; margin-bottom: 20px; }
    .buy-now-btn { font-size: 12px; padding: 6px 12px; }
}

@media screen and (max-width: 480px) {
    .products-container { flex-direction: column; gap: 15px; }
    .product-item { flex: 0 0 100%; margin-bottom: 15px; }
    .product-info h3 { font-size: 16px; }
    .product-info p { font-size: 12px; }
    .product-info .price { font-size: 14px; }
    .buy-now-btn { font-size: 14px; padding: 8px 20px; }
}

/* ================================================
   7. SHOP THE LOOK — VIDEO CAROUSEL
   ================================================ */

.shop-section {
    background: #f8f8f8;
    padding: 60px 0 50px;
    overflow: hidden;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.shop-title {
    text-align: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.shop-title-bar {
    display: block;
    width: 50px;
    height: 3px;
    background: #f5a623;
    margin: 0 auto 40px;
    border: none;
}

/* ── Carousel Track ── */
.shop-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.shop-track:active { cursor: grabbing; }
.shop-track::-webkit-scrollbar { display: none; }

/* ── Video Card ── */
.shop-card {
    flex: 0 0 auto;
    width: 300px;
    height: 533px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.shop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    transition: transform 0.5s ease;
}

.shop-card:hover img { transform: scale(1.04); }

/* ── Play Overlay ── */
.shop-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-card:hover .shop-overlay { opacity: 1; }

.shop-play-btn {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.shop-card:hover .shop-play-btn { transform: scale(1.1); }

.shop-play-icon {
    width: 0;
    height: 0;
    border-left: 22px solid #1a1a1a;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    margin-left: 5px;
}

/* ── Nav Buttons ── */
.shop-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}

.shop-nav-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.shop-nav-btn:hover {
    background: #f5a623;
    color: #fff;
    border-color: #f5a623;
    transform: scale(1.08);
}

.shop-nav-btn:disabled {
    opacity: 0.28;
    cursor: not-allowed;
    transform: none;
}

/* ── Video Modal ── */
.shop-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.shop-modal.shop-modal-open {
    display: flex;
}

.shop-modal-box {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 80vh;
    max-height: 800px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    animation: shopModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes shopModalIn {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.shop-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.shop-modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.shop-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .shop-card { width: 260px; height: 462px; }
}

@media (max-width: 768px) {
    .shop-section { padding: 48px 0 36px; }
    .shop-card    { width: 240px; height: 426px; }
    .shop-track   { gap: 14px; padding: 16px 10px 20px; }
    .shop-nav-btn { width: 45px; height: 45px; font-size: 22px; }
    .shop-modal-box { max-width: 96%; height: 72vh; }
    .shop-overlay { opacity: 1; background: rgba(0,0,0,0.2); }
}

@media (max-width: 480px) {
    .shop-card { width: 220px; height: 391px; }
    .shop-play-btn { width: 60px; height: 60px; }
    .shop-play-icon {
        border-left: 18px solid #1a1a1a;
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
    }
    .shop-modal-box { height: 76vh; }
    .shop-modal-close { width: 38px; height: 38px; font-size: 20px; }
}