/**
 * Smoke Corp — phone-only polish.
 * Desktop (≥769px) is unchanged.
 */

@media (max-width: 768px) {
	html {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}

	:root {
		/* Minimal readable type — nothing tiny */
		--sc-font-size-display: clamp(1.875rem, 8vw, 2.35rem);
		--sc-font-size-h1: clamp(1.625rem, 6.5vw, 2rem);
		--sc-font-size-h2: clamp(1.375rem, 5.5vw, 1.625rem);
		--sc-font-size-h3: 1.1875rem;
		--sc-font-size-h4: 1.0625rem;
		--sc-font-size-body: 1.0625rem;
		--sc-font-size-body-lg: 1.125rem;
		--sc-font-size-small: 1rem;
		--sc-font-size-xs: 0.9375rem;
		--sc-font-size-price: 1.25rem;
		--sc-font-size-price-lg: 1.625rem;
		--sc-line-height-body: 1.5;
		--sc-container-padding: 16px;
		--sc-grid-gap: 12px;
		--sc-space-5: 18px;
		--sc-space-6: 24px;
		--sc-space-7: 36px;
		--sc-space-8: 48px;
		--sc-space-9: 48px;
		--sc-space-10: 64px;
	}

	body.smoke-corp-theme,
	.smoke-corp-theme {
		font-size: var(--sc-font-size-body);
		line-height: var(--sc-line-height-body);
	}

	/* Hide unused / redundant chrome on phone */
	.sc-topbar,
	.sc-header__catalog-btn,
	.sc-mobile-nav__search,
	.sc-product-card__wishlist,
	.sc-product-card__cashback,
	.sc-product-card__brand,
	.sc-stars__count,
	.sc-hero-slide__label,
	.sc-sale-banner__badge,
	.sc-sale-banner__text,
	.sc-countdown__label,
	.sc-section__subtitle,
	.sc-featured-cat__desc,
	.sc-quick-cats,
	.sc-trust-bar {
		display: none !important;
	}

	/* ----- Header ----- */
	.sc-header__logo,
	.sc-header__logo a,
	.sc-site-logo,
	.custom-logo-link + .site-title,
	.sc-header .site-branding .site-title {
		font-size: 1.125rem !important;
		letter-spacing: -0.02em;
	}

	.sc-header__main {
		padding: 12px 0 !important;
		row-gap: 12px !important;
	}

	.sc-header__search input[type="search"],
	.sc-header__search .search-field,
	.sc-header__search input {
		font-size: 16px !important; /* stops iOS zoom on focus */
		min-height: 44px;
	}

	.sc-header__catalog-btn,
	.sc-header__action,
	.sc-header__menu-toggle {
		min-width: 44px;
		min-height: 44px;
	}

	.sc-section__link {
		font-size: 1rem !important;
		letter-spacing: 0.04em;
	}

	.sc-badge--sale,
	.sc-badge--top,
	.sc-product-card__badges .sc-badge {
		font-size: 0.8125rem !important;
		padding: 5px 9px !important;
	}

	/* ----- Hero ----- */
	.sc-hero-carousel__track {
		height: auto !important;
		min-height: 220px;
	}

	.sc-hero-slide__inner {
		padding: 28px 4px 36px;
		align-items: flex-start;
	}

	.sc-hero-slide__content {
		max-width: 100%;
	}

	.sc-hero-slide__title {
		font-size: clamp(1.75rem, 7.5vw, 2.125rem) !important;
		line-height: 1.15 !important;
		margin-bottom: 14px !important;
	}

	.sc-hero-slide__text {
		font-size: 1.0625rem !important;
		line-height: 1.5 !important;
		margin-bottom: 22px !important;
	}

	.sc-hero-slide__content .sc-btn,
	.sc-hero-slide__content a.button {
		font-size: 0.9375rem !important;
		padding: 12px 20px !important;
		min-height: 44px;
	}

	/* ----- Sections ----- */
	.sc-section-header,
	.sc-section__header {
		gap: 8px;
		margin-bottom: 16px;
	}

	.sc-section-title,
	.sc-section__title,
	.smoke-corp-theme .sc-section h2,
	.sc-featured-products .sc-section-title,
	.sc-sale-products .sc-section-title,
	.sc-new-products .sc-section-title,
	.sc-featured-cats h2 {
		font-size: var(--sc-font-size-h2) !important;
		line-height: 1.25 !important;
		letter-spacing: -0.02em;
	}

	.sc-section-subtitle,
	.sc-section__subtitle {
		font-size: var(--sc-font-size-small) !important;
		line-height: 1.45 !important;
	}

	/* ----- Product grid: keep 2 cols, readable cards ----- */
	.smoke-corp-theme ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	.smoke-corp-theme ul.products li.product,
	.sc-product-card {
		min-width: 0;
	}

	.sc-product-card__body {
		padding: 12px 12px 14px !important;
	}

	.sc-product-card__title,
	.smoke-corp-theme ul.products li.product .woocommerce-loop-product__title,
	.smoke-corp-theme ul.products li.product h2,
	.smoke-corp-theme ul.products li.product .sc-product-card__title {
		font-size: 0.9375rem !important;
		line-height: 1.35 !important;
		min-height: 0 !important;
		margin-bottom: 10px !important;
		-webkit-line-clamp: 3;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.sc-product-card__price,
	.sc-product-card__price .amount,
	.smoke-corp-theme ul.products li.product .price,
	.smoke-corp-theme ul.products li.product .price .amount {
		font-size: 1.125rem !important;
		font-weight: 700 !important;
	}

	.sc-product-card__price del,
	.smoke-corp-theme ul.products li.product .price del,
	.smoke-corp-theme ul.products li.product .price del .amount {
		font-size: 0.875rem !important;
	}

	.sc-stars__value {
		font-size: 0.9375rem !important;
	}

	/* ----- Luxury angles + button geometry (phone) ----- */
	:root {
		--sc-radius-sm: 2px;
		--sc-radius-md: 3px;
		--sc-radius-lg: 4px;
		--sc-radius-xl: 6px;
	}

	.sc-product-card,
	.smoke-corp-theme ul.products li.product .sc-product-card {
		border-radius: 4px !important;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		border-color: rgba(255, 255, 255, 0.08) !important;
		background: var(--sc-surface-card);
	}

	.sc-product-card__image-wrap {
		border-radius: 0 !important;
	}

	.sc-product-card__badges .sc-badge,
	.sc-badge--sale,
	.sc-badge--top {
		border-radius: 2px !important;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.sc-product-card__wishlist {
		display: none !important;
	}

	.sc-product-card__body {
		display: flex;
		flex-direction: column;
		flex: 1;
		padding: 12px 12px 0 !important;
	}

	.sc-product-card__price-row {
		margin-top: auto;
		margin-bottom: 0 !important;
		padding: 4px 0 12px;
		align-items: flex-end;
	}

	.sc-product-card__footer {
		margin: 0 -12px 0;
		padding: 0;
	}

	.sc-product-card .button,
	.sc-product-card .add_to_cart_button,
	.sc-product-card__atc,
	.smoke-corp-theme ul.products li.product .button,
	.smoke-corp-theme ul.products li.product a.button,
	.smoke-corp-theme ul.products li.product .sc-btn {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 42px !important;
		height: 42px !important;
		margin: 0 !important;
		padding: 0 12px !important;
		font-size: 0.8125rem !important;
		font-weight: 700 !important;
		letter-spacing: 0.1em !important;
		text-transform: uppercase !important;
		border-radius: 0 !important;
		border: none !important;
		box-shadow: none !important;
	}

	/* ----- Hero CTA placement ----- */
	.sc-hero-slide__inner {
		padding: 32px 8px 40px;
	}

	.sc-hero-slide__content .sc-btn,
	.sc-hero-slide__content a.button,
	.sc-hero-slide__content a.sc-btn {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		min-width: min(100%, 220px);
		min-height: 48px !important;
		height: 48px !important;
		padding: 0 22px !important;
		font-size: 0.75rem !important;
		font-weight: 700 !important;
		letter-spacing: 0.14em !important;
		text-transform: uppercase !important;
		border-radius: 2px !important;
		box-shadow: none !important;
	}

	.sc-header__catalog-btn {
		display: none !important;
	}

	.sc-header__search input[type="search"],
	.sc-header__search .search-field,
	.sc-header__search input {
		border-radius: 2px !important;
	}

	/* ----- Sale / promo buttons ----- */
	.sc-sale-banner__inner {
		border-radius: 4px !important;
		position: relative;
	}

	.sc-sale-banner__inner .sc-btn,
	.sc-sale-banner a.sc-btn,
	.sc-sale-banner a.button {
		align-self: stretch;
		width: 100%;
		min-height: 48px !important;
		height: 48px !important;
		margin-top: 4px;
		border-radius: 2px !important;
		letter-spacing: 0.12em !important;
		text-transform: uppercase !important;
		font-size: 0.75rem !important;
		box-shadow: none !important;
	}

	.sc-countdown__item {
		border-radius: 2px !important;
		min-width: 52px;
	}

	.sc-featured-cat,
	.sc-promo-widget,
	.sc-quick-cat {
		border-radius: 4px !important;
	}

	.sc-quick-cat__icon {
		border-radius: 3px !important;
	}

	/* ----- Single product ATC ----- */
	.smoke-corp-theme div.product form.cart {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.smoke-corp-theme div.product form.cart .quantity {
		width: 100%;
	}

	.smoke-corp-theme div.product form.cart .button,
	.smoke-corp-theme div.product .single_add_to_cart_button {
		width: 100% !important;
		min-height: 52px !important;
		height: 52px !important;
		margin: 0 !important;
		border-radius: 2px !important;
		letter-spacing: 0.14em !important;
		text-transform: uppercase !important;
		font-size: 0.8125rem !important;
		box-shadow: none !important;
	}

	.sc-sticky-atc {
		border-radius: 0 !important;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		gap: 12px;
		align-items: center;
	}

	.sc-sticky-atc .button {
		flex: 1;
		min-height: 48px !important;
		border-radius: 2px !important;
		letter-spacing: 0.12em !important;
		text-transform: uppercase !important;
		font-size: 0.75rem !important;
		box-shadow: none !important;
	}

	/* ----- Age gate buttons ----- */
	.sc-age-gate__dialog {
		border-radius: 6px !important;
	}

	.sc-age-gate__actions {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
	}

	.sc-age-gate__actions .sc-btn,
	.sc-age-gate__actions button {
		width: 100% !important;
		min-height: 50px !important;
		border-radius: 2px !important;
		letter-spacing: 0.1em !important;
		text-transform: uppercase !important;
		font-size: 0.8125rem !important;
		box-shadow: none !important;
	}

	.sc-btn,
	.smoke-corp-theme .sc-btn {
		border-radius: 2px !important;
	}

	.sc-input,
	.sc-select,
	.sc-footer input[type="email"] {
		border-radius: 2px !important;
	}

	.sc-footer__columns .sc-btn,
	.sc-footer button[type="submit"] {
		border-radius: 2px !important;
		letter-spacing: 0.1em;
		text-transform: uppercase;
		min-height: 44px;
	}

	/* ----- Categories / quick cats ----- */
	.sc-featured-cats__grid {
		gap: 10px !important;
	}

	.sc-featured-cat__title,
	.sc-featured-cats h3 {
		font-size: 1.0625rem !important;
	}

	.sc-quick-cat {
		display: none !important;
	}

	/* ----- Sale banner ----- */
	.sc-sale-banner__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 22px 18px !important;
	}

	.sc-sale-banner__title {
		font-size: clamp(1.375rem, 6vw, 1.625rem) !important;
		line-height: 1.2 !important;
		margin-bottom: 16px;
	}

	.sc-sale-banner__countdown {
		width: 100%;
		justify-content: flex-start;
	}

	.sc-countdown__value {
		font-size: 1.375rem !important;
	}

	/* ----- Trust bar (hidden on phone for minimalism) ----- */
	.sc-trust-bar__title,
	.sc-trust-bar__text {
		display: none !important;
	}

	/* ----- Single product ----- */
	.smoke-corp-theme.single-product .product_title,
	.smoke-corp-theme div.product .product_title {
		font-size: clamp(1.375rem, 5.5vw, 1.625rem) !important;
		line-height: 1.25 !important;
	}

	.smoke-corp-theme div.product p.price,
	.smoke-corp-theme div.product p.price .amount {
		font-size: var(--sc-font-size-price-lg) !important;
	}

	.smoke-corp-theme div.product .woocommerce-product-details__short-description,
	.smoke-corp-theme div.product .summary .woocommerce-product-details__short-description p {
		font-size: 0.9375rem !important;
		line-height: 1.55 !important;
	}

	/* ----- Footer ----- */
	.sc-footer {
		padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	}

	.sc-footer__brand-name,
	.sc-footer .sc-logo-text {
		font-size: 1.125rem !important;
	}

	.sc-footer__tagline,
	.sc-footer p {
		font-size: 0.875rem !important;
		line-height: 1.5 !important;
	}

	.sc-footer h4,
	.sc-footer__columns h4 {
		font-size: 0.9375rem !important;
		margin-bottom: 10px;
	}

	.sc-footer__columns a,
	.sc-footer li,
	.sc-footer__bottom {
		font-size: 0.875rem !important;
	}

	.sc-footer input[type="email"] {
		font-size: 16px !important;
		min-height: 44px;
	}

	/* ----- Age gate ----- */
	.sc-age-gate__dialog {
		width: calc(100% - 28px) !important;
		max-width: 400px;
		padding: 24px 20px !important;
	}

	.sc-age-gate__title {
		font-size: 1.25rem !important;
	}

	.sc-age-gate__question {
		font-size: 1.0625rem !important;
		line-height: 1.35 !important;
	}

	.sc-age-gate__text {
		font-size: 0.875rem !important;
		line-height: 1.5 !important;
	}

	/* ----- Misc UI ----- */
	.sc-mobile-nav__title {
		font-size: 1.25rem !important;
	}

	.sc-mobile-nav__list a {
		font-size: 1rem !important;
		padding: 14px 0;
		min-height: 48px;
	}

	.sc-sticky-atc__price {
		font-size: 1.125rem !important;
	}
}

@media (max-width: 480px) {
	:root {
		--sc-container-padding: 14px;
		--sc-font-size-body: 0.975rem;
	}

	/* Keep 2-column catalog on small phones — denser shop feel */
	.smoke-corp-theme ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	.sc-product-card__title,
	.smoke-corp-theme ul.products li.product .woocommerce-loop-product__title,
	.smoke-corp-theme ul.products li.product h2 {
		font-size: 0.9375rem !important;
		-webkit-line-clamp: 3;
	}

	.sc-hero-slide__title {
		font-size: 1.5rem !important;
	}

	.sc-promo-widgets__grid {
		gap: 10px !important;
	}
}
