/*
Theme Name: TSM Minimal
Theme URI: https://www.t-shirtmanufacturer.com/
Author: SiATEX Bangladesh
Author URI: https://www.t-shirtmanufacturer.com/
Description: Ultra-minimal locked design for T-ShirtManufacturer.com. Plain white, 1160px container, Georgia serif type, hero phase, four-per-row product grids. Classic Editor only - no Gutenberg.
Version: 1.0.50
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsm-minimal
*/

*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;color:#111;background:#fff;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:#111;text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}

/* Top ribbon - full width, above the header */
.ribbon{background:#4169E1;color:#fff;font-family:Arial,sans-serif;font-size:12.5px;line-height:1.4;padding:8px 0}
.ribbon-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:0 20px}
.ribbon a{color:#fff}
.ribbon a:hover{text-decoration:underline}
.ribbon-toggle span{background:#fff}

/* Header */
header.site .wrap{display:flex;align-items:baseline;gap:34px;padding-top:26px;padding-bottom:26px;flex-wrap:wrap}
.brand img{height:34px;width:auto;display:block}
.logo{font-size:20px;font-weight:bold;letter-spacing:-.01em}
.logo a:hover{text-decoration:none}
.logo small{display:block;font-family:Arial,sans-serif;font-size:10.5px;font-weight:normal;letter-spacing:.18em;color:#555;text-transform:uppercase;margin-top:3px}
nav.main{margin-left:auto}
.main{display:flex;gap:22px;list-style:none;font-family:Arial,sans-serif;font-size:15.5px;flex-wrap:wrap}
.main a{color:#333}
.main .current-menu-item a,.main .current_page_item a{color:#111;text-decoration:underline}

/* Hero phase (front page) */
.hero{position:relative;margin-top:36px}
.hero .himg{width:100%;height:560px;object-fit:cover}
.hero .panel{position:absolute;left:0;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.96);padding:44px 46px;max-width:540px}
.hero .panel .kick{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#555;margin-bottom:14px}
.hero h1{font-size:42px;font-weight:normal;line-height:1.16;letter-spacing:-.015em}
.hero p{font-size:17.5px;line-height:1.65;color:#444;margin:18px 0 26px}

/* Buttons */
.btn{display:inline-block;font-family:Arial,sans-serif;font-size:14.5px;background:#111;color:#fff;padding:14px 30px;border:1px solid #111;cursor:pointer}
.btn:hover{background:#fff;color:#111;text-decoration:none}
.btn.light{background:#fff;color:#111}
.btn.light:hover{background:#111;color:#fff}

.caption{font-family:Arial,sans-serif;font-size:12.5px;color:#666;margin-top:10px}

/* Sections and headings */
section{padding:64px 0 8px}
h2{font-size:26px;font-weight:normal;letter-spacing:-.01em;margin-bottom:8px}
.rule{width:34px;height:2px;background:#111;margin:16px 0 30px}
.page-head{padding:44px 0 6px}
.page-head h1{font-size:34px;font-weight:normal;line-height:1.25;letter-spacing:-.01em}

/* What we make - four per row */
.plist{display:grid;grid-template-columns:repeat(4,1fr);gap:36px 28px}
.pitem img{width:100%;aspect-ratio:1/1;object-fit:cover;margin-bottom:12px}
.pitem h3{font-size:17.5px;font-weight:normal}
.pitem p{color:#444;font-size:14.5px;line-height:1.55;margin-top:4px}
.pitem a.more{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.05em;text-transform:uppercase;display:inline-block;margin-top:9px;border-bottom:1px solid #111;padding-bottom:2px}

/* Two text columns */
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.txt p{font-size:16.5px;line-height:1.75;color:#333;margin-bottom:16px}
.steps{font-size:16.5px;line-height:2.15;color:#222}
.steps b{font-family:Arial,sans-serif;font-size:12.5px;color:#666;font-weight:normal;margin-right:14px;letter-spacing:.1em}

/* Enquiry form - underlined fields only */
form.q{max-width:520px}
form.q label{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#555;display:block;margin:22px 0 7px}
form.q input,form.q textarea{width:100%;border:0;border-bottom:1px solid #bbb;padding:9px 0;font:inherit;font-size:16.5px;background:transparent;outline:none;border-radius:0}
form.q input:focus,form.q textarea:focus{border-bottom-color:#111}
form.q textarea{min-height:84px;resize:vertical}
form.q button{margin-top:30px}
.form-status{font-family:Arial,sans-serif;font-size:14px;color:#111;margin-top:18px;line-height:1.5}

/* Floating enquiry button + popup (button colour matches the ribbon) */
.enquiry-fab{position:fixed;right:24px;bottom:24px;width:56px;height:56px;border-radius:50%;background:#4169E1;border:0;padding:0;cursor:pointer;z-index:9990;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 16px rgba(0,0,0,.28)}
.enquiry-fab:hover{background:#2f56c4}
.enquiry-fab.fab-mail{bottom:92px}
.enquiry-overlay{position:fixed;inset:0;z-index:9999}
.enquiry-overlay[hidden]{display:none}
.enquiry-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.enquiry-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;width:calc(100% - 40px);max-width:520px;max-height:calc(100vh - 48px);overflow:auto;padding:38px 42px 42px;box-shadow:0 12px 44px rgba(0,0,0,.3)}
.enquiry-card section{padding:0}
.enquiry-close{position:absolute;top:8px;right:14px;background:none;border:0;padding:6px;font-family:Arial,sans-serif;font-size:30px;line-height:1;color:#111;cursor:pointer}
@media(max-width:700px){
.enquiry-card{padding:30px 24px 34px}
}

/* Footer - four columns: brand, Products menu, Information menu, contact */
footer.site{border-top:1px solid #e4e4e4;margin-top:80px;padding:44px 0 32px;color:#333}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:44px}
.foot-brand{font-size:17px;font-weight:bold;letter-spacing:-.01em;color:#111;margin-bottom:12px}
.foot-col p{font-size:14.5px;line-height:1.65;color:#444;margin-bottom:10px}
.foot-col .ql-label{margin-bottom:10px}
.foot-list{list-style:none}
.foot-list a{display:block;padding:5px 0;font-size:14.5px;line-height:1.5;color:#333}
.foot-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #e4e4e4;margin-top:40px;padding-top:20px;font-family:Arial,sans-serif;font-size:12.5px;color:#555}
@media(max-width:900px){
.foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
.foot-grid{grid-template-columns:1fr}
.foot-bottom{flex-direction:column;gap:6px}
}

/* Breadcrumb */
.crumb{font-family:Arial,sans-serif;font-size:12.5px;color:#666;padding:30px 0 0;letter-spacing:.04em}
.crumb a{color:#666}

/* Product page - two columns */
.pgrid{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding:30px 0 6px;align-items:start}
.pinfo h1{font-size:31px;font-weight:normal;line-height:1.3;letter-spacing:-.01em}
.pinfo .intro{color:#444;line-height:1.7;font-size:16.5px;margin:18px 0 26px}
.pinfo .btn{margin-top:4px}

/* Spec list - hairline rows, small caps labels */
dl.spec{border-top:1px solid #e4e4e4;margin-bottom:30px}
dl.spec div{display:flex;gap:18px;padding:11px 0;border-bottom:1px solid #e4e4e4;font-size:15px}
dl.spec dt{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#555;width:128px;flex:none;padding-top:3px}
dl.spec dd{color:#222;line-height:1.5}

/* Body copy (Classic Editor content) */
.body-copy{max-width:760px;padding:26px 0 4px}
.body-copy.wide{max-width:none}
.body-copy h2{font-size:22px;margin:30px 0 10px}
.body-copy h3{font-size:19px;font-weight:normal;margin:24px 0 8px}
.body-copy p{color:#333;line-height:1.8;font-size:16.5px;margin-bottom:14px}
.body-copy ul,.body-copy ol{color:#333;line-height:1.8;font-size:16.5px;margin:0 0 14px 22px}
.body-copy img{margin:18px 0}
.body-copy a{text-decoration:underline}

/* Content grid - body copy with the sticky Quick Links sidebar */
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:56px;align-items:start}
.content-grid .body-copy{max-width:none}
.cimg{margin:0 0 6px}
.cimg img{width:100%;height:auto;display:block}
.quick-links{position:sticky;top:28px;padding-top:26px}
.ql-label{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#555;margin-bottom:4px}
.ql-list{list-style:none;border-top:1px solid #e4e4e4;margin-bottom:28px}
.ql-list li{border-bottom:1px solid #e4e4e4}
.ql-list a{display:block;padding:11px 0;font-size:15.5px;line-height:1.45;color:#222}

/* Related products - full container width under the product hero,
   four in a row (two in a row under 900px, per the media query below);
   the generic section padding separates it from the hero */
.rel{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.rel img{width:100%;aspect-ratio:1/1;object-fit:cover;margin-bottom:10px}
.rel h3{font-size:16.5px;font-weight:normal}
.rel p{font-family:Arial,sans-serif;font-size:12.5px;color:#666;margin-top:3px}

/* Main column of the content grid may shrink below its content size */
.content-main{min-width:0}

/* Index list */
.post-list{padding:20px 0 0}
.post-list article{padding:22px 0;border-bottom:1px solid #e4e4e4}
.post-list h2{font-size:22px;margin-bottom:6px}
.post-list p{color:#444;font-size:15.5px;line-height:1.6}

@media(max-width:900px){
.plist,.rel{grid-template-columns:1fr 1fr}
.pgrid,.cols2{grid-template-columns:1fr}
.content-grid{grid-template-columns:1fr}
.quick-links{position:static;padding-top:6px}
.hero h1{font-size:30px}
.hero .himg{height:340px}
.hero .panel{position:static;transform:none;max-width:none;padding:28px 4px 8px}
}

/* Products mega menu (v1.0.16): the Products item leads the nav; its
   panel spans the header container and lists every category with its
   products, four columns. Desktop opens on hover or tap; phones use
   the tap as an accordion inside the nav flow. */
header.site .wrap{position:relative}
nav.main{display:flex;align-items:baseline;gap:22px}
.mega-item{order:-1}
.nav-toggle{display:none}
.mega-trigger{background:none;border:0;padding:0;font-family:Arial,sans-serif;font-size:15.5px;color:#333;cursor:pointer}
.mega-trigger:hover{text-decoration:underline}
.mega-trigger::after{content:'';display:inline-block;margin-left:7px;border-left:4.5px solid transparent;border-right:4.5px solid transparent;border-top:5px solid #555;vertical-align:middle}
.mega-item.open .mega-trigger::after{transform:rotate(180deg)}
.mega-panel{display:none;position:absolute;left:24px;right:24px;top:calc(100% - 24px);max-height:calc(100vh - 120px);overflow-y:auto;background:#fff;border:1px solid #e4e4e4;box-shadow:0 14px 34px rgba(0,0,0,.10);padding:26px 30px 22px;z-index:990;text-align:left}
.mega-item.open .mega-panel{display:block}
@media(min-width:901px){
.mega-item:hover .mega-panel{display:block}
}
.mega-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:30px}
.mega-cat{font-family:Arial,sans-serif;font-size:12.5px;font-weight:bold;letter-spacing:.08em;text-transform:uppercase;margin:16px 0 7px}
.mega-col .mega-cat:first-child{margin-top:0}
.mega-cat a{color:#111}
.mega-list{list-style:none;font-family:Arial,sans-serif}
.mega-list a{display:block;padding:3.5px 0;font-size:13.5px;line-height:1.4;color:#333}
.mega-foot{border-top:1px solid #e4e4e4;margin-top:20px;padding-top:14px;font-family:Arial,sans-serif;font-size:13.5px;color:#555}
.mega-foot a{color:#111;margin-left:14px;text-decoration:underline}
@media(max-width:900px){
nav.main{flex-wrap:wrap;align-items:center}
.mega-item{display:none}
nav.main.nav-open .mega-item{display:block;flex:1 1 100%}
nav.main.nav-open .mega-item.open .mega-panel{position:static;max-height:none;box-shadow:none;border:0;border-top:1px solid #eee;padding:14px 0 6px;margin-top:8px}
.nav-toggle{display:block;background:none;border:0;padding:6px 2px;cursor:pointer}
.nav-toggle span{display:block;width:24px;height:2px;background:#fff;margin:5px 0;transition:transform .2s ease,opacity .2s ease}
.nav-toggle span:first-child{margin-top:0}
.nav-toggle span:last-child{margin-bottom:0}
.nav-toggle.nav-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.nav-open span:nth-child(2){opacity:0}
.nav-toggle.nav-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
nav.main ul.main{display:none;flex:1 1 100%;flex-direction:column;gap:0;margin-top:10px}
nav.main.nav-open ul.main{display:flex}
nav.main ul.main li a{display:block;padding:11px 0;border-top:1px solid #eee}
.mega-panel{top:100%;max-height:calc(100vh - 170px);padding:22px 24px 18px}
.mega-cols{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
.mega-cols{grid-template-columns:1fr}
}

/* Enquiry cart (v1.0.16): floating cart button with count badge, basket
   rows inside the enquiry popup, Add to Cart buttons, exit warning. */
.fab-badge{position:absolute;top:-4px;right:-4px;min-width:22px;height:22px;border-radius:11px;background:#111;color:#fff;font-family:Arial,sans-serif;font-size:12px;font-weight:bold;line-height:22px;text-align:center;padding:0 5px}
.cart-box{margin-bottom:4px}
.cart-head{font-family:Arial,sans-serif;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#555;margin-bottom:2px}
.cart-empty{font-size:15px;line-height:1.6;color:#444;border-bottom:1px solid #e4e4e4;padding:10px 0 16px}
.cart-row{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #e4e4e4}
.cart-row img{width:56px;height:56px;object-fit:cover;flex:none}
.cart-info{flex:1;min-width:0}
.cart-name{font-size:15.5px;line-height:1.35;color:#111}
.cart-controls{display:flex;gap:10px;align-items:center;margin-top:7px;font-family:Arial,sans-serif;font-size:12.5px;color:#555}
.cart-controls input[type=number]{width:64px;border:0;border-bottom:1px solid #bbb;padding:4px 0;font-family:Arial,sans-serif;font-size:14px;background:transparent;outline:none;border-radius:0}
.cart-controls .cart-note{flex:1;min-width:0;border:0;border-bottom:1px solid #bbb;padding:4px 0;font-family:Arial,sans-serif;font-size:14px;background:transparent;outline:none;border-radius:0}
.cart-remove{background:none;border:0;font-size:22px;line-height:1;color:#666;cursor:pointer;padding:2px 4px}
.add-note{margin-top:12px;font-family:Arial,sans-serif;font-size:13.5px}
.add-note a{color:#111;text-decoration:underline}
.add-mini{margin-top:9px;background:none;border:1px solid #111;color:#111;font-family:Arial,sans-serif;font-size:12.5px;padding:8px 14px;cursor:pointer}
.add-mini:hover{background:#111;color:#fff}
.btn.added,.add-mini.added{background:#4169E1;border-color:#4169E1;color:#fff}
.exit-overlay{position:fixed;inset:0;z-index:9999}
.exit-overlay[hidden]{display:none}
.exit-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;width:calc(100% - 40px);max-width:440px;padding:36px 38px 30px;box-shadow:0 12px 44px rgba(0,0,0,.3)}
.exit-card h2{font-size:23px;margin-bottom:10px}
.exit-card p{font-size:16px;line-height:1.65;color:#333;margin-bottom:22px}
.exit-leave{display:block;background:none;border:0;margin-top:16px;font-family:Arial,sans-serif;font-size:13.5px;color:#555;cursor:pointer;text-decoration:underline;padding:0}
.page-hero{margin:0 0 34px}
.page-hero img{width:100%;height:auto;aspect-ratio:1160/460;object-fit:cover;display:block}
.page-hero.map-hero{aspect-ratio:1160/460}
.page-hero.map-hero iframe{width:100%;height:100%;border:0;display:block}
.page-hero figcaption{font-size:13px;color:#555;margin-top:8px}
/* Desktop nav order (owner, 2026-11-21): Home first, then Products, then the rest.
   The menu ul becomes display:contents so its items join the nav flex row,
   where Home (first item) orders before the mega Products item. */
@media(min-width:901px){
nav.main > ul.main{display:contents}
nav.main > ul.main > li:first-child{order:-2}
}

/* SX-GALLERY-2026-11-21: factory presentation grid inside body copy */
.factory-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:8px 0 12px}
.factory-gallery figure{margin:0;min-width:0}
.factory-gallery img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}
.factory-gallery figcaption{font-size:13px;color:#555;margin-top:7px;line-height:1.45}
.factory-gallery figcaption strong{display:block;color:#333;font-weight:600;font-size:13.5px}
@media(max-width:700px){.factory-gallery{grid-template-columns:repeat(2,1fr);gap:12px}}

/* SX-WA-2026-11-21: WhatsApp registration FAB + form select */
.enquiry-fab.fab-wa{bottom:160px;background:#25D366}
.enquiry-fab.fab-wa:hover{background:#1eb85a}
form.q select{width:100%;border:0;border-bottom:1px solid #bbb;padding:9px 0;font:inherit;font-size:16.5px;background:transparent;outline:none;border-radius:0}
form.q select:focus{border-bottom-color:#111}

/* SX-HERO-2026-11-21 (owner order): a product picture in the page banner
   is shown WHOLE - never centre-cropped into a half garment. Product
   singles sit on pure white, so contain in the banner band is seamless.
   Real factory scene photos (capability and factory prefixes) keep the
   wide cover banner.
   FIX 2026-11-21 v1.0.41: the original comment text contained a star-
   slash sequence inside it, which closed the comment early and made
   the CSS parser swallow the contain rule below - the rule was dead
   from the day it was written and the banners kept cropping. Never
   put a star-slash pair inside a CSS comment. */
.page-hero.product img{object-fit:contain;background:#fff}

/* SX-LOGO-2026-11-21 (owner order): the logo was too small and the
   header felt cramped on desktop - bigger wordmark, more air above it,
   a taller header overall. */
.brand img{height:48px}
.logo small{font-size:11.5px;margin-top:5px}
header.site .wrap{padding-top:38px;padding-bottom:32px}

/* SX-RIBBON-2026-11-21 (owner order): the desktop ribbon carries the
   slogan on the LEFT and the email on the RIGHT, as originally built.
   On mobile the slogan steps aside: hamburger left, email right. */
@media(max-width:900px){.ribbon-slogan{display:none}}


/* SX-SLIDER-2026-11-21: homepage hero slider - big pictures rotate inside
   the hero itself (product first, then real factory photographs); the
   panel stays above the slides; small dots navigate. */
.hero .hslide.abs{position:absolute;inset:0;height:100%}
.hero .hslide{opacity:0;transition:opacity 1.1s ease}
.hero .hslide.on{opacity:1}
.hero .panel{z-index:3}
.hero-dots{position:absolute;right:18px;bottom:14px;display:flex;gap:8px;z-index:3}
.hero-dots button{width:9px;height:9px;border-radius:50%;border:1px solid #fff;background:rgba(255,255,255,.35);padding:0;cursor:pointer}
.hero-dots button.on{background:#fff}
/* SX-WASH-2026-11-21: the real factory slides carry a light white wash
   (owner's idea, softened version) so the busy photographs sit calmly
   beside the white product slide; the headline panel stays solid. */
.hero .fslide{filter:brightness(1.07) contrast(.94) saturate(.84)}

/* SX-GREY-2026-11-21 (colour set 2026-11-21 v1.0.47): the hero stage colour equals the hero photo own right-bottom backdrop tone, so the whole hero reads one equal colour (owner order). */
.hero{background:#eae9ec}
.hero .himg{background:#eae9ec}

/* SX-STAGE-2026-11-21: very light grey stage under the product/category hero picture; the picture sits on top in multiply mode so its white background reads light grey while the garment keeps its colours (owner order).
   v1.0.41 (owner order): the stage wraps ONLY the picture; the caption
   sits below the stage on the white page, never on the grey. */
.pgrid .stage{background:#f2f2f2}
.pgrid .stage img{mix-blend-mode:multiply;display:block}

/* SX-MEGA-AIR-2026-11-21: loosen the mega menu line spacing a little (owner: the lines felt crowded). */
.mega-list a{padding:5.5px 0;line-height:1.5}
.mega-cat{margin:20px 0 8px}

/* SX-MARKETS-2026-11-21: country pages cross-link block at the foot of the
   body copy (internal linking: every country page links to the others). */
.markets{margin-top:34px;padding-top:18px;border-top:1px solid #e3e3e3}
.markets-label{display:block;font-family:Arial,sans-serif;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#777;margin-bottom:8px}
.markets p{font-size:14px;line-height:1.9;color:#555}
.markets a{color:#333;text-decoration:none}
.markets a:hover{text-decoration:underline}

/* SX-REORG-2026-11-21: homepage body sits in the standard content grid
   (owner order: Quick Links sticky sidebar beside the home body copy,
   same as every other content page). No new rules needed - .content-grid
   and the Quick Links styles already exist; marker only. */

/* SX-TILELINK-2026-11-21: homepage "What we make" tiles - the picture and the title carry the same link as View (owner order). */
.pitem a.pimg{display:block}
.pitem h3 a{color:inherit;text-decoration:none}
