/*
Theme Name: Assam Prints
Theme URI: https://assamprints.com/
Author: Assam Prints
Author URI: https://assamprints.com/
Description: A product-first WordPress theme for Assam Prints, inspired by modern online print shops with dense category browsing, promotional panels, and quick quote flows.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: assam-prints
Tags: custom-logo, custom-menu, featured-images, responsive-layout, e-commerce
*/

:root {
  --ap-ink: #15151a;
  --ap-paper: #ffffff;
  --ap-cloud: #f6f8fb;
  --ap-line: #dfe4ea;
  --ap-muted: #596273;
  --ap-blue: #006196;
  --ap-sky: #2ba8e0;
  --ap-teal: #00756a;
  --ap-coral: #d94330;
  --ap-gold: #f6bd31;
  --ap-green: #1f8f5f;
  --ap-radius: 8px;
  --ap-shadow: 0 18px 44px rgba(21, 21, 26, 0.1);
  --ap-wrap: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ap-ink);
  background: var(--ap-paper);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

body.ap-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-offer {
  padding: 9px 16px;
  color: var(--ap-paper);
  background: var(--ap-ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ap-line);
  backdrop-filter: blur(16px);
}

.header-main,
.header-cats,
.wrap {
  width: var(--ap-wrap);
  margin: 0 auto;
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.site-header .custom-logo-link {
  width: auto;
  max-width: 160px !important;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ap-paper);
  background: linear-gradient(135deg, var(--ap-blue), var(--ap-teal));
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.14);
  letter-spacing: 0;
}

.brand-name {
  font-size: 21px;
  letter-spacing: 0;
}

.header-search {
  position: relative;
}

.header-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 116px 0 18px;
  border: 2px solid var(--ap-ink);
  border-radius: 999px;
  background: var(--ap-paper);
  outline: none;
}

.header-search button,
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.header-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 0 20px;
  color: var(--ap-paper);
  background: var(--ap-blue);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
}

.quote-link {
  color: var(--ap-paper);
  background: var(--ap-green);
  padding: 12px 16px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ap-line);
  border-radius: 50%;
  background: var(--ap-paper);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ap-ink);
}

.header-cats {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  scrollbar-width: thin;
}

.menu-list {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-cats a {
  flex: 0 0 auto;
  padding: 7px 0;
}

.hero {
  background: linear-gradient(112deg, #eaf7fd 0%, #e9f5f2 48%, #fff2dd 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 540px;
  padding: clamp(42px, 7vw, 78px) 0;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--ap-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 78px);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.2vw, 54px);
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

p {
  color: var(--ap-muted);
}

.hero p {
  max-width: 590px;
  font-size: 18px;
}

.hero-actions,
.quick-links,
.product-meta,
.footer-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-actions {
  margin-top: 28px;
}

.btn {
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 21, 26, 0.16);
}

.btn-primary {
  color: var(--ap-paper);
  background: var(--ap-blue);
}

.btn-secondary {
  color: var(--ap-blue);
  background: var(--ap-paper);
  border: 2px solid var(--ap-blue);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  background: var(--ap-paper);
  border: 1px solid rgba(21, 21, 26, 0.12);
  border-radius: var(--ap-radius);
  box-shadow: var(--ap-shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-business {
  top: 0;
  left: 4%;
  width: 46%;
  aspect-ratio: 1.55;
  transform: rotate(-5deg);
}

.card-shirt {
  top: 64px;
  right: 0;
  width: 48%;
  aspect-ratio: 0.92;
}

.card-mug {
  bottom: 0;
  left: 18%;
  width: 42%;
  aspect-ratio: 1.2;
  transform: rotate(4deg);
}

.hero-badge {
  position: absolute;
  right: 14%;
  bottom: 36px;
  max-width: 220px;
  padding: 18px;
  color: var(--ap-paper);
  background: var(--ap-teal);
  border-radius: var(--ap-radius);
  box-shadow: var(--ap-shadow);
  font-weight: 900;
}

.quick-band {
  padding: 18px 0;
  background: var(--ap-paper);
  border-bottom: 1px solid var(--ap-line);
}

.quick-links {
  justify-content: center;
}

.quick-links a {
  padding: 10px 14px;
  background: var(--ap-cloud);
  border: 1px solid var(--ap-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 92px) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-head p {
  max-width: 420px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.category-tile,
.product-card,
.quote-panel,
.post-card,
.content-card,
.comment-respond,
.comments-area {
  background: var(--ap-paper);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
}

.category-tile {
  min-height: 178px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-tile:hover,
.product-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow);
}

.category-art {
  display: grid;
  min-height: 112px;
  place-items: center;
  background: var(--tile-bg, #e9f5f2);
}

.category-art span {
  display: grid;
  width: 70px;
  height: 54px;
  place-items: center;
  color: var(--ap-paper);
  background: var(--tile-accent, var(--ap-blue));
  border-radius: 8px;
  font-weight: 900;
}

.category-tile h3,
.category-tile p {
  padding: 0 14px;
}

.category-tile h3 {
  margin-top: 13px;
  font-size: 16px;
}

.category-tile p {
  margin-bottom: 14px;
  font-size: 13px;
}

.deals {
  background: var(--ap-cloud);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-image {
  height: 190px;
  background: var(--ap-cloud);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 18px;
}

.product-meta {
  justify-content: space-between;
  margin-top: 14px;
  color: var(--ap-muted);
  font-size: 13px;
  font-weight: 800;
}

.price {
  color: var(--ap-coral);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  padding: 24px;
  background: var(--ap-ink);
  color: var(--ap-paper);
  border-radius: var(--ap-radius);
}

.feature p {
  color: rgba(255, 255, 255, 0.74);
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(135deg, #fff7e8, #eaf7fd);
}

.quote-form {
  display: grid;
  gap: 12px;
}

.quote-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.search-form input,
.plugin-form input,
.plugin-form select,
.plugin-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  background: var(--ap-paper);
  outline: none;
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.quote-form textarea {
  min-height: 96px;
  resize: vertical;
}

.plugin-form p {
  margin: 0 0 12px;
}

.add-cart {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.cart-link {
  padding: 9px 12px;
  color: var(--ap-blue);
  background: var(--ap-cloud);
  border-radius: 999px;
}

.content-area {
  width: var(--ap-wrap);
  margin: 0 auto;
  padding: clamp(44px, 7vw, 76px) 0;
}

.content-card {
  padding: clamp(24px, 5vw, 44px);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
}

.post-card .post-thumb {
  height: 210px;
  background: var(--ap-cloud);
}

.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 20px;
}

.entry-content {
  font-size: 17px;
}

.elementor-front-page {
  min-height: 60vh;
}

.elementor-front-page .entry-content,
.elementor-front-page .elementor {
  width: 100%;
}

.entry-content a {
  color: var(--ap-blue);
  font-weight: 800;
}

.entry-content img {
  border-radius: var(--ap-radius);
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.nav-links,
.pagination {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.site-footer {
  color: var(--ap-paper);
  background: var(--ap-ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  width: var(--ap-wrap);
  margin: 0 auto;
  padding: 42px 0;
}

.site-footer p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links,
.social-links {
  font-weight: 800;
}

.comments-area {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 36px);
}

.comment-list {
  padding-left: 20px;
}

.shop-area .woocommerce-products-header,
.shop-area .woocommerce-result-count,
.shop-area .woocommerce-ordering {
  margin-bottom: 22px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 18px;
  background: var(--ap-paper);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  overflow: hidden;
}

.woocommerce ul.products li.product a img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  margin: 0 0 16px;
  background: var(--ap-cloud);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  padding: 0 18px;
}

.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  margin-left: 18px;
  color: var(--ap-paper);
  background: var(--ap-blue);
  border-radius: 999px;
  font-weight: 900;
}

.woocommerce div.product {
  background: var(--ap-paper);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  padding: clamp(22px, 4vw, 38px);
}

.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce {
  background: var(--ap-paper);
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius);
  padding: clamp(18px, 4vw, 34px);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--ap-paper);
  background: var(--ap-green);
  border-radius: 50%;
  box-shadow: var(--ap-shadow);
  font-weight: 900;
}

@media (max-width: 1040px) {
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid,
  .post-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: auto auto;
  }

  .header-search,
  .header-actions,
  .header-cats {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.ap-open .header-search,
  .site-header.ap-open .header-actions,
  .site-header.ap-open .header-cats {
    display: flex;
  }

  .site-header.ap-open .header-search {
    grid-column: 1 / -1;
    display: block;
  }

  .site-header.ap-open .header-actions {
    grid-column: 1 / -1;
    align-items: stretch;
  }

  .site-header.ap-open .header-cats {
    flex-direction: column;
    padding: 12px 0 18px;
  }

  .hero-inner,
  .quote-panel {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .top-offer {
    font-size: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-badge {
    right: 4%;
  }

  .category-grid,
  .product-grid,
  .feature-strip,
  .post-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}
