/* ============================================================
   THEME: Minimal Clothing  —  StoreBuilder storefront theme #5
   ------------------------------------------------------------
   পোশাকের দোকানের জন্য পরিষ্কার, নিউট্রাল অ্যাপারেল থিম:
   নরম বেইজ ব্যাকগ্রাউন্ড, স্লিম হেডার, বড় পোর্ট্রেট ছবি,
   হোভারে দ্বিতীয় ছবি আর কুইক-অ্যাড বার।
   shop.css এর পরে লোড হয় — সব রুল body.theme-minimal-clothing স্কোপে।
   ============================================================ */

body.theme-minimal-clothing {
    --bg:      #ffffff; 
    --bg2:     #f6f4f1;   /* নরম বেইজ */
    --bg3:     #ebe7e2; 
    --fg:      #1a1a1a; 
    --fg2:     #6f6a64; 
    --line:    #e3ded8;
    --line2:   #cdc6bd;
    --accent:  #b08968;   /* উষ্ণ ট্যান */

    --primary:        #1a1a1a;
    --primary-dark:   #000000;
    --primary-darker: #000000;
    --primary-light:  #f6f4f1;
    --primary-border: #e3ded8;
    --primary-rgb:    26, 26, 26;

    background: var(--bg);
    color: var(--fg);
    font-family: 'Jost', ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.theme-minimal-clothing h1,
body.theme-minimal-clothing h2,
body.theme-minimal-clothing h3,
body.theme-minimal-clothing h4,
body.theme-minimal-clothing h5,
body.theme-minimal-clothing h6 {
    font-family: 'Marcellus', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: .002em;
    line-height: 1.18;
    color: var(--fg);
}
body.theme-minimal-clothing a { color: inherit; text-decoration: none; }
body.theme-minimal-clothing p { color: var(--fg2); }

body.theme-minimal-clothing .mc-wrap {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 22px;
}
body.theme-minimal-clothing .mc-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
body.theme-minimal-clothing .mc-section.is-soft { background: var(--bg2); }

/* ── সেকশনের হেড ─────────────────────────────────────────────── */
body.theme-minimal-clothing .mc-head { text-align: center; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
body.theme-minimal-clothing .mc-eyebrow {
    display: inline-block;
    font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
    color: var(--accent); margin-bottom: .7rem;
}
body.theme-minimal-clothing .mc-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 0; }
body.theme-minimal-clothing .mc-head p { margin: .7rem auto 0; max-width: 56ch; font-size: .92rem; }

/* ── বাটন ────────────────────────────────────────────────────── */
body.theme-minimal-clothing .mc-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 30px;
    background: var(--fg); color: #fff;
    border: 1px solid var(--fg);
    font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
    transition: background .18s, color .18s;
}
body.theme-minimal-clothing .mc-btn:hover { background: transparent; color: var(--fg); }
body.theme-minimal-clothing .mc-btn-light {
    background: #fff; color: var(--fg); border-color: #fff;
}
body.theme-minimal-clothing .mc-btn-light:hover { background: transparent; color: #fff; }
body.theme-minimal-clothing .mc-btn-ghost { background: transparent; color: var(--fg); }
body.theme-minimal-clothing .mc-btn-ghost:hover { background: var(--fg); color: #fff; }
body.theme-minimal-clothing .mc-btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── অ্যানাউন্সমেন্ট বার ──────────────────────────────────────── */
body.theme-minimal-clothing .mc-announce {
    display: flex; align-items: center; justify-content: center;
    background: var(--fg); color: #f5f1ec;
    font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
    text-align: center; padding: 8px 22px;
}
body.theme-minimal-clothing .mc-announce-msg { flex: 1 1 auto; }
/* Admin Login — অ্যানাউন্সমেন্ট বারের ডান পাশে, পিংক পিল, বাঁয়ে ফাঁকা জায়গা রেখে। */
body.theme-minimal-clothing .mc-announce-admin {
    flex: 0 0 auto;
    margin-left: 18px;
    align-items: center; gap: 6px;
    padding: 4px 14px; border-radius: 999px;
    background: #ec4899;
    border: 1px solid #ec4899;
    color: #fff; text-decoration: none;
    font-size: .68rem; letter-spacing: .1em; white-space: nowrap;
    transition: background .15s, border-color .15s;
}
body.theme-minimal-clothing .mc-announce-admin:hover,
body.theme-minimal-clothing .mc-announce-admin:focus {
    background: #db2777; border-color: #db2777; color: #fff;
}
body.theme-minimal-clothing .mc-announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ── হেডার ───────────────────────────────────────────────────── */
body.theme-minimal-clothing .mc-header {
    position: sticky; top: 0; z-index: 900;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s;
}
body.theme-minimal-clothing .mc-header.is-stuck { box-shadow: 0 1px 14px rgba(0,0,0,.06); }
body.theme-minimal-clothing .mc-header-inner {
    display: flex; align-items: center; gap: 18px; height: 68px;
}
body.theme-minimal-clothing .mc-brand {
    font-family: 'Marcellus', Georgia, serif;
    font-size: 1.35rem; letter-spacing: .1em; text-transform: uppercase;
    white-space: nowrap; flex-shrink: 0;
}
body.theme-minimal-clothing .mc-brand img { height: 34px; object-fit: contain; display: block; }

body.theme-minimal-clothing .mc-nav { display: flex; gap: 30px; margin-left: auto; }
body.theme-minimal-clothing .mc-nav > a {
    position: relative;
    font-size: .76rem; letter-spacing: .15em; text-transform: uppercase;
    color: var(--fg2); padding: 6px 0;
}
body.theme-minimal-clothing .mc-nav > a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--fg); transition: width .22s;
}
body.theme-minimal-clothing .mc-nav > a:hover,
body.theme-minimal-clothing .mc-nav > a.is-active { color: var(--fg); }
body.theme-minimal-clothing .mc-nav > a:hover::after,
body.theme-minimal-clothing .mc-nav > a.is-active::after { width: 100%; }

body.theme-minimal-clothing .mc-actions {
    display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0;
}
body.theme-minimal-clothing .mc-nav + .mc-actions { margin-left: 26px; }
body.theme-minimal-clothing .mc-icon {
    position: relative;
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    background: none; border: none; padding: 0;
    color: var(--fg); font-size: .98rem;
    transition: color .15s;
}
body.theme-minimal-clothing .mc-icon:hover { color: var(--accent); }
body.theme-minimal-clothing .mc-cart #cart-count-badge {
    position: absolute; top: 3px; right: 1px;
    min-width: 17px; height: 17px; padding: 0 5px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff;
    border-radius: 999px; font-size: .64rem; font-weight: 600;
}
body.theme-minimal-clothing .mc-dropdown {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 0; box-shadow: 0 8px 26px rgba(0,0,0,.08); min-width: 180px; padding: 6px;
}
body.theme-minimal-clothing .mc-dropdown .dropdown-item {
    font-size: .8rem; color: var(--fg2); padding: 8px 12px; border-radius: 0;
}
body.theme-minimal-clothing .mc-dropdown .dropdown-item:hover { background: var(--bg2); color: var(--fg); }
body.theme-minimal-clothing .mc-dd-name {
    font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent); padding: 6px 12px; display: block;
}

/* সার্চ প্যানেল — স্লাইড ডাউন */
body.theme-minimal-clothing .mc-search-panel {
    max-height: 0; overflow: hidden;
    border-top: 1px solid transparent;
    background: var(--bg2);
    transition: max-height .3s ease, border-color .3s;
}
body.theme-minimal-clothing .mc-search-panel.open { max-height: 130px; border-top-color: var(--line); }
body.theme-minimal-clothing .mc-search-panel form {
    display: flex; align-items: center; gap: 12px; padding: 22px 0;
}
body.theme-minimal-clothing .mc-search-panel input {
    flex: 1; min-width: 0;
    border: none; border-bottom: 1px solid var(--line2);
    background: none; outline: none;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 1.25rem; color: var(--fg); padding: 6px 2px;
}
body.theme-minimal-clothing .mc-search-panel input::placeholder { color: var(--line2); }
body.theme-minimal-clothing .mc-search-panel button {
    background: none; border: none; color: var(--fg); font-size: 1rem; padding: 6px 10px;
}

/* মোবাইল মেনু */
body.theme-minimal-clothing .mc-mobile-menu {
    display: none; flex-direction: column;
    border-top: 1px solid var(--line); background: var(--bg);
    padding: 8px 22px 18px;
}
body.theme-minimal-clothing .mc-mobile-menu.open { display: flex; }
body.theme-minimal-clothing .mc-mobile-menu a {
    padding: 11px 0; border-bottom: 1px solid var(--line);
    font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg2);
}
body.theme-minimal-clothing .mc-mobile-menu a:last-child { border-bottom: none; }

/* ── ক্যাটাগরি স্ট্রিপ ─────────────────────────────────────────── */
body.theme-minimal-clothing .mc-cat-strip { border-bottom: 1px solid var(--line); background: var(--bg); }
body.theme-minimal-clothing .mc-cat-scroll {
    display: flex; gap: 26px; overflow-x: auto;
    padding: 11px 0; scrollbar-width: none;
}
body.theme-minimal-clothing .mc-cat-scroll::-webkit-scrollbar { display: none; }
body.theme-minimal-clothing .mc-cat-scroll a {
    font-size: .73rem; letter-spacing: .13em; text-transform: uppercase;
    color: var(--fg2); white-space: nowrap;
}
body.theme-minimal-clothing .mc-cat-scroll a:hover { color: var(--accent); }


/* ── হিরো ────────────────────────────────────────────────────── */
body.theme-minimal-clothing .mc-hero {
    position: relative;
    min-height: 78vh;
    display: flex; align-items: center;
    background: var(--bg2) center/cover no-repeat;
}
body.theme-minimal-clothing .mc-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.16) 52%, transparent 78%);
}
body.theme-minimal-clothing .mc-hero.no-img::after { background: none; }
body.theme-minimal-clothing .mc-hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 60px 22px;
}
body.theme-minimal-clothing .mc-hero-box { max-width: 40ch; color: #fff; }
body.theme-minimal-clothing .mc-hero.no-img .mc-hero-box { color: var(--fg); }
body.theme-minimal-clothing .mc-hero-box h1 {
    font-size: clamp(2.3rem, 5.6vw, 4.2rem); color: inherit; margin: 0 0 1rem;
}
body.theme-minimal-clothing .mc-hero-box p {
    color: inherit; opacity: .9; font-size: 1rem; margin: 0 0 2rem; max-width: 44ch;
}
body.theme-minimal-clothing .mc-hero .mc-eyebrow { color: inherit; opacity: .85; }
body.theme-minimal-clothing .mc-hero.no-img .mc-eyebrow { color: var(--accent); opacity: 1; }

/* ── ক্যাটাগরি টাইল ──────────────────────────────────────────── */
body.theme-minimal-clothing .mc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
body.theme-minimal-clothing .mc-tile {
    position: relative; display: flex; align-items: flex-end;
    min-height: 380px; overflow: hidden;
    background: var(--bg3) center/cover no-repeat;
}
body.theme-minimal-clothing .mc-tile::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.58), rgba(0,0,0,.05) 60%, transparent);
    transition: opacity .25s;
}
body.theme-minimal-clothing .mc-tile:hover::after { opacity: .8; }
body.theme-minimal-clothing .mc-tile.is-plain { background: var(--bg3); }
body.theme-minimal-clothing .mc-tile.is-plain::after { background: none; }
body.theme-minimal-clothing .mc-tile-body { position: relative; z-index: 2; padding: 24px 26px; }
body.theme-minimal-clothing .mc-tile h3 { font-size: 1.6rem; color: #fff; margin: 0 0 .3rem; }
body.theme-minimal-clothing .mc-tile span {
    font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
body.theme-minimal-clothing .mc-tile.is-plain h3 { color: var(--fg); }
body.theme-minimal-clothing .mc-tile.is-plain span { color: var(--fg2); }

/* ── প্রোডাক্ট গ্রিড ─────────────────────────────────────────────
   ইচ্ছে করেই .home-product-grid নয় — অ্যাডমিনের grid_cols সেটিং
   /shop পেজে আগের মতোই কাজ করে, হোমের এই গ্রিড নিজের মতো থাকে। */
body.theme-minimal-clothing .mc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
body.theme-minimal-clothing .mc-cell { min-width: 0; }

/* ── প্রোডাক্ট কার্ড ─────────────────────────────────────────── */
body.theme-minimal-clothing .product-card {
    background: none; border: none; border-radius: 0; box-shadow: none;
    display: flex; flex-direction: column;
}
body.theme-minimal-clothing .product-card:hover { transform: none; box-shadow: none; }
body.theme-minimal-clothing .product-card .img-wrap {
    position: relative;
    aspect-ratio: 3 / 4; height: auto;
    background: var(--bg2); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
body.theme-minimal-clothing .product-card .img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 0 !important;
    transition: transform .6s ease, opacity .35s ease;
}
body.theme-minimal-clothing .product-card:hover .img-wrap img { transform: scale(1.045); }
/* হোভারে দ্বিতীয় ছবি (থাকলে) */
body.theme-minimal-clothing .product-card .img-alt {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .35s ease;
}
body.theme-minimal-clothing .product-card:hover .img-alt { opacity: 1; }

body.theme-minimal-clothing .mc-tag {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    background: var(--fg); color: #fff;
    font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
    padding: 4px 9px;
}
body.theme-minimal-clothing .mc-tag-out { background: #fff; color: var(--fg); }

/* কুইক-অ্যাড বার — ছবির নিচ থেকে উঠে আসে */
body.theme-minimal-clothing .mc-quick {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    padding: 10px;
    transform: translateY(100%); opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}
body.theme-minimal-clothing .product-card:hover .mc-quick { transform: translateY(0); opacity: 1; }
body.theme-minimal-clothing .mc-quick .card-btn-group { display: flex; gap: 8px; }
body.theme-minimal-clothing .mc-quick .card-btn-form { flex: 1; }
body.theme-minimal-clothing .mc-quick .btn-add-cart,
body.theme-minimal-clothing .mc-quick .btn-buy-now-card {
    width: 100%; border: none;
    padding: 11px 8px;
    font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    background: #fff; color: var(--fg);
    border-radius: 0; transition: background .16s, color .16s;
}
body.theme-minimal-clothing .mc-quick .btn-buy-now-card { background: var(--fg); color: #fff; }
body.theme-minimal-clothing .mc-quick .btn-add-cart:hover { background: var(--accent); color: #fff; }
body.theme-minimal-clothing .mc-quick .btn-buy-now-card:hover { background: var(--accent); }

body.theme-minimal-clothing .product-card .card-body { padding: 14px 2px 0; text-align: center; }
body.theme-minimal-clothing .product-card .card-body h6 {
    font-family: 'Jost', sans-serif;
    font-size: .86rem; font-weight: 400; letter-spacing: .01em; color: var(--fg);
}
body.theme-minimal-clothing .product-card .price {
    font-family: 'Marcellus', Georgia, serif;
    font-size: 1rem; color: var(--fg); font-weight: 400;
}
body.theme-minimal-clothing .mc-muted { color: var(--fg2); font-size: .8rem; }

/* মোবাইলে হোভার নেই — কুইক-অ্যাড সবসময় দেখাই */
@media (hover: none) {
    body.theme-minimal-clothing .mc-quick { position: static; transform: none; opacity: 1; padding: 10px 0 0; }
    body.theme-minimal-clothing .mc-quick .btn-add-cart { background: var(--bg2); }
}

/* ── প্রোমো স্প্লিট ──────────────────────────────────────────── */
body.theme-minimal-clothing .mc-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
body.theme-minimal-clothing .mc-split-media { min-height: 460px; background: var(--bg3) center/cover no-repeat; }
body.theme-minimal-clothing .mc-split-body {
    background: var(--bg2);
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(2.2rem, 6vw, 5rem);
}
body.theme-minimal-clothing .mc-split-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 0 1rem; }
body.theme-minimal-clothing .mc-split-body p { margin: 0 0 1.8rem; max-width: 46ch; }

/* ── সার্ভিস স্ট্রিপ ────────────────────────────────────────────── */
body.theme-minimal-clothing .mc-services {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}
body.theme-minimal-clothing .mc-service {
    padding: 34px 22px; text-align: center;
    border-right: 1px solid var(--line);
}
body.theme-minimal-clothing .mc-service:last-child { border-right: none; }
body.theme-minimal-clothing .mc-service i { font-size: 1.35rem; color: var(--accent); margin-bottom: 12px; display: block; }
body.theme-minimal-clothing .mc-service h6 {
    font-family: 'Jost', sans-serif;
    font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; margin: 0 0 .35rem;
}
body.theme-minimal-clothing .mc-service p { font-size: .8rem; margin: 0; }

/* ── ফুটার — shop.css এর ডার্ক ফুটারকে হালকা করে দিই ─────────── */
body.theme-minimal-clothing footer { background: var(--bg2); color: var(--fg2); }
body.theme-minimal-clothing footer .ft-top { background: var(--bg2); border-top: 1px solid var(--line); }
body.theme-minimal-clothing footer h6 {
    font-family: 'Jost', sans-serif;
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg);
}
body.theme-minimal-clothing footer a { color: var(--fg2); }
body.theme-minimal-clothing footer a:hover { color: var(--accent); }
body.theme-minimal-clothing footer .ft-brand { font-family: 'Marcellus', Georgia, serif; font-size: 1.3rem; letter-spacing: .1em; text-transform: uppercase; }
body.theme-minimal-clothing footer .social-btn {
    background: none; border: 1px solid var(--line2); color: var(--fg2); border-radius: 0;
}
body.theme-minimal-clothing footer .social-btn:hover { background: var(--fg); border-color: var(--fg); color: #fff; }
body.theme-minimal-clothing footer .ci i { color: var(--accent); }
body.theme-minimal-clothing footer .ft-bottom {
    background: var(--bg2); border-top: 1px solid var(--line); color: var(--fg2); font-size: .78rem;
}

/* ── রেসপন্সিভ ───────────────────────────────────────────────── */
@media (max-width: 991px) {
    body.theme-minimal-clothing .mc-tiles { grid-template-columns: repeat(2, 1fr); }
    body.theme-minimal-clothing .mc-tile { min-height: 300px; }
    body.theme-minimal-clothing .mc-grid { grid-template-columns: repeat(3, 1fr); }
    body.theme-minimal-clothing .mc-services { grid-template-columns: repeat(2, 1fr); }
    body.theme-minimal-clothing .mc-service:nth-child(2) { border-right: none; }
    body.theme-minimal-clothing .mc-service:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
    body.theme-minimal-clothing { font-size: 14px; }
    body.theme-minimal-clothing .mc-header-inner { height: 58px; gap: 10px; }
    body.theme-minimal-clothing .mc-brand { font-size: 1.1rem; }
    body.theme-minimal-clothing .mc-hero { min-height: 62vh; }
    body.theme-minimal-clothing .mc-hero::after { background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.12) 65%, transparent); }
    body.theme-minimal-clothing .mc-tiles { grid-template-columns: 1fr; }
    body.theme-minimal-clothing .mc-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
    body.theme-minimal-clothing .mc-split { grid-template-columns: 1fr; }
    body.theme-minimal-clothing .mc-split-media { min-height: 300px; }
}
