/*
Theme Name: Ajanta Notebooks
Theme URI: https://example.com/
Author: Ajanta Notebooks
Description: Red and white responsive corporate website theme for Ajanta Notebooks, with product dropdown and seven product pages.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: ajanta-notebooks
*/

:root {
    --red: #c90022;
    --red-dark: #970019;
    --black: #111318;
    --muted: #646873;
    --line: #ececef;
    --soft: #fff6f7;
    --yellow: #ffd500;
    --green: #00b86b;
    --white: #fff;
    --shadow: 0 18px 45px rgba(20, 20, 30, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
}

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

.container {
    width: min(1160px, 92%);
    margin: auto;
}

.topbar {
    height: 32px;
    background: var(--red);
    color: #fff;
    text-align: center;
    font-size: 12px;
    letter-spacing: .7px;
    padding: 6px 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-wrap {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 185px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--red);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 800;
    transform: skew(-5deg);
}

.brand strong {
    display: block;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-top: 4px;
    color: var(--red);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.main-nav > a,
.drop-btn {
    padding: 27px 0;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.main-nav a:hover,
.drop-btn:hover,
.main-nav .active {
    color: var(--red);
}

.dropdown {
    position: relative;
}

.drop-btn .aj-icon {
    width: 16px;
    height: 16px;
    margin-left: 3px;
    vertical-align: -3px;
}

.dropdown-menu {
    position: absolute;
    top: 69px;
    left: -15px;
    width: 230px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 9px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s;
    border-top: 3px solid var(--red);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: var(--soft);
    color: var(--red);
}

.header-cta {
    background: var(--red);
    color: #fff;
    padding: 11px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
}

.hero {
    min-height: calc(100vh - 108px);
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .2)), linear-gradient(135deg, #2c2022, #c90022 65%, #111);
    overflow: hidden;
}

.hero:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    right: -120px;
    top: -90px;
    box-shadow: 0 0 0 80px rgba(255, 255, 255, .03), 0 0 0 160px rgba(255, 255, 255, .02);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.eyebrow.light {
    color: #fff;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 82px);
    line-height: .98;
    margin: 0 0 25px;
    font-weight: 800;
    max-width: 800px;
}

.hero h1 em {
    color: #ffccd4;
    font-style: normal;
}

.hero p {
    font-size: 18px;
    max-width: 570px;
    color: #f3f3f3;
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    padding: 13px 23px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-outline-light {
    border: 1px solid #fff;
    color: #fff;
}

.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots span {
    width: 9px;
    height: 9px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.slider-dots .active {
    background: #fff;
}

.section {
    padding: 100px 0;
}

.two-col {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}

.about h2,
.promise h2,
.welcome h2,
.section-head h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.05;
    margin: 0 0 20px;
    font-weight: 800;
}

.about h2 span,
.welcome h2 span {
    color: var(--red);
}

.about-copy > p,
.lead {
    color: var(--muted);
    font-size: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 35px;
}

.stats-grid div {
    border-left: 3px solid var(--red);
    padding: 10px 15px;
    background: #fafafa;
}

.stats-grid strong {
    display: block;
    font-size: 25px;
    color: var(--red);
}

.stats-grid span {
    font-size: 12px;
    color: var(--muted);
}

.about-card {
    min-height: 430px;
    border-radius: 30px;
    background: var(--soft);
    position: relative;
    overflow: hidden;
}

.red-panel {
    position: absolute;
    right: 35px;
    top: 35px;
    bottom: 35px;
    width: 75%;
    background: var(--red);
    color: #fff;
    border-radius: 25px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 20px 20px 0 rgba(201, 0, 34, .1);
}

.red-panel svg {
    width: 100px;
    position: absolute;
    top: 45px;
    left: 45px;
}

.red-panel h3 {
    font-size: 35px;
    line-height: 1.05;
    margin: 0;
}

.promise {
    background: #fafafa;
}

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

.section-head.center {
    display: block;
    text-align: center;
}

.section-head.center p {
    color: var(--muted);
}

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

.feature-grid article {
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid var(--line);
    transition: .25s;
}

.feature-grid article:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--red);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 21px;
}

.feature-grid h3 {
    margin: 22px 0 7px;
}

.feature-grid p,
.product-card p,
.review p {
    color: var(--muted);
    font-size: 14px;
}

.welcome {
    background: #fff;
}

.welcome-visual {
    min-height: 420px;
    display: grid;
    place-items: center;
    background: var(--soft);
    border-radius: 30px;
}

.paper-stack {
    width: 250px;
    height: 330px;
    position: relative;
}

.paper-stack span {
    position: absolute;
    width: 210px;
    height: 280px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, .08);
}

.paper-stack span:nth-child(1) {
    left: 32px;
    top: 20px;
    transform: rotate(6deg);
}

.paper-stack span:nth-child(2) {
    left: 18px;
    top: 10px;
    transform: rotate(-3deg);
}

.paper-stack span:nth-child(3) {
    left: 8px;
    top: 0;
    background: linear-gradient(135deg, var(--red), #7d0016);
    transform: rotate(-9deg);
}

.cover-word {
    position: absolute;
    z-index: 3;
    left: 43px;
    top: 108px;
    color: #fff;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 3px;
    transform: rotate(-9deg);
}

.check-list {
    padding: 0;
    margin: 25px 0;
    list-style: none;
}

.check-list li {
    margin: 10px 0;
    color: #444;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list .aj-icon {
    width: 18px;
    height: 18px;
    flex: none;
    margin-top: 4px;
    color: var(--red);
    stroke-width: 2.6;
}

.text-link {
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
}

.infrastructure {
    background: #111318;
    color: #fff;
}

.infrastructure .eyebrow {
    color: #ff9baa;
}

.infrastructure .section-head p {
    color: #bbb;
}

.infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.infra-main {
    min-height: 390px;
    border: 1px solid #333;
    border-radius: 25px;
    display: grid;
    place-items: end center;
    overflow: hidden;
    background: linear-gradient(#1b1c20, #111318);
}

.factory-art {
    width: 80%;
    height: 250px;
    position: relative;
}

.factory-roof {
    position: absolute;
    bottom: 200px;
    left: 4%;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 55px solid var(--red);
    width: 92%;
}

.factory-body {
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 205px;
    background: #27282d;
    border: 2px solid #3b3c42;
}

.factory-window {
    position: absolute;
    bottom: 80px;
    width: 55px;
    height: 50px;
    background: #d9e5ec;
    border: 5px solid #111;
}

.w1 {
    left: 22%;
}

.w2 {
    left: 43%;
}

.w3 {
    left: 64%;
}

.factory-door {
    position: absolute;
    bottom: 0;
    left: 43%;
    width: 65px;
    height: 105px;
    background: #15161a;
    border: 4px solid #444;
}

.factory-smoke {
    position: absolute;
    right: 14%;
    top: 5px;
    width: 16px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(#777, transparent);
    opacity: .35;
}

.infra-list > div {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #333;
}

.infra-list b {
    color: #ff6f80;
}

.infra-list span {
    color: #bbb;
}

.infra-list strong {
    color: #fff;
}

.products {
    background: #fff;
}

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

.product-card {
    min-height: 190px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: .25s;
}

.product-card:after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--soft);
    right: -45px;
    bottom: -45px;
}

.product-card:hover {
    border-color: #ffc1c9;
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-number {
    color: var(--red);
    font-weight: 800;
    font-size: 12px;
}

.product-card h3 {
    font-size: 21px;
    margin: 25px 0 4px;
}

.arrow {
    position: absolute;
    right: 24px;
    top: 24px;
    color: var(--red);
    z-index: 2;
}

.arrow .aj-icon {
    width: 22px;
    height: 22px;
}

.product-card.wide {
    grid-column: span 3;
    background: var(--red);
    color: #fff;
}

.product-card.wide p,
.product-card.wide .product-number {
    color: #ffd6db;
}

.product-card.wide .arrow {
    color: #fff;
}

.reviews {
    background: #fafafa;
}

.rating-strip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 800px;
    margin: 0 auto 35px;
    box-shadow: var(--shadow);
}

.google-mark {
    font-size: 35px;
    font-weight: 800;
}

.rating-strip strong {
    display: block;
    font-size: 20px;
}

.rating-strip div span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.rating-track {
    margin-left: auto;
    min-width: 250px;
}

.rating-track > span {
    font-size: 20px;
    letter-spacing: 5px;
}

.rating-count {
    font-size: 12px !important;
    color: var(--red) !important;
    font-weight: 700;
}

.review-marquee {
    overflow: hidden;
}

.review-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: scrollReviews 24s linear infinite;
}

.review {
    width: 330px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px;
}

.review > div {
    color: #e0a900;
    letter-spacing: 3px;
}

@keyframes scrollReviews {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.brand-copy-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.brand-copy-grid > div,
.values-grid article {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    background: #fff;
}

.brand-copy-grid span {
    color: var(--red);
    font-weight: 800;
}

.brand-copy-grid strong {
    display: block;
    font-size: 26px;
    margin: 15px 0 6px;
}

.brand-copy-grid p,
.values-grid p {
    color: var(--muted);
    margin: 0;
}

.values {
    background: var(--soft);
}

.value-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    color: var(--red);
    margin-bottom: 6px;
}

.value-icon .aj-icon {
    width: 30px;
    height: 30px;
}

.gallery {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-auto-rows: 210px;
    gap: 15px;
}

.gallery-item {
    border-radius: 20px;
    background: linear-gradient(135deg, #2b2526, #d9aeb3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 22px;
    color: #fff;
    font-weight: 700;
}

.gallery-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, .65));
}

.gallery-item span {
    position: relative;
    z-index: 2;
}

.gallery-item.tall {
    grid-row: span 2;
    background: linear-gradient(145deg, #7d0016, #e8b9bf);
}

.gallery-item.wide {
    grid-column: span 2;
    background: linear-gradient(145deg, #222, #b5001e);
}

.contact-section {
    background: #111318;
    color: #fff;
    padding: 85px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.contact-section h2 {
    font-size: clamp(35px, 4vw, 58px);
    line-height: 1.02;
    margin: 0 0 18px;
}

.contact-section p {
    color: #bbb;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.contact-card {
    background: #f6f8ff;
    color: #12315e;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    min-height: 280px;
    border-bottom: 4px solid #13499a;
}

.contact-card.yellow {
    border-color: var(--yellow);
}

.contact-card.green {
    border-color: var(--green);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 15px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    font-size: 23px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.contact-card h4 {
    font-size: 12px;
    letter-spacing: 1.4px;
    color: #71809b;
}

.contact-card p {
    color: #12315e;
    font-weight: 600;
    min-height: 48px;
}

.contact-card a {
    display: inline-block;
    background: #0d4498;
    color: #fff;
    border-radius: 30px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 12px;
}

.contact-card.yellow a {
    background: #ffd200;
    color: #111;
}

.contact-card.green a {
    background: #00b96b;
    color: #fff;
}

footer {
    background: #0a0b0e;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-grid h4 {
    margin: 0 0 15px;
}

.footer-grid a {
    display: block;
    color: #aaa;
    margin: 8px 0;
    font-size: 13px;
}

.footer-grid p {
    color: #999;
    max-width: 300px;
}

.footer-brand {
    margin-bottom: 18px;
}

.copyright {
    border-top: 1px solid #222;
    text-align: center;
    padding: 18px;
    color: #777;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .main-nav {
        gap: 15px;
    }
    .header-cta {
        display: none;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .two-col {
        gap: 45px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-cards {
        max-width: 850px;
    }
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .topbar {
        font-size: 10px;
    }
    .nav-wrap {
        height: 68px;
    }
    .menu-toggle {
        display: flex;
        margin-left: auto;
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }
    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: #111;
    }
    .main-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 5%;
        gap: 0;
        box-shadow: 0 20px 30px rgba(0, 0, 0, .08);
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav > a,
    .drop-btn {
        padding: 13px 5px;
        text-align: left;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 0;
        border-left: 2px solid var(--red);
        padding: 0 0 0 10px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    .dropdown.open:hover .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 9px;
    }
    .brand {
        min-width: auto;
    }
    .brand strong {
        font-size: 16px;
    }
    .brand-mark {
        width: 36px;
        height: 36px;
    }
    .hero {
        min-height: 75vh;
    }
    .hero-content {
        padding: 70px 0;
    }
    .hero h1 {
        font-size: 48px;
    }
    .section {
        padding: 72px 0;
    }
    .two-col,
    .two-col.reverse,
    .infra-grid {
        grid-template-columns: 1fr;
    }
    .about-card {
        min-height: 360px;
    }
    .red-panel {
        width: 80%;
        right: 25px;
    }
    .feature-grid,
    .product-grid,
    .brand-copy-grid,
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    .product-card.wide {
        grid-column: span 2;
    }
    .section-head {
        align-items: start;
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .gallery-item.tall {
        grid-row: span 2;
    }
    .gallery-item.wide {
        grid-column: span 2;
    }
    .contact-cards {
        grid-template-columns: 1fr;
    }
    .rating-strip {
        flex-wrap: wrap;
    }
    .rating-track {
        margin-left: 0;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .feature-grid,
    .product-grid,
    .brand-copy-grid,
    .values-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .product-card.wide,
    .gallery-item.wide {
        grid-column: span 1;
    }
    .gallery-item.tall {
        grid-row: span 1;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .about-card {
        min-height: 320px;
    }
    .red-panel {
        right: 18px;
        left: 18px;
        width: auto;
        padding: 30px;
    }
    .red-panel svg {
        left: 30px;
        top: 30px;
        width: 70px;
    }
    .red-panel h3 {
        font-size: 28px;
    }
    .contact-section {
        padding: 65px 0;
    }
}

/* WooCommerce product search in the live Ajanta header */
.ajanta-product-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 270px;
    width: 270px;
    min-width: 210px;
    height: 42px;
    margin-left: auto;
    z-index: 100;
}

.ajanta-product-search input[type="search"] {
    width: 100%;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 24px;
    padding: 0 46px 0 16px;
    outline: none;
    background: #fff;
    color: #111;
    font: 500 13px 'Outfit', sans-serif;
}

.ajanta-product-search input[type="search"]:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(201, 0, 34, .08);
}

.ajanta-product-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: grid;
    place-items: center;
}

.ajanta-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: 47px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .12);
    overflow: hidden;
    display: none;
}

.ajanta-search-results.show {
    display: block;
}

.ajanta-search-results a,
.ajanta-search-no-result {
    display: block;
    padding: 11px 14px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.ajanta-search-results a:hover {
    background: #fff6f7;
    color: var(--red);
}

.ajanta-search-no-result {
    color: #777;
}

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

@media (max-width: 1000px) {
    .ajanta-product-search {
        order: 2;
        flex: 0 1 230px;
        width: 230px;
        margin-left: 0;
    }
    .header-cta {
        order: 3;
    }
}

@media (max-width: 760px) {
    .ajanta-product-search {
        position: absolute;
        top: 74px;
        left: 4%;
        right: 4%;
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0;
        display: flex;
    }
    .site-header {
        margin-bottom: 50px;
    }
    .nav-wrap {
        position: relative;
    }
    .main-nav {
        top: 68px;
    }
    .ajanta-search-results {
        top: 47px;
    }
    .header-cta {
        display: none;
    }
}

/* ===== SVG icons ===== */
.aj-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    flex: none;
}

.icon .aj-icon {
    width: 24px;
    height: 24px;
}

.contact-icon .aj-icon {
    width: 26px;
    height: 26px;
    color: #13499a;
}

.contact-card.yellow .contact-icon .aj-icon {
    color: #c79a00;
}

.contact-card.green .contact-icon .aj-icon {
    color: #00a05b;
}

.ajanta-product-search button .aj-icon {
    width: 18px;
    height: 18px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.header-cta .aj-icon {
    width: 16px;
    height: 16px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.text-link .aj-icon {
    width: 16px;
    height: 16px;
}

.aj-stars {
    display: inline-flex;
    gap: 3px;
    color: #e0a900;
}

.aj-stars .aj-icon {
    width: 16px;
    height: 16px;
}

.rating-track .aj-stars .aj-icon {
    width: 20px;
    height: 20px;
}

.red-panel .aj-icon {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 45px;
    left: 45px;
    stroke-width: 1.4;
}

.review > div .aj-icon {
    width: 16px;
    height: 16px;
}

/* ===== Logos (desktop / mobile / footer) ===== */
.brand-logo {
    height: var(--logo-h-desktop, 52px);
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

.brand-logo-mobile {
    display: none;
}

.footer-logo {
    height: var(--logo-h-footer, 56px);
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
}

@media (max-width: 760px) {
    .brand-logo-desktop {
        display: none;
    }
    .brand-logo-mobile {
        display: block;
        height: var(--logo-h-mobile, 38px);
        max-width: 170px;
    }
}

/* ===== Image slots ===== */
.slot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-card .slot-img {
    position: absolute;
    inset: 0;
    border-radius: 30px;
}

.slot-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
}

.slot-caption h3 {
    margin: 0;
    font-size: 32px;
    line-height: 1.05;
}

.welcome-visual .slot-img-contain {
    object-fit: contain;
    max-height: 420px;
    padding: 25px;
}

.welcome-visual {
    overflow: hidden;
}

.infra-main .slot-img {
    min-height: 390px;
}

.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.gallery-item:after {
    z-index: 1;
}

.gallery-item span {
    z-index: 2;
}

@media (max-width: 480px) {
    .slot-caption {
        padding: 22px;
    }
    .slot-caption h3 {
        font-size: 26px;
    }
    .red-panel .aj-icon {
        left: 30px;
        top: 30px;
        width: 70px;
        height: 70px;
    }
}

/* ===== LOGO SIZE — yahan se size badlein (Customizer slider ko override karta hai) ===== */
.site-header .brand-logo {
    height: 72px !important;
    width: auto !important;
    max-width: 300px !important;
}

.site-header .nav-wrap {
    height: 96px;
}

@media (max-width: 760px) {
    .site-header .brand-logo-desktop {
        display: none !important;
    }
    .site-header .brand-logo-mobile {
        display: block !important;
        height: 52px !important;
        max-width: 200px !important;
    }
    .site-header .nav-wrap {
        height: 76px;
    }
    .main-nav {
        top: 76px;
    }
    .ajanta-product-search {
        top: 82px;
    }
}

/* ===== FOOTER — light abstract background, black text, logo without box ===== */
footer {
    position: relative;
    overflow: hidden;
    color: #111;
    padding: 70px 0 0;
    border-top: 1px solid #ececef;
    background: radial-gradient(circle at 8% 15%,rgba(201,0,34,.10) 0,rgba(201,0,34,0) 32%),
    radial-gradient(circle at 92% 85%,rgba(201,0,34,.09) 0,rgba(201,0,34,0) 34%),
    radial-gradient(circle at 60% 0%,rgba(17,19,24,.06) 0,rgba(17,19,24,0) 30%),
    linear-gradient(135deg,#ffffff 0%,#f3f3f5 55%,#ffffff 100%);
}

footer:before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    left: -150px;
    bottom: -230px;
    border: 1px solid rgba(201, 0, 34, .18);
    box-shadow: 0 0 0 60px rgba(201, 0, 34, .04), 0 0 0 120px rgba(201, 0, 34, .025);
    pointer-events: none;
}

footer:after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -170px;
    top: -260px;
    background: repeating-linear-gradient(135deg, rgba(17, 19, 24, .05) 0 1px, transparent 1px 14px);
    border-radius: 50%;
    pointer-events: none;
}

footer .footer-grid,
footer .copyright {
    position: relative;
    z-index: 2;
}

footer h4 {
    color: #111;
}

footer .footer-grid a {
    color: #111;
}

footer .footer-grid a:hover {
    color: var(--red);
}

footer .footer-grid p {
    color: #111;
}

footer .copyright {
    color: #111;
    border-top: 1px solid rgba(17, 19, 24, .12);
    background: rgba(255, 255, 255, .55);
}

footer .footer-brand {
    display: inline-flex;
    min-width: 0;
}

footer .footer-logo {
    display: block;
    height: 72px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    background: none;
    padding: 0;
    border-radius: 0;
}

footer .brand strong,
footer .brand small {
    color: #111;
}

/* ===== FOOTER SIZE CONTROL ===== */
footer .footer-logo {
    height: 95px;
    max-width: 360px;
}

footer .footer-grid p {
    font-size: 17px;
    line-height: 1.7;
    max-width: 340px;
}

footer .footer-grid h4 {
    font-size: 20px;
    margin-bottom: 18px;
}

footer .footer-grid a {
    font-size: 16px;
    margin: 10px 0;
}

footer .copyright {
    font-size: 14px;
}

@media (max-width: 760px) {
    footer .footer-logo {
        height: 70px;
    }
    footer .footer-grid p {
        font-size: 15px;
    }
    footer .footer-grid h4 {
        font-size: 18px;
    }
    footer .footer-grid a {
        font-size: 15px;
    }
}