/*
Theme Name: Nail Art Ki Design
Theme URI: https://nailartkidesign.com/
Author: Nail Art Ki Design
Description: Soft boutique theme for nail art galleries: plum header, polka-dot page banners, Prata headings, square design cards with length, colours and time, an artist tip on every design, round featured picks, full-screen viewer and image SEO.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nailartkidesign
*/

@font-face { font-family: "Prata"; src: url(assets/fonts/prata-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(assets/fonts/mulish-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(assets/fonts/mulish-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(assets/fonts/mulish-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--plum: #5b2a45; --plum-2: #7a3b5d; --rose: #e8708f; --rose-d: #c4506f; --petal: #fde8ee; --lilac: #f3ecf7;
	--bg: #fffafb; --card: #ffffff; --ink: #2e1f28; --mute: #7a6871; --line: #f0dde4; --gold: #c9a227;
	--serif: "Prata", Georgia, "Times New Roman", serif;
	--sans: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.75 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-d); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.18; color: var(--plum); }
h2 { font-size: 1.8rem; margin: 2.5rem 0 .6rem; }
h3 { font-size: 1.18rem; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; }

/* header */
.nk-hdr { background: var(--plum); position: relative; z-index: 30; }
.nk-hdr-in { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.nk-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; flex: none; }
.nk-brand svg { width: 34px; height: 34px; }
.nk-brand span { font: 400 1.4rem/1 var(--serif); }
.nk-brand em { font-style: italic; color: #f7b8c9; }
.nk-links { display: flex; gap: 8px; margin-left: auto; white-space: nowrap; }
.nk-links a { color: #f6e3ec; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px; }
.nk-links a:hover { background: var(--plum-2); color: #fff; }
.nk-pop summary { list-style: none; cursor: pointer; background: var(--rose); color: #fff; font: 700 .9rem/1 var(--sans); padding: 11px 18px; border-radius: 999px; white-space: nowrap; }
.nk-pop summary::-webkit-details-marker { display: none; }
.nk-pop[open] summary { background: #fff; color: var(--plum); }
.nk-pop-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-radius: 0 0 24px 24px; box-shadow: 0 24px 40px rgba(91, 42, 69, .18); max-height: 78vh; overflow: auto; }
.nk-pop-panel .wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 30px; padding: 18px 0 26px; }
.nk-pop-panel h3 { font-size: 1.1rem; margin: 14px 0 6px; color: var(--rose-d); }
.nk-pop-panel a { display: block; color: var(--ink); text-decoration: none; padding: 4px 0; }
.nk-pop-panel a:hover { color: var(--rose-d); }

/* page banner with polka dots */
.nk-mast { background-color: var(--petal); background-image: radial-gradient(rgba(232, 112, 143, .22) 3px, transparent 4px); background-size: 26px 26px; padding: 28px 0 32px; text-align: center; }
.nk-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--mute); margin: 0 0 10px; }
.nk-crumbs a { color: var(--plum-2); }
.nk-mast h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 0 auto 14px; max-width: 880px; }
.nk-pills { margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.nk-pills span { background: #fff; border-radius: 999px; padding: 4px 14px; font-size: .84rem; font-weight: 600; color: var(--plum-2); box-shadow: 0 2px 8px rgba(91, 42, 69, .08); }
.nk-pills span:first-child { background: var(--rose); color: #fff; }

/* flow */
.nk-main { padding-bottom: 40px; }
.nk-flow { padding-top: 26px; }
.nk-sec { scroll-margin-top: 14px; }
.nk-sec > p { max-width: 800px; }
.nk-intro { max-width: 800px; font-size: 1.05rem; }
.nk-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.nk-jump a { text-decoration: none; color: var(--plum); background: var(--lilac); border-radius: 999px; padding: 7px 15px; font-weight: 600; font-size: .88rem; }
.nk-jump a:hover { background: var(--rose); color: #fff; }

/* design cards: square */
.nk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; margin: 16px 0 8px; align-items: start; }
@media (min-width: 1061px) {
	.nk-grid:has(> .nk-card:nth-child(4):last-child), .nk-grid:has(> .nk-card:nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}
.nk-card { margin: 0; background: var(--card); border-radius: 22px; padding: 10px; box-shadow: 0 6px 22px rgba(91, 42, 69, .08); scroll-margin-top: 14px; }
.nk-zoom { display: block; aspect-ratio: 1 / 1; background: var(--petal); overflow: hidden; border-radius: 16px; }
.nk-zoom img { width: 100%; height: 100%; object-fit: cover; }
.nk-card figcaption { padding: 12px 6px 6px; font-size: .92rem; }
.nk-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.nk-stats div { background: var(--lilac); border-radius: 999px; padding: 3px 11px; display: flex; gap: 5px; align-items: baseline; }
.nk-stats dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); font-weight: 700; }
.nk-stats dd { margin: 0; font: 700 .82rem/1.3 var(--sans); color: var(--plum); }
.nk-card .cap { margin: 0 0 10px; }
.nk-card .tip { margin: 0; border: 1px dashed var(--rose); border-radius: 14px; padding: 8px 12px; font-size: .87rem; background: #fff7f9; }
.nk-card .tip b { color: var(--rose-d); }

/* guide, tables, faq */
.nk-guide { max-width: 840px; }
.table-scroll { overflow-x: auto; margin: 16px 0; background: var(--card); border-radius: 16px; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--plum); color: #fff; font-weight: 600; }
.nk-faq { max-width: 840px; }
.nk-faq details { background: var(--card); border-radius: 16px; margin-bottom: 10px; box-shadow: 0 3px 12px rgba(91, 42, 69, .06); }
.nk-faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; position: relative; }
.nk-faq summary::-webkit-details-marker { display: none; }
.nk-faq summary h3 { margin: 0; font: 600 1rem/1.45 var(--sans); color: var(--ink); }
.nk-faq summary::after { content: "+"; position: absolute; right: 14px; top: 11px; width: 26px; height: 26px; border-radius: 50%; background: var(--petal); color: var(--rose-d); font: 700 1.1rem/26px var(--sans); text-align: center; }
.nk-faq details[open] summary::after { content: "\2212"; background: var(--rose); color: #fff; }
.nk-faq details > div { padding: 0 18px 14px; color: var(--mute); }
.nk-ad { margin: 28px 0; min-height: 90px; text-align: center; }

/* page tiles */
.nk-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 14px; }
.nk-tile { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.nk-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(91, 42, 69, .12); background: var(--petal); }
.nk-tile span { display: block; padding: 10px 4px 0; }
.nk-tile b { display: block; font: 400 1.08rem/1.2 var(--serif); color: var(--plum); }
.nk-tile small { color: var(--mute); font-size: .8rem; }
.nk-tile:hover b { color: var(--rose-d); }
.nk-next { margin-top: 50px; }
.nk-row { padding-top: 12px; scroll-margin-top: 10px; }
.nk-row h2 { text-align: center; }

/* front */
.nk-hero { background: linear-gradient(160deg, var(--plum) 0%, var(--plum-2) 60%, var(--rose) 130%); color: #fff; padding: 46px 0 44px; text-align: center; }
.nk-hero-in { display: grid; grid-template-columns: 1fr; gap: 28px; justify-items: center; }
.nk-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin: 0 auto 12px; max-width: 860px; }
.nk-hero .lead { margin: 0 auto 20px; max-width: 620px; color: #f6dde8; font-size: 1.08rem; }
.nk-hero-go { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; }
.nk-hero-go a { text-decoration: none; background: #fff; color: var(--plum); padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem; }
.nk-hero-go a:hover { background: var(--rose); color: #fff; }
.nk-picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 820px; width: 100%; }
.nk-picks a { display: block; text-decoration: none; color: #fff; }
.nk-picks img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 5px solid rgba(255, 255, 255, .85); }
.nk-picks span { display: block; padding: 8px 4px 0; font: 400 1.05rem/1.2 var(--serif); }

/* static */
.nk-page { max-width: 780px; padding: 12px 0 30px; }
.nk-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 12px 0 18px; }
.nk-plain { padding-top: 16px; }

/* footer */
.nk-foot { background: var(--plum); color: #ecd3df; margin-top: 60px; padding: 44px 0 24px; font-size: .92rem; border-radius: 40px 40px 0 0; }
.nk-foot a { color: #fff; text-decoration: none; display: block; padding: 3px 0; }
.nk-foot a:hover { color: #f7b8c9; }
.nk-foot-top { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.nk-foot-brand { margin: 0; }
.nk-foot-brand b { font: 400 1.5rem/1.3 var(--serif); color: #fff; }
.nk-foot-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; align-content: start; }
.nk-foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 26px; padding: 16px 0; }
.nk-foot h3 { color: #f7b8c9; font-size: 1.08rem; margin: 14px 0 6px; }
.nk-legal { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 14px; margin: 0; font-size: .8rem; color: #cfaebf; }

/* viewer */
.nk-view { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: #22121b; color: #f6e3ec; }
.nk-view[open] { display: grid; grid-template-columns: 52px 1fr 52px; grid-template-rows: auto 1fr auto; }
.nk-view::backdrop { background: rgba(0, 0, 0, .75); }
.nk-view .bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: .86rem; }
.nk-view .close { background: var(--rose); border: 0; color: #fff; font: 700 .9rem/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.nk-view .stage { display: flex; align-items: center; justify-content: center; min-height: 0; }
.nk-view .stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 16px; }
.nk-view .nav { background: none; border: 0; color: #f7b8c9; font: 400 2.2rem/1 var(--serif); cursor: pointer; }
.nk-view .info { grid-column: 1 / -1; padding: 10px 16px 18px; max-width: 720px; margin: 0 auto; text-align: center; }
.nk-view .info p { margin: 0 0 10px; font-size: .94rem; }
.nk-view .act { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.nk-view .act a { color: var(--plum); background: #fff; text-decoration: none; font: 700 .9rem/1 var(--sans); padding: 10px 16px; border-radius: 999px; }
.nk-view .act a:hover { background: var(--rose); color: #fff; }

@media (max-width: 1060px) {
	.nk-links { display: none; }
	.nk-pop { margin-left: auto; }
	.nk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.nk-brand span { font-size: 1.18rem; }
	.nk-grid { grid-template-columns: 1fr; gap: 22px; }
	.nk-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.nk-foot-top { grid-template-columns: 1fr; }
	h2 { font-size: 1.55rem; }
	.nk-view[open] { grid-template-columns: 30px 1fr 30px; }
}
